/*-----------------------------------------------------------------------------
Main Style Sheet created for Stelram Engineering Limited

Version:				1.1
Created:				August 2008
Last Edited:			1st December 2008
Coded by:				Richard Dale
Company:				Qwerty Design
Email:					richard@qwerty-design.co.uk
Website:				http://www.qwerty-design.co.uk
-----------------------------------------------------------------------------*/
body {
	margin: 0;
	padding: 0;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: .8em;
	color: #666;
}

/*Remove dotted line around links and Flash Content in Firefox*/
object {
	outline: none;
}

a:focus {
	-moz-outline-style: none;
}

#wrapper {
	width: 1000px;
	height: 787px;
	margin: 0 auto;
}

#header {
	height: 129px;
	background: url(../images/header_background.jpg) no-repeat;
	position: relative;
}

#flashContent {
	height: 578px;
}

#footer {
	position: relative;
	width: 984px;
	height: 80px;
	margin: 0 auto;
	background: url(../images/footer_top.gif) no-repeat;
}

#footer p {
	margin: 0;
	width: 980px;
	text-align: center;
	position: absolute;
	top: 9px;
	left: 0;
	height: 71px;
	line-height: 1.6em;
	background: #e8e9e8;
	border-left: 2px solid #d4d5d4;
	border-right: 2px solid #d4d5d4;
}

#footer p a {
	color: #666;
	text-decoration: none;
}

#footer p a:hover, a:visited {
	color: #666;
	text-decoration: underline;
}

h1.logo {
	display: block;
	position: absolute;
	margin: 0;
	padding: 0;
	z-index: 1;
	top: 12px;
 	left: 26px;
 	width: 271px;
 	height: 98px;
}

h1.logo a {
 	display: block;
	background: url(../images/logo.jpg);
 	padding: 98px 0 0 0;
}

/*The ID of the headerNav controls the header buttons, hover and down states
use the ID of #generalHeaderNav for all pages other than home and contact*/
h1.logo a,
#homeHeaderNav li.main a, #generalHeaderNav li.main a, #contactHeaderNav li.main a {
	overflow: hidden;
	background-repeat: no-repeat;
	height: 0px !important;
}

#homeHeaderNav, #generalHeaderNav, #contactHeaderNav {
	margin-top: 0;
	height:70px;
	padding-right: 30px;
	list-style: none;
	position: relative;
}

#homeHeaderNav li.main a, #generalHeaderNav li.main a, #contactHeaderNav li.main a {
 	background-position: 0 -76px;
 	background-repeat: no-repeat;
	display: block;
	margin-top: 80px;
	padding: 38px 0 0 0;
}

#homeHeaderNav li.main, #generalHeaderNav li.main, #contactHeaderNav li.main {
	float: right;
}

#homeHeaderNav li.home a, #generalHeaderNav li.home a, #contactHeaderNav li.home a {
  background-image: url(../images/homeBtn.jpg);
  width: 86px;
}

#homeHeaderNav li.home a {
  background-position: 0 top;
}

#generalHeaderNav li.home a:hover, #contactHeaderNav li.home a:hover {
	background-position: 0 -38px;
}

#homeHeaderNav li.contact a, #generalHeaderNav li.contact a, #contactHeaderNav li.contact a {
	background-image: url(../images/contactBtn.jpg);
	width: 123px;
}

#contactHeaderNav li.contact a {
  background-position: 0 top;
}

#homeHeaderNav li.contact a:hover, #generalHeaderNav li.contact a:hover {
	background-position: 0 -38px;
}

