/*=======================
Leverett Electrical CSS
Last update : 22 August 2007
=======================*/

/*=====================
Global Styling reset
=====================*/
* {
	margin : 0;
	padding : 0;
}

/*=====================
Page Layout
=====================*/
body {
	min-width: 760px; /* netscape bug fix */
	text-align: center; /* ie bug fix */
	color : #333;
	background: #fff url(../images/back2.gif) repeat-y top center;
}

#wrapper {
	width: 760px;
	margin: 0 auto;
	text-align: left;
	background : #F8F8FF;
}

#maincontent {
	clear: both;
	border-top : 1px solid #000;
	padding: 0 40px 20px 40px;
	margin : 0 auto;
	color : #222;
	background : #F5F5F5;
	font-size: 1.2em;
}

#form {
	clear: both;
	display: block;
}

#footer { 
	clear: both;
	color : #fff;
	background : #dbe3ea;
	text-align : center;
	font-weight : bold;
	height : 230px;
} 

/*======================
Header Image Replacement
ref: Art & Sci of CSS p10
======================*/
h1 {
	position : relative;
	width : 760px;
	height : 140px;
	overflow : hidden;
	text-align: center;
	font-size: 2.0em;
	font-weight: bold;
	/*border-bottom : 1px solid Black;*/
}

h1 span {
	position : absolute;
	left : 18px;
	top : 0;
	width : 100%;
	height : 100%;
	background : #fff url(../images/title_banner2.jpg) no-repeat;
}

/*=====================
Typography Styling
=====================*/

/*GENERAL*/
body {
	font: 62.5%/1.6 Verdana, Geneva, Arial, Helvetica, sans-serif;
}

/* TEXT */
h2 {
	font-size: 2.0em;
	font-weight: bold;
	margin: 1em 0 0 0;
}

h3 {
	font-size : 1.6em;
	font-weight: bold;
	margin: 1em 0 0 0;
}

p, li {
	font-size: 1.4em;
}

p {
	margin: 1em 0;
}

li {
	margin : 0 2em;
}

/*=====================
Skip Links
=====================*/
p.skip {
	position : absolute;
	left : -9999px;
	margin: 0;
}

/*=======================
Global Site Navigation Layout
=======================*/
ul#globalnav {
	padding : 10px 0 0;
	margin : 0 5px 0 40px;
	list-style : none;
	width : 760px;
	float : left;
	font-weight : bold;
	font-size: 1.2em;
}

#globalnav li {
	padding: 0;
	margin: 0 1px 0 0;
	float : left;
	background : url(../images/tab_right.gif) no-repeat top right;
}

#globalnav li.last {
	margin : 0;
	padding : 0;	
}

/*tab styles*/
#globalnav li a {
	font-size : 95%;
	padding: 0 2em;
	line-height: 2.0em;
	color: #fff;
	background: url(../images/tab_left.gif) no-repeat top left;
	text-decoration: none;
	float: left;
	display: block;
}

#globalnav li a:hover,
#globalnav li a:focus,
#globalnav li a:active {
	color : Yellow;
	text-decoration : underline;
}

/*Page Here Indicator*/
#wrapper.news li.news a, 
#wrapper.domestic li.domestic a,
#wrapper.commercial li.commercial a,
#wrapper.areas li.areas a,
#wrapper.qualifications li.qualifications a,
#wrapper.contact li.contact a
 {
	color : #FFD700;
	text-decoration : underline;
	cursor : default;
}

/*=====================
Footer Styling
=====================*/
#wrapper.news #footer {
	background : url(../images/fuse2.jpg) no-repeat top center;
}

#wrapper.domestic #footer {
	background : url(../images/plug2.jpg) no-repeat 0 0;
}

#wrapper.commercial #footer {
	background : url(../images/ameter2.jpg) no-repeat 0 0;
}

#wrapper.areas #footer {
	background : url(../images/map2.jpg) no-repeat 0 0;
}

#wrapper.qualifications #footer {
	background : url(../images/dial.jpg) no-repeat 0 0;
}

#wrapper.contact #footer {
	background : url(../images/phone2.jpg) no-repeat 0 0;
}

/*=====================
Picture Styling
=====================*/
img.picture {
	padding : 10px;
	margin :  1.6em auto;
	border : 1px solid #999;
	display : block;
	background : #fff;
}

img.pic {
	padding : 10px;
	margin :  1.3em auto;
	border : 1px solid #999;
	display : block;
	background : #fff;	
}

img.picfloat {
	padding : 10px;
	margin :  10px 5px 10px 15px;
	border : 1px solid #999;
	display : block;
	background : #fff;
	float : right;
}

/*=====================
Utlities
=====================*/
.middle {
	text-align : center;
}

.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clearfix {display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */

/*=====================
Link Colours
=====================*/
#maincontent a {
	color : #0000ff;
	background : transparent;
	text-decoration : underline;
}

#maincontent a:hover {
	color : #fff;
	background : #0000ff;
	text-decoration : none;
}

a {
	outline : none;
}