/* - - - - - - - - - - - - - - - - - - - - -
Title : 		GLOBAL.CSS style sheet
Author : 		David Hund - Valued Standards, for Co-Capacity
URL : 			http://www.etc-international.org
Modified : 		$LastChangedDate$ - SVN: $Revision$
- - - - - - - - - - - - - - - - - - - - - */

/* - - - - - - - - - - - - - - - - - - - - -
INDEX:
	C1:		Reset, Fixes, etc
	C2:		Broad Generics (body etc)
	C3:		Typography
	C4:		Generic Classes
	C5:		Headers
	C6:		Hyperlinks
	C7:		Logo
	C8:		Images
	C9:		Lists
	C10:	Base Structure (Div frame)
	C11:	Tables
	C12:	Forms
- - - - - - - - - - - - - - - - - - - - - */

/* -----------------------------------------
	C1: RESET [start from scratch]
	http://meyerweb.com/eric/thoughts/2008/01/15/resetting-again/
----------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; _font-size: 100.01%; vertical-align: baseline; background: transparent; }
body {line-height: 1;}
ol, ul {list-style: none;}
blockquote, q {quotes: none;}
ins {text-decoration: underline; background: #FFFFCC;}
del {text-decoration: line-through;}
/* tables still need 'cellspacing="0"' in the markup */
table {border-collapse: collapse; border-spacing: 0;}


/* -----------------------------------------
	1.2: GENERIC FIXES [fixes clearing issues with floats]
	http://www.quirksmode.org/css/clearing.html
----------------------------------------- */
/* 	We ASSUME some auto-fixes such as the #col3 UL and other horizontal lists */
.wrapper, #branding, #breadcrumbbar, #col3, #content, #col1, #col2, .innerwrapper, #themes.featured ul, #sidebar
.clearfix{
	/* overflow: auto; */
	overflow: hidden;/* If you need IE/MAC or when there's scrollbars due to extra padding/marging/borders etc: */
	/* width: 100%; */ /* IE 6+ -> hasLayout, Opera fix too? */
	_zoom: 1;/* IE: Avoid width issues? */
}

/* -----------------------------------------
	C2: GENERICS [Generic type, .classes, etc]
----------------------------------------- */
body{
	background: #f5f5f5;
	color: #202124;
	font-size: 62.5%;
	font-family: Arial, Helvetica, Verdana, sans-serif;
}


/* -----------------------------------------
	C3: TYPOGRAPHY
----------------------------------------- */
div{font-size: 1em;} /* = 10px */

p, dl, td, th, li, pre, code, kbd, samp, pre, tt, input{font-size: 1.2em;}
#branding li, #breadcrumbbar li, #breadcrumbbar input, #col2 li, #footer li, #footer p, #footer input{font-size: 1.2em;}
p{line-height: 1.4;margin-bottom: 1em;}

strong{font-weight: bold;}
em{font-style: italic;}
cite{font-style: italic;}
abbr, acronym { cursor: help; text-transform: uppercase; font-size: 85%; letter-spacing: .1em; border-bottom: 1px dotted #999;}
pre { white-space: pre; }
pre * { font-size: 1.2em; line-height: 1.4; white-space: pre; }
blockquote { border-top: 1px solid #007370; border-bottom: 1px solid #007370; color: #007370; }
blockquote > *:before { content: "\201C"; }
blockquote > *:after { content: "\201D"; }
q { quotes: "\201C" "\201D" "\2018" "\2019"; }

address,
blockquote{margin: 1.5em 0;font-size: 1.2em;line-height: 1.4em;}
blockquote p{margin: 1em;}

/* Cascading font size should remain same! */
td td, li ul li, li ol li, td p, blockquote p, dd p, li p, ul li ul li, ul li ul li p, ol li ol li, ol li ol li p {font-size: 1em !important; line-height: 1.5em !important;}

hr { display: block; background: #007370; color: #007370; width: 100%; height: 1px; border: none; }


/* -----------------------------------------
	C4: GENERIC CLASSES
----------------------------------------- */
.hidden{display:none;}
.accessibility{margin: 0;padding: 0; line-height: 0; font-size: 0; list-style-type: none; position: absolute; left: -999px;}

.alignRight{text-align: right;}
.alignLeft{text-align: left;}
.alignCenter{text-align: center;}
.floatRight{float: right;}
.floatLeft{float: left;}

.more {text-align: right; line-height: 1; margin-bottom: 0;}

.error{background: transparent; color: #CC3333;}
.success{background: transparent; color: #006600;}

/* CSS3 corners, dropshadow, textshadow: only supported in modern browsers! */
.topcorners, 
#breadcrumbbar, #content, .featured, .aside, #mainnavigation, .button {
	-khtml-border-top-left-radius: 4px;
	-khtml-border-top-right-radius: 4px;
	-o-border-top-left-radius: 4px;
	-o-border-top-right-radius: 4px;
	-moz-border-radius-topleft: 4px;
	-moz-border-radius-topright: 4px;
	-webkit-border-top-left-radius: 4px;
	-webkit-border-top-right-radius: 4px;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
}
.bottomcorners,
#breadcrumbbar, #mainnavigation, .aside, .button {
	-khtml-border-bottom-left-radius: 4px;
	-khtml-border-bottom-right-radius: 4px;
	-o-border-bottom-left-radius: 4px;
	-o-border-bottom-right-radius: 4px;
	-moz-border-radius-bottomleft: 4px;
	-moz-border-radius-bottomright: 4px;
	-webkit-border-bottom-left-radius: 4px;
	-webkit-border-bottom-right-radius: 4px;
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
}
.dropshadow,
#col1 img.shadow {
	-moz-box-shadow: 2px 2px 4px #999;
	-webkit-box-shadow: 2px 2px 4px #999;
	box-shadow: 2px 2px 4px #999;
}
.textshadow {}


.featured,
.aside {
	background-color: #fbd39d;
	padding: 10px;
	margin-bottom: 10px;
}
.aside { background-color: #f8f6ee; }

.message{ 
	background-color: #FFFFCC; 
	color: #363636;
	border-top: 1px dotted #FF9900; 
	border-bottom: 1px dotted #FF9900; 
	padding: 0 .5em; 
	line-height: 2em;
	text-align: left;
}
.message.error{
	background-color: #FFD0D0; 
	color: #CC3333;
	border-color: #CC3333; 
}
.message.success{
	background-color: #99EE99; 
	color: #006600;
	border-color: #006600; 
}

/* -----------------------------------------
	C5: HEADERS
----------------------------------------- */
h1, h2, h3, h4, h5, h6 {
	font-family: Arial, Helvetica, Verdana, sans-serif;
	font-weight: normal;
	color: #202124;
	margin: 1em 0 .5em 0;
}
h1 { font-size: 2.4em; color: #007370; border-bottom: 1px solid #007370; padding-bottom: .1em;}
h2 { font-size: 1.6em; color: #007370; }
h3 { font-size: 1.4em; }
#col3 h3, #sidebar h3,
#contact-info h3 {font-size: 1.2em; font-weight: bold;}
#contact-info h3 {color: #FFF;}
#contact-info h3 {margin: 0.5em 0;}
h4 { font-size: 1.3em; font-weight: bold; }
#contact-info h4 { font-size: 1em;color: #FFF; }
h5 { font-size: 1.3em; font-weight: bold; font-style: italic; }
h6 { font-size: 1.3em; font-weight: bold; }

h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child { margin-top: 0;}


/* -----------------------------------------
	C6: LINKS
----------------------------------------- */
a:link, a:visited, a:hover, a:active {
	color: #d28303;
	text-decoration: underline;
}
a:hover, a:active{color: #007370;}

.aside h2 a {text-decoration: none;}
.rss-icon a {
	float: right; 
	text-indent: -999em;
	width: 16px;
	height: 16px;
	background: transparent url('../img/rss-icon.png') no-repeat 100% 50%;
}

.rss-link a {
	font-weight: bold;
	font-size: .86em;
	text-decoration: none;
	display: block; 
	background: transparent url('../img/rss-icon.png') no-repeat 0 50%;
	padding-left: 22px;
}

/* page-links */
#page-links .up a,
#page-links .bookmark a,
#page-links .home a {
	display: block; 
	padding-left: 22px;
}
#page-links .up a { background: transparent url('../img/up-icon.gif') no-repeat 0 50%; }
#page-links .home a { background: transparent url('../img/home-icon.gif') no-repeat 0 50%; }
#page-links .bookmark  a { background: transparent url('../img/bookmark-icon.gif') no-repeat 0 50%; }

/* vCard links */
#contact-info .vcard ul li a {
	display: block; 
	padding-left: 22px;
}
#contact-info .vcard ul li.tel,
#contact-info .vcard ul li.fax { padding-left: 22px; }
#contact-info .vcard ul li.tel { background: transparent url('../img/phone-icon.gif') no-repeat 0 50%; }
#contact-info .vcard ul li.fax { background: transparent url('../img/fax-icon.gif') no-repeat 0 50%; }
#contact-info .vcard ul li a.email { background: transparent url('../img/email-icon.gif') no-repeat 0 50%; text-decoration: underline;}
#contact-info .vcard ul li a.email:hover { text-decoration: none;}
#contact-info .vcard ul li.coc { font-weight: bold;}
#contact-info .vcard ul li.coc .nr { font-weight: normal;}


/* -----------------------------------------
	C7: LOGO
----------------------------------------- */
#logo { float: right; }
#logo a:link, #logo a:link, #logo a:link, #logo a:link{}


/* -----------------------------------------
	C8: IMAGES
----------------------------------------- */
img.left { float: left;margin: 0 1em 0 0;}
img.right { float: right;margin: 0 0 0 1em;}
#col1 img.shadow { margin-right: 2px;}
a img { text-decoration: none; border: 0;}
#col1 img { border: 1px solid #007370; }

/* Featured Themes images */
#themes img {
	float: left;
	margin: 0;
}
#partners-donors img {display: block; margin-bottom: 6px;}



/* -----------------------------------------
	C9: LISTS
----------------------------------------- */
ul, ol{ 
	list-style-type: disc; 
	list-style-position: outside; 
	margin: 2em 0;
	margin-left: 1.5em;
}
ol{list-style-type: decimal;  margin-left: 3em;}
ul li, ol li{margin: .3em 0;line-height: 1.4;}
ul li ul, ol li ol, ul li ol, ol li ul{margin: .5em 2em;}
ul li ul li, ol li ol li, ul li ol li, ol li ul li{margin: 0;}

#col2 ul { 
	list-style-position: inside; 
	margin: 1em 0;
}
.list ul li a { color: #202124;}
.list ul li a:hover { color: #007370; text-decoration: none;}

/* horizontal lists */
ul.horizontal,
ol.horizontal,
#branding ul,
ol#breadcrumb,
#themes.featured ul {list-style-position: inside; list-style-type: none; margin: 0;}

ul.horizontal li,
ol.horizontal li,
#branding ul li,
ol#breadcrumb li,
#themes.featured ul li{display: inline; float: left; margin-right: 1em;}

/* Branding tools list */
#branding ul {}
#branding ul li { 
	margin: 12px 10px 10px 0; 
	padding: 0;
}
#branding ul li a:link, #branding ul li a:visited, #branding ul li a:hover, #branding ul li a:active { 
	color: #007370;
	border-right: 1px solid #202124;
	padding-right: 10px;
}
#branding ul li:last-child a { border: 0;}
#branding ul li a:hover, #branding ul li a:active { color: #d28303; text-decoration: none;}

/* Breadcrumb */
ol#breadcrumb li { margin: .2em .5em 0 0;}
ol#breadcrumb li.current { /* font-weight: bold; */ }
ol#breadcrumb li a { color: #FFF; text-decoration: none; margin-right: .5em;}
ol#breadcrumb li a:hover { text-decoration: underline;}

/* Featured Themes */
#themes.featured ul { margin: 0 0 10px 0;}
#themes.featured ul li { margin: 0 4px 0 0; padding: 0;}
#themes.featured ul li:last-child { float: right;}
#themes.featured p.more:last-child { line-height:1; margin: 0;}

/* Footer link lists */
#footer ul {list-style-type: none; list-style-position: inside; margin: 0;}
#footer ul li { color: #FFF;}
#footer ul li a { color: #FFF; text-decoration: none;}
#footer ul li a:hover { text-decoration: underline;}


	/* -----------------------------------------
		NAVIGATION
	----------------------------------------- */
	#col3 ul, #sidebar ul { list-style-position: inside; list-style-type: none; margin: 0; padding: 0 0 10px 0;}
	#col3 ul li, #sidebar ul li { border-bottom: 1px solid #FFF; margin: 0;}

	#mainnavigation ul li a { font-weight: bold; font-size:105%;}

	#col3 ul li a:link,
	#col3 ul li a:visited,
	#col3 ul li a:hover,
	#col3 ul li a:active,
	#sidebar ul li a:link,
	#sidebar ul li a:visited,
	#sidebar ul li a:hover,
	#sidebar ul li a:active{
		display: block;
		padding: .2em 1em;
		border-bottom: 1px solid #eee1ca;
		text-decoration: none;
	}
	#col3 #subnavigation ul li a, #sidebar #subnavigation ul li a { border-bottom:  1px solid #ededee; padding: .2em 0; font-size:105%;}

	#col3 ul li a:hover,
	#col3 ul li a:active,
	#sidebar ul li a:hover,
	#sidebar ul li a:active { text-decoration: underline; }

	#col3 ul li.active a:link,
	#col3 ul li.active a:visited,
	#col3 ul li.active a:hover,
	#col3 ul li.active a:active,
	#sidebar ul li.active a:link,
	#sidebar ul li.active a:visited,
	#sidebar ul li.active a:hover,
	#sidebar ul li.active a:active { font-weight: bold; color: #007370;}

/* definition lists */
dl{margin: .5em 0;line-height: 2em;}
dl dt{font-weight: bold;}
dl dd{margin-left: 1em;}


/* -----------------------------------------
	C10: BASE STRUCTURE (Div frame)
----------------------------------------- */
.wrapper{
	width: 960px;
	margin: 0 auto;
	text-align: left;
}


#tools{}
/* branding backgrounds */
.default #branding { background: transparent url('../img/bg-header-etc.png') no-repeat top left; }
.energy #branding { background: transparent url('../img/headers/bg-header-energy.png') no-repeat top left; }
.tangram #branding { background: transparent url('../img/headers/bg-header-tangram.png') no-repeat top left; }
.advisory #branding { background: transparent url('../img/headers/bg-header-advisorygroup.png') no-repeat top left; }
.crystal #branding { background: transparent url('../img/headers/bg-header-crystal.png') no-repeat top left; }
.urban #branding { background: transparent url('../img/headers/bg-header-urbanagriculture.png') no-repeat top left; }
.ecoculture #branding { background: transparent url('../img/headers/bg-header-ecoculture.png') no-repeat top left; }


#breadcrumbbar,
#footer{
	background-color: #f5920a;
	color: #FFF;
	padding: 2px 10px;
	margin-bottom: 10px;
}
#breadcrumbbar { padding: .5em 10px;}

#content{
	position: relative;
	padding: 10px;
	background: #FFF url('../img/striped-bands.gif') no-repeat 100% 100%;
	margin-bottom: 10px;
}
#themes { margin-top: 10px;}
#mainnavigation { 
	background-color: #fbf6ee;
	padding: 1px 0;
	margin-bottom: 10px;
}
#subnavigation { margin: 0 0 10px 10px;}

#footer { 
	padding: 20px 10px;
/* 	background: #007370 url('../img/grass.gif') repeat 0 0; */
}
#footer .innerwrapper {
	background: transparent url('../img/bg-footer.gif') repeat-y -10px 0;
}
#page-links {
	float: left;
	width: 230px;
	margin-right: 10px;
}
#site-links,
#contentinfo-links {
	float: left;
	width: 150px;
	margin-right: 10px;
}
#contact-info {
	float: right;
	width: 380px;
}
/* hCard Contact Info */
#contact-info .vcard { }
#contact-info .vcard a.url,
#contact-info .vcard .org { position: absolute; left: -999em; }

#contact-info #postal,
#contact-info #visitors { margin-top: 6px; float: left; width: 185px; font-size: 1.2em; line-height: 1.4;}
#contact-info #visitors { float: right; }
#contact-info .vcard ul { margin: 0; padding-top: 10px; clear: both;}

/* -----------------------------------------
	HOLY GRAIL 3 col layout: http://matthewjamestaylor.com/blog/holy-grail-no-quirks-mode.htm
----------------------------------------- */
#colmask {
	position:relative;	/* This fixes the IE7 overflow hidden bug and stops the layout jumping out of place */
	clear:both;
	float:left;
	width:100%;			/* width of whole page */
	overflow:hidden;		/* This chops off any overhanging divs */
	/* background:#ffd8b7; */		/* Left column background colour */
}
#colmid {
	float:left;
	width: 200%;
	position:relative;
	left: 240px;
	/* background:#FFF; */    	/* Centre column background colour */
}
#colright {
	float:left;
	width:100%;
	position:relative;
	left:50%;
	margin-left:-460px;
	/* background:#ff9; */    	/* Right column background colour */
}
#col1wrap {
	float:right;
	width:50%;
	position:relative;
	right:100%;
}
#col1pad {
	margin:0 20px 0 460px;
	overflow:hidden;
}
#col1 {
	width:100%;
	overflow:hidden;
}
#col2 {
	float: left;
	width: 220px;
	position: relative;
	left: 0;
	overflow: hidden;
}
#col3 {
	float: left;
	width: 220px;
	position: relative;
	margin-left: -50%;
	left: 0;
	overflow: hidden;
}
/* -----------------------------------------
	/ END HOLY GRAIL 3 col layout
----------------------------------------- */


/* -----------------------------------------
	C11: TABLES
----------------------------------------- */
#col1 table{
	margin: 2em 0 2em 1px;
	width: 458px;
	border: 1px solid #007370;
	text-align: left;
}
#col1 table caption{
	margin-bottom: -1em; /* table top-margin/2 reversed! */
	margin-top: 2em; /* table top-margin/2 reversed! */
	font-size: 1.2em;
	font-style: italic;
	color: #666;
	text-align: right;
}
#col1 table tr{}
#col1 table thead{}
#col1 table thead tr{background: #007370; color: #FFF;}
#col1 table thead tr th,
#col1 table tfoot tr th{
	border-bottom: 1px solid #007370;
	padding: .2em .5em;
	font-weight: bold;
}
#col1 table thead tr td,
#col1 table tfoot tr td,
#col1 table tfoot tr th{
	padding: .2em .5em;
	border-bottom: 1px solid #007370;
	border-right: 1px solid #007370;
}
#col1 table tbody{}
#col1 table tbody tr{}
#col1 table tbody tr th{
	border-bottom: 1px solid #007370;
	border-right: 1px solid #007370;
	padding: .2em .5em;
	font-weight: bold;
}
#col1 table tbody tr td{
	padding: .2em .5em;
	border-bottom: 1px solid #007370;
	border-right: 1px solid #007370;
}


/* -----------------------------------------
	C12: FORMS
----------------------------------------- */
form{}
legend,
label,
.help_text{
	font-family: Arial, Helvetica, Verdana, sans-serif;
	font-weight: normal;
	display: block;
}

fieldset legend{margin-bottom:  .5em;font-size: 1.4em;}

form p{
	margin: 1em 0;
	/* auto clearfixing: saves extraneous classnames */
	clear: both;
	overflow: hidden;
	_zoom: 1;
}

/* Notices, Labels, Errors, Messages */
label{font-weight: bold;}
.help_text{display:block;font-style: italic;}
.required{}
.required label:after {content:" (Required)";} /* Content does not work in IE!? */
.error{color: #CC3333;}
.error label:after {content:" (Please correctly fill in this field!)";}
.error input{background-color: #FFD0D0;color: #CC3333;border: 1px solid #CC3333;}

/* Inputs */
input,
textarea{
	width: 214px;
	margin: 0;
	font-family: Arial, Helvetica, Verdana, sans-serif;
	font-size: 1em;
	background: #FFF;
	color: #999;
	padding: 2px;
	border: 1px solid #202124;
}

textarea{
	width: 93%;
	height: 100px;
	overflow: auto;
}

input:focus,
textarea:focus,
input.focus,
textarea.focus{border: 1px solid #007370;color: #007370;}

input[type='button'], input[type='submit'], input[type='checkbox'], input[type='image'], input[type='radio'], input[type='reset'], select, button { cursor: pointer; }
input[type='hidden'] { display:none; }

/* No width etc. on certain types of input... */
input[type='button'], input[type='submit'], input[type='reset'], input[type='image'],
input.button {
	padding: .1em 1em;
	width: auto; 
	border: 1px solid #007370;
	background-color: #007370;
	color: #FFF;
}
/* ... Checkboxes and radio buttons */
input[type=checkbox],
input[type=radio],
input.check,
input.radio{background: transparent;width: auto;float: left; /* !! */border: none;margin: 0;}

p.checkbox label, p.radio label{margin-left: 1.4em;}
p.checkbox input, p.radio input{margin-top: -1.4em;}

select{ color: #333; border: 1px solid #333;}
select option{}

/* SiteSearch */
form#sitesearch {float: right; width: 220px;}
form#sitesearch label {position: absolute; left: -999em;}
form#sitesearch input#searchterm {
	width: 134px;
	margin-right: 5px;
}
form#sitesearch input[type='submit']:hover, form#sitesearch input.button:hover {
	background-color: #FFF;
	border-color: #FFF;
	color: #d28303;
}

.filelist ul li img , #col1 .filelist ul li img 
{
 vertical-align: bottom;
 margin: 0 .5em 0 0;
 border:none;
}

/* googlemaps */
.googlemap{
	border: 10px solid #EEE;
	margin: 2em 0;
	height: 300px;
}

#connector {
  position: absolute;
  width: 1em;
  border: 2px solid #202124;
  border-right: none;
  display: none;
}

#main {
  width: 700px;
  float: right;
}

#sidebar {
  width: 220px;
  float: left;
  position: relative;
  left: 0;
  margin-left:0;
  overflow: hidden;
}

#col1 table.fixtable , #col1 .fixtable tbody tr, #col1 .fixtable tbody tr td {
   padding: 0;
   margin: 0;
   border: none;
}

#col1 .fixtable tbody tr td {
   vertical-align: top;
}
