/*
 *	The structure of this stylesheet follows these rules:
 *	- first are generic tag and class definitions
 *	- next we proceed from outer wrappers inside and from top to bottom
 */
@import url('reset.css');
@import url('inner.css');

body {
	color: #242424;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	line-height: 20px;
	background-color: white;
}

a.quote {
	text-decoration: none;
	text-align: center;
	display: block;
	height: 29px;
	line-height: 29px;
	width: 131px;
	margin-top: 15px;
	font-weight: bold;
	background: #0b357b;
	color: #ffffff;
}

a.quote:hover {
	background: #89b622;
}

.clear {
	clear: both;
	float: none !important;
}

.hidden {
	display:none;
	visibility:hidden;
	background: url(../images/infobg.png);
}

/* this wrapper is used with some bacground variations that require shadow */
#wrapper-shadow {
	width: 1030px;
	margin: auto;
}

#wrapper {
	background-color: white;
	width: 1020px;
	margin: auto;
	padding-top: 30px;
}

#header, #billboard, #featured, #content, #footer {
	margin: 0px 40px 0px 40px;;
}

#header {
	padding-top: 10px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e7e7e7;
}

#heading {
	float: left;
}

#heading img {
	padding: 0;
	margin: 0;
}

#header h1 {
	font-weight: bold;
	font-size: 36px;
	letter-spacing: -1px;
	margin-bottom: 6px;
}

#heading h3 {
	font-size: 18px;
	color: #5b5b5b;
	letter-spacing: -1px;
}

a {
    color: #242424;
	text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

/* navigation */

#menu {
	margin-top: 46px;
	float: right;
}

#menu ul {
	
}

#menu ul li {
	float: left;
	display: block;
}

#menu ul li ul li {
	padding: 2px 0px;
	border: 1px solid #e7e7e7;
	border-top: 1px solid white;
	background-color: white;
}

#menu ul li ul li a{
	font-size: 12px;
}

#menu ul li a {
	font-size: 13px;
	color: #5b5b5b;
	text-decoration: none;
	padding: 10px 0px 10px 20px;
}

#menu ul li a:hover, #menu ul li.current a {
	color: #242424;
}


#menu ul#nav li.current a {
	font-weight: bold;
}

#menu ul#nav li.current ul li a {
	font-weight: normal;
	color: #5b5b5b;
}

#nav, #nav ul{
	margin:0;
	padding:0;
	list-style-type:none;
	list-style-position:outside;
	position:relative;
}

#nav li{
	float:left;
	position:relative;
}

#nav ul {
	background-color: white;
	position:absolute;
	display:none;
	width:12em;
	top: 20px;
	z-index: 1000;
}

#nav li ul a{
	width:12em;
	height:auto;
	float:left;
	padding-top: 5px;
	padding-bottom: 5px;
}

#nav ul ul{
	top:auto;
}	

#nav li ul ul {
	left:11em;
	margin: 0 0 0 10px;
}

#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li:hover ul ul ul ul{
	display:none;
}
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li li li li:hover ul{
	display:block;
}

/* billboard */

#billboard {
	margin-top: 30px;
	width: 940px;
	height: 376px;
	overflow: hidden;
}

#billboard img {
	width: 940px;
	height: 376px;
}

/* featured services */

#featured {
	margin-top: 30px;
	background-color: #f4f4f4;
	border-top: 1px solid #e7e7e7;
	border-bottom: 1px solid #e7e7e7;
}

#featured div {
	float: left;
	text-align: center;
}

#featured div h4, #featured div h5 {
	text-align: center;
	font-size: 14px;
	font-weight: bold;
}

#featured div h5 {
	font-size: 12px;
	font-weight: normal;
}

#featured div img {
	margin-top: 25px;
	overflow: hidden;
}

#featured div.center {
	padding-top: 25px;
	width: 338px;
	height: 169px;
	border-left: 1px solid #e7e7e7;
	border-right: 1px solid #e7e7e7;
}

#featured div.first, #featured div.last {
	padding-top: 25px; 
	width: 300px;
	height: 169px;
}

/* main content */

#content {
	margin-top: 35px;
	border-bottom: 1px solid #e7e7e7;
}

#content h2 {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 20px;
}

#content.half div {
	width: 450px;
	float: left;
}

#content.half div.half-1 {
	margin-right: 40px;
}

#content .features-row {
	margin-bottom: 40px;
}

#content .half-2 .feature {
	float: left;
	width: 450px;
}

#content .half-2 .feature.first {
	margin-right: 20px;
}

#content .half-2 .feature img {
	float: left;
	width: 60px;
	height: 60px;
	margin-right: 20px; 
}

#content .half-2 .feature div {
	width: 370px;
}

#content .half-2 .feature div em {
    font-style: italic;
}

#content .half-2 .feature div h6 {
	font-size: 15px;
	font-weight: bold;
	color: #0686b0;
	margin-bottom: 5px;
}

/* footer */

#footer p {
	color: #5b5b5b;
	margin: 20px 0px 0px;
	padding-bottom: 20px;
}

#footer a {
	color: #5b5b5b;
}

#footer a:hover {
	text-decoration: none;
}
