* {
	margin: 0;
	padding: 0;
	border: none;
}
body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	color: #000;
	background: #162d4f;
}
.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
 
.clearfix {
	display: inline-block;
}
 
html[xmlns] .clearfix {
	display: block;
}
 
* html .clearfix {
	height: 1%;
}

a {
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
a img {
	border: none;
}
h1 {
	font-size: 	2.25em;
	color: #2359a9;
	font-weight: normal;
}
h2 {
	font-size: 1.38em;
	color: #2359a9;
	font-weight: normal;
	margin-bottom: 10px;
}

h3 {
	font-size: 1.5em;
	color: #162d4f;
	font-weight: normal;
}
h4 {
	margin-top: 20px;
	color: #AA0000;
}

p {
	margin: 0 0 10px 0;
}
#wrapper {
	margin: 0 auto;
	display: block;
	width: 980px;
}

#header {
	margin-bottom: -20px;
	height: 88px;
	overflow: hidden;
}
#header #logo {
	float: left;
	margin: 0 5px 0 5px;
}

#header #companyname {
	margin: 20px 0 0 6px;
	float: left;
}
#header strong {
	float: right;
	color: #fff;
	font-weight: normal;
	font-size: 1.2em;
	margin-top: 15px;
	font-family: Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	text-align: center;
	padding: 5px;
	border: 1px solid #fff;
}
#mainnav {
	display: block;
	padding-left: 350px;
	background: url(../i/nav-bg.jpg) no-repeat left bottom;
	height: 34px;
	margin-bottom: -1px;
}

#mainnav li {
	float: left;
	display: block;
	margin: 0 20px;
}
#mainnav li a {
	color: #fff;
	display: block;
	line-height: 1em;
	font-size: 1.25em;
	padding: 5px 6px 8px 6px;
}

#home #mainnav li.home a, #services #mainnav li.services a, #contact #mainnav li.contact a {
	background: #fff;
	color: #000;
}
#mainnav a:hover {
	background: #fff;
	color: #000;
	text-decoration: none;
}

#content {
	background: #fff;
	padding: 20px 15px 15px 15px;
}

#content p {
	font-size: 0.85em;
	margin: 0 0 10px 0;
	line-height: 1.3em;
}

#content .primary {
	width: 510px;
	float: left;
	padding-right: 10px;
}

#home #content .primary h3, #home #content .primary h4 {
	margin-top: 20px;
}

#content .secondary {
	width: 410px;
	float: left;
	padding-left: 10px;
}
#content .secondary .featimage {
	background: url(../i/image-dropshadow.jpg) no-repeat bottom right; 
	padding: 0 11px 15px 0;
	width: 392px;
	height: 261px;
}
/*#contact #content .secondary iframe {
	border: 1px solid #000;

}*/
#contact #content .secondary .featimage {
	width: 400px;
	height: 300px;
	background-position: left bottom;
}
.secondary img.sig {
	display: block;
	margin: 0 auto;
}



#footer {
	color: #fff;
	font-size: 0.8em;
	padding-top: 5px;
	border-top: 1px solid #000;
}
#footer .primary {
	width: 500px;
	float: left;
}
#footer .secondary {
	width: 400px;
	float: right;
	text-align: right;
}
#footer a {
	color: #fff;
}


/* services */
#services #content .primary {
	float: right;
	padding-right: 0;
	padding-left: 10px;
}
#services #content .primary h2 {
	font-size: 0.9em;
	color: #000;
	font-weight: bold;
	margin: 10px 0 0 0;
	 
}
#services #content .secondary h2 {
	padding-top: 10px;
	
}
.serviceList  {
padding-left: 10px;	
margin-bottom: 15px;
}
.serviceList li {
list-style: none;
margin: 2px 0;
font-size: 0.8em;
}
#services .go2contact {
	font-weight: bold;
	font-size: 0.8em;
	margin-bottom: 130px;
}

/* Contact us */
#contact #content form {
display: block;
width: 312px;
margin: 5px auto;
text-align: right;
}
#contact #content form label {
display: block;
clear: both;
margin: 10px 0;
font-size: 0.8em;
font-weight: bold;
}
#contact #content form input {
width: 220px;
padding: 6px 2px;
border: 1px solid #999;
}
#contact #content form input:focus {
background: #FFFF99;
}
#contact #content form span {
float: left;
text-align: right;
padding-left: 19px;
display: block;
width: 60px;
line-height: 	30px;
}
#contact #content form textarea {
width: 224px;
height: 150px;
/*margin: 5px 0 0 20px;*/
border: 1px solid #999;
}
#contact #content form textarea:focus {
background: #FFFF99;
}
#contact #content form button {
	cursor: pointer;
	padding: 5px;
	background: #fff;
	color: #000;
	border: 1px solid #000;
}
#contact #content form button:hover {
	background: #162D4F;
	color: #fff;
}
.preload {
	display: none;
}
