/*
Theme Name: ELPC.org
Theme URI:
Description: Theme for the Environmental Law & Policy Center. 
Version: 1.0
Author: Tom Sherman 
Author URI: http://tomsherman.com 
*/

/* COLOR PALETTE

light green: #DEF2E9
strong green: #026634;
strong blue: #006;

*/

/* **** YUI RESET CSS ***** */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { 	margin:0; 	padding:0; } table { 	border-collapse:collapse; 	border-spacing:0; } fieldset,img { 	border:0; } address,caption,cite,code,dfn,em,strong,th,var { 	font-style:normal; 	font-weight:normal; } ol,ul { 	list-style:none; } caption,th { 	text-align:left; } h1,h2,h3,h4,h5,h6 { 	font-size:100%; 	font-weight:normal; } q:before,q:after { 	content:''; } abbr,acronym { border:0; }

/* ***** MAIN CONTENT AREAS ***** */
body {
	color: #151515;
	font: normal 81% arial, helvetica, sans-serif;
	padding-top: 5px;
	}

#wrap {
	margin: 0 auto;
	
	/* WAS: 981 */
	width: 1020px;
	}
	
#header {
	background-image: url(images/line-bg.gif);
	background-repeat: repeat-x;
	background-position: top left;
	height: 125px;
	margin-top: 5px;
	padding-top: 16px;
	}
	
#logo {
	float: left;
	text-align: center;
	width: 670px;
	}
	
/* search input box */	
#s {
	margin-top: 2px;
	vertical-align: top;
	}
	
#search-image {
	vertical-align: top;
	}
	
#top-line {
	background-image: url(images/line-bg.gif);
	background-repeat: repeat-x;
	background-position: top left;
	clear: both;
	height: 6px;
	overflow: hidden;
	}
	
#content-wrap {
	}

#content-wrap-inner1 {
	/* disabled on homepage below .. */
	/* NOT USED NOW
	background-image: url(images/faux-column-196px.gif); 
	background-repeat: repeat-y;
	background-position: top left;
	float: left; */ /* required or faux column does not work in FF */
	}
	
#homepage #content-wrap-inner1 {
	background-image: none;
}
	
#content-wrap-inner2 {
	background-image: url(images/faux-right-column.gif);
	background-repeat: repeat-y;
	background-position: 737px 0;
	float: left; /* required or faux column does not work in FF */
	}
	
#homepage #content-wrap-inner2 {
	background-position: 737px 0;	/* slight adjustment for homepage */
	}
	
#content {
	background-image: url(images/line-bg.gif);
	background-repeat: repeat-x;
	background-position: left top;
	float: left;
	padding: 0px 15px 20px 15px;
	width: 474px;
	
	}
	
/* ***** SECONDARY NAVIGATION ***** */	
	
#secondary-navigation {
	float: right;
	width: 279px;
	z-index: 10;
	margin: 0;
	padding-top:6px;
	background-image: url(images/line-bg.gif);
	background-repeat: repeat-x;
	background-position: top left;
	
	}

#secondary-navigation-inner {
	border-left:3px solid #003399;
	border-left:none;
	padding:5px 0 0 10px;
}

body#homepage #secondary-navigation-inner {
	border-left:none;
}

#secondary-navigation-pages {
	border-top: solid 1px #B7C0DD;
	list-style-type: none;
	margin: 12px 0;
	padding: 0;
	}
	
#secondary-navigation-pages li {
	border-bottom: solid 1px #B7C0DD;
	font-size: 16px;
	font-weight: bold;
	margin: 0;
	padding: 0;
	}
	
#secondary-navigation-pages li a {
	color: #006A3A;
	display: block;
	padding: 2px 5px 2px 0;
	text-decoration: none;
	}		

#secondary-navigation-pages li a:hover {
	color: #333;
	}
	
#tag-cloud {
	margin-top: 20px;
	margin-bottom: 5px;
	padding-bottom: 15px;
	}
	
#sidebar-subscribe {
	border-top: solid 1px #026634;	
	margin-top: 10px;
	padding-top: 5px;
	}
	
#sidebar-subscribe a, #sidebar-subscribe a:hover {		
	color: #333;
	text-decoration: none;
	}		
	
#sidebar-video {
	margin-top: 10px;
	}
	
#tag-cloud a {
	color: #666;
	text-decoration: none;
	}
	
#tag-cloud a:hover {
	text-decoration: underline;
	}
	


/* ***** FOOTER ***** */	
	
#footer {
	background-image: url(images/line-bg.gif);
	background-repeat: repeat-x;
	background-position: left 3px;
	background-color: #fff;
	clear: both;
	font-size: 0.9em;
	padding: 15px 0 5px 0;
	text-align: center;
	}
	
	
/* ***** HOMEPAGE ***** */

/* Show the "homepage-only" content when the user is on the homepage, else hidden */
/* This is used for the primary navigation menu, as the homepage has more verbose labels */
body#homepage span.homepage-only {
	display: inline;
	}

.homepage-only {
	display: none;
	}

body#homepage #primary-navigation {
	width: 710px;
	}
	
body#homepage #content {
	border-right:none;
	clear: left;
	float: left;
	padding: 8px 0px 0 0px;
	width: 740px;
	}

table#blurbs {
	height:100%;
	width:739px;
	w/idth:740px;
	}
	
td.blurb {
	padding: 8px 22px;
	width: 50%;
	vertical-align: top;
	}
	
#blurb1,  #blurb3  {
	border-right: solid 3px #039;
	}
	
.blurb strong
, .blurb a strong
, .blurb a:visited strong
, .blurb strong a
, .blurb strong a:visited {
	color: #026634;
	text-decoration: none !important;
	}
	
.blurb-horizontal-separator {
	border-bottom: solid 1px #039;
	height: 0px;
	margin-bottom: 10px;
	}
	
.blurb-image {
	position: relative;
	left: -10px;
	}
	
#latest-news {
	border-top: dotted 1px #ccc;
	list-style-image: url(images/bullet.gif);
	list-style-position: outside;
	margin-left: 2px;
	margin-top: 5px;
	padding-left: 0;
	}
	
#latest-news li {
	border-bottom: dotted 1px #666;
	padding: 3px 5px;
	}
	
#latest-news a, #latest-news a:visited {
	color: #151515;
	text-decoration: none;
	}

#latest-news a:hover {
		text-decoration: underline;
		}
	
	

/* ***** CATEGORY ARCHIVES ***** */
	
#subcat-table {
	background-image: url(images/horizontal-rule.gif);
	background-repeat: repeat-x;
	background-position: top left;
	margin-top: 25px;
	width: 100%;
	}
	
.subcat-listing {
	width: 50%;
	padding-top: 10px;
	vertical-align: top;
	}

.subcat-listing ul {
	border-top: dotted 1px #ccc;
	list-style-image: url(images/blue-ball.gif);
	list-style-position: outside;
	margin-left: 15px;
	margin-top: 5px;
	padding-left: 0;
	}
	
.subcat-listing ul li {
	border-bottom: dotted 1px #ccc;
	padding: 3px;
	}
	
.subcat-listing ul a, .subcat-listing ul a:visited {
	color: #151515;
	text-decoration: none;
	}

.subcat-listing ul a:hover {
	text-decoration: underline;
	}	
	
#news-listing {
	padding-right: 20px;
	}
	
#take-action-listing {
	padding-left: 20px;
	}
	
	
/* ***** HEADINGS ***** */
h1, h1 a, h1 a:visited, h1 a:hover, h1 a:active {
	color: #006;
	font-size: 18px;
	}
	
h2, h2 a, h2 a:visited, h2 a:hover, h2 a:active {
	color: #026634;
	font-size: 14px;
	}
	
h3 {
	font-size: 13px;
	}
	
h1, h2, h3 {
	font-weight: bold;
	margin: 0.7em 0;
	}
	
.post-content h2, .post-content h3 {
	margin: 1.4em 0 1.0em 0;
	}
	
h1 a, h2 a {
	text-decoration: none;
	}
	
/* ***** LINKS ***** */

a {
	color: #006634;
	}
		
a:vistited {
	color: #008B47;
}

a:hover {
	text-decoration: underline;
	}
	
/* ***** PARAGRAPHS AND LISTS ***** */

p {
	margin: 0.7em 0;
	}
	
.post-content ul, .post-content ol {
	list-style: disc outside none;
	margin-left: 20px;
	}

/* ***** BASICS ***** */
b, strong {
		font-weight: bold;
		}
		
em, i {
	font-style: italic;
	}


/* ***** IMAGES***** */	

.post-content img {
	background: #DDDDDD none repeat scroll 0%;
	}

#content img.alignright {
	clear: right;
	float: right;
	margin: 0 0 5px 10px;
	}

#content img.alignleft {
	clear: left;
	float: left;
	margin: 0 10px 5px 0;
	}

#content img.aligncenter {
	clear: both;
	margin: 0 auto;
	}

	
/* ***** MISCELLANEOUS ***** */	
	
.clear {
	clear: both;
	}

.date {
	font-size: 11px;
	}

img {
	border: none;
	}

.jobs-section-separator {
	margin: 25px 0;
	}
	

/* ***** PRIMARY NAVIGATION **** */	
	
/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/example_flyout.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the assocaited (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

	/* NOTE: Opacity of interior pages (i.e. not the homepage) is changed via javascript in the <head> of the page */


	/* ***** PRIMARY NAVIGATION PROPERTIES SHARED ACROSS HOMEPAGE AND INTERIOR PAGES ***** */

	#primary-navigation {
		background-image: url(images/InteriorImage_GlobalWarming.jpg); /* Default background image */
		background-repeat: no-repeat;
		background-position: top left;
		padding: 65px 15px 15px 15px;
		float: left;
		position:relative;
		width: 206px;
		z-index:100;	
		}
		
	/* INTERIOR PAGE IMAGES */		
	.background-image-category-id-0, /* Global Warming */		
	.background-image-category-id-6 /* Global Warming */		
	{
		background-image: url(images/InteriorImage_GlobalWarming.jpg) !important;
		height: 1200px !important; /* longer image */
	}
		
	.background-image-category-id-3 /* Clean Energy */		
	{
		background-image: url(images/InteriorImage_CleanEnergy.jpg) !important;
		height: 1200px !important; /* longer image */
	}		

	.background-image-category-id-23 /* Eco Business */		
	{
		background-image: url(images/InteriorImage_EcoBusiness.jpg) !important;
		height: 1200px !important; /* longer image */
	}	
	
	.background-image-category-id-10 /* Smart Transportation */		
	{
		background-image: url(images/InteriorImage_Trans.jpg) !important;
		height: 1200px !important; /* longer image */
	}		
	
	.background-image-category-id-17 /* Natural Places */		
	{
		background-image: url(images/InteriorImage_Natural.jpg) !important;
		height: 1200px !important; /* longer image */
	}				

	.background-image-category-id-44 /* Latest News */		
	{
		background-image: url(images/InteriorImage_LatestNews.jpg) !important;
		height: 1800px !important; /* longer image */
	}		
	
	.background-image-category-id-28, /* In My State */	
	.background-image-category-id-104 /* Jobs */	
	{
		background-image: url(images/InteriorImage_States.jpg) !important;
		height: 1900px !important; /* longer image */
	}			
	
		
		
	/* HOMEPAGE IMAGES */	
		
	#homepage #primary-navigation {
		background-image: url(images/bg-hybrid.jpg); /* Default background image */	
		height: 220px !important;
	}
		
	/* Category-specific background images for the homepage */ 	
	#homepage .background-image-category-id-6 /* Global Warming */		
	{
		background-image: url(images/bg-ice.jpg) !important;
	}
		
	#homepage .background-image-category-id-3 /* Clean Energy */		
	{
		background-image: url(images/bg-hybrid.jpg) !important;
	}		

	#homepage .background-image-category-id-23 /* Eco Business */		
	{
		background-image: url(images/bg-wind.jpg) !important;
	}	
	
	#homepage .background-image-category-id-10 /* Smart Transportation */		
	{
		background-image: url(images/bg-train.jpg) !important;
	}		
	
	#homepage .background-image-category-id-17 /* Natural Places */		
	{
		background-image: url(images/bg-bird.jpg) !important;
	}		
	
	
	
	#primary-navigation ul {
		list-style-type: none;
		margin: 0;
		padding: 0;
		width: 206px;
		}
		
		
	/* top border, non-IE */
	/*
	#primary-navigation-ul {
		border-top: solid 1px #fff;
		}		
	*/

	/* border above "Home" menu option */	
	/* IE only */
	#primary-navigation-home {
		/* border-top: solid 1px #fff; */
		}		
	/* disable for non-IE */
	html>body #primary-navigation-home {
		/* border-top: none; */
		}
	
		
	#primary-navigation li {
		border-bottom: solid 1px #fff;
		font-size: 12px;
		margin: 0;
		padding: 0;
		white-space: nowrap;
		width: 100%;
		}
		
	#primary-navigation li a {
		color: #fff;
		font-weight: bold;
		display: block;
		padding: 2px 8px;
		text-decoration: none;
		}
		
	#primary-navigation li a:hover {
		background-color: #fff;
		color: #006;
		}	
		
	#primary-navigation ul li ul {
		font-style: italic;
		height:0; 
		left:195px;
		overflow:hidden; 
		position:absolute; 
		top:0; 
		visibility:hidden; 
		
		/* Needed because embedded YouTube videos somehow screw up the width of the subnavigation after they load... */
		width: 200px;
		
		}

	#primary-navigation ul li {
		float:left;
		}
		
	#primary-navigation ul li a, 
	#primary-navigation ul li a:visited {
		display:block; 
		float:left; 
		width:190px; 
		}
		
	* html #primary-navigation ul li a, 
	* html #primary-navigation ul li a:visited {
		width:190px; 
		w\idth:180px;
		}
		
	#primary-navigation table {
		border-collapse:collapse; 
		border:0; 
		font-size:1em;
		left:0; 
		margin:0; 
		padding:0; 
		position:absolute;
		top:0;
		}

	/* first line for IE7 and non-IE browsers - second line for IE5.5 and IE6 */
	#primary-navigation ul li:hover a,
	#primary-navigation ul li a:hover{
		background:#fff; color:#006; 
		}

	/* OPACITY STYLES CANNOT APPLY TO IE6 -- THEY BREAK DISPLAY IN IE6 */
	html>body #primary-navigation ul li:hover a,
	html>body #primary-navigation ul li a:hover {	
		/* Semi-transparency for the moused-over, top-level navigation item */
		opacity: 0.7;
		filter: alpha(opacity=70);
		}
		
	#primary-navigation ul li:hover {
		position:relative; 
		z-index:90;
		}
		
	* html #primary-navigation ul li a:hover {
		position:relative;
		z-index:100;
		}
		
	#primary-navigation ul li:hover ul,
	#primary-navigation ul li a:hover ul {
		/* border:1px solid #fff;  */		
		height:auto; 
		overflow:visible;
		position:absolute; 
		visibility:visible; 
		}
		
	#primary-navigation ul li:hover ul li a,
	#primary-navigation ul li a:hover ul li a {
		display:block; 
		background-color: #039;
		color:#fff; 
		line-height:15px; 
		padding:5px 0 5px 10px; 
		height:auto; 
		text-decoration:none;
		font-weight: normal;
		}

	#primary-navigation ul li ul li {
		border-bottom: none;
	}			
		
	#primary-navigation ul li:hover ul li:hover a,
	#primary-navigation ul li a:hover ul li a:hover {
		background-color: #006;
		color:#fff;
		}
	
	#primary-navigation ul li:hover ul li ul,
	#primary-navigation ul li a:hover ul li a ul {
		height:0; 
		left:85px;
		overflow:hidden; 
		position:absolute; 
		top:0; 
		visibility:hidden; 
		}

	#primary-navigation ul li:hover ul li:hover ul li a,
	#primary-navigation ul li a:hover ul li a:hover ul li a {
		display:block; 
		background:transparent; 
		color:#006;
		}

	#primary-navigation ul li:hover ul li:hover ul li:hover a,
	#primary-navigation ul li a:hover ul li a:hover ul li a:hover {
		color:#006;
		}			
		
		
	
	/* ***** HOMEPAGE-SPECIFIC PROPERTIES FOR PRIMARY NAVIGATION ***** */
	/* These rules override the interior page rules */
	
	#homepage #primary-navigation ul {
		width: 296px;
		}	
		
	/* IE6 needs some more explicit widths... */
	#homepage #primary-navigation ul li, 
	#homepage #primary-navigation ul li a {
		/* width: 100% !important; */
		}
	
	#homepage #primary-navigation li {
		font-size: 17px;
		}
		
	#homepage #primary-navigation ul li ul {
		left: 295px;
	}		
	
	#homepage #primary-navigation ul li ul li {
		border-bottom: solid 1px #fff;
	}		
	
	#homepage #primary-navigation ul li a, #homepage #primary-navigation ul li a:visited {
		display:block; 
		float:left; 
		width:280px; 
		}
	
	* html #homepage #primary-navigation ul li a, 
	* html #homepage #primary-navigation ul li a:visited {
		width:296px; 
		w\idth:286px;
		}	

	#homepage #primary-navigation ul li:hover ul,
	#homepage #primary-navigation ul li a:hover ul {
		background-color:#fff; 
		color #006;
		opacity: 0.9;
		filter: alpha(opacity=90);
		}
	#homepage #primary-navigation ul li:hover ul li:hover a,
	#homepage #primary-navigation ul li a:hover ul li a:hover {
		background-color: #ccc;
		color:#006;
		}	

	#homepage #primary-navigation ul li:hover ul li a,
	#homepage #primary-navigation ul li a:hover ul li a {
		background-color: #fff;
		color: #006;
		}

#searchwrapper {
	width:262px; /*follow your image's size*/
	height:21px;/*follow your image's size*/
	background-image:url(images/search-bg.gif);
	background-repeat:no-repeat; /*important*/
	padding:0px;
	margin:0;
	position:relative; /*important*/
}
 
#searchwrapper form { display:inline ; }
 
.searchbox {
	border:0px; /*important*/
	background-color:transparent; /*important*/
	position:absolute; /*important*/
	top:0px;
	left:0px;
	width:262px;
	height:21px;
	padding-left:3px;
	color:#B7C0DD;
}
 
.searchbox_submit {
	border:0px; /*important*/
	background-color:transparent; /*important*/
	position:absolute; /*important*/
	top:0px;
	left:234px;
	width:28px;
	height:21px;
}

#follow-us { margin-top:10px; line-height:2;}

#follow-us li {
	display:inline;
	margin:0 23px 0 0;
	
}

#promo li {
	border:1px solid #B7C0DD;
	overflow:hidden;
	width:258px;
	margin-bottom:10px;
}

.promo-thumb {
	float:left;
}

.promo-thumb img {
	height:66px;
	width:60px;
	padding:1px;
}

.promo-link {
	color:#0C2C8C;
	float:left;
	font-size:18px;
	padding:5px 5px 0 5px;
	width:185px;
	line-height:1;
	text-decoration:none;
}

#sidebar-video a img {
	margin-bottom:10px;
}

#search {
	border-top:1px solid #B7C0DD;
	border-bottom:1px solid #B7C0DD;
	padding:10px 0 10px 0;
}

#donate-now {
	border-bottom:1px solid #B7C0DD;
	padding:10px 0 5px 0;
	margin-bottom:8px;
}

#promo-rotation {
	float:right;
	width:260px;
	margin:12px 10px 0 0;
}

.alignleft { float:left; } 
.alignright { float:right; }

#homepage-link-bg {
	background-color:#0339A4;
	filter:alpha(opacity=30);
	-khtml-opacity: 0.3;
	opacity: 0.3;
	-moz-opacity:0.3;
	height:30px;
	width:740px;
	position:absolute;
	top:270px;
	left:0;
	z-index:49;
}
	
#homepage-link {
	background-color:none;
	font-size:16px;
	font-style:italic;
	font-weight:bold;
	color:#FFF;
	height:25px;
	width:740px;
	text-align:right;
	text-decoration:none;
	display:block;	
	padding-top:5px;
	position:absolute;
	top:269px;
	left:0;
	z-index:50;
}

#homepage-link img {
	margin:0 9px 0 9px;
	vertical-align:middle;
}

.media-center ul {
	list-style-type:none;
	margin:0;padding:0;
}

.media-center ul li {
	padding-bottom:10px;
}

.wp-caption {
	background-color:#F5F5F5;
	border:1px solid #CCC;
	
}

.wp-caption img{
	background-color:#F5F5F5;
	padding:5px;
}


p.wp-caption-text {
        font-size:10px;
        color:#888;
	padding:0 5px 5px 5px;
        margin:0;

}
