/** 
 * SilverStripe Black Candy Theme
 * http://www.silverstripe.com
 *
 * Main Layout File
 */
 
/* Misc Styles and defaults 
-------------------------------------------- */
  
* {
	margin: 0;
	padding: 0;
}

body {
	color: #333;
 	font-size: 62.5%; 
 	margin-bottom: 40px;
	font-family: Verdana, Lucida, sans-serif; 
}

html {
	background: #A6BF79;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}

.clear{
	clear:both;
}

/* CONTAINER
----------------------------------------- */
#BgContainer {
	width: 980px;  
	margin: 0 auto; 
}
#Container { 
	width: 980px;
	padding-bottom: 15px;
	background: #fff url(../images/containerbg.gif) repeat-y;
}
#HomeContainer { 
	width: 980px;
	padding-bottom: 15px;
	background: #A6BF79;
}
#Addthis {
	position: relative; right: -810px; top: 28px;
	width: 240px;
	margin: -16px 0px 0px 0px;
	z-index:510;
}
#Layout {
	width: 948px;	
	clear: both;
	overflow: hidden;
	word-wrap: break-word;
	margin: 15px auto;
}

#LayoutNews {
	width: 740px;	
	float: left;
	overflow: hidden;
	word-wrap: break-word;
	margin: auto;
}
#SidebarHome {
	width: 225px;
	height: 570px;
	float: left; 	
	word-wrap: break-word;
	margin: 15px 2px 4px 2px;
	overflow: hidden;
	text-align: left;
	padding: 5px;
	border: #41694D 1px dotted;
	background: #fff
}
#LayoutHome {
	width: 500px;	
	height: 570px;
	float: left;

	word-wrap: break-word;
	margin: 15px 2px 2px 15px;
	display: inline;
	border: #41694D 1px dotted;
	padding: 5px;
	z-index:50;
}
#ContentEnergy {
	width: 470px;	
	float: left;
	overflow: hidden;
	word-wrap: break-word;
	margin: 0px 2px 2px 15px;
	display: inline;
	padding: 5px;
}
#MenuEnergy {
	width: 180px;
	float: right; 	
	word-wrap: break-word;
	margin: 0px 18px 2px 2px;
	overflow: hidden;
	text-align: left;
	padding: 5px 5px;
	border: #41694D 1px dotted;
	background: #EFEFEF
}
#LayoutProg {
	width: 725px;	
	float: left;
	overflow: hidden;
	word-wrap: break-word;
	margin: 15px 2px 2px 15px;
	display: inline;
	/*border: #41694D 1px dotted;*/
	padding: 5px;
}
#Content {
	width: 700px;
	float: left; 
	margin: 10px 15px 15px 30px;
	word-wrap: break-word;
	text-align: left;
}
#ContentNews {
	width: 530px;
	float: left; 
	margin: 15px;
}
#NewsHome {
	width: 741px;
	height: 279px;
	float: left; 
	margin: 0px 2px 0px 15px;
	word-wrap: break-word;
	overflow: hidden;
	text-align: left;
	padding: 5px 5px;
	border: #41694D 1px dotted;
	background: #EFEFEF
}
#SidebarHome2 {
	width: 180px;
	height: 570px;
	float: right; 	
	word-wrap: break-word;
	margin: 15px 15px 2px 2px;
	overflow: hidden;
	text-align: left;
	padding: 5px 5px;
	border: #41694D 1px dotted;
	background: #EFEFEF
}

#tolink{
	background-image:url('../images/to.png');
	background-repeat:no-repeat;
	background-position:right top;
	float: left; 	
	width: 92px;
	height: 160px;
	margin: 0px 2px 2px 2px;
	padding-right: 5px 5px;
	text-align: center;
	border: #41694D 1px dotted;
}

#newslettersignup {
	background-image:url('../images/emailicon2.png'); 
	float: right; 	
	width: 92px;
	height: 160px;
	margin: 0px 15px 2px 2px;
	padding-right: 5px 5px;
	text-align: center;
	border: #41694D 1px dotted;
}


#donate {
	background-image:url('../images/donate.png'); 
	float: right; 	
	width: 190px;
	height: 121px;
	margin: 4px 15px 2px 2px;
	padding-right: 5px 5px;
	text-align: center;
	border: #41694D 1px dotted;
}
#cssbox1 { 
	background-image:url('../images/savingenergy.png'); 
	float: left;
	width: 150px;
	height: 150px;
	padding-right: 0px; 
	margin: 0 15px 15px 15px;
}
#cssbox2 { 
	background-image:url('../images/greenbuilding.png'); 
	float: left;
	width: 150px;
	height: 150px;
	padding-right: 0px; 
	margin: 0 15px 15px 15px;
}
#cssbox3 { 
	background-image:url('../images/education.png'); 
	float: left;
	width: 150px;
	height: 150px;
	padding-right: 0px; 
	margin: 0 15px 15px 15px;
}
#cssbox4 { 
	background-image:url('../images/events.png'); 
	float: left;
	width: 150px;
	height: 150px;
	padding-right: 0px; 
	margin: 0 15px 15px 15px;
}
#cssbox5 { 
	background-image:url('../images/food.png'); 
	float: left;
	width: 150px;
	height: 150px;
	padding-right: 0px; 
	margin: 15px;
}
#cssbox6 { 
	background-image:url('../images/recycle.png'); 
	float: left;
	width: 150px;
	height: 150px;
	padding-right: 0px; 
	margin: 15px;
}
#cssbox7 { 
	background-image:url('../images/commecon.png'); 
	float: left;
	width: 150px;
	height: 150px;
	padding-right: 0px; 
	margin: 15px;
}
#cssbox8 { 
	background-image:url('../images/youth.png'); 
	float: left;
	width: 150px;
	height: 150px;
	padding-right: 0px; 
	margin: 15px;
}
.cssbox a {
	display: block;
	height: 100%;
	width: 100%;
	font-size: 14px;
	color: #41694D;
	font-weight: 700;
	margin: 0 0 12px 0;
}

/* HEADER
----------------------------------------- */
#Header { 
 	width: 948px; 
	height: 194px;
 	margin: 0 auto;
	overflow: hidden;
	background: #99CC66 url(../images/fallsrainbow.png) repeat-x left center;
}
 	#Header h1 { 
	  	color: #fff; 
		font-size: 3.2em; 
		font-family: Tahoma, Verdana, sans-serif;
		font-weight: 300;
		padding: 20px 0 0 30px;
	}
	#Header p {
		font-size: 1.4em;
		color: #fff;
		clear: left;
		margin: 0 0 0 100px;
	}

/* MAIN NAVIGATION - TABS
----------------------------------------- */
#Navigation {
   width: 768px;
   height: 3em;   
   padding-top: 5px;   
   margin: 0 auto;
/*   overflow: hidden; */
   overflow: visible;   
   background: #99CC66 url(../images/headerRounded.gif) no-repeat center bottom;
} 
	#Navigation ul { 
 		float: right; 
		margin-right: 10px;
	}
		#Navigation ul li { 
	 		list-style: none; 
			margin: 0 2px; 
			float: left;
			line-height: 2.8em;
			display: block;
		}
  			#Navigation ul li a { 
				float: left;
				text-decoration: none;
				display: block; 
				height: 2.3em; 
				font-size: 1.2em; 
				padding: 0 0 0 10px;
				color: #fff;
			}
				#Navigation ul li a span {
					text-align: center;
	        		float: left;
					padding-right: 10px;
					height: 2.3em;
				}
					#Navigation ul li a:hover { 
			 			background: #66CC66 url(../images/hoverTabLeft.gif) no-repeat left top; 
						color: #fff;
						cursor: pointer;
					}
					#Navigation ul li a:hover span {
						background: #66CC66 url(../images/hoverTabRight.gif) no-repeat right top;
						cursor: pointer;
					}
					
    			#Navigation ul li a.current,
	    		#Navigation ul li a.section,
	    		#Navigation ul li a.section:hover,
	    		#Navigation ul li a.current:hover { 
				 	background: #fff url(../images/activeTabLeft.png) no-repeat left top; 
				 	color: #41694D;
					}
				#Navigation ul li a.current span,
				#Navigation ul li a.section span,
	    		#Navigation ul li a.section:hover span,
				#Navigation ul li a.current:hover span {
					background: #fff url(../images/activeTabRight.png) no-repeat right top;
					color: #41694D;
				}
    
/* BREADCRUMBS
-------------------------------------------- */
#Breadcrumbs { 
 	color: #41694D;
	text-align: left;
	font-size: 0.9em; 
	margin: 0px 5px 10px 0;
}
	#Breadcrumbs p {
		margin: 0;
	}


/* SIDEBAR
-------------------------------------- */
#Sidebar { 
 	width: 200px; 
	float: left;  
	margin: 10px 0 0 0;
	padding: 0;
}
	#Sidebar .sidebarBox {
		margin: 0 0 5px 0;
		padding-bottom: 2px;
		background: #EFEFEF url(../images/sidebarHeader.gif) no-repeat left top; 
	}
	#Sidebar ul {
		margin: 2px 0 5px 3px;
	}
		#Sidebar li {
			margin: 8px 2px;
			list-style: none;
		}
	#Sidebar h3 { 
		clear: both; 
		text-transform: uppercase;
		font-family: Verdana;
		text-decoration: none;
		color: #fff;
		font-size: 20px; 
		font-weight: 600;
		margin: 0 0 10px 0;
		padding: 1px 0 0 10px;
		background: transparent url(../images/sidebarHeaderSub.gif) repeat-x center left;
	}
	
	#Sidebar .sidebarBottom {
		height: 15px;
		display: block;
		width: 200px;
		margin: -5px 0 0 0;
		background: #EFEFEF url(../images/sidebarBottomBg.gif) no-repeat center bottom;
	}
	#Sidebar a em {
		font-style: normal;
	}
	#Sidebar p {
		font-size: 11px;
	 	clear: both;
	 	margin: 10px 10px 0 10px;
	}
	
	/* MENU2 */
    ul#Menu2 li { 
    	font-size: 0.9em; 
    	margin: 1px 0 5px 4px;
        list-style: none;
    }
    	ul#Menu2 li a {
            display: block;
            width: 196px;
            font-size: 1.2em;
            height: 1.8em;
            line-height: 1.8em;
            color: #898989;
      	}
			ul#Menu2 li em {
				padding-left: 8px;
				display: block;
			}
				ul#Menu2 li li em {
					padding-left: 0;
				}
      	/* Level 1 
      	- We use 3 elements for the nav to get 3 background images applied.
            * span - topleft rounded corner
            * em - bottomleft rounded corner
            * a - arrow on the right
            <a><span><em></em></span></a>
      	*/
      	ul#Menu2 li a:hover,
      	ul#Menu2 li a.current,
      	ul#Menu2 li a.current:hover {
        	background: #DCDCDC url(../images/sidebarSideArrow.gif) no-repeat right center;
        	color: #41694D;
			cursor: pointer;
            text-decoration: none;
      	}
	  	ul#Menu2 li a.current {
	  		font-weight: 700;
	  	}
      	ul#Menu2 li a.section,
      	ul#Menu2 li a.section:hover {
            background: #DCDCDC;
            font-weight: 700;
            width: 193px; 
      	}
      	ul#Menu2 li a.levela:hover span,
      	ul#Menu2 li a.current span,
      	ul#Menu2 li a.section span,
      	ul#Menu2 li a.section:hover span,
      	ul#Menu2 li a.current:hover span {
			background: transparent url(../images/sidebarTopLeftHover.gif) no-repeat left top;
			display: block;
			width: 100%;
			height: 100%;
		} 
		ul#Menu2 li a.levela:hover em,
		ul#Menu2 li a.current em,
		ul#Menu2 li a.section em,
		ul#Menu2 li a.section:hover em,
		ul#Menu2 li a.current:hover em {
        	background: transparent url(../images/sidebarBottomLeftHover.gif) no-repeat left bottom;
			display: block;
			width: 100%;
            height: 100%;
      	}
      		ul#Menu2 li ul {
            	height: 100%;
            	position: relative;
            	margin: -4px 0 0 0;
            	width: 193px;
            	padding: 4px 0 10px 0;
            	background: #DCDCDC url(../images/sidebarSectionBottom.png) no-repeat bottom left;
      		}
      			ul#Menu2 li ul li {
            		width: 160px;
            		background: #DCDCDC;
            		padding: 0;
            		font-size: 0.8em;
            		display: inline;
            		margin: 0;
      			}
      				ul#Menu2 li ul li ul {
            			background: #DCDCDC;
            			margin-left: 0;
      				}	
      
					ul#Menu2 li li a.current,
      				ul#Menu2 li li a.section,
      				ul#Menu2 li li a.section:hover,
      				ul#Menu2 li li a.current:hover {
            			color: #555;
            			font-weight: 700;
            			background: #DCDCDC;
      				}
      					ul#Menu2 li li ul {
            				margin: 0 0 0 10px;
            				padding: 0;
            				width: 175px;
      					}
      					ul#Menu2 li li ul .roundWhite {
            				margin-bottom: -10px;
      					}
      			
			/* Sub Menu */
      		ul#Menu2 li a.levelb {
            	font-size: 1.7em;
            	text-indent: 8px;
            	width: 188px;
				background: transparent;
            	margin-left: 10px;
      		}
	  		ul#Menu2 li a.levelb:hover,
      		ul#Menu2 li li a.current,
      		ul#Menu2 li li a.current:hover,
      		ul#Menu2 li li a.section,
      		ul#Menu2 li li a.section:hover {
            	background: #BCBCBC url(../images/sidebarSideArrow2.gif) no-repeat right center;
            	text-decoration: none;
            	display: block;
            	color: #fff;
      		}
      		ul#Menu2 li a.levelb:hover span,
      		ul#Menu2 li li a.current span,
      		ul#Menu2 li li a.current:hover span,
      		ul#Menu2 li li a.section span,
      		ul#Menu2 li li a.section:hover span {
            	background: transparent url(../images/sidebarTopLeftHover2.gif) no-repeat left top;
            	display: block;
            	width: 100%;
            	height: 100%;
      		} 	
      		ul#Menu2 li a.levelb:hover em,
      		ul#Menu2 li li a.current em,
      		ul#Menu2 li li a.current:hover em,
      		ul#Menu2 li li a.section em,
      		ul#Menu2 li li a.section:hover em {
            	background: transparent url(../images/sidebarBottomLeftHover2.gif) no-repeat left bottom;
            	display: block;
            	width: 100%;
            	height: 100%;
      		}

/* COMMENTS
---------------------------------------- */
#CommentHolder ul {
	list-style: none;
	margin: 20px 0;
}
#PageComments li {
	margin: 5px 0;
	padding: 1px;
	width: 88%;
}
	#PageComments li.odd {
		background: #E8F6FF url(../images/commentBg.png) no-repeat 1% 10%;
		padding-left: 40px;
		padding-right: 10px;
		border-bottom: 2px solid #BCE4FE;
	}
	#PageComments li.even {
		background: #fff url(../images/commentBgAlt.png) no-repeat 99% 10%;
		padding-right: 40px;
		padding-left: 10px;
	}

		#PageComments li.odd p.info {
			color: #3AA0C3;
		}

		.actionLinks li {
		   display: inline;
		   border-right: 1px solid;
		}
			.actionLinks li a {
				padding-right: 3px;
				font-size: 10px;
			}
   			.actionLinks li.last {
      			border-right: none;
   			}

.commentrss {
	background: transparent url(../images/feed-icon-14x14.png) no-repeat;
	padding-left: 20px;
	font-size: 1.1em;
	line-height: 1.6em;
}
#PageCommentsPagination p {
	text-align: center;
	font-size: 1.2em;
}
#PageComments p {
	font-size: 1em;
}
	#PageComments p.info {
		color: #999;
		margin: 0px;
		padding: 0;
		line-height: 1em;
		font-size: 0.9em;
	}

/* SEARCH RESULTS STYLES
------------------------------------------------ */
ul#SearchResults {
	margin: 10px 0;
}
	ul#SearchResults li {
		list-style: none;
		margin: 5px 0;
		font-size: 1em;
	}
	
#SearchResults p {
   padding:0;
   margin:0;
}

#SearchResults li br {
   display:none;
} 

/* SEARCH FORM 
-----------------------------------------------*/
html #SearchForm_SearchForm {
	float: right;
	width: 240px;
	margin: 5px;
}
html #SearchForm_SearchForm .middleColumn {
	float: left;
	width: 164px;
	margin: 0 5px 0 0;
	padding: 2px;
	background-color: #A6BF79;
	
}
	html #SearchForm_SearchForm .middleColumn input.text {
		width: 160px;
		border: none;
		color: #666;
	}
html #SearchForm_SearchForm #SearchForm_SearchForm_action_results {
	float: left;
	margin-top: 2px;
}

/* MESSAGEBOXS
--------------------------------------------- */
.message {
	margin: 15px;
	padding: 5px;
	width: 92%;
	color: #979908;
	border: 4px solid #F7F8B4;
	background: #FFFFEA;
}
span.middleColumn .message {
	margin: 4px 0 0 3px;
}
.required {
	margin: 4px 0 0 3px;
	padding: 5px;
	width: 92%;
	color: #DC1313;
	border: 4px solid #FF7373;
	background: #FED0D0;
}



p#Remember label {
	margin: -24px 0 0 20px;
	text-align: left;
}
.entry {
	border-bottom: 1px solid #eee;
}

.typography #Content p.authorDate {
	color: #444;
	margin-top: -15px;
	}
/* UNSUBSCRIBE NEWSLETTER
------------------------------------------------ */
#Unsubscribe_MailingListForm_MailingListForm{
	min-height:100px;
}

	#Unsubscribe_MailingListForm_MailingListForm p{
		margin:0 !important;
		padding:10px;
	}
		#Unsubscribe_MailingListForm_MailingListForm p label{
			display: inline;
		}
	#Unsubscribe_MailingListForm_MailingListForm label{
		margin:0;
	}


/* FOOTER
----------------------------------------------- */

#Footer { 
 	clear: both;  
	width: 980px; 
	height: 7em; 
	margin-top: -10px;
	background: transparent url(../images/footerBottom.png) no-repeat bottom left; 
	text-align: center; 
}
	#Footer .footerTop {
		width: 100%;
		background: transparent url(../images/footerTop3.gif) no-repeat top left;
		display: block;
		height: 2em;
	}
  	#Footer p { 
		color: #fff;
		font-size: 1.1em;
		text-align: center;
		margin-top: -1em;
	}
  		#Footer a { 
	   		color: #fff; 
	   		text-decoration: none;
		}
			#Footer a:hover {
				color: #fff;
				text-decoration: underline;
			}
			
/* Drop Down Menu code */
#pad {height:135px;}
/* ================================================================ 
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.cssmenus.co.uk
Copyright (c) 2009- Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */
#menu1 {width: 948px; padding-top:0px; margin: 0 auto; border-top:2px solid #FFF; background: #99CC66 url(../images/headerRounded.gif) no-repeat center bottom; list-style:none; height:35px; position:relative; z-index:500; font-size: 1.2em; font-family:verdana; filter:alpha(opacity=100); -moz-opacity:1; -khtml-opacity: 1; opacity: 1;
}
#menu1 li {float:left; margin-right:1px; border-right:1px solid #FFF;filter:alpha(opacity=100); -moz-opacity:1; -khtml-opacity: 1; opacity: 1; z-index:500;}
#menu1 li a {display:block; float:left; height:35px; line-height:35px; color:#fff; text-decoration:none; font-weight:bold; padding:0 30px 0 25px;filter:alpha(opacity=100); -moz-opacity:1; -khtml-opacity: 1; opacity: 1;z-index:500;}


#menu1 table {border-collapse:collapse; width:0; height:0; position:absolute; top:0; left:0;z-index:500;}

/* Default link styling */

/* Style the list OR link hover. Depends on which browser is used */

#menu1 li a:hover {z-index:200; position:relative; color:#41694D; }
#menu1 li:hover {position:relative; z-index:200;}

#menu1 li:hover > a {color:#fff; background:#66CC66;}
#menu1 li:hover > a.sub {color:#fff; background-color:#66CC66;}

#menu1 li.current a {color:#fff; background:#66CC66;}

#menu1 li a.sub {background: url(../images/down-arrow.gif) no-repeat right center;}
#menu1 li.current a.sub {color:#fff; background:#66CC66 url(../images/down-arrow.gif) no-repeat right center;}

#menu1 :hover ul {left:0; top:35px; width:120px; background:#66CC66;}

/* keep the 'next' level invisible by placing it off screen. */
#menu1 ul, 
#menu1 :hover ul ul {position:absolute; left:-9999px; top:-9999px; width:0; height:0; margin:0; padding:0; list-style:none;}

#menu1 :hover ul :hover ul
{left:180px; top:-1px; background:#DCDCDC; white-space:nowrap; width:100px; z-index:200; height:auto;}

#menu1 :hover ul li {margin:0; border-top:1px solid #EFEFEF;}
#menu1 :hover ul li a {width:180px; padding:0; text-indent:10px; background:#EFEFEF; color:#898989; height:30px; line-height:30px; font-size: 0.9em;}
#menu1 :hover ul li a.fly {background:#EFEFEF url(../images/right-arrow.gif) no-repeat right center;}

#menu1 :hover ul :hover {background-color:#DCDCDC; color:#41694D;}
#menu1 :hover ul :hover a.fly {background-color:#DCDCDC; color:#41694D;}

#menu1 :hover ul li.currentsub a {background:#99CC66; color:#898989;}
#menu1 :hover ul li.currentsub a.fly {background:#99CC66 url(../images/right-arrow.gif) no-repeat right center; color:#41694D;}

#menu1 :hover ul :hover ul li a {width:180px; padding:0; text-indent:10px; background:#EFEFEF; color:#898989;}
#menu1 :hover ul :hover ul :hover {background-color:#DCDCDC; color:#41694D;}

#menu1 :hover ul :hover ul li.currentfly a,
#menu1 :hover ul :hover ul li.currentfly a:hover {background:#99CC66; color:#41694D;}

img {
	padding: 0px;
	border: #41694D 1px dotted;
}
