
html, body{
	padding: 0px;
	margin: 0px;
	height: 100%;
	width: 100%;
}
body, input, textarea, select, nav{
	font-family: 'Arial','Verdana','MS Sans Serif';
	font-size: 12pt;
}
body{
	color: #ffffff;
	background: url('page-background.png') #111111 repeat center top;
}

/* Reset styles */
img{
	border: 0px;
	vertical-align: middle;
}
form{
	border: 0px;
	margin: 0px;
	padding: 0px;
}
#sysFormSubmit{
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
button{
	outline: none;
	font: inherit;
	padding: 0px 10px;
	line-height: 30px;
	margin: 0px 3px;
	min-width: 120px;
	cursor: pointer;
	border: 1px solid #000000;
	border-radius: 15px;
	background-color: #a02020;
	transition: 0.3s;
	color: #cccccc;
}
button:hover{
	border-color: #ffffff;
	background-color: #ff2020;
	color: #ffffff;
}
button:disabled{
	background-color: #444444;
	border-color: #888888;
	color: #888888;
	cursor: not-allowed;
}
table{
    border-spacing: 0px;
    border-collapse: separate;
}
td{
	padding: 0px;
}
iframe{
	border: none;
}
canvas{
	-webkit-tap-highlight-color: transparent;
}

a{
	text-decoration: none;
	color: #cccccc;
}
a:hover{
	text-decoration: underline;
}

div.clearboth{
	clear: both;
}

/* Environment */
div.environment{
	position: absolute;
	top: 5px;
	left: 5px;
	font-size: 16pt;
	padding: 3px;
	color: #ffffff;
	background-color: #cc0000;
	border: 1px solid #ff0000;
	margin: 3px;
	border-radius: 10px;
}

/* Page Layout */
#pageLayout{
	display: flex;
	flex-flow: column;
	min-height: 100%;
}
#pageHeader{
	flex: 0 1 auto;
	margin-top: 15px;
	text-align: center;
}
#pageBreadcrumbs{
	flex: 0 1 auto;
	margin-bottom: 15px;
}
#pageContainer{
	flex: 1 1 auto;
	display: flex;
	flex-flow: row;
	margin-bottom: 10px;
	margin-left: 10px;
	margin-right: 10px;
	gap: 10px;
}
#leftNav{
	flex: 0 0 auto;
	display: flex;
	width: 200px;
	background-color: #111111;
	box-shadow: 0px 0px 10px 4px rgba(255, 255, 255, 0.5);
	border: 3px solid #7dd6f1;
	border-radius: 15px;
}
#leftNav ul{
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	gap: 2px;
	box-sizing: border-box;
	width: 100%;
	margin: 0px;
	padding: 0px;
	list-style: none;
	font-weight: bold;
	border: 2px solid #111111;
	border-radius: 12px;
	overflow: hidden;
}
#leftNav a{
	display: block;
	padding: 10px;
	line-height: 20px;
	text-align: center;
	transition: 0.3s;
	text-decoration: none;
	background-color: #7dd6f1;
	color: #222222;
}
#leftNav a:hover{
	background-color: #f0ffff;
}
#menuToggle, #menuHamburger{
	display: none;
}
#pageBody{
	flex: 1 1 auto;
	padding: 15px;
	background: url('background-texture.png') #111111 repeat center top;
	box-shadow: 0px 0px 10px 4px rgba(255, 255, 255, 0.5);
	border: 3px solid #7dd6f1;
	display: flex;
	flex-flow: column;
	border-radius: 15px;
}
#pageTitle{
	flex: 0 1 auto;
}
#pageContent{
	flex: 1 1 auto;
}
.centerColumn{
	padding-left: 10px;
	padding-right: 10px;
}
div.contentSeparator{
	margin-top: 20px;
	margin-bottom: 20px;
	margin-left: -15px;
	margin-right: -15px;
	height: 20px;
	background: url('content-separator.png') transparent repeat-x center center;
}

/* Responsive layout */
@media only screen and (max-width: 768px){
	
	div.environment{
		position: static;
	}
	
	#logo{
		max-width: 100%;
		height: auto;
	}
	#pageBreadcrumbs{
		margin-bottom: 5px;
	}
	
	#menuHamburger{
		display: flex;
		box-sizing: border-box;
		width: 100%;
		height: 42px;
		cursor: pointer;
		background: url('../icons/hamburger.png') #444444 no-repeat 5px center;
		padding-left: 45px;
		line-height: 42px;
		font-size: 20px;
		border-radius: 5px;
	}
	#leftNav{
		flex: 1 1 auto;
		width: auto;
		display: none;
	}
	#pageContainer{
		flex-flow: column;
	}
	#pageBody{
		padding: 5px;
	}
	
	#menuToggle{
		display: none;
	}
	#menuToggle:checked ~ #menuHamburger{
		background-image: url('../icons/close.png');
	}
	#menuToggle:checked ~ #leftNav{
		display: flex;
	}
	#menuToggle:checked ~ #pageBody{
		display: none;
	}
}

/* Header */
#activeUser{
	position: absolute;
	top: 60px;
	right: 5px;
	padding: 3px;
	margin: 3px;
}

/* Title */
h1{
	margin: 0px 0px 10px 0px;
}

/* Footer */
footer{
	text-align: center;
	line-height: 40px;
	color: #cccccc;
}
footer div.version{
	float: right;
}

div.led{
	border-radius: 50%;
	border: 1px solid #c0c0c0;
	background-color: #202020;
	width: 26px;
	height: 26px;
}