html {
    display: grid;
	min-height: 100%;
}

.grid {
	height: 100%;
	padding: 0 0;
	margin: 0 0;
	
	background-color: #ffffff;
	background-image: url("../layout/back.jpg");
	background-position: center top;
    background-size: cover;
	background-repeat: no-repeat;
	
	display: grid;
    grid-template-columns: auto 250px 850px auto;
    grid-template-rows: 100px 0px auto;
}

span {
	font-family: "Open Sans", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	font-variation-settings:
		"wdth" 100;
	font-size: 1em;
	color: #545454;
}

	div.grid_shadow {
		grid-column: 1 / 5;
		grid-row: 1 / 1;
		
		background-color: #ffffff;
		
		box-shadow: #b2b2b2 0px 0px 5px 5px;
		z-index: -1;
	}

	div.grid_logo {
		grid-column: 2 / 2;
		grid-row: 1 / 1;
	}
	
	div.grid_profileBox {
		grid-column: 3 / 3;
		grid-row: 1 / 1;
	}

	div.grid_center {
		grid-column: 2 / 4;
		grid-row: 3 / 3;
	}

/* ---------- LOGO ----------- */
.logo {
	display: flex;
	width: auto;
	height: 100px;
	
	flex-flow: row;
	align-items: center;
}

	div.logo_part1 {
		display: flex;
		width: auto;

		justify-content: flex-start;
	}
	
	div.logo_line {
		display: flex;
		width: 15px;
		
		justify-content: center;
	}

	div.logo_part2 {
		display: flex;
		width: auto;
		
		justify-content: flex-start;
	}

/* -------- PROFILE BOX ---------- */
	
div.profile_container {
	display: flex;
	width: auto;
	height: 100px;
	
	flex-flow: row;
	align-items: center;
	justify-content: flex-end;
}

	div.profileBox {
		display: flex;
		width: 100px;
		height: 100px;
				
		background-color: #6b7ea8;
		
		flex-flow: column;
		
		align-items: center;
		justify-content: center;
	}
	
		div.profileBox > span {
			font-weight: 650;
			font-size: 11px;
			color: #ffffff;
		}
	
	.profile_avatar {
		width: 25%;
		
		opacity: 0.5;
		margin: 5% 0% 5% 0%;
	}

/* ---------- CENTER ROW ----------- */

.center_row {
		display: flex;
		width: auto;
		height: auto;
		margin-top: 5px;

		flex-flow: column;
		
		align-items: center;
		justify-content: center;
	}

/* ---------- LOGIN PAGE CONTENT CONTAINER ----------- */
	div.loginpage_content_container {
		display: flex;
		width: 270px;
		margin-top: 2%;
		margin-bottom: 2%;

		flex-flow: column;
		align-items: center;
		justify-content: center;
	}

/* ---------- MONIT CONTAINER ----------- */
		div.monit_container {
			display: flex;
			width: 90%;
			padding: 5%;
			margin-bottom: 5%;
			
			background: #f09a14;
			
			flex-flow: column wrap;
		}
		
			div.monit_item {
				display: flex;
				width: auto;

				align-items: center;
			}
			
				div.monit_item > span {
					
					font-size: 14px;
					color: #ffffff;
				}

/* ---------- FORM CONTAINER ----------- */
		div.form_container {
			display: flex;
			width: 90%;
			padding: 5% 5% 0% 5%;
			
			background: #ffffff;
			background-image: url("../layout/back_triangle.png");
			background-position: bottom right;
			background-repeat: no-repeat;
			
			flex-flow: column wrap;
		}
			
			div.form_item {
				display: flex;
				width: 100%;
				
				margin-bottom: 10%;
				flex-direction: column;
			}
			
				span.form_box_name {
					width: 220px;
					height: 24px;
					overflow: hidden;
					
					font-size: 18px;
					color: #1e4f8c;
				}
				
				div.form_item > input {
					width: 95%;
					border: none;
					border-bottom: 2px dotted #6b7ea8;

					font-size: 15px;
					color: #5c5c5c;
				}
		
/* ---------- FORM VALIDATION ----------- */		
		div.form_validation {
			display: flex;
			width: 100%;
						
			background: #f09a14;
			
			flex-flow: column wrap;
		}
					
			div.validation_item {
				display: flex;
				width: auto;
				height: auto;
				padding: 2% 5% 2% 5%;
				
				align-items: center;
			}
			
				div.validation_item > span {
					font-weight: 500;
					font-size: 14px;
					color: #ffffff;
				}
				
				.icon_mark {
					width: 20px;
					margin-right: 5%;
				}

				a.validation_item_link:link, a.validation_item_link:visited, a.validation_item_link:active {
					color: #ffffff;
					text-decoration: underline;
				}
				
				a.validation_item_link:hover {
					color: #ffffff;
					text-decoration: none;
				}

		div.tile_border {
			display: flex;
			width: 100%;
			margin-top: 5%;
			
			border-radius: 5px;
			border: 5px solid rgba(107, 126, 168, 0);
						
			align-items: center;
			justify-content: center;
		}

			div.tile_button {
				display: flex;
				width: 100%;
				height: 48px;
				padding-top: 4%;
				padding-left: 5%;
				
				background: #6b7ea8;
				
				flex-flow: column;
			}
				
				span.tile_button_name {
					font-size: 18px;
					color: #ffffff;
				}

/* ---------- CAMERA PAGE CONTENT CONTAINER ----------- */
	div.camerapage_content_container {
		display: flex;
		width: 50%;
		margin-top: 10px;
		margin-bottom: 10px;

		flex-flow: column;
		align-items: center;
		justify-content: center;
	}
	
/* ---------- NAVIGATION ROW ----------- */
		div.navigation_row {
			display: flex;
			width: 500px;
			height: 100px;
			margin-bottom: 10px;
			
			flex-flow: row;
			align-items: center;
			justify-content: space-evenly;
		}
		
			div.arrow_box {
				display: flex;
				width: 20%;
				
				align-items: center;
				justify-content: center;
			}

				img.icon_arrow {
					width: 50px;
					
					opacity: 0.65;
				}
			
			div.cameraname_box {
				display: flex;
				width: 60%;
				
				align-items: center;
				justify-content: center;
			}
			
				div.cameraname_box > span {
					font-weight: 500;
					font-size: 20px;
					color: #5c5c5c;
				}

/* ---------- VIEWPORT ROW ----------- */
		div.viewport_row {
			display: none;
			width: 1200px;
			height: auto;
			padding: 10px;
			
			background-color: #ffffff;
			
			flex-flow: row;
			align-items: center;
			justify-content: center;
		}

		#video {
			display: flex;
			width: 100%;
		}

		.camera_increment {
			display: none;
		}

		.camera_decrement {
			display: none;
		}

		.player_box {
			display: none;
		}