/*
Theme Name: Endless Mountains Solar
Theme URI: http://www.endlessmtnsolar.com
Description: A custom WordPress-as-a-CMS theme for the official site of Endless Mountains Solar.
Version: 1.0
Author: Derek Traver
Author URI: http://www.javaleaf.com
*/

/* global css */
html,body {height:100%;}
body{background: #729300 url(images/body_bg.jpg) top repeat-x;}
body,ul,ol,li,p,h1,h2,h3,h4,h5,h6,form,fieldset,table,td,th,img,div,blockquote,dl,dt,dd,blockquote, pre,object,textarea,input{margin:0;padding:0}
body,select,input,textarea{font:12px/1.5 Arial, Helvetica, sans-serif; color: #666666;}	
input,select,img{vertical-align:middle}
h1,h2,h3,h4,h5,h6{font-size: 12px; font-weight: normal;}
fieldset,img,abbr {border: 0;} 
img,object,embed{vertical-align: top;}
ul,ol{list-style-type:none;}
table{border-collapse:collapse;;width:100%; border-spacing:0;}
caption,th{text-align:left;}
table th{line-height:25px;height:25px;}

/* Headings
-------------------------------------------------------------- */

h1,h2,h3,h4,h5,h6 { font-weight: bold; color: #FF9002; }

h1 { font-size: 22px; line-height: 33px;  margin-bottom: 12px; }
h2 { font-size: 17px; line-height: 24px; margin-bottom: 10px; }
h3 { color: #81A114; font-size: 14px; line-height: 20px; margin-bottom: 8px; }
h4 { color: #444; font-size: 12px; line-height: 20px; margin-bottom: 6px; }
h5 { color: #444; font-size: 12px; line-height: 20px; margin-bottom: 6px; }
h6 { color: #444; font-size: 12px; line-height: 20px; margin-bottom: 6px; }

/* Text elements
-------------------------------------------------------------- */
p.homeheader { font-weight: bold; color: #81a114; font-size: 13px; line-height: 20px; margin-bottom: 10px; }

p           { margin: 0 0 15px; }

a:focus, 
a:hover     { color: #666666;text-decoration:none; }
a           { color: #9AB62B;text-decoration:underline; }

blockquote  { 
			  background: #e1e1e1;
			  border: 1px solid #ccc;
			  clear: both;
			  margin: 15px 0; 
			  padding: 15px; 
			  font-style: italic;
}
blockquote> *:last-child{
			  margin-bottom: 0;
}
strong      { font-weight: bold; }
em,dfn      { font-style: italic; }
dfn         { font-weight: bold; }
sup, sub    { line-height: 0; }

.hl			{ color: #81A114; }

/* Lists
-------------------------------------------------------------- */

li ul, 
li ol       { margin:0 15px; }
ul, ol      { margin: 0 15px 15px 30px; }

ul          { list-style-type: disc; }
ol          { list-style-type: decimal; }

dl          { margin: 0 0 15px 0; }
dl dt       { font-weight: bold; }
dd          { margin-left: 15px;}

/* Tables
-------------------------------------------------------------- */

table{
	border-top: 1px solid #e3dcbf;
	margin-bottom: 15px;
	width: 100%;
}
table td{
	background: #ffebce;
	border-bottom: 1px solid #fff;
	padding: 5px;
	text-align: center;
}
table thead td{
	background: #ffa531;
	border-top: 3px solid #f48900;
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	text-align: left;
}
table tfoot td{
	background: #eee6dc;
}

#mainnav a{text-indent: -2000px; overflow: hidden;}

#main:after,.content:after,.product_list:after,#footer:after{content:''; display: block; clear:both}

/* outer wrapper */
#outerWrapper{
	background: url(images/outerWrapper_bg.jpg) center top no-repeat;
	min-height: 800px;
	height: auto;
	width: 100%;
}
* html #outerWrapper {
height: 800px;
}

/* header css */
#header{
	width: 860px;
	margin: 0 auto;
	position: relative;
	border-bottom: 8px solid #FF930A;
}
#logo{
	padding: 12px 0 10px 30px;
}

#mainnav{
	position:absolute;
	bottom:0;
	right: 5px;
}
#mainnav ul{
	list-style: none;
}
#mainnav li,#mainnav a{
	float: left;
}
#mainnav a{
	height: 27px;
	background: url(images/mainnav.gif) no-repeat;
}
#mainnav a#nav_home{
	width: 57px;
}
#mainnav a#nav_home:hover,#mainnav li.on a#nav_home{
	background-position: 0 -27x;
}
#mainnav a#nav_about{
	width: 77px;
	background-position: 0 -54px;
}
#mainnav a#nav_about:hover,#mainnav li.on a#nav_about{
	background-position: 0 -81px;
}
#mainnav a#nav_products{
	width: 84px;
	background-position: 0 -108px;
}
#mainnav a#nav_products:hover,#mainnav li.on a#nav_products{
	background-position: 0 -135px;
}
#mainnav a#nav_green{
	width: 145px;
	background-position: 0 -162px;
}
#mainnav a#nav_green:hover,#mainnav li.on a#nav_green{
	background-position: 0 -189px;
}
#mainnav a#nav_financing{
	width: 85px;
	background-position: 0 -216px;
}
#mainnav a#nav_financing:hover,#mainnav li.on a#nav_financing{
	background-position: 0 -243px;
}
#mainnav a#nav_contact{
	width: 94px;
	background-position: 0 -270px;
}
#mainnav a#nav_contact:hover,#mainnav li.on a#nav_contact{
	background-position: 0 -297px;
}

/* center of page */
#wrapper{
	width:840px;
	padding: 0 10px;
	margin: 0 auto;
	background: url(images/wrapper.png);
	/* ie6 png*/
	_background:none;
	_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="images/wrapper.png", sizingMethod="scale");
}
#main{
	border: 1px solid #fff;
	border-bottom: 0;
	width: 798px;
	position: relative;
	padding: 15px 20px 30px;
	background: url(images/main.gif) #fff repeat-x;
}

#intro{
	float: left;
	width: 334px;
	height: 200px;
	padding: 23px 29px 0;
	background: url(images/intro.gif) no-repeat;
}
#intro h1{
	color: #FF9002;
	font-size: 17px;
	margin-bottom: 5px;
	font-weight: bold;
}
#intro h2{
	color: #81A114;
	font-size: 13px;
	margin-bottom: 10px;
	font-weight: bold;
}
#intro .btn{
	padding-top: 5px;
}
#intro .btn img{
	margin-right: 10px;
}

#banner{
	float: right;
	width: 400px;
	height: 259px;
	padding: 5px 0 0 18px;
	margin-right:-17px;
	display: inline;
	background: url(images/banner_bg.gif) no-repeat;
}
#banner img{
	width: 380px;
	height: 226px;
}

.content{
	width:100%;
	clear: both;
	padding: 35px 0 0;
	background: url(images/content.gif) center top no-repeat;
}
.content_subpage{
	width: 100%;
	clear: both;
	height: auto !important;
	min-height: 350px;
}
* html .content_subpage{
	height: 350px;
}
.mainbar{
	float: left;
	width: 530px;
}
.product_list{
	width: 100%;
}
.product_list ul{
	float: left;
	list-style: none;
	margin: -40px -30px 0 0;
}
.product_list ul li{
	float: left;
	width: 258px;
	margin: 40px 16px 0 0;
}
.product_list li h2,.box h2{
	color: #FF9002;
	font-size: 15px;
	font-weight: bold;
}
.product_list li p.more,.box p.more{
	margin-bottom: 0;
	padding-left: 16px;
	background: url(images/arr_r.gif) 0 5px no-repeat;
}

.products_list ul{
	margin: 15px 0 0 0;
	border-top: 1px solid #f4dec1;
	padding-top: 15px;
	list-style: none;
}

.products_list li{
	display: block;
	overflow: hidden;
	margin-bottom: 15px;
	border-bottom: 1px solid #f4dec1;
	padding-bottom: 15px;
}

.products_list li img{
	float: left;
	margin-right: 10px;
}

.products_list li p.more{
	margin-bottom: 0;
	padding-left: 16px;
	margin-left: 160px;
	background: url(images/arr_r.gif) 0 5px no-repeat;
}

.sidebar{
	float: right;
	width: 224px;
	padding: 15px 15px 0;
	background: url(images/sidebar_bg.gif) no-repeat;
}
.box{
	width: 100%;
	margin-bottom: 20px;
}
.box h2{
	margin-bottom:5px;
}
#request p{
	margin-bottom: 6px;
}
#request label{
	font-size: 11px;
	font-weight: bold;
}
#request input.txtfield, #request select, #request textarea{
	border: 1px solid #E7CDAB;
	background: #fff;
	display: block;
	width: 210px;
	padding: 3px 5px 2px;
	line-height: normal;
}
#request select{
	padding-right: 3px;
	width: 222px;
}
#request textarea{
	height: 35px;
}
#request input.error, #request select.error, #request textarea.error{
	color: #FF0000;
}
#request .btn{
	text-align: right;
}
#request .btn input{
	width: 58px;
	height: 22px;
	border: 0;
	padding-bottom: 3px;
	color: #fff;
	cursor: pointer;
	background: url(images/btn_sub.gif) no-repeat;
}

#request .ajax-loader{
	display: none;
}

/* footer */
#footer{
	width: 800px;
	padding:13px 30px;
	margin: 0 auto;
	color: #fff;
	border-top: 8px solid #FF930A;
}
#footer p{
	margin-bottom: 0;
}
#footer ul{
	float: left;
	height: 12px;
	line-height: 12px;
	margin-left: -14px;
	display:inline;
	list-style: none;
	overflow: hidden;
}
#footer li{
	float: left;
	margin: -1px 15px 0 -1px;
	padding-left: 14px;
	border-left: 1px solid #fff;
}
#footer li a{
	color: #fff;
	font-size: 10px;
	text-decoration: none;
}

#copyright{
	float: right;
	text-align: right;
}
#author{
	color: #A5C23C;
}
#footer a:hover,#footer li.on a{
	color:#FF9002;
}

/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.aligncenter {
	border: 1px solid #009933;
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	border: 1px solid #009933;
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	border: 1px solid #009933;
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left;
	}
/* End Images */


/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px 0;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
/* End captions */

/* green energy form */

.green_energy{
	display: block;
	width: 65%;
	margin: 30px auto 15px auto;
}

.green_energy .mmf-list-item{
	display: block;
}

.green_energy label{
	color: #444;
	font-weight: bold;
}

.green_energy select{
	width: 100%;
	padding: 2px;
	border: 1px solid #ccc;
}

.green_energy input.txtfield{
	width: 99%;
	border: 1px solid #ccc;
	padding: 2px;
}

.green_energy textarea{
	width: 99%;
	height: 60px;
	padding: 2px;
	border: 1px solid #ccc;
}
