body {
	margin: 0 auto;
	background: #222;
	font: 62.5% "Trebuchet MS", Tahoma, Helvetica, Verdana, Arial, sans-serif;
	color: #F9F9F9;
	text-align: center;
}

/* Global
----------------------------------------*/
a {
	color: #FF662F;
	text-decoration: none;
}

	a:visited {
		color: #FF662F;
		text-decoration: underline;
	}

	a:hover {
		color: #CCC;
		text-decoration: underline;
	}
	
	a img {
		border: none;
	}

h2 {
	font-size: 1.8em;
	color: #FF662F;
}

h3 {
	font-size: 1.3em;
	color: #FF662F;
}

ul {
	font-size: 1.3em;
}

/* Wrapper and header
----------------------------------------*/
#wrapper {
	width: 770px;
	margin: 0 auto;
	background: #3D3D3D;
	text-align: left;
}

#header {
	position: relative;
	height: 134px;
	background: #000 url(../images/header-bg.jpg) no-repeat right top;
}

#header h1 {
	height: 134px;
	margin: 0;
}
	#header h1 img {
		margin: 16px 15px;
	}

#headernav {
	position: absolute;
	top: 0;
	right: 20px;
	margin: 0;
	padding: 0;
}

#headernav li {
	float: left;
	margin: 0;
	padding: 0;
	list-style: none;
}

#headernav li a {
	display: block;
	height: 23px;
	outline: none;
	text-indent: -9999px;
	text-decoration: none;
}

#headernav-home {
	width: 80px;
	height: 23px;
	background: url(../images/headernav-bg.gif) no-repeat left top;
}

#headernav-home:hover { background-position: left bottom; }

#headernav-sitemap {
	width: 75px;
	height: 23px;
	background: url(../images/headernav-bg.gif) no-repeat -80px top;
}

#headernav-sitemap:hover { background-position: -80px bottom; }

#headernav-contact {
	width: 95px;
	height: 23px;
	background: url(../images/headernav-bg.gif) no-repeat -155px top;
}

#headernav-contact:hover { background-position: -155px bottom; }

/* Navigation
----------------------------------------*/
#navigation {
	height: 24px;
	margin: 0;
	padding: 0;
	background: #FF7B4A url(../images/nav-bg1.gif) no-repeat left top;
	list-style: none;
	width: 770px;
}

#navigation:after {
	content: ".";
	display: block;
	height: 0;
	overflow:hidden;
	clear: both;
	visibility:hidden;
}

	#navigation li {
		float: left;
		margin: 0; /*0 20px;*/\
		display: block;
	}
	
	#navigation a, #navigation a:link, #navigation a:visited {
		display: block;
		float: left;
		height: 24px;
		outline: none;
		text-indent: -9999em;
		text-decoration: none;
	}

#nav-about {
	width: 100px;
	height: 24px;
	background: url(../images/nav-bg.gif) no-repeat left top;
}

#nav-about:hover { background-position: left bottom; }

#nav-services {
	width: 190px;
	height: 24px;
	background: url(../images/nav-bg.gif) no-repeat -100px top;
}

#nav-services:hover { background-position: -100px bottom; }

#nav-preeng {
	width: 200px;
	height: 24px;
	background: url(../images/nav-bg.gif) no-repeat -290px top;
}

#nav-preeng:hover { background-position: -290px bottom; }

#nav-projects {
	width: 100px;
	height: 24px;
	background: url(../images/nav-bg.gif) no-repeat -490px top;
}

#nav-projects:hover { background-position: -490px bottom; }

#nav-safety {
	width: 180px;
	height: 24px;
	background: url(../images/nav-bg.gif) no-repeat -590px top;
}

#nav-safety:hover { background-position: -590px bottom; }

/* Content
----------------------------------------*/
#content {
	float: left;
	width: 450px;
	padding: 20px 0 20px 20px;
}

	#content p {
		font-size: 1.3em;
	}
	
	#content .smtxt {
		font-size: 0.9em;
	}
	
.projectimg {
		border: 3px double #555;
		float: left;
		margin-right: 10px;
	}
	
.whitelink, .whitelink:visited {
	color: white;
	text-decoration: none;
}

.whitelink:hover {
	text-decoration: underline;
}
	
.clear {
	clear: both;
}

/* Sidebar
----------------------------------------*/
#sidebar {
	float: right;
	width: 250px;
	padding: 20px 20px 5px 0;
}

	#sidebar .block {
		margin: 10px 0;
		padding: 0 0 15px;
		background: #555 url(../images/block-bottom.gif) no-repeat left bottom;
	}

	#sidebar h3 {
		margin-top: 0;
		padding: 20px 20px 0;
		background: url(../images/block-top.gif) no-repeat left top;
	}

	#sidebar p {
		font-size: 1.1em;
		margin: 0 20px;
	}
	
/* sitemap links
----------------------------------------*/
#sitemap a {
	color: #CCC;
	text-decoration: none;
}

	#sitemap a:hover {
		color: #FF662F;
		text-decoration: underline;
	}

/* Contact Page Elements
-------------------------------------*/
#contactform fieldset {
	border: none;
	padding: 0 10px 0 10px;
	font-size: 1.3em;
}

#contactform legend {
	color: #F9F9F9;
}

#contactform label {
	width: 11em;
	float: left;
	text-align: right;
	margin-right: 0.5em;
	display: block;

}

#contactform dd {
	clear: both;
	margin: 0px 0 15px;
}

#contactform textarea {
	height: 130px;
}

.red {
	color: #F00;
}

#contactform .btn {
	margin-left: 350px;
	background-color: #555;
	/*background: url(../images/btn-bg.gif) repeat-x bottom left;*/
	border: 1px solid #FF662F;
	color: #FF662F;
	padding: 2px 4px;
	width: auto !important;
}

/* project popup settings
----------------------------------------*/
#popupwrapper {
	width: 675px;
	background: #3D3D3D;
	text-align: left;
}

#popupheader {
	padding: 5px 20px 0 20px;
}

	#popupheader h3 {
		padding: 0;
	}
	
#popupcontent{
	float: right;
	width: 480px;
	padding: 0;
}

#popupsidebar {
	float: left;
	width: 150px;
	padding: 0 0 0 20px;
}

	#popupsidebar img {
		margin-bottom: 13px;
		border: 3px double #555;
		float: left;
	}
	
/* Footer
----------------------------------------*/
#footer {
	clear: both;
	padding: 12px 0 0;
	background: #222 url(../images/footer-bg.gif) no-repeat left top;
}

	#footer p {
		margin: 0;
		text-align: center;
	}