* {
  margin: 0;
}


html {
	background: #f2f2f2;
	height:100%;
	margin:0;
	padding:0;
	text-rendering: optimizeLegibility;
	}

body {
		margin:0;
		padding:0;
		height:100%;
		background:#f2f2f2;;
		font-family: Verdana, sans-serif;
      }
	  
	  



#wrapper {
	min-height:100%;
	position:relative;
}
#header {
	background:#ffffff url(../images/headerbkgd.gif) top center no-repeat;
	padding:0px;
	height:131px;
	width:100%;
	margin-left:auto;
	margin-right:auto;
	margin-top: 0px;
}

#precontent {
	background:#1e2b41 url(../images/topimagebkgd.jpg) top center no-repeat;
	width:100%;
	margin-left:auto;
	margin-right:auto;
	height: 232px;
}

#precontentcontact {
	background:#1e2b41 url(../images/topimagebkgd_contact.jpg) top center no-repeat;
	width:100%;
	margin-left:auto;
	margin-right:auto;
	height: 232px;
}

#precontentprof {
	background:#1e2b41 url(../images/topimagebkgd_prof.jpg) top center no-repeat;
	width:100%;
	margin-left:auto;
	margin-right:auto;
	height: 232px;
}




#content {
	background:#f2f2f2 url(../images/content_area_bkgd2.gif) top center no-repeat;
	padding-bottom:207px; /* Height of the footer element */
	width:1000px;
	margin-left:auto;
	margin-right:auto;
	min-height: 100%;
}
#content:after {
	content: "";
	display: block;
}



#footer {
	background:#5b5b5b url(../images/footer.jpg) top center no-repeat;
	width:100%;
	height:207px;
	position:absolute;
	bottom:0;
	left:0;
	}


	

	
	#footer #legal p.copyr {
	margin-left:auto;
	margin-right:auto;
	width:850px;
	padding: 25px 86px 20px 175px;
	text-align:right;
	font-family: 'Lato', sans-serif;
	color:#b2b2b2;
	font-size:12px;
	font-weight:normal;
	}
	

  
		  
		  
#primary {
	width: 1000px;
	font-family: 'Lato', sans-serif;
	color:#717171;
	font-size: 16px;
	line-height: 39px;
	font-weight:normal;
	}
	
#primary p {
	padding: 50px 150px 50px 70px;
	}
	
	
#primary h1 {
	padding: 50px 150px 10px 70px;
	font-family: 'Lato', sans-serif;
	color:#717171;
	font-size: 20.5px;
	line-height: 39px;
	font-weight:500;
	letter-spacing:1.5px;
	}
	
#primary h2 {
	padding: 5px 150px 0px 70px;
	font-family: 'Lato', sans-serif;
	color:#717171;
	font-size: 18.5px;
	line-height: 39px;
	font-weight:500;
	}	
	
	
#primary h2 a {
	color:#04c3fb;
	text-decoration:none;
	}
	
#primary h2 a:visited {
	color:#139bc3;
	text-decoration:none;
	}
	
#primary h2 a:hover, a:active {
	color:#67ddff;
	text-decoration:none;
	}		
	
				
#primary p.cntntpgs {
	padding: 10px 150px 30px 70px;
	}
		
	
	
#primary p.cntntpgsprofile {
	padding: 0px 150px 30px 70px;
	}
	
			
#primary p.cntntpgs a {
	color:#04c3fb;
	text-decoration:none;
	}
	
	
#primary p.cntntpgs a:hover {
	color:#67ddff;
	text-decoration:none;
	}
	
#primary p.cntntpgs a:visited {
	color:#139bc3;
	text-decoration:none
	}
					
	
#logo {
	width: 1000px;
	margin: 0 auto 0 auto;
	}	
	
	#logo img {
	width: 397px;
	margin: 0;
	text-align:left;
	float:left;
	}

	#logo img a {
	border:none;
	}
	
	

#mainnav {
	margin: 0 auto 0 auto;
	width: 481px;
	float:right;
	vertical-align:top;
	text-align: left;
	}



#nav {
	list-style: none;
	padding-top:27px;
	color: #ffffff;
	margin-left:-48px;
	text-align:center;
	}
	
	
#nav li {
	display: inline; /*this is only necessary to fix the IE6 whitespace bug*/
	}	


#nav li img.crshrs {
	display: inline;
	width: 35px;
	height: 29px;
	margin-top: -1px;
	margin-right: 3px;
	margin-left: 3px;
	float:none;
	vertical-align:top;
	}
	
	
#nav a:link, #nav a:visited, #nav a:hover, #nav a:active {
	color: #ffffff;
	display:inline;
	font-family: 'Lato', sans-serif;
	font-size: 14px;
	font-size-adjust:none;
	font-weight:400;
	letter-spacing:1.5px !important;
	font-style:normal;
	font-stretch:normal;
	text-decoration:none;
	text-rendering: optimizeLegibility;
	}

#nav a:hover, #nav a:active {
	color: #474747;
	text-decoration: none;
	}


#nav a.navon:hover, #nav a.navon:active {
	color: #474747;
	text-decoration: none;
	}
	
	
	
 

	
	
@media screen 
  and (max-width:1150px) {
	  
	html {
	background: #f2f2f2;
	height:100%;
	width:100%;
	margin:0;
	padding:0;
	text-rendering: optimizeLegibility;
	}
	
	
	  body {
		margin:0;
		padding:0;
		height:100%;
		width:100%;
		background:#f2f2f2;
		font-family: Verdana, sans-serif;
      }
	  
	  
	  
	
#wrapper {
	min-height:100%;
	position:relative;
}
#header {
	background:#ffffff url(../images/headerbkgd.gif) top center no-repeat;
	padding:0px;
	width: 1000px;
	height:131px;
	margin-left:auto;
	margin-right:auto;
	margin-top: 0px;
}

#precontent {
	background:#1e2b41 url(../images/topimagebkgd_sm.jpg) top center no-repeat;
	margin-left:auto;
	margin-right:auto;
	width:1000px;
	height: 232px;
}

#precontentcontact {
	background:#1e2b41 url(../images/topimagebkgd_contact_sm.jpg) top center no-repeat;
	margin-left:auto;
	margin-right:auto;
	width:1000px;
	height: 232px;
}

#precontentprof {
	background:#1e2b41 url(../images/topimagebkgd_prof_sm.jpg) top center no-repeat;
	margin-left:auto;
	margin-right:auto;
	width:1000px;
	height: 232px;
}


#content {
	background:#f2f2f2 url(../images/content_area_bkgd2.gif) top center no-repeat;
	padding-bottom:207px; /* Height of the footer element */
	width:1000px;
	margin-left:auto;
	margin-right:auto;
	min-height: 100%;
}
#content:after {
	content: "";
	display: block;
}



#footer {
	background:#5b5b5b url(../images/footer.jpg) top center no-repeat;
	width:1000px;
	height:207px;
	position:absolute;
	bottom:0;
	left:0;
	}


	

	
	#footer #legal p.copyr {
	margin-left:auto;
	margin-right:auto;
	padding: 25px 86px 20px 125px;
	text-align:right;
	font-family: 'Lato', sans-serif;
	color:#b2b2b2;
	font-size:13px;
	font-weight:normal;
	}
	
		  
		  
		  
#primary {
	width: 1000px;
	font-family: 'Lato', sans-serif;
	color:#717171;
	font-size: 17.5px;
	line-height: 39px;
	font-weight:normal;
	}
	
#primary p {
	padding: 50px 150px 50px 70px;
	}



#logo {
	width: 1000px;
	margin: 0 auto 0 auto;
	}	
	
	#logo img {
	width: 397px;
	margin: 0;
	text-align:left;
	float:left;
	}

#mainnav {
	margin: 0 auto 0 auto;
	width: 391px;
	float:right;
	vertical-align:top;
	text-align: left;
	}



#nav {
	list-style: none;
	padding-top:26px;
	font-weight: normal;
	color: #ffffff;
	margin-left:-103px;
	text-align:center;
	}
	
	
#nav li {
	display: inline; /*this is only necessary to fix the IE6 whitespace bug*/
	}	


#nav li img.crshrs {
	display: inline;
	width: 35px;
	height: 25px;
	float:none;
	vertical-align:middle;
	}
	
	
#nav a:link, #nav a:visited, #nav a:hover, #nav a:active {
	color: #ffffff;
	display:inline;
	font-family: 'Lato', sans-serif;
	font-size: 15px;
	font-size-adjust:none;
	font-weight:400;
	letter-spacing:0px !important;
	font-style:normal;
	font-stretch:normal;
	text-decoration:none;
	text-rendering: optimizeLegibility;
	}

#nav a:hover, #nav a:active {
	color: #474747;
	text-decoration: none;
	}


#nav a.navon:hover, #nav a.navon:active {
	color: #474747;
	text-decoration: none;
	}