html { height: 100%; width: 100%; background-color: rgb(0,0,0); }
body { font-family: Arial; font-size: 14px; color: rgb(255,255,255); background: rgb(0,0,0); padding: 5px; padding-top: 0px; padding-bottom: 0px; margin: 0px; }
img { border: 0px; }

#header {
	position: sticky;
	top: 0;
	border-bottom: 5px solid rgba(0,0,0,0.8);
	background-clip: padding-box;
	padding: 0;
	margin: 0;
	border-collapse: collapse;
	width: 100%;
	max-width: 900px;
	background-color: rgb(80,80,80);
	z-index: 1;
}

#headerLogo {
	width: 139px;
	height: 65px;
	display: block;
	padding: 0;
	padding-right: 30px;
}

#headerLogoImage:hover ~ #menu {
	max-height: 500px;
    transition: max-height 0.25s ease-in, opacity 0.25s ease-in;
	display: block;
	opacity: 1;
}

#headerLogoImage {
	display: block;
	padding: 10px;
	
	background: url("gfx/header.png") 10px 10px no-repeat;
	cursor: pointer;

	width: 100%;
	height: 100%;
}

#menu {
	opacity: 0;
	padding: 0;
	margin: 0;
	display: block;
	top: 63px;
	left: 16px;
	position: fixed;
	min-width: 139px;
	max-width: 900px;
	width: auto;
	height: auto;
	background: rgb(0,0,0);
	border: 0px solid rgb(20,20,20);
	z-index: 1;
	box-shadow: 4px 4px 0px rgb(0,0,0,0.8);
	
    max-height: 0;
    transition: max-height 0.15s ease-out, opacity 0.15s ease-out;
	
	overflow: hidden;
}

#menu:hover {
	display: block;
	opacity: 1;
	max-height: 500px;
    transition: max-height 0.25s ease-in;
}

#menu ul { padding: 0; margin: 0; }
#menu li { padding: 0; margin: 0; margin-bottom: 1px; }

a.mflink,a.mflink:link {
	color: rgb(200,200,200);
	text-decoration : none;
	font-size: 16px;
	font-weight: normal;
	line-height: 30px;
	
	border: 0px solid rgb(20,20,20);
	display: block;
	padding: 5px;
	padding-left: 10px;
	margin: 0;
	background: rgb(80,80,80);
}

a.mflinks,a.mflinks:link {
	color: rgb(240,240,240);
	text-decoration : none;
	font-size: 16px;
	font-weight: normal;
	line-height: 30px;
	
	border: 0px solid rgb(20,20,20);
	display: block;
	padding: 5px;
	padding-left: 10px;
	margin: 0;
	background: rgb(40,40,40);
}

a.mflink:hover {
	color: rgb(240,240,240);
	background: rgb(40,40,40);
}


#headerInput {
	vertical-align: middle;
	padding-right: 10px;
	width: auto;
}

#headerBox {
	border: 1px solid rgb(20,20,20);
	padding-top: 8px;
	padding-bottom: 8px;
	padding-left: 13px;
	padding-right: 13px;

	box-shadow: 3px 3px 0px rgb(20,20,20);
	float: right;
	width: 90%;
	max-width: 400px;
}

#search {
	position: relative;
	width: 100%;
	padding: 5px;
	font-size: 12px;
	border: 1px solid rgb(20,20,20);
	border-bottom: 0px;
	background-color: rgb(250,250,250);
	/*box-shadow: 2px 2px 0px rgb(20,20,20);*/
}

#livesearchContainer {
	position: relative;
	left: -5px;
}

div.outliner {
	width: 100%;
	position: absolute;
	border: 1px solid rgb(20,20,20);
	border-top: 0px;
	padding-left: 5px;
	padding-right: 5px;
	background: rgb(255,255,255);
}

div.helperContainer {
	overflow-x: auto;
}

#livesearch {
	display: none;
	width: 100%;
	min-width: max-content;
	text-align: left;
	font-size: 12px;
	color: rgb(20,20,20);
	
	white-space: nowrap;
}

h2 {
	margin: 0px;
	padding: 0px;
	color: rgb(20,20,20);
	font-family: Verdana;
	margin-bottom: 5px;
	font-size: 14px;
	font-weight: normal;
}

hr {
	color: rgb(255,255,255);
	border: 0px;
	margin: 0px;
	padding: 0px;
	display: none;
}

a.lsr {
	width: auto;
	display: block;
	text-decoration: none;
	color: rgb(20,20,20);
	
	padding: 5px;
	margin: 0px;
	background: rgb(230,230,230);
	margin-bottom: 5px;
}

a.lsr:hover {
	background: rgb(200,200,200);
	cursor: pointer;
}

input:focus {
	outline: 0px solid orange;
}

#app { max-width: 900px; height: auto; aspect-ratio: 16/9; margin-top: 0px; margin-bottom: 2px; background: rgb(20,20,20); }
div.videoContent { max-width: 900px; margin-top: 5px; margin-bottom: 5px; aspect-ratio: 16/9; }
div.imageContent { max-width: 900px; height: auto; margin-top: 5px; margin-bottom: 5px; }

#content { height: auto; padding-top: 15px; }
#contentLoad { height: auto; padding-top: 15px; }

div.downloadables {
	background: rgba(255,128,0, 0.1);
	border: 1px solid rgb(20,20,20);
	box-shadow: 2px 2px 0px rgb(20,20,20);
	position: relative;
	width: auto;
}

div.downloadables h2 {
	background: rgba(255,150,0,0.7);
	font-size: 17px;
	font-weight: bold;
	padding: 10px;
	margin: 0px;
	color: rgb(255,255,255);
	text-shadow: 0px 0px 2px rgb(30,30,60);
}

a.expand {
	display: table;
	opacity: 0;
	position: absolute;
	width: 100%;
	height: 100%;
	text-decoration: none;
}

a.expand div {
	display: table-cell;
	margin: 0;
	padding: 0;
	vertical-align: middle;
	text-align: center;
	font-size: 30px;
	
	background: rgba(0,0,0, 0.6);
	text-shadow: 0px 0px 2px rgb(0,0,0), 0px 0px 5px rgb(0,0,0), 0px 0px 10px rgb(0,0,0);
	color: rgb(255,255,255);
}

div.downloadables:hover a.expand {
	cursor: pointer;
	background: rgba(255,128,0, 0.5);
	opacity: 1;
}

div.downloadables div {
	padding: 10px;
	margin: 0px;
}



div.document {	
	padding-left: min(15px, 2%);
	padding-right: min(15px, 2%);
	padding-top: 0px;
	padding-bottom: min(15px, 2%);
	
	background-color: rgb(80,80,80);
	background-image: url("gfx/bckplus2.PNG"), url("gfx/bottomlyr.PNG"), url("gfx/toplyr.PNG");
	background-repeat: no-repeat;
	background-position: right bottom, right bottom, right top;

	color: rgb(192, 192, 192);
	text-shadow: 0px 0px 1px rgb(70,70,70), 0px 0px 2px rgb(100,100,150), 0px 0px 10px rgb(0,0,0);
	font-family: Arial;
	font-weight: normal;

	max-width: 870px;
	height: auto;
	border-bottom: 1px solid rgb(50,50,50);
}

@keyframes loaderAnimation {
  0%   { opacity: 1.0; }
  50%  { opacity: 0.8; }
  100% { opacity: 1.0; }
}

#loader {
	display: block;
	text-align : center;
	margin-left : auto;
	margin-right : auto;
	font-size: 14px;
	line-height: 20px;
	height: 20px;
	
	max-width: 400px;
	border: 1px solid rgba(255,150,0,0.9);
	color: rgba(255,255,255,0.9);
	background: rgba(255,255,255, 0.1);
	
	margin-top: 50px;
}

#loaderText {
	position: absolute;
	max-width: 400px;
	width: 90%;
	z-index: 1;
}

#loaderBar {
	float: left;
	display: inline-block;
	width: 0%;
	height: 100%;
	background: rgba(255,150,0, 0.9);
	animation: loaderAnimation 1s infinite;
}

.doctablehr {
	margin-left: -12px;
	margin-top: -12px;
	margin-right: -12px;
	margin-bottom: 12px;

	padding: 5px;
	padding-left: 10px;

	color: rgb(230,230,230);
	background: rgba(240,30,30,0.8);
	
	font-family: Arial;
	font-size: 22px;
	font-weight: bold;
	text-shadow: 0px 0px 1px rgb(120,120,240), 1px 1px 3px rgb(10,10,10);
	
	border: 2px solid rgb(40,40,40);
	border-top: 2px solid rgb(40,40,40);
	border-bottom: 0px;
}

.doctableh {
	margin-left: -12px;
	margin-top: -12px;
	margin-right: -12px;
	margin-bottom: 12px;

	padding: 5px;
	padding-left: 10px;

	color: rgb(255,255,255);
	background: rgba(255,150,0,0.9);
	
	font-family: Arial;
	font-size: 22px;
	font-weight: bold;
	text-shadow: 0px 0px 2px rgb(30,30,60);
	
	border: 2px solid rgb(40,40,40);
	border-top: 2px solid rgb(40,40,40);
	border-bottom: 0px;
}

div.doctable {
	box-shadow: 0 0 2px 2px rgb(80,80,80);
	text-shadow: none;
	font-family: Arial;
	font-weight: normal;
	font-size: 15px;
	color: rgb(40,40,40);
	background: rgba(255,255,255,0.9);

	border: 2px solid rgb(30,30,30);
	padding: 10px;
}

div.doctable li {
	margin: 5px;
}

#back {
	display: inline-block;
	width: 32px;
	height: 32px;
	padding: 2px;
	margin: -10px;
	margin-right: 5px;
	background: url("/gfx/arrow.png");
	background-size: contain;
}

#back:hover {
	background: url("/gfx/arrow2.png");
	background-size: contain;
}

#footer {
	padding-top: 10px;
	padding-left: 10px;
	padding-right: 10px;
	padding-bottom: 20px;
	background-color: rgb(25, 25, 25);
	color: rgb(192, 192, 192);
	font-size: 10px;
	font-family: Verdana;
	text-align: center;
	text-shadow: 0px 0px 2px rgb(100,100,150), 0px 0px 10px rgb(0,0,0);
	border-top: 8px solid rgb(35,35,35);
	max-width: 880px;
	height: 100%;
	margin-bottom: -30px;
}

a.flink,a.flink:link { color: rgb(200,200,200); text-decoration : none; font-size: 16px; font-weight: normal; border: 1px solid rgb(25,25,25); background: rgb(28,28,28); padding: 5px; margin: 1px; line-height: 30px; }
a.flinks,a.flinks:link { color: rgb(240,240,240); text-decoration : none; font-size: 16px; font-weight: normal; border: 1px solid rgb(80,80,80); background: rgb(20,20,20); padding: 5px; margin: 1px; line-height: 30px; text-shadow: 0px 0px 1px rgb(70,70,70), 0px 0px 2px rgb(255,102,0), 0px 0px 10px rgb(0,0,0); }
a.flink:hover { color: rgb(240,240,240); font-weight: normal; border: 1px solid rgb(80,80,80); background: rgb(20,20,20); padding: 5px; text-shadow: 0px 0px 1px rgb(70,70,70), 0px 0px 2px rgb(255,102,0), 0px 0px 10px rgb(0,0,0); }
ul.footer { margin-left: auto; margin-right: auto; width: auto; padding: 0; list-style-type: none; }
.footer li { display: inline-block; }

.b { font-weight: bold; }
.u { text-decoration: underline; }
.s { text-decoration: line-through; }
.i { font-style: italic; }
.empty {}
.right { text-align : right; float: right; }
.left { text-align : left; float: left; }
.center { display : block; text-align : center; margin-left : auto; margin-right : auto; }

