html{
	width:100%;
	font-size: 100%;
}
* { -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	-webkit-text-size-adjust: 0;
}

body{
	/*-webkit-animation: bugfix infinite 1s;*/
	width:100%;
	text-align:center;
	margin: 0;
	background-color:#FCFCFC;

}
img{
	-ms-interpolation-mode:bicubic;
}
a img {border: none; }
#head_img{
	width:100%;
	margin-bottom: 0;
	margin: 0 auto;
	display: block;
	/*border-bottom:  1px solid #DBDBDB;*/
}
#headnavcon{
	font-family:Arial,Tahoma,Verdana,Helvetica,sans-serif;
	position: relative;
	z-index: 12000;
	text-align: left;
	/*-webkit-box-shadow: 0px 2px 4px 2px rgba(0,0,0,.5);*/
	/*box-shadow: 0px 2px 4px 2px rgba(0,0,0,.5);*/
}
#smenu_btn{
	display: none;
}
#frame{
	width:100%;
	min-width:55em;
	min-height:20em;
	max-width: 80em;

	margin:0 auto;
	background-color:#FFFFFF;
	color:#000000;
	white-space:normal;
	font-size:100%;
	text-align:center;
	overflow: hidden;
}
#footer1{
	width:100%;
	border-top:1px solid #808000;
	margin:0 auto;
	padding: .4em 0;
}
#centcont{
	text-align:justify;
	width:100%;
	margin: 0 auto;
	font-family: Arial,Verdana,Tahoma,Helvetica,sans-serif;
	min-height: 20em;
    position: relative;
	padding-top: 4%;
}
#menucont1{
	width:80%;
	text-align: right;
	font-size:130%;
	padding: 0;
	position: absolute;
	top: 110%;
	right: 0;
	overflow: hidden;
	background-color: #0013BF;

	/*border-bottom: 1px solid #898989;*/
	/*border-top: 1px solid #898989;*/

	color: black;
	-webkit-box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, .5);
	box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, .5);
}
.mitm{
	width:24%;
	display: inline-block;
	text-align: center;
}
.lnk{
	text-decoration:none;
	color: #EFEFEF;
	display: inline-block;
	/*border-right: 1px dotted #AAAAAA;*/
	/*border-top: 1px solid #DBDBDB;*/
	padding: 2% .5em;
	/*background-color: red;*/

	/*background-color: #212121; /* Old browsers */*/
	/*background: -moz-linear-gradient(top,  #212121 0%, #000000 100%); /* FF3.6+ */*/
	/*background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#212121), color-stop(100%,#000000)); /* Chrome,Safari4+ */*/
	/*background: -webkit-linear-gradient(top,  #212121 0%,#000000 100%); /* Chrome10+,Safari5.1+ */*/
	/*background: -o-linear-gradient(top,  #212121 0%,#000000 100%); /* Opera 11.10+ */*/
	/*background: -ms-linear-gradient(top,  #212121 0%,#000000 100%); /* IE10+ */*/
	/*background: linear-gradient(to bottom,  #212121 0%,#000000 100%); /* W3C */*/
	/*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#212121', endColorstr='#000000',GradientType=0 ); /* IE6-9 */*/
}
.lnk:hover{
	/*background: #6065A5;*/
	color: #2EFF00;
	/*font-weight: 700;*/
	text-shadow: 1px 1px 2px rgb(40, 40, 40);
}

@media screen and (max-width: 800px) {
* {
	-webkit-text-size-adjust: none;
}
	#frame{
		min-width: 16em;
	}
	#mnu_bkr_bl{
		overflow: hidden;
	}
	#head_img{
		margin-bottom: -8%;
		width: 130%;
		margin-left: -15%;
	}
	#menucont1{
		position: relative;
		font-size: 105%;
		width: 100%;
		background-color: #000000;
		left: 0;
		bottom: 0;
		border-top: 1px solid #DBDBDB;
		padding-bottom: 2px;
		padding-top: 2px;
	}
	.mitm{
		width: 25%;
		margin: 0;
	}
	.lnk{
		border-right: 2px solid #DBDBDB;
		border-top: none;
		display: block;
		padding: 2% 0;
	}
	#cn{
		border-right: none;
	}
	#ithnx{
		font-size: 90%;
	}
}

@media screen and (max-width: 479px) {
	#headnavcon{
		/*padding: 0;*/
		background-color: black;
		padding-bottom: 2%;
	}
	#head_img{
		margin-bottom: -8%;
		width: 122%;
		margin-left: -15%;
	}

	#smenu_btn{
		position: absolute;
		display: block;
		top: 0;
		bottom: 0;
		left: 0;
		width: 100%;
		opacity: .7;

		background-color: rgba(0, 0, 0, 0);
		background-image: url('/imgs/smenubtn2.png');
		background-size: auto 60%;
		background-position: 99% center;
		background-repeat:no-repeat;
	}


	#menucont1{
		font-size: 120%;
		display: block;
		overflow: hidden;
		position: absolute;
		bottom: 100%;
		background-color: rgba(0, 0, 0, 0.85);
		border: none;
		padding: 0;
	}



	#smenu_chb:checked + div label{
		background-color: rgba(0, 0, 0, 0.6);
		opacity: 1;
		background-size: auto 80%;
	}

	#smenu_chb:checked + div #menucont1{
		top: 100%;
		bottom: auto;
	}

	.mitm{
		width: 100%;
		border: none;
	}

	.lnk{
		color: #FFFFFF;
		padding: .6em 0;
		border: none;
		background: none;
		border-top: 2px groove #515151;
		text-shadow: 2px 2px 1px rgb(0, 0, 0);
	}
	.lnk:hover{
		background: black;
	}
	#cn{
		border-bottom: 2px groove #515151;
	}
	#footer1{
		font-size: 90%;
	}

}
