/* CSS Document */

/* Normalises margin, padding */
body, div, dl, dt, dd, ul, ol, li, hi, h2, h3, h4, h5, h6, pre, form, fieldset, legend,
input, p, blockquote, caption, th, td
{ margin: 0; padding: 0; }

/* Normalises heading font sizes */
h1, h2, h3, h4, h5, h6
{
	font-size: 100%;
	text-align: left;
}

/* Removes list-style for lists */
ul, ol
{
	list-style: none;
}

/* Normalises table borders */
table
{
	border-collapse: collapse;
	border-spacing: 0;
	border: 1px solid #000099;
}

/* Removes border from fieldset and img */
fieldset, img
{ border: 0; }

/* Centre-aligns text in caption and th */
caption, th
{ text-align: center; }

/* Removes quotation marks from q */
q:before, q:after
{ content: ''; }

/*		Main CSS		*/
body {
	margin: 0;
	padding: 0;
	text-align: center;
	color: #333333;
	font: 1em Verdana, Arial, Helvetica, sans-serif;
}
html, body, #wrapper {
	min-height: 100%;
}
html>body, html>body #wrapper {
	height: auto;
}

/*		Start positioning styles		*/
#wrapper {
	min-width: 400px;
	width: 960px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 1.75em;
	border: 2px solid #000000;
}

#outer {
	border-left: 10em solid #FFFFFF;  /* left column background */
	border-right: 15em solid #ffffff;         /* center column background */
}
#inner {
	margin: 0;
	width: 100%; 
}
#leftnav {
	font-size: 70%;
	width: 14em;                      /* left column width */
	margin-left: -14em;               /* negative left column width */
	float: left;
	position: relative;
	z-index: 10;
	text-align: right;
	min-height: 100%;
	padding-bottom: 1em;
	margin-top: 1.5em;
}
#rightcontent {
	font-size: 70%;
	width: 22em;                      /* right column width */
	margin-right: -22em;              /* negative right column width */
	float: left;
	z-index: 11;
	min-height: 100%;
	padding-bottom: 1em;
	position: relative;
	margin-top: 1em;
	text-align: left;
	padding-right: 0.25em;
}
#maincontent {
	float: left;
	width: 100%;
	position: relative;
	padding-bottom: 1em;
}
#footer {
	width: 100%;
	position: relative;
	z-index: 13;
	border-top: 1px dotted #FFE400;
	clear: both;
	font-size: 70%;
	color: #666666;
	padding-top: 0.5em;
	background: #fff7b1;
	padding-bottom: .5em;
}

/*		Start header styles		*/
#header {
	text-align: left;
	margin-bottom: 1em;
	border-bottom: 1px solid #ffe400;
	background: #ffe400;
	height: 291px;
}
#header span {
	float: right;
	color: #333333;
	margin-top: 2em;
	text-align: center;
	font-weight: bold;
	font-size: 80%;
	margin-right: 3em;
}
#header a:link, #header a:visited {
	color: #005293;
}
#header a:hover, #header a:visited {
	color: #FF9900;
}


#header #hdimg2 {
	float: left;
}
#header #hdimg1 {
	float: left;
	margin-right: 2px;
}
#header #hdimg3 {
	float: left;
	margin-left: 2px;
}

/*		End header styles		*/

/*		Start left navigation styles		*/
#leftnav ul {
	margin-left: 0.5em;
	margin-right: 0.5em;
	margin-bottom: 1em;
}
#leftnav li {
	margin-bottom: 1.25em;
}
#leftnav p {
	margin-top: 1em;
}

#leftnav a:link, #leftnav a:visited {
	text-decoration: underline;
	color: #005293;
}
#leftnav a:hover, #leftnav a:active {
	color: #FF9900;
}

#homepage #leftnav #homelink, #elinstpage #leftnav #elinstlink, #domesticpage #leftnav #domesticlink, 
#commpage #leftnav #commlink, #landlordspage #leftnav #landlordslink, #handspage #leftnav #handslink, 
#contactpage #leftnav #contactlink, #testspage #leftnav #testslink, #linkspage #leftnav #linkslink {
	color: #FF6600; /* current page style */
}
/*		End left navigation styles		*/

/*		Start right column styles		*/
#rightcontent h3 {
	font-size: 120%;
	font-weight: bold;
	margin-bottom: 0.25em;
	color: #000000;
}

#rightcontent p {
	margin-left: .5em;
}
#rightcontent ul {
	margin-right: 0.25em;
	margin-left: 1em;
	margin-bottom: .5em;
}
#rightcontent li {
	margin-top: 0.5em;
	list-style: disc;
	margin-left: .75em;
}
#rightcontent a:link, #rightcontent a:visited {
	text-decoration: underline;
	color: #005293;
}
#rightcontent a:hover, #rightcontent a:active {
	color: #FF9900;
}
#rightcontent #kettle, #rightcontent #flatforrent, #rightcontent #extractor, #rightcontent #hardhat,
#rightcontent #screwdriver, #rightcontent #unitforrent {
	margin-left: 1em;
	margin-top: 0.25em;
}
/*		End right column styles		*/

/*		Start main content styles		*/
#maincontent h1 {
	font-size: 80%;
	font-weight: normal;
	height: 25px;
	margin-left: .75em;
}
#homepage #maincontent h1 {		/* Home page h1 background */
	background: url(../images/home-h1.gif) no-repeat;
}
#commpage #maincontent h1 {		/* Commercial page h1 background */
	background: url(../images/comm-h1.gif) no-repeat;
}
#contactpage #maincontent h1 {		/* Contact page h1 background */
	background: url(../images/contact-h1.gif) no-repeat;
}
#domesticpage #maincontent h1 {		/* Domestic page h1 background */
	background: url(../images/domestic-h1.gif) no-repeat;
}
#elinstpage #maincontent h1 {		/* Electrical Installations page h1 background */
	background: url(../images/elinst-h1.gif) no-repeat;
}
#handspage #maincontent h1 {		/* Health and Safety page h1 background */
	background: url(../images/hands-h1.gif) no-repeat;
}
#landlordspage #maincontent h1 {		/* Landlords and Letting page h1 background */
	background: url(../images/landlords-h1.gif) no-repeat;
}
#testspage #maincontent h1 {		/* Testimonials page h1 background */
	background: url(../images/tests-h1.gif) no-repeat;
}
#linkspage #maincontent h1 {		/* Useful Links page h1 background */
	background: url(../images/links-h1.gif) no-repeat;
}
#maincontent h1 span {
	margin-left: -999px;
}
#maincontent h2 {
	font-size: 90%;
	color: #000000;
	margin-left: 1.5em;
	text-align: left;
}
#maincontent h3 {
	font-size: 80%;
	font-weight: bold;
	margin-left: 2em;
	margin-bottom: -1em;
	color: #000000;
	padding-top: 2px;
	margin-top: -0.25em;
}
#maincontent h1+p {
	font-weight: bold;
}


#maincontent p {
	margin-left: 2em;
	margin-top: 1em;
	font-size: 80%;
	line-height: 120%;
	text-align: justify;
	margin-right: 2em;
}
#maincontent ul {
	text-align: left;
	font-size: 80%;
	margin-left: 4em;
}
#maincontent li {
	list-style: disc;
	margin-top: .5em;
}


#maincontent a:link, #maincontent a:visited {
	color: #005293;
	text-decoration: underline;
}
#maincontent a:hover, #maincontent a:active {
	color: #FF9900;
}
#maincontent .subnav {
	margin-bottom: .5em;
}

#maincontent table {
	font-size: 90%;
	border-collapse: collapse;
	border: 1px solid #645950;
	width: 90%;
	margin-left: 2em;
	margin-top: 2em;
	margin-right: 1em;
}
#maincontent table caption {
	color: #008572;
	font-weight: bold;
	text-align: left;
	padding-bottom: 2px;
	margin-top: 2em;
	margin-left: 2em;
}
#maincontent th {
	background-color: #b0effc;
	border: 1px solid #95897f;
	text-align: left;
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 4px;
}
#maincontent .altrow {
	background: #fafed1;
}

#maincontent td {
	border: 1px solid #c0b6ae;
	vertical-align: top;
	font-size: 80%;
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 4px;
	text-align: left;
}
#maincontent address {
	font-style: normal;
	font-size: 80%;
	text-align: left;
	margin-left: 2em;
	color: #333333;
	margin-top: 1em;
	margin-bottom: 2.5em;
	font-weight: bold;
	line-height: 140%;
}
#maincontent .tel {
	font-weight: bold;
	line-height: 140%;
}

#maincontent .contact {
	color: #333333;
	margin-top: 0.25em;
	margin-left: 3em;
	margin-bottom: 3.5em;
	font-size: 90%;
}
#maincontent .cite {
	border-bottom: 1px solid #003399;
}
#maincontent .links li {
	list-style: none;
	margin-top: 1em;
}
#maincontent .links a:link, #maincontent .links a:visited {
	font-weight: bold;
}



#fusebox, #wirecutter, #emergency, #cables, #eyeball, #warehouse {
	margin-left: 1px;
}


/*		End main content styles		*/

/*		Start site map styles		*/
#mainsitemap ul {
}
#mainsitemap li {
	margin-left: 16px;
	margin-top: -0.15em;
}
/*		End site map styles		*/


/*		Start footer styles		*/
#footer p {
	margin-top: 1.5em;
	margin-bottom: 1.5em;
}
/*		End footer styles		*/

.clear { 
	clear: both;
}
.imageright {
	float: right;
}
.center {
	text-align: center;
}
.floatright {
	float: right;
	margin-left: 1em;
}

#backlink {
	float: right;
	font-size: 80%;
	margin-right: 1.5em;
}
.skipnav {
	text-indent: -1800px;
	margin-top: -2em;
}


/* Mozilla bug workarounds
#outer > #inner { 
	border-bottom: 1px solid transparent; 
}  */
#leftnav {
	margin-right: 1px;
}
#rightcontent {
	margin-left: 1px;
}
#homecontent {
	margin: 0 -3px 0 -2px;
}
#maincontent {
	margin: 0 -3px 0 -2px;
}
