/* Start of CMSMS style sheet 'Earthday : Layout' */
/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/
* {
margin:0;
padding:0;
}

/*****************
basic layout 
*****************/
body {
   background-color: #ccc;
   color: #333;
   margin:1em; /* gives some air for the pagewrapper */
}

/* center wrapper, min max width */
div#page{
   margin: 0 auto;     /* this centers wrapper */
   max-width: 80em; /* IE wont understand these, so we will use javascript magick */
   min-width: 60em;
   background-color: #fff;;
   color: black;
}


/*** header ***
we will hide text and replace it with a image
we need to assign a height for it
*/

div#header {
   height: 135px; /* adjust according your image size */
   background: #385C72;           
}

div#header h1 a {
/* you can set your own image here */
   background: #385C72 url(images/cms/logo1.gif) no-repeat 0 12px; 
   display: block; 
   height: 80px;             /* adjust according your image size */
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}

div#search {
   float: right;
   width: 23em;     /* enough width for the search input box */
   text-align: right;
   padding: 0.6em 0 0.2em 0;
   margin: 0 1em;
}

div#content {
   margin: 1.5em auto 2em 0; /* some air above and under menu and content */
}

div#main {
   margin-left: 24%; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   margin-right: 2%; /* and some air on the right */
}


div#sidebar {
   float: left;  /* set sidebar on the left side. Change to right to float it right instead. */
   width: 23%;    /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX ie doublemargin bug */
   margin-left: 0;
}

/* if sidebar doesnt include menu but content add class="hascontent" */
div#sidebar.hascontent {
   padding: 0 1%;
   width: 24%;  /* make width smaller if there's padding, or it will get too wide for the floated divs in IE */
}

div#footer {
   clear:both;       /* keep footer below content and menu */
   color: #fff;
   background-color: #385C72; /* same bg color as in header */
}

div#footer p {
   font-size: 0.8em;
   padding: 1.5em;      /* some air for footer */
   text-align: center; /* centered text */
   margin:0;
}

div#footer p a {
   color: #fff; /* needed becouse footer link would be same color as background otherwise */
}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   margin: 1em;
   border-bottom: 1px dotted black;
}

/* relational links under content */
div.left49 {
  float: left;
  width: 49%;  /* 50% for both left and right might lead to rounding error on some browser */
}

div.right49 {
  float: right;
  width: 49%;
  text-align: right;
}

/* From Old Layout */
div.breadcrumbs {margin:1px 0;padding:1px 0 1px 5px;text-align: left;font-size: 85%;}

div#copyright{
   margin-top:-1em;
}

div#menu {
 margin:0;
 padding: 0px;
 width: 169px;
}
div#menuwrapper {
 margin-left:10px;
 padding: 5px 3px 5px 3px;
}

div#main img{
 margin-left:5px;
 margin-right:5px;
};

/* End of 'Earthday : Layout' */

/* Start of CMSMS style sheet 'EarthDay : EventsMenu' */
ul.EventsMenu {
  display: block;

}

.EventsMenu li{
  display: inline;
  float:left;
  padding: 5px 2px 1px 2px;
  margin-right:0px;
  height:19px;
  background: transparent url(images/EarthDay/EventButton.jpg)  no-repeat center;
color:white;
}

.EventsMenu li:hover{
  display: inline;
  float:left;
  padding: 5px 2px 1px 2px;
  margin-right:0px;
  height:19px;
color:white;
  background: transparent  url(images/EarthDay/EventButton_click.jpg)  no-repeat center;
}

li.LEventsMenu{
  background: transparent  url(images/EarthDay/LEventButton.jpg) no-repeat left;
  padding: 5px 2px 1px 2px;
  margin-right:0px;
  height:19px;
  width: 10px;
color:white;}

li.LEventsMenu:hover{
  background: transparent  url(images/EarthDay/LEventButton.jpg)  no-repeat left;
  padding: 5px 2px 1px 2px;
  margin-right:0px;
  height:19px;
  width: 10px;
color:white;
}

li.REventsMenu{
  background: transparent  url(images/EarthDay/REventButton.jpg)  no-repeat right;
  padding: 5px 2px 1px 2px;
  margin-right:0px;
  height:19px;
  width: 10px;
color:white;
}

li.REventsMenu:hover{
  background: transparent  url(images/EarthDay/REventButton.jpg) no-repeat right;
  padding: 5px 2px 1px 2px;
  margin-right:0px;
  height:19px;
  width: 10px;
color:white;
}

#EventsMenuID a{
  color: white;
  width:100%;
color:white;
}

#EventsMenuID a:hover {
  color:white;
  text-decoration: underline;
color:white;
}



/* End of 'EarthDay : EventsMenu' */

/* Start of CMSMS style sheet 'Earthday : borders' */
a#tims{
   background: url(images/EarthDay/tims.jpg) no-repeat; 
   width: 306px;
   height:88px;
   margin-top: 0px;
   margin-left: 600px;
   padding-top:20px;
   display: block;
   background-position: bottom center;
}

#page, #hbox, #menu_horiz, #wrapper, #menuwrapper, #newsbox, #contentbox, #newsblock, #newsblock2, #news2, #mainblock, #block2, #content3, #flat, .right49, .left49, .top49{border: 1px solid #2776AF}

/*#footer{border-top: 1px solid #2776AF}*/
#main img{
   border: 1px solid #2776AF;
   padding: 1px;
}


/*#page{

  position: relative;
  left:10px;
  }
#box{
  background: url(images/EarthDay/Shadow.png) repeat-y top right !important;
  background: none;
}*/

/* End of 'Earthday : borders' */

/* Start of CMSMS style sheet 'Earthday : Tools' */
/* A CSS Framework by Mike Stenhouse of Content with Style, adapted to CMSMS by Daniel Westergren */

/* clearing */
	.stretch,
	.clear {
		clear:both; 
		height:1px; 
		margin:0; 
		padding:0; 
		font-size: 15px;
		line-height: 1px;
	}
	.clearfix:after {
		content: "."; 
		display: block; 
		height: 0; 
		clear: both; 
		visibility: hidden;
	}
	.menu_horiz:after {
		content: "."; 
		display: block; 
		height: 0; 
		clear: both; 
		visibility: hidden;
	}
	* html>body .clearfix {
		display: inline-block; 
		width: 100%;
	}
	/* html>body .menu_horiz{
		display: inline-block; 
		width: 100%;
	}*/
	
	* html .clearfix {
		/* Hides from IE-mac \*/
		height: 1%;
		/* End hide from IE-mac */
	}
	* html .menu_horiz{
		/* Hides from IE-mac \*/
		height: 1%;
		/* End hide from IE-mac */
	}
/* end clearing */


/* replace */
	.replace {
		display:block;
		
		background-repeat: no-repeat;
		background-position: left top;
		background-color:transparent;
	}
	/* tidy these up */
	.replace * {
		text-indent: -10000px;
		display:block;
		
		background-repeat: no-repeat;
		background-position: left top;
		background-color:transparent;
	}
	.replace a {
		text-indent:0;
	}
	.replace a span {
		text-indent:-10000px;
	}
/* end replace */


/* accessibility */
     span.accesskey {
     	text-decoration:none;
     }
     .accessibility {
     	position: absolute;
     	top: -999em;
     	left: -999em;
     }
/* end accessibility */
/* End of 'Earthday : Tools' */

/* Start of CMSMS style sheet 'Earthday : CSSMenu' */
/* Vertical menu for the CMS CSS Menu Module */
/* by Alexander Endresen */


/* The wrapper determines the width of the menu elements */
#menuwrapper { 
   width: 100%; 
}


/* Unless you know what you do, do not touch this */ 
#primary-nav, #primary-nav ul { 
   list-style: none; 
   margin: 0px; 
   padding: 0px; 
   width: 100%; 
   margin-left: -1px;
}
#primary-nav ul { 
   position: absolute; 
   top: 0; 
   left: 100%; 
   display: none; 
}
#primary-nav li { 
   margin-bottom: -1px;
   /*margin-top:1px;*/ 
   position: relative; 
}


/* Styling the basic apperance of the menu elements */
#primary-nav a { 
   border: 1px solid #006699; 
   display: block; 
   margin: 0px; 
   padding: 5px 10px; 
   color: #006699;
   text-decoration: none; 
   background: transparent; 
   min-height:1em; /* Fixes IE7 whitespace bug*/ 
}
#primary-nav li, #primary-nav li.menuparent { 
   background-color: #DBEEFD; 
   min-height:1em; /* Fixes IE7 bug*/
}


/* Styling the basic apperance of the active page elements (shows what page in the menu is being displayed) */
#primary-nav li.menuactive { 
   background-color: #BCDFFC; 
}

/* Styling the basic apperance of the menuparents - here styled the same on hover (fixes IE bug) */
#primary-nav li.menuparent:hover,
#primary-nav li.menuparent, 
#primary-nav li.menuparenth { 
   background-image: url(images/cms/arrow.gif); 
   background-position: center right; 
   background-repeat: no-repeat; 
}







/* Styling the apperance of menu items on hover */
#primary-nav li:hover, 
#primary-nav li.menuh, 
#primary-nav li.menuparenth, 
#primary-nav li.menuactiveh { 
   /*background: #fff url(images/EarthDay/MenuHover.jpg) repeat-x left top;*/
   background-color: #0082C0;
}


/* The magic - set to work for up to a 3 level menu, but can be increased unlimited */
#primary-nav ul, 
#primary-nav li:hover ul, 
#primary-nav li:hover ul ul, 
#primary-nav li.menuparenth ul, 
#primary-nav li.menuparenth ul ul { 
   display: none; 
}
#primary-nav li:hover ul, 
#primary-nav ul li:hover ul, 
#primary-nav ul ul li:hover ul, 
#primary-nav li.menuparenth ul, 
#primary-nav ul li.menuparenth ul, 
#primary-nav ul ul li.menuparenth ul { 
   display: block; 
}


/* IE Hack, will cause the css to not validate */

#primary-nav li, #primary-nav li.menuparenth { _float: left; _height: 1%; }
#primary-nav li a { _height: 1%; }


/* section header */
#primary-nav li.sectionheader {
   border-left: 1px solid #006699; 
   border-top: 1px solid #006699; 
   font-size: 130%;
   font-weight: bold;
   padding: 1.5em 0 0.8em 0.5em;
   background-color: #fff;
   margin: 0;
   width: 100%;
}


/* separator */
#primary-nav li hr.separator {
   display:block;
   height: 0.5em;
   color: #abb0b6;
   background-color: #abb0b6;
   width: 100%;
   border:0;
   margin:0;
   padding:0;   
   border-top: 1px solid #006699;
   border-right: 1px solid #006699;
}
.menuimg{
    padding-right:5px;
    margin-top:-2px;
    float:left;
}
/* End of 'Earthday : CSSMenu' */

/* Start of CMSMS style sheet 'Earthday : Type Paragraph' */
h1,h2,h3{font-family: "Trebuchet MS",arial,sans-serif}
h2{font-size: 1.75em;margin: 0px;padding: 5px 0 0 20px}
address{padding: 3px 15px;font-style:normal}

body{
		text-align: left;
		font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;

		font-size: 75%;
                          line-height: 1.05em;
	}
	div {
		font-size: 1em;
	}
	img {
		border: 0;
	}
	

	
/* HEADINGS */
	h1 {
		font-size: 2em;
		line-height: 1.5em;
		margin: 0 0 0em 0;
		padding: 0;
	}
	#main h2 {
		font-size: 1.75em;
                         line-height: 1.25em;
		margin: 0 0 0 0;
		padding: 6px 0 0 15px;
	}
	h2 {
		margin: 0 0 0em 0;
	}

        div#header  h2 {
		font-size: 1.5em;
                line-height: 1.5em;
		margin-left:220px;padding:0;
	}
	h3 {
		font-size: 1.3em;
		line-height: 1.3em;
		margin: 0 0 0.5em 0;
		padding:0;
	}
	#menu_vert h2 {
		margin-left: 10px;
	}
	h4 {
		font-size: 1.2em;
		line-height: 1.3em;
		margin: 0 0 0.25em 0;
		padding: 0;
	}
	h5 {		font-size: 1.1em;
		line-height: 1.3em;
		margin: 0 0 0.25em 0;
		padding: 0;
	}
	h6 {
		font-size: 1em;
		line-height: 1.3em;
		margin: 0 0 0.25em 0;
		padding: 0;
	}
/* END HEADINGS */

/* TEXT */
/*	p {
		font-size: 1em;
		margin: 0 0 1.5em 0;
		padding: 0 10px;
		line-height:1.4em;
}*/
 body.xml p {
		font-size: 1em;
		margin: 5px auto;
		padding: 0px;
		line-height:1.4em;
	}
	blockquote {
		border-left: 10px solid #FFF;
		margin-left: 10px;
	}
	pre {
		text-align: left;
		font-family: Verdana, sans-serif;
		font-size: 1.2em;;
                line-height: 1.25em;
                display: block;
                width:200px;
	}
	strong, b {
		font-weight: bold;
	}
	em, i {
		font-style:italic;
	}
    code {
        font-family: "Courier New", Courier, monospace;
        font-size: 1em;
        white-space: pre;
    }
/* END TEXT */
	
/* LISTS 
	#main ul {
        line-height:1.4em;
		margin: 0 0 1.5em 0;
		padding: 0;
	}
	#main ul li {
		margin: 0 0 0.25em 30px;
		padding: 0;
	}
	ol {
		font-size: 1.0em;
		line-height: 1.4em;
		margin: 0 0 1.5em 0;
		padding: 0;
	}
	ol li {
		font-size: 1.0em;
		margin: 0 0 0.25em 30px;
		padding: 0;
	}
	dl {
		margin: 0 0 1.5em 0;
		padding: 0;
		line-height: 1.4em;
	}
	dl dt {
		font-weight: bold;
		margin: 0.25em 0 0.25em 0;
		padding: 0;
	}
	dl dd {
		margin: 0 0 0 30px;
		padding: 0;
	}
 END LISTS */
	
	
/* TABLE */
	table {width:100%;
        font-size: 1em;
		margin: 0 0 1.5em 0;
        padding: 0;
	}
	table caption {
		font-weight: bold;
		margin: 0 0 0 0;
		padding: 0 0 1.5em 0;
	}
	th {
		font-weight: bold;
		text-align: center;
border-bottom:1.5px solid;
	}
	tr {

	}
	td {
		font-size: 1em;
/*border-left:1px dotted;
border-bottom:1px dotted;*/
	}
/* END TABLE */	
	
	hr {
		   
	}
	hr {
		

	}




/* End of 'Earthday : Type Paragraph' */

/* Start of CMSMS style sheet 'Earthday : Colours' */
/* Layout sections */



/* NEW CSS */

/*colors*/
body{
   background: url(images/EarthDay/BGGradient.jpg) repeat-x;
   background-color: #fff;

}
div#page{}
div#hbox{}
h1 a{color: #C1E6FF}
h1 a:hover{color: #C1E6FF}
#header h1{font-size: 163%;color: #566D46}
h2{color: #888888}
h3{color: #B02A36}
div#header{background: url(images/EarthDay/Header.jpg) no-repeat;color: #AEC19F;background-color:#ECFAFF;}
div#wrapper{background: #9FC2FE}
div#menuwrapper{
   background: url(images/EarthDay/MenuGradient.jpg) no-repeat;

}
div#menu_horiz{background-color: #fff}
div#content{background-color: #fff}
div#contentbox{}
div#contenthead{
   background: url(images/EarthDay/crumbs.jpg) repeat-x;}

div#footer{
  background: url(images/EarthDay/TreeLine.jpg); 
  color: #004262;
  height: 53px;
  text-align: left;
}



/* End of 'Earthday : Colours' */

/* Start of CMSMS style sheet 'Earthday : Forms' */
/* A CSS Framework by Mike Stenhouse of Content with Style, adapted to CMSMS by Daniel Westergren */

/* FORM ELEMENTS */
/*things for no borders*/
	.FormBold {
                          font-size: 1em;
                          font-weight: bold;
             }

            th {
		font-weight: bold;
		text-align: center;
                          border-bottom:none;
	}
            table { border-collapse:collapse; }

	tr {

	}
	td {
		font-size: 1em;
                          border-bottom:1px dashed #cccccc; 

	}
/* no boreders*/
	form {
		margin:0;
		padding:0;
	}
	form div,
	form p {
		font-size: 0.75em;
		margin: 0 0 1em 0;
		padding: 0;
	}
	label {
		font-weight: bold;
	}
	fieldset {
		border: 1px solid #eee;
		padding: 5px 10px;
		margin: 0 0 1.5em 0;
	}
	fieldset legend {
		color: #666;
		font-size: 1.1em;
		font-weight: bold;
		margin: 0 0 0 0px;
		padding: 0;
		background-color: white;
	}
	* html fieldset legend {
		margin: 0 0 10px -10px;
	}
	fieldset ul {
		list-style: none;
		margin: 0 0 1.5em 0;
		padding: 0;
	}
	fieldset ul li {
		list-style: none;
		margin: 0 0 0.5em 0;
		padding: 0;
	}
     
	
	input, select, textarea {
		font-size:1em; 
		font-family: arial, helvetica, verdana, sans-serif;
        
        margin: 0;
		padding: 2px;
	}
	
	input, select {
		vertical-align:middle;
	}
	textarea {
		width: 200px;
		height: 8em;
	}
	
	input.check {
		border: none;
		width: auto;
		height: auto;
		margin: 0;
	}
	input.radio {
		border: none;
		width: auto;
		height: auto;
		margin: 0;
	}
	input.file {
		height: auto;
		width: 250px;
	}
	input.readonly {
		background-color: transparent;
		border: none;
	}
	input.button {
		width: 10em;
		border:1px solid black;
		background-color: #ddd;
	}
	input.image {
		border: none;
		width: auto;
		height: auto; 
	}
	
    form div.submit {
		margin: 1em 0;
	}
    form div.submit input {
		height: 2em;
        width: 15em;
	}
/* END FORM ELEMENTS */
		
/* End of 'Earthday : Forms' */

/* Start of CMSMS style sheet 'Earthday : Links' */
/* LINKS */
        #contenthead
	a,
	a:link 
	a:active, a:visited {color: #222;
	text-decoration: none;background-color:transparent;
	}
        #contenthead
         a:hover {color: #2776AF;
	text-decoration: underline;
	}
        .breadcrumbs
	a,
	a:link 
	a:active, a:visited {color: #222;
	text-decoration: none;background-color:transparent;
	}
        .breadcrumbs
         a:hover {color: #fff;
	text-decoration: underline;
	}
        #flat
	a,
	a:link 
	a:active, a:visited {color: #3981FE;
	text-decoration: none;background:#FFF;
	}
        #flat
         a:hover {color: #666666;
	text-decoration: underline;background:#FFF;
	}
        .NewsSummary
	a,
	a:link 
	a:active, a:visited {color: #3981FE;
	text-decoration: none;
	}
        .NewsSummary
         a:hover {color: #666666;
	text-decoration: underline;
	}

	#main a,
	a:link 
	a:active, a:visited {
               color: #00A471;
	  text-decoration: none; 
	}
	#main a:hover {
               color: #00A471;
	  text-decoration: underline;
	}
        #menu 
        a,
	a:link 
	a:active, a:visited {
             font-family: sans-serif;
             color: #444;
             text-decoration: none;
             background:none;
	}
        #menu
        a:hover {
             font-family: sans-serif;
             color: #fff;
             text-decoration: underline;
             background:none;
}
/* END LINKS */
/* End of 'Earthday : Links' */

/* Start of CMSMS style sheet 'EarthDay : FCKEditor' */
/*FCKEditor*/
p {
  display: block;
  line-height: 1.50em; 
}

div.paragraph{
  clear:none;
  display: inline; 
  line-height: 1.50em; 
}

div.paragraphsinglespace{
  clear:none;
  display: inline; 
  line-height: 1.10em; 
}

div.header1 {
  color: #444;
  font-size:1.75em;
  display: inline; 
}

div.header2 {
  color: #888;
  font-size:1.5em;
  line-height: 1.10em; 
  display: inline;
}


/* End of 'EarthDay : FCKEditor' */

/* Start of CMSMS style sheet 'Earthday : News' */
.NewsSummary {
    margin: 5px;
 }

.NewsSummaryCategory {
  font-style: italic;
  margin: 5px 0;
 }

.NewsSummaryPostdate {
  font-size: 90%;
  font-weight: bold;
 }

.NewsSummarySummary, .NewsSummaryContent {
  line-height: 140%;
  margin-bottom: 10px;
 }

#NewsPostDetailDate {
  font-size: 90%;
  font-style: italic;
  margin-bottom: 5px;
  }

#NewsPostDetailSummary {
   margin-bottom: 10px;
  line-height: 150%;
   }

#NewsPostDetailContent {
  margin-bottom: 15px;
  line-height: 150%;
  }

/* to add specific style to the below div, uncomment them. */
 
.NewsSummaryLink {}
.NewsSummaryAuthor {display:none}
.NewsSummaryMorelink {}
#NewsPostDetailTitle {}
#NewsPostDetailHorizRule {}
#NewsPostDetailCategory {}
#NewsPostDetailAuthor {}
#NewsPostDetailAuthor {}
#NewsPostDetailPrintLink {}
#NewsPostDetailReturnLink {}

/* End of 'Earthday : News' */

/* Start of CMSMS style sheet 'Earthday : EventsMenuGreen' */
div.EventsMenuGreen{
  display: block;
  float:left;
}

div.EventsMenuGreen span{
  display: inline;
  float:left;
}

div.EventsMenuGreen span.middle{
  padding: 5px 2px 1px 2px;
  margin-right:0px;
  height:19px;
  background: #fff url(images/EarthDay/EventButtonGreen.jpg)  no-repeat center;
}

div.EventsMenuGreen span.middle:hover{
  padding: 5px 2px 1px 2px;
  margin-right:0px;
  height:19px;
  background: #fff url(images/EarthDay/EventButton_clickGreen.jpg)  no-repeat center;
}

div.EventsMenuGreen span.REventsCap{
  background: #fff url(images/EarthDay/LEvents.jpg) no-repeat right;
  padding: 5px 2px 1px 2px;
  margin-right:0px;
  height:19px;
  width: 20px;
  color:white;
}

div.EventsMenuGreen span.LEventsMenuGreen {
  background: #fff url(images/EarthDay/LEventButtonGreen.jpg) no-repeat left;
  padding: 5px 2px 1px 2px;
  margin-right:0px;
  height:19px;
  width: 10px;
}

div.EventsMenuGreen span.REventsMenuGreen {
  background: #fff url(images/EarthDay/REventButtonGreen.jpg)  no-repeat right;
  padding: 5px 2px 1px 2px;
  margin-right:0px;
  height:19px;
  width: 10px;
}

#EventsMenuID a{
  color: #fff;
  width:100%;
}

#EventsMenuID a:hover {
  color:#fff;
  text-decoration: underline;
}


/* End of 'Earthday : EventsMenuGreen' */

/* Start of CMSMS style sheet 'EarthDay : Sponsors' */
div#sponsors {
   clear: both;
   background: url(images/EarthDay/sponsors/Big.jpg) no-repeat; 
   height:149px;
   width:497px;
   float: right;
   margin-top:-50px;
}



/* End of 'EarthDay : Sponsors' */

