@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,900,400italic,900italic,700,700italic|Lato:400,700,900,400italic,700italic);

html, body {
	height: 100%;
}

body {
	width: 900px;
	margin: 20px auto;
	background-color: #8DB2C9;
	background-image: url(../images/bg-page.gif);
	background-repeat: repeat-x;
	min-height: 100%;
}

html>body #wrapper {
	height: auto;
}

#wrapper {
	width: 900px;
	border: 2px solid #0B2651;
	background-color: #fff;
	overflow: hidden;
}

p {
	margin: 0px 0px 15px 0px;
}

h3 {
	font-family: "Source Sans Pro"; 
	font-size: 17px;
	font-weight: 900;
	line-height: 100%;
	margin: 0 0 10px;
	text-transform: uppercase;
}

a:link {
	color: #EB9806;
	font-weight: bold;
	text-decoration: none;
}

a:visited {
	color: #EB9806;
	font-weight: bold;
	text-decoration: none;
}

a:hover {
	color: #EB9806;
	font-weight: bold;
	text-decoration: underline;
}


#photos {
	width: 900px;
	float: left;
	height: 270px;
	text-align: left;
	border-bottom: 1px solid #0B2651;
}

#header {
	float: left;
	width: 900px;
	height: 98px;
	display: block;
	padding: 0px;
	margin: 0px;
	background-image: url(../images/bg-top.gif);
	background-repeat: repeat-x;
	border-bottom: 1px solid #0B2651;
}

#footer {
	float: left;
	display: block;
	overflow: auto;
	width: 100%;
	max-width: 100%;
	padding: 10px;
	background-color: #1D3B6B;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #fff;
	text-align: center;
	font-weight: normal;
}

#footer a:link {
	color: #fff;
	text-decoration: none;
	font-weight: bold;
}

#footer a:visited {
	color: #fff;
	text-decoration: none;
	font-weight: bold;
}

#footer a:hover {
	color: #D2F2FF;
	text-decoration: none;
	font-weight: bold;
}

.logo {
	border: 0px;
}

/* home */

#left {
	float: left;
	background-color: #D2F2FF;
	width: 196px;
}

.resourcesBox {
	width: 196px;
	height: 111px;
	padding: 20px 15px 10px 15px;
	background-color: #037EB5;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #fff;
	border-right: 1px solid #0B2651;
	line-height: 140%;
}

.resourcesBox a:link {
	color: #FFB32E;
	font-weight: bold;
	text-decoration: none;
}

.resourcesBox a:visited {
	color: #FFB32E;
	font-weight: bold;
	text-decoration: none;
}

.resourcesBox a:hover {
	color: #FFB32E;
	font-weight: bold;
	text-decoration: underline;
}

.helpBox {
	width: 196px;
	height: 189px;
	padding: 20px 15px 10px 15px;
	background-color: #E7F3F8;
	border-top: 1px solid #0B2651;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #333;
	line-height: 140%;
}

.ecourseBox {
	width: 186px;
	height: 225px;
	padding: 20px 15px;
	background-color: #D2F2FF;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	border-top: 1px solid #0B2651;
	font-size: 13px;
	color: #333;
	padding: 20px;
}

.ecourseTitle {
	font-size: 12px;
	font-weight: bold;
	color: #050C46;
}

#right {
	width: 674px;
	float: right;
	text-align: left;
}
	
#message {
	background-color: #050C46;
	color: #fff;
	float: right;
	font-family: Lato;
	font-size: 21px;
	line-height: 150%;
	padding: 17px 40px;
}

#content {
	float: left;
	padding: 20px 20px 15px 20px;
	width: 432px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 14px;
	background-color: #fff;
	line-height: 140%;
	border-left: 1px solid #0B2651;
	border-right: 1px solid #0B2651;
	height: 450px;
}

#content .intro {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 16px;
	color: #1D3B6B;
	font-weight: bold;
}

#content .firm {
	color: #112F61;
	font-weight: bold;
}

#content .title {
	color: #0A87B8;
	font-weight: bold;
}

#nextLevelBox {
	float: right;
	width: 165px;
	padding: 20px 20px 15px 15px;
	background-color: #E5E5E5;
	color: #333;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 140%;
	height: 450px;
}
	

/* nav */	
html>body #nav  {
	left: 0px;
	} 
	
#nav {
	float: left;
	border-bottom: 1px solid #0B2651;
	background-color: #0B2651;
	list-style: none;
	margin: 0;
	padding-left: 14px;
	white-space: nowrap;
	height: 35px;
	display: inline;
	overflow: hidden;
	width: 886px;
	z-index: 1002;
	left: 20px; /* fixes weird IE5.0/win absolute position within relative */
	}


#nav li {
	margin: 0; 
	padding: 0;
	display: inline;
	list-style-type: none;
	}

#nav a {
	float: left;
	padding: 35px 0 0 0;
	overflow: hidden;
	height: 0px !important; 
	height /**/:35px;
	}
	
#nav a:hover {
	background-position: 0 -35px;
	}

#nav a:active, #nav a.selected {
	background-position: 0 -35px;
	}
	
#thome a  {
	width: 113px;
	background:  url(../images/nav/home.gif) top left no-repeat;
	}

#tabout a  {
	width: 119px;
	background:  url(../images/nav/about.gif) top left no-repeat;
	}

#tcareer a  {
	width: 213px;
	background:  url(../images/nav/career.gif) top left no-repeat;
	}

#tservices a  {
	width: 137px;
	background:  url(../images/nav/services.gif) top left no-repeat;
	}
	
#tresources a  {
	width: 153px;
	background:  url(../images/nav/resources.gif) top left no-repeat;
	}

#tcontact a  {
	width: 137px;
	background:  url(../images/nav/contact.gif) top left no-repeat;
	}
	
#nextLevelBox h3 {
	color: #666;
}

.resourcesBox h3 {
	color: #cfebf7;
}

.helpBox h3 {
	color: #050c46;
}

.ecourseBox h3 {
	color: #037EB5;
}

/* = RESPONSIVE
------------------------------------------*/

/* IPAD PORTRAIT */

@media only screen and (min-width: 768px) and (max-width: 1023px) {
	body {
		zoom: 80%;
	}
	
}

/* EVERYTHING ELSE */

@media only screen and (max-width: 767px) {
	body, 
	#wrapper {
		border: none;
		margin: 0;
		max-width: 767px;
		width: 100%;
	}
	
	body, 
	#inner, 
	#left {
		background: none #fff;
	}
	
	#top {
		margin-top: -20px;
		min-height: 20px;
	}
	
	#header {
		height: auto;
		padding: 0;
		width: 100%;
	}
	
	.logo {
		max-width: 95%;
	}
	
	#inner {
		width: 92%;
	}
	
	#nav {
		float: none;
		height: auto; 
		padding: 0;
		width: 100%;
	}
	
	#nav li {
		display: block;
		float: none;
		text-align: center;
		text-transform: uppercase;
		width: 100%;
	}
	
	#nav li a {
    	background: none #0B2651;
		border-bottom: 1px solid #fff;
		color: #fff !important;
		display: block;
		float: none;
		font-family: Lato, Arial, sans-serif;
		height: auto !important;
		padding: 10px 0;
		width: 100%;
	}
	
	#content {
  		border: none;
			margin: 0;
  		width: 92%;
	}
	
	#content p img.photoRight {
		height: auto !important;
		max-width: 40%;
	}
	
	#left {
	  clear: both;
	  width: 90%;
	  position: relative;		
	}
	 
	#content {
		padding: 14px;
	}
	
	#right,
	#content {
		height: auto;
	}
	
	#right {
		width: 100%;
	}
	
	#right #message {
		background: #037eb5;
		font-size: 18px;
		padding: 17px 20px;
	}
	
	dl.resource {
		width: 85%;
	}
	
	.resourcesBox,
	.helpBox,
	.ecourseBox,
	.ecourseBoxTop, 
	.phoneBox, 
	.callBox, 
	.quoteBox, 
	.newsletterBox,
	.newsletterBoxTop {
		border-left: 2px solid #0B2651;
		height: auto !important;
		width: 100%;
	}
	
	#photos {
		height: auto !important;
		width: 100%;
	}
	
	#photos img {
		width: 38.5%;
		height: auto !important;
	}
	
	#photos img#photo-center {
		width: 23%;
	}
	
	.quoteBox {
		border-bottom: 1px solid #0B2651;		
	}
	
	#header,
	.photoBox {
			border-left: none;
	}
	
	.callBox {
		width: 102%;
	}
	
	#nextLevelBox {
	    width: 92%;
    clear: both;
    float: none;
    height: auto !important;
}
	
	
}