/* 
Theme Name: Madico PV
Description: A custom theme developed for the Madico PV CMS
Author: Fresh Tilled Soil
Author URI: http://www.freshtilledsoil.com
*/

/* jQuery Styles */
#content p.intro
{
	font-size:1.2em;
	font-style:italic;
	color:#111;
	font-family:Georgia, Times, serif;
}

/* CSS Reset */
@import 'css/reset.css';

/* Form Styles */
@import 'css/forms.css';

/* Basic Typography */
body
{
	font:13px/1.6em Helvetica, Arial, sans-serif;
	color:#3a3739;
	margin:0;
	padding:0;
	background: #deeaf8;
}
hr { display:block; margin:0.5em 0; clear:both; }
body.page-template-homepage-php {
background: #edf1f6 url(images/footer-bg.gif) repeat-x left bottom;
}

hr, p, ul, ol, dl, pre, address, table, form { margin-bottom: 1.6em; }
blockquote
{
	font:italic 13px/1.6em Georgia, Times, serif;
	padding:1em 0;
	border-top:1px solid #ccc;
	border-bottom:1px solid #ccc;
	color:#888;
	margin:0 0 1em 0;
}
p.month-id { display:none; }
blockquote p
{
	margin:0;
}
p.citation cite
{
	font-style:normal;
	font-weight:bold;
}
/* Lists */
ul { list-style:disc outside; padding:0 0 0 1.6em }
ol { list-style:decimal outside; padding:0 0 0 1.6em }
/* Headings */
h1, h2, h3, h4, h5, h6
{
	line-height:1.3em;
}
/* Font Size */
h1 { font-size: 1.6em; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.4em; }
h4 { font-size: 1.3em; }
h5 { font-size: 1.2em; }
h6 { font-size: 1em; }
/* Vertical Spacing */
h1 { margin: 1em 0 .5em;  }
h2 { margin: 1.07em 0 .535em; }
h3 { margin: 1.14em 0 .57em; }
h4 { margin: 1.23em 0 .615em; }
h5 { margin: 1.33em 0 .67em; }
h6 { margin: 1.6em 0 .8em; }
h1 { font-size: 1.6em; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.4em; }
h4 { font-size: 1.3em; }
h5 { font-size: 1.2em; }
h6 { font-size: 1em; }
dt { margin-top: .8em; margin-bottom: .4em; }
ul { margin-left: 1.5em; }
ol { margin-left: 2.35em; }
ol ol, ul ol { margin-left: 2.5em; }
a:link,
a:visited
{
	color:#00457D;
	text-decoration:none;
}
a:hover,
a:active,
div#nav-footer li a:hover, li#events li a:hover, li#recent li a:hover, #nav-sub ul li a:hover, div#nav-main li a:hover, .post-title a
{
	color:#30adff;
}
em {font-style: italic}
strong {font-weight: bold;}
page #content-main h2, .jenson, .infiniteCarousel p, .home h2, ul#breadcrumbs li {
font-family: Georgia, Times, serif;
}


/* Classes */
.clearfix:after
{
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
.clearleft {
	clear:left;
	margin-top:10px;
}
.clearright {
	clear:right;
}
a img { border:none }
*.alignleft
{
	float:left;
	display:inline;
	margin:0 1em 0.6em 0;
}
*.alignright
{
	float:right;
	display:inline;
	margin:0 0 0.6em 1em;
}
*.more-link
{
	display:block;
	margin:0 0 1.6em 0;
}

/* Forms */
textarea, input { padding: .15em .4em .25em .4em; }
input { margin:0.1em 0.3em 0.3em 0em}
select { padding: .1em 0 0 .2em; }
option { padding: 0 .4em; }
form div { margin-bottom: .8em; }
span.required
{
	font-size:14px;
	font-weight:bold;
	color:red;
}
textarea
{
	width:300px;
	display:block;
}

/* Contact Form Plugin */
div.wpcf7 p
{
	vertical-align:text-top;
}
#wrapper div.wpcf7-mail-sent-ok
{
	background:#398f14;
	color:#fff;
}
#wrapper div.wpcf7-mail-sent-ng {
	border: 2px solid #ff0000;
	background:#ff0000;
	color:#fff;
}
#wrapper div.wpcf7-spam-blocked {
	border: 2px solid #ffa500;
	background:#ffa500;
	color:#fff;
}
#wrapper div.wpcf7-validation-errors {
	border: 2px solid #f7e700;
	background:#f7e700;
	color:#2D2D2D;
}
#wrapper div.wpcf7-response-output
{
	margin:0 0 24px 0;
	font-weight:bold;
}
#wrapper span.wpcf7-not-valid-tip {
	position:static;
	top:0;
	left:0;
	display:block;
	z-index:100;
	background:#ff0000;
	font-size:10pt;
	color:#fff;
	font-weight:bold;
	padding:6px 6px 2px 6px;
}
span.wpcf7-not-valid-tip-no-ajax {
	color: #f00;
	font-size: 10pt;
	display: block;
}

/* Layout */
#wrapper,
.inner
{
	width:940px;
	margin:0 auto;
	position: relative;
}
#content
{
	margin-top:-14px;
	padding-top: 168px;
}
.home #content {
}
#content-main
{
	float:left;
	width:600px;
	display:inline;
}
#content-main ul {
margin-left: 0;
}
#content-main ul li {
list-style-image: url(images/bullet.gif);
}

/* Homepage */
.home #content {
width: 100%;
background: #c1d7f1 url(images/home-content-bg.png) repeat-x left 12px;
min-height: 500px;
margin-bottom: 0;
padding: 0;
}
.home #content .inner {
width: 986px;
}
.home #sidebar {
float: none;
width: 100%;
}
.home div.page {
margin: 0 22px 0 24px;
}
.home div.page h2 {
padding-top: 364px;
margin: 0 0 30px 0;
color: #00457d;
font-size: 28px;
font-weight: bold;
}
.home div.page h2 em {
color: #4b721d;
}
.home .entry {
margin-bottom: 40px;
}
.home .entry p {
font-size: 15px;
/*width: 446px;
float: left;
padding-left: 24px;*/
}

/* Typography */
h2.title
{
	margin-top:0;
	padding:22px 0 0 0;
	border-top:3px solid #eee;
	font-size:24px;
	font-weight:normal;
}
h2.title a
{
	text-decoration:none;
}
/* Typography: Breadcrumbs for category.php */
h1.breadcrumb 
{
	margin:0 0 1em 0;
}
h1.breadcrumb em
{
	font-style:normal;
	font-size:0.8em;
	line-height:1.5em;
	white-space:pre;
	opacity: 0.6;
	-moz-opacity: 0.6;
	filter: alpha(opacity=60);
}

/* Header */
#header
{
	position:relative;
	width:100%;
	background: url(images/header-bg.png) repeat-x left top;
}
#header .inner {
	background: url(images/header-bg-main.png) no-repeat left top;
	height:106px;
	padding-top: 35px
}
#header h1 {
margin: 0;
}
#header h1 a
{
	display: block;
	width: 187px;
	height: 61px;
	text-indent: -9999px;
	background: url(images/logo.gif) no-repeat left top;
	margin: 0;
}
#header p
{
	font-size: 21px;
	position: absolute;
	right: 0;
	top: 35px;
	margin: 0;
	color: #6178ac;
}
#header-extender {
background: #677eb0 url(images/header-bg-left.png) repeat-x left top;
height: 141px;
width: 50%;
position: absolute;
left: 0;
top: 0;
}
div#nav-main {
position: absolute;
right: 10px;
top: 100px;
margin: 0;
font-family:"Trebuchet MS";
background: transparent url(images/corners/main-nav-left.gif) no-repeat left top;
padding-left: 3px;
}
div#nav-main ul {
margin: 0;
padding: 4px 10px 26px 7px;
background: #fff url(images/corners/main-nav-right.gif) no-repeat right top;
}
div#nav-main li {
float: left;
padding: 0 10px;
list-style-type: none;
font-size: 13px;
}
div#nav-main li a {
color: #00457d;
}
div#nav-main li.current_page_parent a, div#nav-main li.current_page_item a {
color: #252525;
}
/* Signup */
#signup
{
	position:absolute;
	right:0;
	top:26px;
	z-index:2;
	list-style:none;
}
#signup li a
{
	display:block;
	width:45px;
	height:41px;
	opacity:0.66;
}
#signup li a:hover
{
	opacity:0.99;
}
#signup #email
{
	float:left;
}
#signup #email a
{
	background:url(images/icons/email.png) left center no-repeat;
}
#signup #rss
{
	float:right;
}
#signup #rss a
{
	background:url(images/icons/rss.png) left center no-repeat;
	text-indent:-2000em;
}

/* Sidebar */
#sidebar
{
	list-style:none;
	float:right;
	width:300px;
	padding:0;
	margin:0;
	list-style-type:none;
}
#sidebar li{
	background:#eff3f7 url(images/corners/side-li-bottom.gif) no-repeat left bottom;
	margin:0 0 30px 0;
	padding: 0 0 5px 0;
	list-style-type:none;
}
#sidebar li#search {
background: none;
white-space: nowrap;
}
#sidebar ul li
{
	list-style-type:disc;
	background:none;
	margin:0;
}
#sidebar ul {
	padding:8px 20px 0 30px;
}
#sidebar.custom ul, .page-template-events-php #sidebar ul{
	padding:0 20px;
}
#sidebar.custom li.primary_box li
{
	list-style-type:none;
	background:none;
	border-bottom: 1px solid #c1cacc;
	padding:12px 0;
	font-size: 14px;
}
#sidebar ul li ul,
#sidebar ul
{
	margin:0;
}
#sidebar li form
{
	margin:0;
}
#sidebar #s
{
	width:200px;
}
#sidebar h2 {
	margin:0;
	background: #00457d url(images/corners/side-h2-top.gif) no-repeat left top;
	color: #fff;
	padding: 10px 20px;
	text-transform: uppercase;
	font-size: 10px;
	line-height: 1em;
	height: 10px;
}
#sidebar ul h2 {
background: transparent;
color: #3A3739;
padding: 0;
text-transform: none;
font-size: 13px;
line-height: 1.6em;
}
/* Pages */
#nav-sub {
width: 940px;
height: 118px;
position: absolute;
top: 0;
left: 0;
background: url(images/header-images/solar-panels.jpg) no-repeat left top;
}
.pageid-10 #nav-sub, .parent-pageid-10 #nav-sub { /*technology*/
background: url(images/header-images/solar-panels.jpg) no-repeat left top;
}
.pageid-12 #nav-sub, .parent-pageid-12 #nav-sub { /*products*/
background: url(images/header-images/products.jpg) no-repeat left top;
}
.pageid-14 #nav-sub, .parent-pageid-14 #nav-sub { /*certifications*/
background: url(images/header-images/certifications.jpg) no-repeat left top;
}
.pageid-16 #nav-sub, .parent-pageid-16 #nav-sub { /*manufacturing*/
background: url(images/header-images/manufacturing.jpg) no-repeat left top;
}
.pageid-70 #nav-sub { /*usa distribution*/
background: url(images/header-images/distribution-us.jpg) no-repeat left top;
}
.pageid-71 #nav-sub { /*eu distribution*/
background: url(images/header-images/distribution-eu.jpg) no-repeat left top;
}
.pageid-72 #nav-sub { /*asia distribution*/
background: url(images/header-images/distribution-asia.jpg) no-repeat left top;
}
.pageid-98 #nav-sub, .parent-pageid-98 #nav-sub { /*who's who*/
background: url(images/header-images/whoswho.jpg) no-repeat left top;
}
#nav-sub ul {
width: 920px;
position: absolute;
bottom: 0;
left: 0;
background: url(images/corners/subnav-ul.png) no-repeat left bottom;
padding: 10px 10px 0 10px;
margin: 0;
}
#nav-sub ul li {
float: left;
list-style-type: none;
padding: 0 15px;
list-style-image: none;
}
#nav-sub ul li a{
color: #fff;
display: block;
padding-bottom: 10px;
line-height: 1em;
}
#nav-sub ul li.current_page_item a {
background: url(images/subnav-on.gif) no-repeat center bottom;
color: #fff;
}
.page #content-main h2, ul#breadcrumbs, .one-col h2, h2.post-title {
font-size: 24px;
}
#content-main h2, .one-col h2, h2.post-title {
margin-top: 0;
}
.page #content-main h3,
.entry h3 {
color: #00457d;
font-size: 16px;
}
ul#breadcrumbs {
margin: 0 0 .5em 0;
width: 100%;
height: 24px;
padding: 0;
}
ul#breadcrumbs li {
float: left;
list-style-image: none;
list-style-type: none;
padding-right: 15px;
background: url(images/breadcrumb-arrow.gif) no-repeat right center;
margin-right: 10px;
}
ul#breadcrumbs li a {
color: #4b721d;
}
ul#breadcrumbs li.current {
background: none;
color: #252525;
}

/* Posts */
.post
{
	padding:1px;
}
.post-title
{
	font-weight:normal;
	margin:0 0 .535em;
	font-size: 1.6em;
}
.post-title a {
color: #00457D;
}
.post .entry
{
	padding:1px;
	margin:0 0 1.6em 0;
}
.postinfo
{
	font-size:10px;
	text-transform:uppercase;
	margin:0 0 1em 0;
	padding: 4px 0 0 0;
	text-align:right;
	color:#999;
	list-style:none;
	background: transparent url(images/events-list-bottom.gif) no-repeat left top;
}
#content-main ul.postinfo li
{
	float:left;
	padding:4px 15px 0 20px;
	margin:0;
	font-size:10px;
	list-style-type: none;
	list-style-image: none;
}
.postinfo li.authordata
{
	background:url(images/icons/user_silhouette.png) left center no-repeat;
}
.postinfo li.postdata
{
	background:url(images/icons/tags.png) left center no-repeat;
}
.postinfo li.commentdata
{
	background:url(images/icons/balloon_small.png) left center no-repeat;
}
.postinfo li.last
{
	padding-right:0;
}
#post-navigation
{
	width:100%;
	padding:12px 0;
	clear:both;
}
#post-navigation ul
{
	margin:0;
	padding:0;
	width:620px;
	list-style:none;
}
#post-navigation ul li
{
	width:50%;
	margin:0;
	padding:3px 0 0 0;
}
#post-navigation ul li.newer
{
	text-align:right;
	float:right;
}
#post-navigation ul li.older
{
	text-align:left;
	float:left;
}
#post-navigation ul li a
{
	text-decoration:none;
	font-size:16px;
	font-weight:bold;
}
*.email-link {
	font-size:15px;
	font-weight:bold;
}

/* Events */
div.dbem-calendar {
clear: both;
font-size: 13px;
}
table.dbem-calendar-table {
width: 100%;
border-collapse: collapse;
margin:0 0 5px 0;
}
table.dbem-calendar-table thead {
	margin-bottom:5px;
}
table.dbem-calendar-table tr.days-names td {
	padding-top:10px;
}
table.dbem-calendar-table thead td {
background-color: #dbe0e6;
}
.page-template-events-php table.dbem-calendar-table td.eventful a {
color: #00457D;
}
td.eventless {
color: #534e51;
}
.page-template-events-php #sidebar ul li {
list-style-type: none;
padding: 0;
}
.page-template-events-php #sidebar ul li#events-rss, .page-template-events-php #sidebar ul li#events-submit{
padding: 14px 0 18px 0;
border-bottom: none;
float: left;
line-height: 16px;
font-size: 12px;
}
.page-template-events-php #sidebar ul li#events-submit {
margin-right: 30px;
}
li#events-submit a {
background: transparent url(images/add.png) no-repeat left center;
padding: 0 0 0 20px;
}
li#events-rss a {
background: transparent url(images/rss.png) no-repeat left center;
padding: 0 0 0 20px;
}
a.prev-month, a.next-month {
display: block;
text-indent: -9999px;
width: 100%;
height: 10px;
}
a.prev-month {
background: transparent url(images/arrow_l.gif) no-repeat center center;
}
a.next-month {
background: transparent url(images/arrow_r.gif) no-repeat center center;
}
tr.days-names td{
font-weight: bold;
}
tbody{
padding-top: 5px;
}
#content-main ul.dbem_events_list {
padding: 0;
}
#content-main ul.dbem_events_list li {
list-style-image: none;
list-style-type: none;
padding: 15px 0;
background: transparent url(images/events-list-bottom.gif) no-repeat left bottom;
}
.page #content-main ul.dbem_events_list li h3 {
margin: 0;
font-size: 14px;
}
p.events-location {
margin: 0;
text-transform: uppercase;
font-size: 10px;
line-height: 1.5em;
}

/* Comments */
ol.commentlist
{
	list-style:none;
	margin:20px 0 0 0;
	padding:0;
}
ol.commentlist img
{
	float:right;
	display:block;
	border:1px solid #fff;
}
ol.commentlist .author-data
{
	display:block;
	padding:9px;
	background:#eee;
}
ol.commentlist h3
{
	margin:0;
	padding:4px 0 0 0;
}
ol.commentlist h3 a
{
	text-decoration:none;
}
ol.commentlist .comment-meta
{
	margin:0;
	line-height:17px;
	font-size:10px;
	text-transform:uppercase;
	color:#666;
}
ol.commentlist div.comment-entry
{
	clear:both;
	padding:1.2em 1px 1px 1px;
}
ol.commentlist .comment-num
{
	float:right;
	display:inline;
	font-size:36px;
	color:#fff;
	margin:-23px 0 0 0;
}

/* ByPostAuthor (admin) Comment */
#content ol.commentlist li.bypostauthor .author-data
{
	background:#1ebe89;
}
#content ol.commentlist li.bypostauthor h3 a,
#content ol.commentlist li.bypostauthor h3
{
	color:#fff;
}
#content ol.commentlist li.bypostauthor .comment-meta
{
	color:#acefdf;
}
#content ol.commentlist li.bypostauthor .comment-meta a
{
	color:#d8fff6;
	font-weight:bold;
}
#content ol.commentlist li.bypostauthor img
{
	border:1px solid #acefdf;
}

/* Comment Navigation */
ul.navigation
{
	list-style:none;
	margin:0;
}
ul.navigation li
{
	margin:0;
}

/* Comment Form */
form#commentform p
{
	clear:both;
	margin:0 0 12px 0;
}
form#commentform label
{
	width:250px;
	float:left;
}
form#commentform input
{
	float:left;
	margin:0 0 12px 0;
}
form#commentform textarea
{
	padding:4px;
	width:540px;
}
p.comment-rules
{
	background: #fff6bf;
	text-align: left;
	padding: 5px 20px 5px 45px;
	border-top: 2px solid #ffd324;
	border-bottom: 2px solid #ffd324;
}
p.comment-disclaimer
{
	font-size:10px;
	color:#999;
}

/* Footer */
#footer
{
	clear:both;
	width:100%;
	padding:1.6em 0;
	background:#deeaf8;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #ccd7e2;
}
#footer img {
	width:144px;
	height:70px;
}
#footer ul li ul,
#footer ul
{
	margin-bottom:0;
	padding:0;
	list-style:none;
}
#footer .col
{
	float:left;
	width:300px;
	margin:16px 20px 16px 0;
	height: 350px;
	position: relative;
}
#footer .col.last
{
	margin-right:0;
	width:300px;
}
div#footer h2{
color: #61833e;
font-size: 28px;
margin-top: 0;
}
div#footer ul ul {
margin: 0;
}
div#footer p.more a {
position: absolute;
bottom: 0;
left: 0;
display: block;
background: #00457d url(images/corners/p-more-a.gif) no-repeat left top;
color: #fff;
text-align: right;
padding: 10px 20px;
width: 260px;
text-transform: uppercase;
font-size: 10px;
line-height: 1em;
height: 10px;
}
div#footer p.more a:hover {
background: #0072BC url(images/corners/p-more-a.gif) no-repeat left top;
}
li#recent li {
border-bottom: 1px solid #c3cbd2;
padding-bottom: 16px;
margin-bottom: 16px;
font-size: 16px;
line-height:24px;
}
li#recent li span.date {
font-size: 13px;
font-weight: bold;
text-transform: uppercase;
color: #7a7d80;
display:block;
margin:6px 0 0 0;
line-height: 1em;
display: block;
}
li#recent li a{
color: #000;
display:block;
}
li#events ul {
background: #cad8e5 url(images/corners/events-ul-top.gif) no-repeat left top;
padding-top: 3px;
}
li#events li {
border-bottom: 1px solid #c3cbd2;
padding: 16px;
font-size: 14px;
font-weight: bold;
}
li#events li a{
font-weight: normal;
color: #7a7d80;
}
li#events li.last-item, li#recent li.last, #sidebar.custom li.primary_box li.last, li.last {
border-bottom: none;
}
li#events li.last-item {
background: #cad8e5 url(images/corners/events-ul-bottom.gif) no-repeat left bottom;
}
div#nav-footer {
height: 146px;
padding:1px 0;
}
div#nav-footer ul {
margin:18px auto 0 auto;
text-align: center;
font-size: 10px;
height:70px;
}
div#nav-footer li {
display: inline;
list-style-type: none;
padding: 0 10px;
line-height:70px;
height:70px;
}
div#nav-footer li img {
margin:0 0 -30px 0;
}
div#nav-footer li, div#nav-footer li a {
color: #a9b4b7;
}

#copyright
{
font-weight: bold;
}
/* Certifications table styles */
#page-content table {
border: 3px solid #9abae5;
border-collapse: collapse;
}
#page-content table td{
list-style: none;
border: 1px solid #9abae5;
padding: 5px 20px;
line-height: 20px;
width: 20%;
font-size: 12px;
}
#page-content tr.even td {
background-color: #c1d7f1
}
#page-content table thead tr.even td {
padding: 10px 20px;
background: #b1cbec;
border: 1px solid #b1cbec;
border-width: 0 1px 1px 1px;
color: #00457d;
font-size: 16px;
line-height: 25px;
}
.page-template-certifications-php h2 {
color: #4b721d;
}
/*
.page-template-certifications-php table a.external {
padding: 3px 0 3px 25px;
background: url(images/icons/look.png) no-repeat left center;
}
*/
.page-template-certifications-php table a.pdf {
padding: 3px 0 3px 22px;
background: url(images/icons/pdf.gif) no-repeat left center;
font-weight: bold;
color: #ed1c24;
display:block;
}
/* Who's Who */
.page-template-staff-php .entry h3 span {
font-size: 10px;
font-weight: normal;
text-transform: uppercase;
color: #3a3739;
padding-left: 10px;
}
body.parent-pageid-98 address {
	margin:0;
	font-style:normal;
}
div.bio-image {
float: left;
margin: 0 20px 20px 0;
}
div.bio-image img {
max-width:100px;
width:expression(this.width > 100 ? 100: true);
}
#content-main ul.bio-data {
margin: 0 0 12px 0;
}
#content-main ul.bio-data li {
list-style-image: none;
list-style-type: none;
}
.entry-content {
margin-top: 10px;
}