/*
Theme Name: All County
Theme URI: http://allcountyenvironmental.com/
Description: Custom WordPress theme developed for All County by JustClick Media (Dali Zheng). 
Author: Dali Zheng
Version: 1.0
*/

* {margin:0;padding:0;border:0;}
::selection{ background:#3f523a; color:#fff; }
::-moz-selection{ background:#3f523a; color:#fff; }

body {
  background:#ddd;
  font-family: Arial, sans-serif;
  font-size: 12px;
  color:#333;
  }
img, object, embed {margin-bottom:-3px; }
p,ul,ol { line-height:17px;margin-bottom:17px; }
a { color:#5e7957;text-decoration:none;outline:none; }
h2 { 
	font-size:22px;
	padding:0 10px;
	margin-bottom:10px;
	padding-bottom:4px;
	border-bottom:1px #aaa dotted;
	color:#000;
	}
.column h2 {
	background:url("images/header_gradient.png") top left repeat-x;
	}
h3 {
	color:#000;
	font-size:16px;
	margin:0 10px;
	margin-bottom:8px;
	}
h4 {
	font-size:14px;
	margin-bottom:4px;
	}
h5 {
	font-size:13px;
	font-weight:normal;
	margin:10px 0 15px 0;
	text-align:center;
	}
h6 {
	color:#000;
	font-size:15px;
	margin:40px 10px;
	font-family:Georgia, serif;
	font-style:italic;
	font-weight:normal;
	line-height:20px;
	}
h5 a { text-decoration:underline; }

ul {
	list-style-type:disc;
	}
img.alignright {
	float:right;
	margin:0 0 20px 40px;
	}

.container {
  width:960px;
  margin:auto;
  position:relative;
  }
.clear { clear:both; }
.column { float:left;margin:10px; }
.column p, .column ul, .column ol { padding:0 10px; }
.column ul, .column ol { padding:0 2.4em; }
.w160 { width:160px; }
.w220 { width:220px; }
.w280 { width:280px; }
.w640 { width:640px; }
.w700 { width:700px; }
.w940 { width:940px; }
.triple { width:720px;position:relative;left:-10px; }
.double_s { margin:0;width:480px;position:relative;left:-10px; }
.triple_s { margin:10px 0 12px 0 !important;width:720px;position:relative;left:-10px; }
.triple_s .w220, .double_s .w220 { width:200px;margin:0 20px; }
.triple_s .w460 { width:440px;margin:0 20px; }
.triple_s p, .triple_s h3, .double_s p { margin:0 0 12px 0 !important;padding:0 !important; }
.double_s h3 { margin:0; }
.news-item {
	border-bottom:1px #aaa dotted;
	padding:7px 0;
	position:relative;
	top:-7px;
	}
.news-item h3 { float:left;margin:0 10px !important; }
.news-item p { float:right;margin:0 !important; }

.centercolumn {
	width:460px;
	float:left;
	}
.sidecolumn {
	width:220px;
	float:right;
	}
.pic_s, .bigpic {
	background:none;
	margin:4px auto 6px auto;
	text-align:center;
	}
.yapb-image { margin:0 10px; }
.full { width:680px; }
.pic_s { height:78px;overflow:hidden; }
.thumbnail { height:auto !important; }
.widget { background:#08f !important; }
.box {
	background:#f3f3f3;
	border-bottom:1px #ddd solid;
	}
.box h3, #dynamic h3 {
	position:relative;
	background: url("images/subheader_bg_left.png") top left no-repeat;
	color:#70574A;
	/*border-bottom:1px #5e7957 solid;*/
	border-bottom:1px #ccc solid;
	margin:0 !important;
	}
.box h3 span, #dynamic h3 span {
	display:block;
	padding:6px 10px 5px 5px;
	margin-left:5px;
	background:url("images/subheader_bg.png") top right no-repeat;
	}
.box p, .box ul { margin:10px;padding:0; }
.box ul li { margin-bottom:20px;list-style-type:none; }
.box ul p { margin:0; }
.right { float:right !important; }
.left { float:left !important; }
.top { margin-top:0px !important; }
.bottom { margin-bottom:0px !important; }
.name { margin:4px 10px 6px 10px !important;padding:0 0px 6px 0px !important;border-bottom:1px #aaa dotted; }
.email { margin:-4px 0 4px 0; }
.small { font-size:11px; }
.grey { color:#666; }
.black a { color:#000; }
.testimonial { font-style:italic; }
.testimonial p { margin:0; }
.pdf_icon { margin-top:10px; }
.pdf_icon a { display:block;background:url("images/file_pdf.png") left top no-repeat;width:48px;height:48px;margin:auto; }
.pdf_icon a:hover { background-position:right top !important; }
.line { border-bottom:1px #aaa dotted;margin-bottom:20px; }
.upper { padding-top:15px;margin-bottom:-10px !important; }
.lower { margin-bottom:18px !important; }

#top {
	background:#222;
	height:20px;
	border-bottom:1px #333 solid;
	padding-top:5px;
	}
#top p { margin-left:250px;color:#888;font-size:11px;text-align:right;margin-right:20px;margin-bottom:0; }
#top a { color:#ccc; }

#header {
	background:#546E4D url("images/header_bg.png") center top repeat-x;
	}
#logo { width:200px;position:absolute;top:-31px;left:19px;background:url("images/logo_bg.png") center no-repeat; }
#header h1 a { display:block;height:200px;background: url("images/logo.png") center no-repeat; }
#header h1 a span { display:none; }

#chrome_bg { background:url("images/chrome_bg.png") center top no-repeat; }
#chrome_bg h3 { border-top:1px #aaa dotted;padding-top:10px !important;margin-top:0px !important; }

#call {
	width:267px;
	min-height:75px;
	float:right;
	margin:21px 10px -1px 0;
	padding:7px 10px;
	background:url("images/call_bg.png") right top no-repeat;
	text-align:right;
	}
#call p {
	margin: 0;
	color:#eee;
	}
#call h2 {
	width:267px;
	height:42px;
	background:url("images/phone.png") center no-repeat;
	margin:0;
	padding:0;
	border:0;
	float:right;
	position:relative;
	right:-7px;
	top:1px;
	}
#call a { display:block;height:42px; }
#call h2 span { display:none; }
#menu {
	padding-top:0px;
	border-bottom:5px #3f523a solid;
	}
#menu ul { width:700px;padding-left:240px;margin:auto; }
#menu li {
	list-style-type:none;
	position:relative;
	float:left;
	margin-right:3px;
	background:url("images/button_s_left.png") left top no-repeat;
	}
#menu li a {
	font-size:13px;
	font-weight:bold;
	text-decoration:none;
	color:#fff;
	padding:9px 10px 7px 5px;
	margin-left:5px;
	display:block;
	background:url("images/button_s.png") right top no-repeat;
	}
.current_page_item { background:url("images/button_left.png") left top no-repeat !important; }
.current_page_item a { background:url("images/button.png") right top no-repeat !important; }

#pic {
	width:700px;
	margin:10px;
	height:281px;
	background: #eee url("images/header_temp.jpg") center no-repeat;
	position:relative;
	}
#pic h2 { border:none;margin:0;padding:0; }
#pic h2 a {
	width:150px;
	height:150px;
	position:absolute;
	bottom:17px;
	right:21px;
	background:none;
	}
#pic h2 a span { display:none; }
#carouselbuttons {
	width:120px;
	height:20px;
	background:url("images/carouselbuttons.png") top right no-repeat;
	position:absolute;
	top:6px;
	right:10px;
	padding:0;
	}
#buttons {
	float:left;
	width:220px;
	margin:10px;
	height:120px;
	padding:10px 0 5px 0;
	background:url("images/buttons_bg.png") top left no-repeat;
	}
#content {
	padding-top:20px;
	}
#content .container {
	padding:10px 10px 30px 10px;
	border:1px #bbb solid;
	border-bottom:0;
	background:#fff;
	}
#rss_box h3 a { color:#70574A; }
#rss_box img {
	/*padding-bottom:2px;*/
	display:none;
	}
#rss_box .rss-date:before { content:' - '; }
#rss_box li { margin:0 0 10px 0; }

#footer {
	color:#999;
	background:#222 url("images/footer_bg.jpg") center bottom no-repeat;
	border-top:8px #333 solid;
	padding:10px 0 20px 0;
	}
#footer .right, #header .right { text-align:right;float:right !important; }
#footer .right, #header .right a { padding-right:0 !important; }
#footer a { color:#85A87E; }
#footer ul { list-style-type:none;margin:0;padding:0 10px 26px 10px; }
#footer ul li { float:left;margin-right:10px;padding-right:10px;border-right:1px #666 solid; }
#footer ul li:last-child { border-right:none; }
#footer .current_page_item, #footer .current_page_item a { background:none !important; }
#footerstuff { width:920px;border-top:1px #555 dotted;height:100px;background:url("images/footer.png") center no-repeat;margin:-10px auto 0 auto;padding:10px 0; }

#video {
	text-align:center;
	}
#main {
	float:right;
	width:700px;
	margin:0 20px 0 0;
	}
#side {
	float:left;
	width:220px;
	}
#exc {
	margin-right:10px !important;
	background:none !important;
	}
#exc a {
	padding-left:26px !important;
	background:url("images/exclamation.png") left center no-repeat !important;
	}
#feature {
	width:460px;
	margin-top:3px;
	margin-bottom:20px;
	padding:6px 0;
	background:#333;
	}
#feature .bigpic { width:440px; }
#feature h3 { margin:0 10px 3px 10px; }
#feature h3 a { color:#fff; }
#feature p { margin:0;color:#ccc; }

#subpages {
	margin:0;
	padding:0 0px;
	list-style-type:none;
	position:relative;
	top:-10px;
	}
#subpages li {
	border-bottom:1px #aaa dotted;
	}
#subpages li a {
	background:url("images/arrow.png") 10px center no-repeat;
	padding:9px 10px 9px 35px;
	display:block;
	font-size:14px;
	font-weight:bold;
	}
#subpages li a:hover { background:#f3f3f3 url("images/arrow.png") 10px center no-repeat; }
#subpages .current_page_item, #subpages .current_page_item a {
	background:url("images/arrow.png") 10px center no-repeat !important;
	color:#000;
	}
#promise {
	float:right;
	margin:15px 5px;
	width:130px;
	height:130px;
	background:url("images/promise.jpg") center no-repeat;
	}
#contact { position:relative;left:5px;top:-5px;width:210px;margin-bottom:5px; }
#contact a { display:block;height:60px;background:url("images/contact.png") center no-repeat; }
#contact a span { display:none; }
#contactform { line-height:26px;font-size:16px;margin:0 10px; }
#map { margin-bottom:15px !important; }
#services { position:relative;left:5px;top:-5px;width:210px;margin-bottom:5px; }
#services a { display:block;height:60px;background:url("images/services.png") center no-repeat; }
#services a span { display:none; }
#subcontractors { position:relative;left:5px;top:-5px;width:210px;margin-bottom:5px; }
#subcontractors a { display:block;height:60px;background:url("images/subcontractors.png") center no-repeat; }
#subcontractors a span { display:none; }
#careers { position:relative;left:5px;top:-5px;width:210px;margin-bottom:5px; }
#careers a { display:block;height:60px;background:url("images/careers.png") center no-repeat; }
#careers a span { display:none; }

#featured_posts { position:relative;top:-10px; }
#featured_posts p { margin:0 !important; }
#featured_posts h3 { margin-top:20px !important; }
#news_ad_box { margin:20px 0 10px 0; }
#news_ad { border:1px #e5e5e5 solid;width:200px;background:url("images/ad.png") center -30px repeat;min-height:180px;margin:10px auto 10px auto; }
#news_ad a { display:block;height:300px;background:url("images/jcm_ad.gif") center no-repeat; }
#testimonials {
	position:relative;
	left:-10px;
	}
#testimonials h3 { margin-bottom:12px !important; }
#testimonials p { padding:0 10px; }
#testimonials .name:last-child { border:none; }
#testimonials .addtoany_share_save_container {display:none;}
#feature .addtoany_share_save_container {display:none;}
#featured_posts .addtoany_share_save_container {display:none;}
#news_updates .addtoany_share_save_container {display:block;margin:-22px 0 10px -10px !important;}
#updates .addtoany_share_save_container {display:block;margin:-6px 0 10px -10px !important;}

.addtoany_share_save_container {margin:0 !important;}

#side_projects h4 { margin:10px 10px -10px 10px !important; }

#events { padding:0 10px;list-style-type:none;margin-bottom:-20px; }
#events li p { padding:0; }

#photos h3 { margin:10px 10px 0 10px !important;clear:both; }
#photos p { margin:2px 0 !important;clear:both; }
#photos a {  }
#photos img { display:block;float:left;width:200px;height:82px;margin:10px 20px; }
#photos h6 { width:720px;position:relative;left:-10px;margin:0; }

#intro { font-style:normal;font-size:15px;margin:0 10px 8px 10px;line-height:23px;color:#000;padding:8px 0; }
#cities { border-top:1px #666 dotted;color:#999;font-size:10px;line-height:13px;width:920px;padding:10px 0;margin:auto; }

#twitter_box { margin:0 10px 10px 10px; }
#twitter_box abbr { color:#888; }

/* social media */
.social { width:48px;height:48px;float:left;margin:0 0 9px 8px; }
.social a { display:block;height:48px; }
.social a span { display:none; }
#facebook { background:url("images/social_facebook.png") center no-repeat; }
#twitter { background:url("images/social_twitter.png") center no-repeat; }
#youtube { background:url("images/social_youtube.png") center no-repeat; }

/* affiliates */
.affil { padding:10px 0;height:105px; }
#crawford { background:url("affiliates/crawford.png") center no-repeat; }
#phcc { background:url("affiliates/phcc.png") center no-repeat; }
#bbb { background:url("affiliates/bbb.png") center no-repeat; }
#vendor { background:url("affiliates/vendor.png") center no-repeat; }
#iicrc { background:url("affiliates/iicrc.png") center no-repeat; }
.affil a { display:block;height:105px; }

/* portraits */
.portrait { height:200px;margin-bottom:20px; }
#Don_Moser { background:url("portraits/Don_Moser.jpg") center no-repeat; }
#Dave_Hoag { background:url("portraits/Dave_Hoag.jpg") center no-repeat; }
#David_Moser { background:url("portraits/David_Moser.jpg") center no-repeat; }
#Mike_Ashcroft { background:url("portraits/Mike_Ashcroft.jpg") center no-repeat; }
#Luis_Soria { background:url("portraits/Luis_Soria.jpg") center no-repeat; }

/* services */
.service { height:78px;margin:10px 0; }
.service a { display:block;height:78px; }
#Asbestos { background:url("services/services_asbestos.jpg") center no-repeat; }
#Demo { background:url("services/services_demo.jpg") center no-repeat; }
#Duct { background:url("services/services_duct.jpg") center no-repeat; }
#Emergency { background:url("services/services_emergency.jpg") center no-repeat; }
#Lead { background:url("services/services_lead.jpg") center no-repeat; }
#Mold { background:url("services/services_mold.jpg") center no-repeat; }
#Cleanup { background:url("services/services_cleanup.jpg") center no-repeat; }
#Contents { background:url("services/services_contents.jpg") center no-repeat; }
#Construction { background:url("services/services_earthquake.jpg") center no-repeat; }
.service a:hover { background:url("images/trans_white.png") center repeat; }

/* newsletter form */
/*                                                    */
/*  main 'top-level' form elements                    */
/*                                                    */
#dynamic .cform { 
	margin:0 auto !important; 
	padding-top:0;
	width: 220px; 
	overflow:hidden;
	border:none;
}
#dynamic .cform fieldset	{  }
#dynamic .cform .cf_hidden {
	display:none; 
	border:none!important;
	background:none!important;
	padding:0!important;
	margin:0!important;
}
#dynamic .cform legend { 
	margin-left:10px;
	padding: 0 2px; 
	font:normal 14px Times; 
	font-variant:small-caps;
	color:#666666;
}
#dynamic ol.cf-ol { 
	margin:0!important; 
	padding:0 10px!important; 
}
#dynamic ol.cf-ol li	{
	background:none!important; 
	margin:0px 0px!important; /*some themes may interfere otherwise*/
	padding:0; 
	list-style:none!important; 
	text-align:left;
	line-height:1.3em;
	overflow:hidden;
}
/*                                                    */
/* just for text-only fields (no input)               */
/*                                                    */

#dynamic ol.cf-ol li.textonly {
	margin:6px 0 -4px 0 !important; 
	color:#666;
}
/*                                                    */
/* global definitions for field labels                */
/*                                                    */

#dynamic .cform label {
	display:none;
}
/*                                                    */
/*   FORM FIELDS general formatting                   */
/*                                                    */

#dynamic .cform input,
#dynamic .cform textarea,
#dynamic .cform select { 
	padding:9px;
	background: #fafafa; 
	color:#666;
	border:1px solid #ccc;
	margin-top:10px;
	vertical-align:top;
}
#dynamic .cform input:hover,
#dynamic .cform textarea:hover,
#dynamic .cform select:hover	{
	border:1px #999 solid; 
	color:#000;
}

#dynamic .cform textarea,
#dynamic .cform input {
	width:180px; 
}

/*                                                    */
/* formatting for text:  "(required)"  & other        */
/*                                                    */

#dynamic span.reqtxt,
#dynamic span.emailreqtxt { 
	display:none; 
}
/*                                                    */
/*   FORM submit button                               */
/*                                                    */
#dynamic p.cf-sb {
	padding: 0!important;
	margin: 0;
	text-align:right;
}
#dynamic .cform input.backbutton,
#dynamic .cform input.resetbutton,
#dynamic .cform input.sendbutton	{ 
	width:80px;
	margin: -10px 10px 10px 0;
	font-size:12px;
	font-weight:bold;
	color:#E7FAE3;
	background:#495946; 
	border:1px solid #1C3018!important;
	border-left-color:#98BA91!important; 
	border-top-color:#98BA91!important;
	padding:0 !important;
}
/*                                                    */
/*   FORM FIELDS enhanced error display               */
/*                                                    */
#dynamic ol.cf-ol li.cf_li_err {
	background:none!important;
	padding:0px 0!important;
	margin:0px 0!important;
}

#dynamic ol.cf-ol li ul.cf_li_text_err {
	margin:0 0 0 0px;
	padding:0;
	color:#333;
}

#dynamic ol.cf-ol ul.cf_li_text_err li {
	display:none;
}
#dynamic ol.cf-ol ul.cf_li_text_err li:before {
	content:'';
}
/*                                                    */
/* change formatting of response msgs here            */
/*                                                    */

#dynamic div.cf_info {
	display:none;
	color:#333;
	display:none;
	margin:10px auto 0 auto;
	padding:5px 10px !important;
	text-align:left;
	width:180px;
}
#dynamic div.cf_info ol {
	margin:0;
	padding:5px 5px 0pt 20px;
}
#dynamic div.cf_info ol li {
	padding:1px 0;
	margin:2px 0;
}
#dynamic div.cf_info a	{
	color:#ad2929!important;
	text-decoration:underline!important;
}
#dynamic div.success {
	color:#333;
	display:block;
}
#dynamic div.failure {
	display:block;
	background:#FFDFDF !important;
	border-color:#DF7D7D;
	border-style:solid;
	border-width:1px 0pt;
}
#dynamic div.waiting {
	color:#666;
	display:block;
}
/*                                                    */
/*   formatting for invalid user inputs               */
/*                                                    */

#dynamic .cform .cf_error { 
	color:#ad2929; 
	border:1px solid #DF7D7D; 
}
#dynamic div.mailerr {
	display:block;
}
#dynamic .mailerr,
#dynamic .cform .cf_errortxt {
	color:#ad2929; 
}

/* wordpress comments */
.commentlist { list-style-type:none;padding:0 10px !important; }
.commentlist img { float:left;margin:0 10px 10px 0; }
.commentlist li { background:#fff;margin:0 0 10px 0 !important; }
.commentlist .reply { display:none; }
#reply-title, #comments-title {
	border-bottom:1px #aaa dotted;
	padding-bottom:6px;
	}
#commentform label {
	width:200px;
	padding-top:10px;
	}
.comment-notes { margin-bottom:25px; }
#commentform p { clear:both; }
#commentform p span {
	color:#f00;
	}
.comment-form-author,
.comment-form-url,
.comment-form-email {
	padding-bottom:15px !important;
	border-bottom:1px #aaa dotted;
	}
.form-allowed-tags { display:none; }
.comment-form-author input,
.comment-form-email input,
.comment-form-url input,
#comment {
	float:right;
	width:418px;
	background:#f3f3f3;
	border:1px #ccc solid;
	padding:10px;
	margin-bottom:20px;
	margin-top:-10px;
	}
#comment { margin-bottom:20px; }
#submit { 
	float:right;
	font-family:Arial, sans-serif;
	font-size:12px;
	font-weight:bold;
	color:#E7FAE3;
	background:#495946; 
	border:1px solid #1C3018!important;
	border-left-color:#98BA91!important; 
	border-top-color:#98BA91!important;
	padding:10px !important;
	}


#ie6 {display:none;}