/*

Theme Name: Squires Electric
Author: David Gregor for Spot Color Studio 
Description: A theme for Squires Electric site

*/

/* preset */

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,
blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,
em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,
b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,
table,caption,tbody,tfoot,thead,tr,th,td,article,aside,
canvas,details,embed,figure,figcaption,footer,header,
hgroup,menu,nav,output,ruby,section,summary,time,mark,
audio,video {
	border:0;
	font-size:100%;
	font:inherit;
	vertical-align:baseline;
	margin:0;
	padding:0
	}

html {
	font-size: 62.5%;
	}

body {
	font-size: 100%;  
	line-height: 1;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	background: url(media/main_bg.gif) 0 0 repeat-x;
	}
	
table { 
	border: none;
	border-collapse: collapse;
	border-spacing: 0;
	}
	
td {
	vertical-align: top;
	text-align: left;
	font-size: 1em; 	/* 12px */
	line-height: 1.167;	/* 14px */
	border: none;
	}
	
p {margin: 0 0 1em 0;}

h1, h2, h3, h4, h5, h6 {font-family: 'Lobster', Tahoma, cursive;}

ol {
	margin: 1em 0 0 1.5em;
	padding-left: 1.5em;	/* 15px */
	}
	
ul {
	margin: 0;
	padding-left: 0;
	list-style-type: none;
	font-weight: normal;
	}
	
li {
	margin: 0;
	padding-left: 0;
	font-size: 1.4em; 	/* 14px */
	line-height: 1.571;	/* 22px */
	}

img {
	display: inline;
	}

img.block, img.alignright, img.alignleft {display: block;}

.hide {display: none;}

.alignright {float: right; margin: 0 0 1.5em 1em;}
.alignleft {float: left; margin: 0 1em 1.5em 0;}

div {margin: 0;padding: 0;}
	
/* HTML5 tags */

header, nav, section, aside, article, footer {display: block;}

/* Main content wrapper div */

#wrapper {
	position: relative;
	width: 750px;
	margin: auto;
	overflow: visible;
	}

/* top header */

header {
	height: 180px;
	position: relative;
	overflow: hidden;
	}

header h1 {
	position: absolute;
	top: 27px;
	left: 222px;
	width: 324px;
	height: 173px;
	font-size: 1em;	/* 10px */
	text-indent: -3000px;
	background: url(media/logo_squires.png) 0 0 no-repeat;
	}
	
header h1 a {
	display: block;
	height: 173px;
	overflow: hidden;
	}

header h2 {
	position: absolute;
	top: 60px;
	left: 15px;
	width: 165px;
	font-size: 2.8em;	/* 28px */
	line-height: 1.143;	/* 32px */
	font-weight: normal;
	text-align: right;
	letter-spacing: 0.01em;
	color: #F99B00;
	}

header aside {
	position: absolute;
	top: 44px;
	left: 570px;
	width: 130px;
	font-family: 'Open Sans', verdana, Arial, sans-serif;
	color: #F99B00;
	}


header aside h4 {
	font-family: 'Open Sans', verdana, Arial, sans-serif;
	font-size: 1.4em;	/* 14px */
	line-height: 1;
	font-weight: 600;
	}

header aside label {
	display: block;
	padding-top: 2px;
	font-family: 'Lobster', Tahoma, cursive;
	font-size: 1.6em;	/* 16px */
	line-height: 1.2;
	}
	
header aside span.phone {
	font-size: 1.8em;	/* 18px */
	line-height: 1.111;	/* 20px */
	font-weight: 400;
	color: #FFF;
	}

header aside a {
	font-size: 1.1em;	/* 11px */
	line-height: 1;
	font-weight: 600;
	color: #FFF;
	text-decoration: none;
	}

header aside a:hover {text-decoration: underline;color: #FFF;}
	
/* main nav */
	
nav.top {
	margin: auto;
	padding: 0 2.5em;
	height: 3em;	/* 30px */
	}

nav.top li {
	float: left;
	margin: 0;
	padding: 0;
	width: 134px;
	font-family: Tahoma, Arial, verdana, sans-serif;
	font-size: 13px;	/* 13px */
	line-height: 1.455;	/* 32px */
	letter-spacing: 0.05em;	
	text-align: center;
	list-style-type: none;
	}

nav.top li.menu-item-113 {width: 148px;}	/* Get Plugged In */
nav.top li.menu-item-113:hover a {background-position: 125px 10px;}
nav.top li.menu-item-108 {width: 136px;}	/* Useful Links */
nav.top li.menu-item-108:hover a {background-position: 112px 10px;}	/* Useful Links */

nav.top a {
	display: block;
	width: 100%;
	padding: 6px 0; 		
	text-align: center;
	color: #FFF;
	text-decoration: none;
	}

nav.top li:hover a {
	color: #000;
	background: #FFFFFF url('media/nav_arw.gif') 105px 10px no-repeat;
	}
	
nav.top li ul {
	display: none;
	margin-top: -1px;
	}	
	
nav.top li:hover ul {
	display: block;
	position: absolute;
	z-index: 11;
	}

.ie7 nav.top li {position: relative;z-index: 10;}

.ie7 nav.top li:hover ul {
	position: absolute;
	left: 0;
	}

nav.top li:hover ul li {
	display: block;
	float:none;
	width: 134px;
	font-size: 1em;
	text-align: center;
	border: none;
	background: url('media/nav_bg_80.png') 0 0 repeat;
	white-space: normal;
	}
	
nav.top li.menu-item-113:hover ul li {width: 148px;}	/* Get Plugged In */
	
nav.top li:hover ul li a {
	color: #FFFFFF;
	background: transparent;
	}

nav.top li:hover ul li a:hover {
	color: #FF9500;
	background: #111111;
	}
	
/******** home page formatting ************/

.home .slideshow {
	height: 320px;
	overflow: hidden;
	}

.home aside.touts {
	float: right;
	width: 260px;
	margin-bottom: 47px;
	}

.home aside.touts .contact {
	margin-top: 22px;
	width: 260px;
	}
	
.home aside.touts .contact .left {
	display: block;
	float: left;
	height: 75px;
	width: 98px;
	padding: 15px 12px 0 0;
	background: #111111;
	font-family: 'Open Sans', verdana, Arial, sans-serif;
	font-size: 1.6em;	/* 16px */	
	line-height: 1.25;	/* 20px */	
	font-weight: 400;
	text-align: right;
	-moz-border-radius: 20px 0 0 20px;
	-webkit-border-radius: 20px 0 0 20px;
	border-radius: 20px 0 0 20px;
	}

.ie7 .home aside.touts .contact .left, .ie8 .home aside.touts .contact .left {behavior: url(/js/PIE.htc);}
	
.home aside.touts .contact a {text-decoration: none;}
.home aside.touts .contact a;hover {text-decoration: underline;}

.home aside.touts .contact .left a {
	color: #FFF;
	}
	
.home aside.touts .contact .right {
	display: block;
	float: left;
	height: 90px;
	width: 138px;
	padding: 0 0 0 12px;
	background: #ff9500;
	font-family: 'Open Sans', verdana, Arial, sans-serif;
	font-size: 2em;		/* 20px */	
	line-height: 1.25;	/* 25px */	
	font-weight: 400;
	text-align: left;
	color: #FFF;
	-moz-border-radius: 0 20px 20px 0;
	-webkit-border-radius: 0 20px 20px 0;
	border-radius: 0 20px 20px 0;
	}
	
.ie7 .home aside.touts .contact .right, .ie8 .home aside.touts .contact .right {behavior: url(/js/PIE.htc);}
	
.home aside.touts .contact label {
	display: block;
	padding-top: 8px;
	margin: 0;
	font-family: 'Lobster', Tahoma, cursive;
	font-size: 14px;font-size: 1.4rem;	/* 14px */	
	line-height: 1;
	color: #000;
	}
	
.home aside.touts .contact a.info {
	display: block;
	margin-top: 2px;
	font-size: 11px;font-size: 1.1rem;	/* 11px */	
	line-height: 1;
	font-weight: 400;
	color: #FFF;
	}

.home aside.touts .contact a.info:hover {text-decoration: underline;}

.home article.home {
	width: 395px;
	}

.home article.home h3 {
	margin-top: 30px;
	font-size: 2.8em;	/* 28px */
	line-height: 1;
	margin-bottom: 24px;
	color: #111111;
	}
	
.home article.home p {
	font-size: 1.4em;	/* 14px */
	line-height: 1.214;	/* 17px */	
	}
	
.home article.home a {
	font-size: 11px;font-size: 1.1rem;	/* 11px */
	color: #00384E;
	text-decoration: underline;
	}
	
.home article.home a:hover {
	color: #FF9500;
	}

.home article.home p a.contact {
	display: block;
	margin-top: 29px;
	margin-bottom: 42px; 
	font-weight: bold;
	}
	
.home article.home span a {
	display: block;
	float: left;
	font-size: 11px;font-size: 1.1rem;	/* 11px */
	line-height: 1.182;		/* 13px */
	color: #00384E;
	}

.home article.home span a.fbook {
	padding: 10px 49px 10px 45px;
	background: url(/media/facebook.gif) 0 0 no-repeat;
	}
	
.home article.home span a.signup {
	width: 125px;
	padding: 5px 0 20px 45px;
	background: url(/media/email.gif) 0 0 no-repeat;
	}

/******** base page formatting ************/

section {margin-top: 38px;}

section article.overview {
	width: 420px;
	height: 156px;
	margin: auto;
	padding: 36px 35px 10px 245px;
	background: url(media/contact_top_back.jpg) 0 0 no-repeat;
	}

section.page-10 article.overview {background: url(media/residential_top_back.jpg);}		/* residential page */
section.page-38 article.overview {background: url(media/commercial_top_back.jpg);}		/* commercial page */
section.page-53 article.overview {background: url(media/audio_visual_top_back.jpg);}	/* audio/visual page */
section.page-73 article.overview {background: url(media/voicedata_top_back.jpg);}		/* voice/data page */
section.page-142 article.overview {background: url(media/testimonials_top_back.jpg);}	/* testimonial page */
section.page-102 article.overview {background: url(media/newsletter_top_back.jpg);}		/* e-newsletter page */
section.page-104 article.overview {background: url(media/commercial_top_back.jpg);}		/* useful links page */

section article.overview h2 {
	margin: 0 0 15px 0;
	font-size: 4em;		/* 40px; */
	line-height: 1;
	letter-spacing: 0.01em;
	text-align: center;
	color: #111111;
	}

section article.overview p {
	margin: 0 0 10px 0;
	font-size: 1.2em;		/* 12px; */
	line-height: 1.583;		/* 19px */
	text-align: center;
	color: #000000;
	}

section article.overview p a {
	color: #7A8EA1;;
	text-decoration: underline;
	}
	
section article.overview p a:hover {color:#FF9500;}

#content {
	width: 700px;
	min-height: 430px;
	margin: auto;
	background: url(media/left_col_bg.gif) 0 0 repeat-y;
	}

#content .col1 {
	float: left;
	width:210px;
	min-height: 430px;
	background: #111111;
	}

#content .col1 .contact {
	margin: 30px 20px 0 20px;
	color: #FFF;
	}

#content .col1 .contact label {
	display: block;
	padding-top: 2px;
	font-family: 'Lobster', Tahoma, cursive;
	font-size: 1.8em;	/* 18px */
	line-height: 1.222;	/* 22px */
	color: #F99B00;
	}
	
#content .col1 .contact p {
	margin-bottom: 15px;
	font-size: 1.2em;	/* 12px */
	line-height: 1.167;	/* 20px */
	}
	
#content .col1 a {color: #FFF;}
#content .col1 a:hover {color: #F99B00;}

#content nav.sub_left {
	list-style-type:none;
	}
	
#content nav.sub_left li {
	padding:10px;
	height:20px;
	font-family: Droid Sans, verdana, Tahoma, Arial, sans-serif;
	font-size:1.2em;		/* 12px */
	line-height: 1;
	font-weight: bold;
	color:#FFFFFF;
	cursor:pointer;
	background: #111111;
	border-top:1px solid #666;
	}

#content nav.sub_left li.activeSlide  {
    background-color: #F7A11A;
	}
	
#content nav.sub_left li:hover  {
    background-color: #FEAB06;
	}

#main {
	margin-left: 210px;
	width: 490px;
	}
	
#main article.page {
	padding: 42px 5px 0 23px;
	}

.services #main article.page {
	height: 300px;
	margin-bottom: 40px;
	}

#main article.page h4 {
	padding-left: 180px;
	}

.services #main article.page img {
	float: left;
	width: 159px;
	height: auto;
	margin: -42px 22px 60px 0;
	}

#main article.page h4 {
	margin-bottom: 20px;
	font-size: 2.4em;	/* 24px */
	line-height: 1;
	}

#main article.page p {
	margin: 0 0 10px 0;
	padding-left: 0px;
	font-size: 1.2em;	/* 12px */
	line-height: 1.583;		/* 19px */
	}

/******** Testimonial Page formatting ************/

.overview ul.reviews {
	display: block;
	margin: 4px auto;
	text-align: center;
	}
	
.overview ul.reviews li {
	display: inline;
	}

.overview ul.reviews li img {
	border: solid 1px #000;
	}
	
.page-142 #main article.page p {
	padding-left: 90px;
	}
	
.page-142 #main article.page img.alignleft {
	margin-top: 2px;
	margin-left: -90px;
	}

/******** Testimonial Quotes formatting ************/

.testimonials {width: auto;overflow:hidden;}

.quotes {
	position: relative;
	margin: 44px 5px 48px 5px;
	width: 100%;
	font-family: "Open Sans", Arial, verdana, sans-serif;
	font-size: 2.2em;	/* 22px */
	line-height: 1.273;	/* 28px */
	font-weight: 300;
	text-align: center;
	color: #5D5D5D;
	}
	
.home .quotes {
	clear: both;
	height: 140px;
	margin-top: 34px;
	}

.home .testimonials {height: 140px;}

.interior .testimonials {clear: both;height: 170px;}

.interior .quotes {
	width: 665px;
	height: 140px;
	padding: 5px 20px 60px 20px;
	margin-left: 35px;
	margin-right: 20px;
	}

.ie8 .quotes {height: 90px;}
.ie7 .quotes {height: 90px;}

.ie8 .interior .quotes {padding-bottom: 0;}
.ie8 .interior .testimonials {margin-top: -80px;}
.ie8 .interior section {padding-bottom: 80px;}	

.ie7 .interior .quotes {height: 120px; padding-bottom: 0;}

.interior .quotes span.left {left: 5px;}
.interior .quotes span.right {right: 5px;}

.quotes span {
	position: absolute;
	display: block;
	font-family:  'Trebuchet MS', Georgia, 'Times New Roman',serif;
	font-size: 36px;font-size: 3.6rem;		/* 36px */
	line-height: 1;			/* 36px */
	color: #9FA5AC;
	}
	
.quotes span.left {top: -5px;left: 15px;}
.quotes span.right {top: -5px;right: 15px;}

.quotes label.attribute {
	display: block;
	margin-top: -15px;
	margin-right: 0;
	font-size: 11px;font-size: 1.1rem;	/* 11px */
	line-height: 1;	/* 11px */
	text-align: right;
	color: #9fa5ac;
	}

.home .quotes label.attribute {margin-right: 15px;}

/********** Contact 7 forms **************/

form strong {font-weight: bold;}
form p span.required {color: #FF9500;}

div.wpcf7-response-output {font-size: 12px;}
	
/********** NextGen photo gallery CSS overrides **************/

.ngg-galleryoverview {clear: none !important;}

.slideshowlink {display: none;margin: 5px 50px 5px 0;text-align: center;}

.ngg-gallery-thumbnail img {width: 125px !important; height: auto !important;}

/* Shutter effect overrides */

#shDisplay div#shCount {}
#shDisplay div#shName {margin: 5px 0 !important;}

/* Thickbox effect overrides */

#TB_window {padding-bottom: 5px;}

#TB_caption {line-height: 1.2;}

#TB_secondLine {
	margin-top: 10px;
	margin-bottom: 10px;
	font-size: 11px !important;
	}
	
/********** footer **************/

footer {
	clear: both;
	width: 700px;
	margin-left: 25px;
	padding: .7em 1em;	/* 10px */
	font-size: 1em;	/* 10px */
	line-height: 1; 		/* 10px */
	text-align: left;
	background: #F1F1F1;
 	}

.home footer {
	width: 100%;
	margin-bottom: 20px;
	margin-left: 0;
	line-height: 2.5;
	text-align: center;
	font-style: italic;
	border: solid 1px #E9E9E9;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	}
	
.ie7 .home footer, .ie8 .home footer {behavior: url(/js/PIE.htc);}

a {
	color: #7A8EA1; 
	text-decoration: underline;
	}
	
a:hover { text-decoration: underline;color: #AB4800; }