/*

Stylesheet for Darren Caines
Handwritten by Oliver Coningham (Sponge New Media)
http://www.darrencaines.co.uk/

*/


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

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


/* ------------ sIFR ------------ */

.sIFR-flash {
	visibility: visible !important;
	margin: 0;
	}	

.sIFR-replaced {
	visibility: visible !important;
	}

span.sIFR-alternate {
	position: absolute;
	left: 0;
	top: 0;
	width: 0;
	height: 0;
	display: block;
	overflow: hidden;
	}	

.sIFR-flash + div[adblocktab=true] {
	display: none !important;
	}	

.sIFR-hasFlash #left-column h3, .sIFR-hasFlash #right-column h3, .sIFR-hasFlash #single-column h3 {
	line-height: 18px !important;
	visibility: hidden;
	}
	
.sIFR-hasFlash #single-column h4 {
	line-height: 16px !important;
	margin: 2.5em 0 1.25em 0;
	visibility: hidden;
	}
	

/* ------------ Defaults ------------ */

#skip { 
	display: block;
	height: 100px;
	margin-top: -100px; 
	}

body {
	background: #305dff url('../images/body-bg.gif') repeat-x top left;
	color: #666;
	font-family: Verdana, Helvetica, sans-serif;
	font-size: 0.7em;
	padding: 30px 0;
	}	

#container {
	margin: auto;
	width: 760px;
	}	

.cleared {
	clear: both;
	}

hr {
	display: none;
	}
	

/* ------------ Branding ------------ */

#branding {
	background: url('../images/branding-bg.gif') no-repeat top left;
	height: 150px;
	text-indent: -25000px;
	width: 760px;
	}
	
#branding h1 a {
	background: url('../images/h1-bg.gif') no-repeat top left;
	display: block;
	height: 65px;
	margin: auto;
	width: 340px;
	}
	
#branding h2 a {
	background: url('../images/h2-bg.gif') no-repeat top left;
	display: block;
	height: 30px;
	margin: auto;
	width: 340px;
	}
	
#branding p {
	background: url('../images/tagline-bg.gif') no-repeat top left;
	height: 15px;
	margin: 20px auto 0 auto;
	width: 640px;
	}
	
	
/* --------- Navigation --------- */

#nav-button {
	display: none;
	}
	
#nav {
	background: url('../images/nav-bg.gif') no-repeat top left;
	height: 30px; 
	padding-left: 30px;
	text-indent: -25000px;
	width: 730px; 
	}
	
#nav li { 
	float: left;
	}	

#nav a {
	display: block;
	height: 30px;
	margin-right: 1px;
	width: 116px;
	}

#nav a:hover, #nav .selected {
	background-position: 0 -30px;
	}

#nav-home a {
	background: url('../images/nav-home.gif') no-repeat top left;
	}

#nav-about a {
	background: url('../images/nav-about.gif') no-repeat top left;
	}
	
#nav-glass a {
	background: url('../images/nav-glass.gif') no-repeat top left;
	}
	
#nav-testimonials a {
	background: url('../images/nav-testimonials.gif') no-repeat top left;
	}
	
#nav-gallery a {
	background: url('../images/nav-gallery.gif') no-repeat top left;
	}
	
#nav-contact a {
	background: url('../images/nav-contact.gif') no-repeat top left;
	margin-right: 0;
	width: 115px;
	}
	

/* ------------ Content ------------ */

#content {
	background: url('../images/content-bg.gif') no-repeat bottom left;
	padding: 25px 30px;
	width: 700px;
	}
	
#single-column a {
	background: url('../images/border-dotted.gif') repeat-x bottom left;
	color: #1d3899;
	padding-bottom: 2px;
	text-decoration: none;
	}

#single-column a:hover {
	background: url('../images/border-solid.gif') repeat-x bottom left;
	color: #1d3899;
	text-decoration: none;
	}
	
#content p, #content h3 {
	line-height: 1.35em;
	margin-bottom: 1.25em;
	}

#default #left-column, #default #right-column {
	background: url('../images/default-multiple-column-bg.gif') no-repeat bottom left;
	margin: 28px 0 0 0;
	}
	
#left-column {
	background: url('../images/multiple-column-bg.gif') no-repeat bottom left;
	float: left;
	margin: 0 0 28px 0;
	padding: 0 15px 15px 15px;
	width: 305px;
	}
	
#right-column {
	background: url('../images/multiple-column-bg.gif') no-repeat bottom left;
	float: right;
	margin: 0 0 28px 0;
	padding: 0 15px 15px 15px;
	width: 305px;
	}

#single-column {
	background: url('../images/single-column-bg.gif') no-repeat bottom left;
	margin: 0 0 28px 0;
	padding: 0 15px 15px 15px;
	width: 670px;
	}

#content #signature {
	background: url('../images/signature.gif') no-repeat top left;
	float: right;
	height: 22px;
	margin-bottom: 0;
	text-indent: -25000px;
	width: 106px;
	}
	
#content .roof-thumb {
	background: url('../images/thumb-bg.gif') no-repeat top left;
	float: left;
	height: 64px;
	margin-right: 9px;
	padding: 5px 0 0 5px;
	width: 64px;
	}

#content ul {
	margin-bottom: 2.25em;
	}
	
#content li {
	background: url('../images/icon-tick.gif') no-repeat 0 50%;
	color: #1d3899;
	margin-bottom: 1.25em;
	padding: 3px 0 3px 27px;
	}


/* ------------ Blockquotes ------------ */

#gallery #content .roof-thumb {
	background: url('../images/gallery-thumb-bg.gif') no-repeat top left;
	float: left;
	height: 121px;
	margin: 0 10px 10px 0;
	padding: 5px 0 0 5px;
	width: 121px;
	}

#gallery #content .end {
	margin-right: 0;
	}	
	
#gallery #content .roof-thumb a, #gallery #content .roof-thumb a:hover {
	background-image: none;
	}
		

/* ------------ Blockquotes ------------ */

.quote-top {
	background: url('../images/blockquote-top.png') no-repeat top left;
	height: 10px;
	width: 670px;
	}
	
.quote-bottom {
	background: url('../images/blockquote-bottom.png') no-repeat top left;
	height: 20px;
	width: 670px;
	}
	
.quote-text {
	background-color: #305dff;
	color: #fff;
	padding: 15px;
	}

.quote-credit {
	background: url('../images/icon-comments.png') no-repeat 0 50%;
	height: 16px;
	padding-left: 21px;
	}
	
blockquote {
	margin: 1.25em 0 2.5em 0;
	}
	

/* ------------ Feature ------------ */

.features {
	height: 160px;
	overflow: hidden;
	text-indent: -25000px;
	width: 700px;
	}
	
.feature {
	background: url('../images/feature-bg.gif') no-repeat top left;
	float: left;
	height: 160px;
	width: 215px;
	}

#content .feature h3 {
	height: 40px;
	margin-bottom: 0;
	width: 215px;
	}

#content .feature .text {
	height: 81px;
	margin-bottom: 0;
	width: 215px;
	}
	
.feature a {
	background-color: tan;
	display: block;
	height: 24px;
	width: 215px;
	}
	
#feature-why a:hover, #feature-years a:hover, #feature-free a:hover {
	background-position: 0 -24px;
	}
	
#feature-why h3 {
	background: url('../images/feature-why-h3.gif') no-repeat top left;
	}
#feature-years h3 {
	background: url('../images/feature-years-h3.gif') no-repeat top left;
	}
#feature-free h3 {
	background: url('../images/feature-free-h3.gif') no-repeat top left;
	}
#feature-why .text {
	background: url('../images/feature-why-text.gif') no-repeat top left;
	}
#feature-years .text {
	background: url('../images/feature-years-text.gif') no-repeat top left;
	}
#feature-free .text {
	background: url('../images/feature-free-text.gif') no-repeat top left;
	}
#feature-why a {
	background: url('../images/feature-why-a.gif') no-repeat top left;
	}
#feature-years a {
	background: url('../images/feature-years-a.gif') no-repeat top left;
	}
#feature-free a {
	background: url('../images/feature-free-a.gif') no-repeat top left;
	}
	
.feature-middle {
	margin: 0 28px 0 27px;
	}
	
		
/* ------------ Footer ------------ */

#footer {
	background: url('../images/footer-bg.gif') no-repeat top left;
	color: #ccc;
	font-size: 90%;
	line-height: 1.35em;
	padding-top: 10px;
	text-align: center;
	width: 760px;
	}
	
#links a {
	color: #999;
	text-decoration: none;
	text-transform: uppercase;
	}
	
#links a:hover {
	color: #305dff;
	text-decoration: underline;
	}
	
#credit {
	margin-top: 38px;
	}
	
#credit a {
	color: #fff;
	text-decoration: none;
	}
	
#credit a:hover {
	color: #fff;
	text-decoration: underline;
	}