/**
 * Emilia Floyd Electrician CSS
 *
 * @filename    styles_EFE.css
 * @author      Sue Hodgetts
 * @date        15-02-2013
 * @copyright   Essential Websites
 * @url         http://www.essential-websites.com
 */

/* CSS reset */

html, body, h1, h2, h3, h4, h5, h6, p, ol, ul, li, pre, code, address, variable, form, fieldset, blockquote {
 padding: 0;
 margin: 0;
 font-size: 100%;
 font-weight: normal;
}
table { border-collapse: collapse; border-spacing: 0; }
td, th, caption { font-weight: normal; text-align: left; }
img, fieldset { border: 0; }
ol { padding-left: 1.4em; list-style: decimal; }
ul { padding-left: 1.4em; list-style:square; }
q:before, q:after { content:''; }

/* end of CSS reset */


html {
	min-height: 101%;  /* FF scrollbar fix */
	background: #0f1523 /* nearly black */ url(../images/page_bg.png) no-repeat center top;
	}
	
body  {
	background: url(../images/bottom_bg.png) repeat-x center bottom;
}

	
h1  {			/* Banner Emilia Floyd */
	font-family: "Century Gothic", Arial, sans-serif;
	font-size: 2em;
	color: #fff;
	padding-bottom: 1px;
	}
	
#electrician  {
	float: left;
	margin-top: -3px;
}
	
h2  {			/*  Telephone number  */
	font-family: "Century Gothic", Arial, sans-serif;
	font-size: 1.6em;
	color: #e1e2ff /* text light lilac */;
	padding: 10px;
	}
	
h3  {			/* Box title Emilia Floyd */
	font-family: "Century Gothic", Arial, sans-serif;
	font-size: 1.1em;
	color:  #fff;
	margin-bottom: 10px;
	}
	
h4  {			/* Providing electrical work...  Call now for... */
	font-family: "Century Gothic", Arial, sans-serif;
	font-size: 1.1em;
	color: #fff;
	padding-bottom: 1px;
	}
	
h5  {			
	font-family: "Century Gothic", Arial, sans-serif;
	font-size: 1em;
	color: #e1e2ff /* text light lilac */;
	padding: 20px 0;
	font-weight: bold;
	letter-spacing: 0.5px;
	}
	
	
p, li  {
	font-family:  "Century Gothic", Arial, sans-serif;
	font-size: 0.9em;

	padding-bottom: 15px;
	color: #e1e2ff /* text light lilac */;
	}
	
#wrapper {
	width: 940px;
	margin-left: auto;
	margin-right: auto;	
	overflow: hidden;  /* or else the wrapper doesn't contain the boxes */
	}
	
	
/***************/
/*   BANNER    */
/***************/

#banner  {
	height: 100px;
	padding: 25px 0 0 50px;
	}
	

/*********************/
/* 		NAV BAR 	 */
/*********************/

/* This next bit has to come first or it doesn't work */
#home #homeLink,
#about #aboutLink,
#installations #installationsLink,
#testing #testingLink,
#links #linksLink  {
	color:  #978be9 /* lilac */;
	}

#navbar {
	padding-bottom: 20px;
	height: 3px;
	margin-top: -48px;
	}
		
#navbar ul {
	list-style: none;
	overflow: hidden;   /*the floated list items inside the ul will pop out ??? p243 */
	/*zoom: 1;  for IE6 */
	padding: 0 20px;
	float: right;
	}
	
#navbar li {
	float: left;
	}
	
#navbar a {
	font-family: "Century Gothic", arial, sans-serif;
	font-size: 1.1em;
	color:  #fff;
	text-decoration: none;
	padding: 6px 7px;
	margin-right: 20px;
	display: block;
	border-bottom:  1px solid #0f1523 /*nearly black */;
	}
	
#navbar a:hover  {
	color: #bfc1ff /* light lilac */;
	border-bottom:  1px solid #bfc1ff /* light lilac */;
	}
	

/****************/
/*    MAIN      */
/****************/

#main  {
	clear: both;
	float: right;
	padding: 10px;
	position: relative;
	text-align: right;
	padding-right: 40px;
}

#main h2 {
	padding: 0px;
	letter-spacing: 2px;
	font-size: 1.7em;
	font-weight: bold;
	color: #99c6f7  /* text pale blue */;
}

#main a {
	font-family:  "Century Gothic", Arial, sans-serif;
	font-size: 0.9em;
	color:  #99c6f7  /* text pale blue */;
	margin-right: 5px;
}

#main a:hover {
	color:  #66a9f3  /* text hover pale blue */;
}


/*********************/
/*     LEFT BOX      */
/*********************/

#left_box  {
	float: left;
	padding: 10px 15px;
	margin-left: 20px;
	margin-top: 30px;
	width: 270px;
	background: url(../images/box_bg_med_blue.png) repeat center center;
	border: 1px dashed #5e5eb0 /* border lilac */;
	position: relative;
}


/***********************/
/*     MIDDLE BOX      */
/***********************/

#middle_box  {
	float: left;
	padding: 30px;
	width: 540px;
	height: 405px;
	margin-top: 190px;
	margin-left: -280px;
	background: url(../images/box_bg_darkest_blue.png) repeat center center;
	border: 1px dashed #5e5eb0 /* border lilac */;
	z-index: 2;
	position: relative;
}

/*********************/
/*     RIGHT BOX     */
/*********************/

#right_box  {
	float: right;
	padding: 55px 15px 30px 440px;
	width: 250px;
	margin-top: -540px;
	background: url(../images/box_bg_dark_blue.png) repeat center center;
	border: 1px dashed #5e5eb0 /* border lilac */;
}

#right_box ul {
	list-style: disc;
}


/******************/
/*    CONTENT     */
/******************/

#content  {
	float: left;
	padding: 15px 20px;
	margin: 20px 0 20px 50px;
	width: 800px;
	background: url(../images/box_bg_dark_blue.png) repeat center center;
	border: 1px dashed #5e5eb0 /* border lilac */;
}

#content a  {
	font-family:  "Century Gothic", Arial, sans-serif;
	color: #e1e2ff /* text light lilac */;
	text-decoration: none;
	}
	
#content a:hover  {
	text-decoration: underline;
	}
	
#content a:visited {
	color: #bfc1ff /* light lilac */;
	}
	
#content li {
	list-style: none;
	padding-left: 20px;
}

#links_box  {
	padding-left: 250px;
}

.installation_box  {
	width: 670px;
	padding: 25px 20px 25px 100px;
	float: left;
}

#installations #content img  {
	margin-right: 20px;
	float: left;
}

.sub_title  {
	padding-top: 15px;
	text-align: center;
}

.top_gap  {
	margin-top: 40px;
}


/******************/
/*    CAROUSEL    */
/******************/

#carousel  {
	float: left;
	width: 880px;
	padding: 25px;
	margin-top: 10px;
	background: url(../images/box_bg_darkest_blue.png) repeat center center;
	border: 1px dashed #5e5eb0 /* border lilac */;
}

.carousel_image  {
	padding: 20px;
}

/*******************/
/*    WIDE IMAGE   */
/*******************/

#wide_image_box  {
	float: left;
	width: 880px;
	padding: 20px;
	margin-top: 20px;
	margin-left: 10px;
	background: url(../images/box_bg_darkest_blue.png) repeat center center;
	border: 1px dashed #5e5eb0 /* border lilac */;
}	


/*********************/
/*    BOTTOM BOX     */
/*********************/

#bottom_box  {
	clear: both;
	float: left;
	text-align: center;
	padding-top: 10px;
	margin: 30px 0 40px 70px;
	width: 800px;
	background: #0f1523 /* nearly black */;
	border: 1px solid #354155 /* blue grey */;
	border-radius: 10px;
	-moz-border-radius: 10px;
}

#bottom_box h4, #bottom_box p{
	/*color:   #e1e2ff text light lilac */;
	color: #99c6f7  /* text pale blue */;
	padding-bottom: 15px;
}

/*********************/
/*     GALLERY       */
/*********************/

#gallery  {
	width: 940px;
	height: 700px;   /* to fit full-size photo at 720x480 */
	margin-top: -30px;  /* to bring the image higher up the page */
}


/*********************/
/*       FOOTER      */
/*********************/

#footer  {
	clear: both;
	padding-top: 20px;
	overflow: hidden;
	height: 105px;
	}	
	
#footer p  {
	font-family:  "Century Gothic", Arial, sans-serif;
	font-size: 0.9em;
	color:  #99c6f7  /* text pale blue */;
	}
	
#footer a	{
	font-family:  "Century Gothic", Arial, sans-serif;
	font-size: 1em;
	color: #e1e2ff /* text light lilac */;
	}
	
#footer a:hover	{
	color:  #bfc1ff /* light lilac */;
	}	
	
#footer_right  {
	float: right;
}

#footer_right img  {
	padding-left: 20px;
	padding-top: 10px;
}

#footer_middle  {
	float: left;
	text-align: center;
	width: 270px;
	height: 82px;
	font-size: 0.9em;
	padding-top: 8px;	
}
	
#footer #footer_middle h2 {
	letter-spacing: 1px;
	font-size: 1.9em;
	font-weight: bold;
	padding-bottom: 0;
	color: #e1e2ff /* text light lilac */;
}

#footer_left  {
	float: left;
	width: 260px;
	height: 90px;
}

#footer_trade  {
	margin-top: -20px;
}
	

	
/*********************/
/* 		WEBMASTER 	 */
/*********************/
	
#webmaster  {
	padding: 30px;
}
	
#webmaster p {
	text-align: center;
	font-family:  "Century Gothic", Arial, sans-serif;
	padding: 3px;
	font-size: 0.8em;
		color: #bfc1ff /* light lilac */;
	}
	
#webmaster a  {
	margin-left: 7px;
	color: #bfc1ff /* light lilac */;;
	text-decoration: none;
	}
	
#webmaster a:hover  {
	text-decoration: underline;
	}