body {
	margin:0;
	padding:0;
	overflow: hidden;
	height: 100%;
	font-family: sans;
	background-color: black;
}
#loading-overlay {
	position: absolute;
	z-index: 3;
	width: 100%;
	height: 100%;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: black;
	transition: opacity 0.25s;
}
#msg-overlay {
	display: none;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(0,0,0,0.5);
	color: #ddd;
	z-index: 4;
	transition: opacity 0.25s;
}
#msg-overlay > div {
	width: 600px;
	height: 290px;
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	margin: auto;
	border: 4px solid #3bf;
	border-radius: 10px;
	background-color: rgba(0,0,0,0.5);
	padding: 10px;
	font-size: 0.8em;
}
#msg-overlay > div > span:first-child {
	font-size: 1.8em;
	font-weight: bold;
	margin-right: 2px;
}
#msg-overlay #okbutton {
	position: absolute;
	bottom: 10px; left: 0; right: 0;
	width: calc(100% - 20px);
	margin: auto;
	border-radius: 3px;
	text-align: center;
	border-radius: 10px;
	background: linear-gradient(to bottom, #333, #111);
	padding: 6px 0 6px 0;
	font-size: 1.5em;
	font-weight: bold;
	box-sizing: border-box;
	border: 1px solid #444;
	cursor: pointer;
}
#msg-overlay #okbutton:active {
	background: linear-gradient(to top, #333, #111);
}
.ctrl-table {
	display: table;
}
.ctrl-table div {
	display: table-row;
}
.ctrl-table div span {
	display: table-cell;
}
.ctrl-table div span:first-child {
	font-weight: bold;
	text-align: center;
}
.loader {
	position: absolute;
	top: 0; bottom: 0; left: 0; right: 0;
	margin: auto;
	border: 6px solid rgba(211, 255, 255, 0.2);
	border-left: 6px solid #aaffff;
	-webkit-animation: loadFrames 1.1s infinite linear;
	animation: loadFrames 1.1s infinite linear;
}
.loader {
	border-radius: 50%;
	width: 50px;
	height: 50px;
}
@-webkit-keyframes loadFrames {
	0% {-webkit-transform: rotate(0deg);}
	100% {-webkit-transform: rotate(360deg);}
}
@keyframes loadFrames {
	0% {transform: rotate(0deg);}
	100% {transform: rotate(360deg);}
}