/*
Project: Cambridge Conservation Forum
Theme Name: CCF Custom Theme
Description: Custom theme for Cambridge Conservation Forum
Version: 1.0
Author: Francis Rowland
Author URI: http://piedaterredesign.co.uk/

File contains many inherited style rules
*/



/* Begin Typography & Colors */
*,
html { margin:0; padding:0; }

body {
	font-size: 62.5%; /* Resets 1em to 10px */
	font-family: Helvetica, Arial, Sans-Serif;
	background: #263212 url(images/ccf_page_bg_2.jpg) top left repeat-x;
	color: #000000;
	text-align: center;
	}
	
#wrapper {
	background-color:#FFFFFF;
	border:1px solid #009A00;
	}	

#page {
	border: 1px double #ffffff;
	text-align: left;
	}
	
#banner {	
	background:#456456 url(images/hiawatha_falls.jpg) top left no-repeat;	/* default banner */ /* http://www.flickr.com/photos/rev_aviator/3731773153/ */
	}

/* Specific banners for main pages */
#home #banner { background:#BEDCFF url(images/butterfly.jpg) top right no-repeat; } 
#news #banner { background:#BEDC11 url(images/coast.jpg) top right no-repeat; } /* http://www.flickr.com/photos/lucas3d/3508801159/ */
#events #banner { background:#BEDC22 url(images/mountain_range.jpg) top right no-repeat; }
#about #banner { background:#BEDC33 url(images/tern.jpg) top right no-repeat; } /* http://www.flickr.com/photos/sapphir3blu3/3593903034/ */
#contact #banner { background:#BEDC44 url(images/birds.jpg) top right no-repeat; } /* http://www.flickr.com/photos/jahiahtenu/2385216035/ */
#projects #banner { background:#BEDC55 url(images/trees_banner.jpg) top right no-repeat; }
#sub-groups #banner { background:#BEDC66 url(images/seal.jpg) top right no-repeat; }	/* http://www.flickr.com/photos/g-hat/1647987393/in/photostream/ */

#content {
	font-size: 1.2em
	}

.widecolumn .entry p {
	}

.narrowcolumn .entry, .widecolumn .entry {
	/*line-height: 1.4em;*/
	}

.widecolumn {
	/*line-height: 1.6em;*/
	}

.narrowcolumn .postmetadata {
	text-align: center;
	}

.thread-alt {
	background-color: #f8f8f8;
}
.thread-even {
	background-color: white;
}
.depth-1 {
border: 1px solid #ddd;
}

.even, .alt {
	border-left: 1px solid #ddd;
}

#footer {
	border-top: 1px dotted #cccccc;
	}

small {
	font-family: Arial, Helvetica, Sans-Serif;
	font-size:1.1em;
	line-height: 1.5em;
	}
	
h1, h2, h3, h4, h5 { 
	/*font-family:Georgia, "Times New Roman", Times, serif;*/
	font-weight:normal;
	margin:3px 0; 
	}	
	
h2 { 
	font-size:2.2em; 
	color:#009A00; 
	text-transform:uppercase; 
	border-top:1px dotted #609A39;
	border-bottom:1px dotted #609A39; 
	padding:0.4em 0 0.1em 0; 
	}
h3 { font-size:2em; color:#566923; line-height:1.2em; }
h4 { font-size:1.8em; color:#609A39; line-height: 1.2em; }

h5 { font-size:1.6em; font-weight:bold; }
	
p,
.widecolumn .entry p,
ul,
ol { 
	font-size:1.4em;
	line-height:1.4em;
	margin:0 0 7px 0;
	}

ul ul {font-size:100%;}

ul ul li {list-style:square;}

p,
.widecolumn .entry p {line-height:1.4em; margin-bottom:18px;}	

/* Next/Previous post... */
div.navigation p {font-size:1.3em; line-height:1.3em;}

div#home_intro p {
	color:#003300;
	font-size:1.7em;
	line-height:1.2em;
	margin:14px 0;
	text-align:justify;
}

#rightcol p,
#rightcol ul,
#rightcol ol { color:#666666; }

#headerimg .description {
	font-size: 1.2em;
	text-align: center;
	}
	
#banner h1 {
	width:180px;
	height:100px;
	position:relative;
	padding:0 0 0 40px;
	margin:0;	
	font-size:2.4em;
	border:0 none;
	color:#000;
	text-transform:none;
	}

#banner h1 span {
	position:absolute;
	width:200px;
	height:100px;
	left:20px;
	margin:0;
	padding:0;
	
	background:url(images/ccf_logo_new_white.png) top left no-repeat !important;
	background:url(images/ccf_logo_new_white.gif) top left no-repeat;	/* for IE6 */
	}	

#banner h1 a {
	width:180px;
	height:100px;
	}
	
#sidebar h2 {
	font-family: 'Lucida Grande', Verdana, Sans-Serif;
	font-size: 1.2em;
	}


.entry p a:visited {
	color: #b85b5a;
	}

.commentlist li, #commentform input, #commentform textarea {
	font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}
.commentlist li ul li {
	font-size: 1em;
}

.commentlist li {
	font-weight: bold;
}

.commentlist li .avatar { 
	float: right;
	border: 1px solid #eee;
	padding: 2px;
	background: #fff;
	}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
	}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	}

#commentform p {
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

.commentmetadata {
	font-weight: normal;
	}

#sidebar {
	font: 1em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {
	color: #777;
	}

code {
	font: 1.1em 'Courier New', Courier, Fixed;
	}

acronym, abbr, span.caps
{
	font-size: 0.9em;
	letter-spacing: .07em;
	}

a {
	color: #06c;
	text-decoration: none;
	}

a:hover {
	color: #147;
	text-decoration: underline;
	}

h2 a:hover, h3 a:hover {text-decoration:none;}	

/* WP Calendar */
#wp-calendar #prev a, #wp-calendar #next a {
	font-size: 9pt;
	}

#wp-calendar a {
	text-decoration: none;
	}

#wp-calendar caption {
	font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}
	
/* End Typography & Colors */



/* Begin STRUCTURE */
body {
	margin: 0 0 20px 0;
	padding: 0;
	}
	
#wrapper {
	margin:30px auto 30px auto;
	padding:20px 0;
	/*width:940px;*/
	width:958px;
	}
	

#page {
	background-color: white;
	margin: 0 auto;
	padding: 0;
	width: 918px;
	/*border: 1px solid #959596;*/
	}

#banner {
	margin:0;
	padding:0;
	width:auto;
	height:160px;
	}	
	
#leftcol {
	/*border: 1px solid green;*/
	width: 619px;
	float: left;
	}
	
#rightcol {
	/*border: 1px solid blue;*/
	float: right;
	width: 279px;
	padding-left: 9px;
	border-left:1px dotted #CCCCCC;
	}		


.narrowcolumn {
	float: left;
	padding: 0 0 10px 0;
	width: 450px;
	border:1px solid red;
	}

.widecolumn {
	padding: 7px 0 20px 0;
	width: auto;
	}

.post {
	margin:0 0 20px 0;
	padding-bottom:10px;
	text-align: left;
	border-bottom:1px dotted #669966;
	}

.entry {
	margin-top:10px;
	}

.post hr {
	display: block;
	}

.widecolumn .post {
	margin: 0;
	}

.narrowcolumn .postmetadata {
	padding-top: 5px;
	}

.widecolumn .postmetadata {
	margin: 30px 0;
	}

.widecolumn .smallattachment {
	text-align: center;
	float: left;
	width: 128px;
	margin: 5px 5px 5px 0px;
}

.widecolumn .attachment {
	text-align: center;
	margin: 5px 0px;
}

.postmetadata {
	clear: both;
	padding:5px;
	background-color:#f3f3f3;
}

.clear {
	clear: both;
}

#footer {
	clear:both;
	width:98%;
	height:3em;
	padding-top:0.75em;
	margin-top:1em;
	}

#footer p,
#footer p.author {
	font-size:1.2em;
	font-family:Georgia, "Times New Roman", Times, serif;
	text-align:center;
	line-height:1.5em;
	margin:0;
	}

#footer p { color:#666; } /* #996600 */
#footer p.author { color:#999; font-style:italic; }	/* #D79D5C */
	
/* End Structure */



/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}
/* End Images */



/* Begin Lists

	Special stylized non-IE bullets
	Do not work in Internet Explorer, which merely default to normal bullets. */
	
ul { margin-left:15px; }	

html>body .entry ul {
	margin-left: 0px;
	padding: 0 0 0 10px;	
	list-style:circle;
	list-style-position:outside;
	}

html>body .entry li {
	margin: 2px 0 2px 10px;
	}

/* the following rule adds right-arrow chevrons before each <li> */
.entry ul li:before, #sidebar ul ul li:before {
	/*content: "\00BB \0020";*/
	}

.entry ol {
	padding: 0 0 0 35px;
	margin: 0;
	}

.entry ol li {
	margin: 0;
	padding: 0;
	}

.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}
	
div#rightcol ul {padding:0;}	

#sidebar ul, #sidebar ul ol {
	margin: 0;
	padding: 0;
	}

#sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 15px;
	}

#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px;
	}

#sidebar ul ul, #sidebar ul ol {
	margin: 5px 0 0 10px;
	}

#sidebar ul ul ul, #sidebar ul ol {
	margin: 0 0 0 10px;
	}

ol li, #sidebar ul ol li {
	list-style: decimal outside;
	}

#sidebar ul ul li, #sidebar ul ol li {
	margin: 3px 0 0;
	padding: 0;
	}
/* End Entry Lists */



/* Begin Form Elements */
#searchform {
	margin: 10px auto;
	padding: 5px 3px;
	text-align: center;
	}

#sidebar #searchform #s {
	width: 108px;
	padding: 2px;
	}

#sidebar #searchsubmit {
	padding: 1px;
	}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}

select {
	width: 130px;
	}

#commentform input {
	width: 220px;
	margin: 5px 0 1px 0;
	}

#commentform {
	margin: 5px 10px 0 0;
	}
#commentform textarea {
	width: 460px;
	}
#respond:after {
		content: "."; 
	    display: block; 
	    height: 0; 
	    clear: both; 
	    visibility: hidden;
	}
#commentform #submit {
	margin: 0 0 5px auto;
	float: left;
	}
/* End Form Elements */



/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 10px;
	padding: 5px 5px 10px 10px;
	list-style: none;

	}
.commentlist li ul li { 
	margin-right: -5px;
	margin-left: 10px;
}

.commentlist p {
	margin: 10px 5px 10px 0;
}
.children { padding: 0; }

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */



/* Begin Sidebar */
#sidebar
{
	padding: 20px 0 10px 0;
	margin-left: 545px;
	width: 190px;
	}

#sidebar form {
	margin: 0;
	}
/* End Sidebar */



/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }
/* End Calendar */



/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

.hidden {
	display: none;
	}

hr {
	display: none;
	}

a img {
	border: none;
	}

/* Post-to-post navigation*/
.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 60px;
	}

/* Identifies some page content as being a particular item, adds some 
   whitespave around it, add puts a border / dividing line across the top 
*/	
div.item {
	border-top:1px dotted #CCCCCC;
	margin-top:0.8em;
	padding:0.4em 0;
	width:auto;
}


/* Prettify the "download the latest Newsletter" bit */
#rightcol p.download {
	font-size:1.52em;
	text-align:center;
	padding:5px 4px;
	background-color:#d54e21;
	color:white;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border:1px solid #CC3300;	
	}
	
#rightcol p.download a,
#rightcol p.download a:link,
#rightcol p.download a:visited {
	color:#ffffff;
	}
#rightcol p.download a:hover,
#rightcol p.download a:active {
	color:#FFD5AC;
	text-decoration:none;
	}	
		
	
	
/*~~~~~~~~~~~~~~~~~~~*/
/*  Custom CCF #nav  */
/*~~~~~~~~~~~~~~~~~~~*/
#nav {
	margin:0.1em auto 7px auto;
	width:auto;
	height:3em;
	background-color:#333333;
	/*background:#333333 url(images/nav_bottom.png) bottom left no-repeat;*/
	-moz-border-radius-bottomleft: 5px;
	-moz-border-radius-bottomright: 5px;
	-webkit-border-radius-bottomleft: 5px;
	-webkit-border-radius-bottomright: 5px;		
	}

#nav ul { 
	width:auto;
	display:inline;
	
	font-weight:normal;
	font-size:1.45em;	
	list-style:none;
	list-style-position:outside;
	}

#nav ul li { 
	float:left;
	padding:0.4em;
	margin: 0 8px 0 1px;
	color:#fff;
	}

	
#nav a,
#nav a:link,
#nav a:visited {
	color:#fff;
	text-decoration:none;
	border-top:2px solid #333;
	border-bottom:2px solid #333;
	padding:0.2em 0.1em 0.1em 0.1em;
	}

#nav a:hover,
#nav a:active {
	color:#fff;
	text-decoration:none;
	background-color:transparent;
	border-bottom:2px solid #009A00;
	}
	
#nav li.current_page_item a {
	background-color:transparent;
	border-bottom:2px solid #009A00;
	border-top:2px solid #609A39;
	color:#FFFFFF;
	text-decoration:none;
}	



.divider {border-top:1px dotted #CCC; padding:10px 0;}	

.hide {display:none;}
	
	
/* End Various Tags & Classes*/



/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	/*border-radius: 3px;*/
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
/* End captions */


