/* ------------------------------------------------------------------------------------- BASICS -- */

* {
	margin: 0;
	padding: 0;
}
html, body {
	width: 100%;
	height: 100%;
}
body {
	background: #202225;
	min-width: 1208px;
	max-width: 1600px; /* optional */
	margin: 0 auto; /* optional */
}
body:before {
	content: "";
	height: 100%;
	float: left;
	width: 0;
	margin-top: -32767px;
}
object, embed {
	border-width: 0;
	display: inline;
}
img {
	border-width: 0;
	display: block;
}
.boxShadow {
	box-shadow: 0px 3px 8px rgba(0, 0, 0, .6);
}

/* --------------------------------------------------------------------------------------- LOGO -- */

.logo {
	background: url(../images/logo.png);
	width: 400px;
	height: 46px;
	position: absolute;
	/*top: 14px;*/
	margin: 14px 0 0 4px;
	z-index: 10;
}

/* ------------------------------------------------------------------------------------- HEADER -- */

.header_ui {
	/*background: url(../images/ui_header.png);
	background-size: auto 100%;*/
	background: #f9f9f9;
	border-top: #202225 3px solid;
	border-bottom: #ccc 1px solid;
}
.header {
	width: 1024px;
	height: 64px;
	margin: 0 auto;
}

/* ------------------------------------------------------------------------------ STICKY FOOTER -- */

#wrapper {
	background: #fff;
	width: 100%;
	min-height: 100%;
	margin: 0 auto;
}
#main {
	overflow: auto;
	padding-bottom: 60px;
}
#footer {
	background: #202225; /* replaces .footer_ui */
	position: relative;
	margin-top: -60px;
	height: 60px;
	clear: both;
}
.footer {
	width: 1000px;
	height: 60px;
	margin: 0 auto;
	text-align: center;
	overflow: hidden;
}

/* ------------------------------------------------------------------------------------- NAVBAR -- */

#navlinks {
	width: 1024px;
	height: 36px;
	margin: -36px auto 40px;
}
/*.link1 a { width: 78px; }
.link2 a { width: 112px; }
.link3 a { width: 110px; }
.link4 a { width: 110px; }
.link5 a { width: 130px; }*/

#cssmenu ul, #cssmenu li, #cssmenu span, #cssmenu a {
	margin: 0;
	padding: 0;
	position: relative;
}
#cssmenu {
	width: 479px;
	height: 36px;
	/*border-radius: 4px 4px 0 0;
	background: url(../images/menu.png);*/
	float: right;
}
#cssmenu:after, #cssmenu ul:after {
	content: '';
	display: block;
	clear: both;
}
#cssmenu a {
	/*background: url(../images/menu.png);*/
	color: #0c71b0;
	display: block;
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	font-size: 14px;
	line-height: 36px;
	letter-spacing: 1px;
	text-align: center;
	text-decoration: none;
	padding: 0 10px;
	transition: all .2s;
	-moz-transition: all .2s;
	-webkit-transition: all .2s;
	-o-transition: all .2s;
}
#cssmenu ul {
	list-style: none;
}
#cssmenu > ul {
	float: left;
	z-index: 101;
}
#cssmenu > ul > li {
	float: left;
}
#cssmenu > ul > li:hover:after {
	content: '';
	display: block;
	width: 0;
	height: 0;
	position: absolute;
	left: 50%;
	bottom: 0;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-bottom: 6px solid #ccc;
	margin-left: -6px;
}
#cssmenu > ul > li:first-child a {
	/*border-radius: 4px 0 0 0;*/
}
#cssmenu > ul > li:last-child a {
	/*border-radius: 0 4px 0 0;*/
}
#cssmenu > ul > li.active a {
	/*box-shadow: inset 0 0 3px #000000;
	background: url(../images/hover.png) bottom;*/
}
#cssmenu > ul > li:hover > a {
	/*background: url(../images/hover.png) bottom;*/
}
#cssmenu .has-sub {
	z-index: 1;
}
/* iPhone / mobile webkit */
@media screen and (max-device-width: 480px) {
#cssmenu .has-sub:hover > ul {
	display: block;
	top: 100%;
	/*opacity: 1;
	visibility: visible;*/
}
#cssmenu .has-sub ul {
	display: none; /**/
	position: absolute;
	width: 130px;
	top: 110%;
	left: -10px;
	/*border-radius: 4px;*/
	box-shadow: 0px 3px 10px rgba(0,0,0, 0.4);
	
	opacity: 0;
	visibility: hidden;
	/*transition: none;  
	-webkit-transition: none;*/
}
}
#cssmenu .has-sub:hover > ul {
	display: block;
	top: 100%;
	opacity: 1;
	visibility: visible;  
}
#cssmenu .has-sub ul {
	/*display: none; /**/
	position: absolute;
	width: 130px;
	top: 110%;
	left: -10px;
	/*border-radius: 4px;*/
	box-shadow: 0px 3px 10px rgba(0,0,0, 0.4);
	/**/
	opacity: 0;
	visibility: hidden;
	transition: all .15s ease-in-out;  
	-moz-transition: all .15s ease-in-out;  
	-webkit-transition: all .15s ease-in-out;  
	-o-transition: all .15s ease-in-out;  
}
#cssmenu .has-sub ul li {
	/*margin-bottom: -1px;*/
}
#cssmenu .has-sub ul li a {
	background: #71b00c;
	border-bottom: 1px dotted #aad06d;
	filter: none;
	font-size: 11px;
	display: block;
	line-height: 120%;
	padding: 10px;
	transition: all .2s;
	-moz-transition: all .2s;
	-webkit-transition: all .2s;
	-o-transition: all .2s;
}
#cssmenu .has-sub ul li:hover a {
	background: #528009;
}
#cssmenu .has-sub .has-sub:hover > ul {
	display: block;
}
#cssmenu .has-sub .has-sub ul {
	display: none;
	position: absolute;
	left: 100%;
	top: 0;
}
#cssmenu .has-sub .has-sub ul li a {
	background: #528009;
	border-bottom: 1px dotted #97b36b;
	transition: all .2s;
	-moz-transition: all .2s;
	-webkit-transition: all .2s;
	-o-transition: all .2s;
}
#cssmenu .has-sub .has-sub ul li a:hover {
	background: #345105;
}

/* BORDER RADIUS */

#cssmenu .has-sub ul li:first-child a {
	/*border-radius: 4px 4px 0 0;*/
}
#cssmenu .has-sub ul li:last-child a {
	/*border-radius: 0 0 4px 4px;*/
	border-bottom: none;
}
#cssmenu .has-sub .has-sub ul li a {
	/*border-radius: 0;*/
}
#cssmenu .has-sub .has-sub ul li:first-child a {
	/*border-radius: 4px 4px 0 0;*/
}
#cssmenu .has-sub .has-sub ul li:last-child a {
	/*border-radius: 0 0 4px 4px;*/
}

/* ------------------------------------------------------------------------------- PAGE CONTENT -- */

.content_ui_1 {
	/*background: url(../images/ui_green.png);*/
	background-size: auto 100%;
}
.content_ui_2 {
	/*background: url(../images/ui_gray.png) repeat-x;
	background-size: auto 100%;*/
}
.content_ui_3 {
	background: url(../images/ui_green_sm.png);
	background-size: auto 100%;
}
.content_ui_4 {
	background: url(../images/ui_gray_green.png) repeat-x;
	background-size: auto 100%;
}
.content-header_ui {
	background: url(../images/menu.png) repeat-x;
	border-radius: 4px 4px 0 0;
}
.content-header_ui:hover {
	background: url(../images/hover.png) repeat-x;
	border-radius: 4px 4px 0 0;
}
.content {
	width: 1000px;
	margin: 0 auto;
}
.left {
	position: relative;
	float: left;
}
.middle {
	position: relative;
	float: left;
}
.right {
	position: relative;
	float: right;
}
.vertdiv {
	background: url(../images/vertical-divider.png) top center no-repeat;
	background-size: 10px 100%;
	width: 30px;
	position: relative;
	float: left;
}
.clear {
	position: relative;
	clear: both;
}
.cleartext {
	position: relative;
	clear: both;
	border-bottom: #aad06d 1px dotted;
	margin: 25px 0;
}

/* --------------------------------------------------------------------------------- SPECIAL FX -- */

.ui {
	width: 100%;
	height: auto;
	overflow: auto;
	z-index: -1;
}
.shadow {
	width: 1024px;
	position: absolute;
}
.slide-l {
	background: url(../images/slide-shadow-l.png) no-repeat;
	float: left;
	width: 20px;
	height: 436px;
}
.slide-r {
	background: url(../images/slide-shadow-r.png) no-repeat;
	float: right;
	width: 20px;
	height: 436px;
}
.about-l {
	background: url(../images/about-shadow-l.png) no-repeat;
	float: left;
	width: 14px;
	height: 186px;
	margin-left: 6px;
}
.about-r {
	background: url(../images/about-shadow-r.png) no-repeat;
	float: right;
	width: 14px;
	height: 186px;
	margin-right: 6px;
}
.about_ui {
	background: url(../images/ui_about_img.png);
	background-size: auto 100%;
	height: 186px;
	overflow: hidden;
}
.about_img {
	width: 1056px;
	margin: 0 auto;
}
.services-l {
	background: url(../images/services-shadow-l.png) no-repeat;
	float: left;
	width: 14px;
	height: 276px;
	margin-left: 6px;
}
.services-r {
	background: url(../images/services-shadow-r.png) no-repeat;
	float: right;
	width: 14px;
	height: 276px;
	margin-right: 6px;
}
.services_ui {
	background: url(../images/ui_services_img.png);
	background-size: auto 100%;
	height: 276px;
	overflow: hidden;
}
.blank_ui {
	background: url(../images/ui_blank_img.png);
	/*background-size: auto 100%;*/
	height: 20px;
	overflow: hidden;
}
.blank_img {
	background: #122709;
	width: 1016px;
	margin: 0 auto;
	border-top: #122709 7px solid;
	box-shadow: 0px 3px 3px rgba(0, 0, 0, .4);
}
.dark_ui {
	/*background: url(../images/ui_blank_img.png);
	background-size: auto 100%;
	height: 20px;
	overflow: hidden;*/
	background: #2b3527;
	border: #480 1px solid;
	border-radius: 6px;
	margin: -1px;
	box-shadow: inset 0px 3px 3px rgba(0, 0, 0, .4);
}
