/*
Theme Name: CarbonScape
Description: Custom theme for CarbonScape
Version: 1.0
Author: Lee ter Wal
Author URI: http://ltw.co.nz/
*/

/* CSS Reset */
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,sup, sub, tt, var, 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-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
	outline: 0;
}
ol, ul {
	list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}

/* Generic elements */
html, body, #wrap { height: 100%;}
html {
	background:#fff url(/wp-content/themes/carbonscape/images/top-gradient.jpg) repeat-x;
}
body {
	font:13px/150% Calibri,Tahoma,Helvetica,Arial, san-serif;
	color:#222;
}
#wrap {
	margin:0 auto;
	height: auto;
	min-height: 100%;
	width: 960px;
}
#container {
	clear: both;
	float: left;
	margin: 20px 0 0;
	width: 960px;
	position: relative;
	z-index:8;
}
#content {
	width:780px;
	float: left;
	margin: 0 0 0 10px;
	padding:0;
}
::-webkit-selection{ background: #719d64; color:#fff; text-shadow: none; }
::-moz-selection{ background: #719d64; color:#fff; text-shadow: none; }
::selection { background:#719d64; color:#fff; text-shadow: none; }
h1, h2, h3, h4, h5, h6 {
	font:32px/120% "dederon-sans-web-1","dederon-sans-web-2",Tahoma,Helvetica,Arial, san-serif;
	letter-spacing: -0.01em;
}
h2 {
	font-size:26px;
	margin: 15px 0 0 0;
}
h3 {
	font-size:20px;
	margin: 15px 0 0 0;
}
h4 {
	font-size:16px;
}
ul, quote, code, fieldset {
}
p {
	font-size:13px;
	margin: 0 0 15px 0;
}
em{font-style:italic;}
strong{font-weight:600;}
a:link {
	font-weight:600;
	color:#1b5e79;
	text-decoration: none;
}
a:visited {
	font-weight:600;
	color:#653765;
	text-decoration: none;
}
a:hover {
	color: #4a883f;
	text-decoration: underline;
}
.pdf,.txt,.zip {
	background:url(/wp-content/themes/carbonscape/images/document-pdf-text.png) no-repeat;
	padding:2px 0 2px 18px;
}
.txt {
	background-image:url(/wp-content/themes/carbonscape/images/document-word-text.png);
}
.zip {
	background-image:url(/wp-content/themes/carbonscape/images/document-zipper.png);
}
img, a img {
  border: none;
}
.clear {
	clear: both;	
}
sup, sub{
	font-size:75%;
	position:relative;
}
sup {
	top:-5px;
}
sub {
	top:4px;
}
/* Header */
header {
	float: left;
	margin-bottom: 30px;
	width: 100%;
}
header h1, .skip-link {
	height:1px;
	left:-1000px;
	position: absolute;
	visibility: hidden;
	width:1px;
}
header a img {
	background: url(/wp-content/themes/carbonscape/images/carbonscape_logo.gif) 0 0 no-repeat;
	border:0;
	float: left;
	height: 71px;
	margin: 25px 0 0 0;
	width: 206px;
}
header a:hover img {
	background-position: 0 bottom;
}
#primary {
	float: right;
	width: 700px;	
}
h2.strapline {
	float: left;
	font:italic 14px "dederon-sans-web-1","dederon-sans-web-2",Tahoma,Helvetica,Arial,sans-serif;
	color: #4a883f;
	margin: 34px 0 0 122px;
}

/* Navigation */
#primary ul {
	clear: both;
	float: left;
	width: 700px;
	margin: 22px 0 0 53px;
}
#primary ul li {
	float: left;
	display: inline;
	font: 14px "dederon-sans-web-1","dederon-sans-web-2",Tahoma,Helvetica,Arial,sans-serif;
	text-transform: uppercase;
	margin: 0 15px 0;
}
#primary ul li a {
	font-weight:normal;
	text-decoration: none;
	color: #666;
}
#primary ul li a:hover, #primary .current_page_item a, #primary li.current_page_parent a {
	text-decoration: none;
	border-bottom: 3px solid #4a883f;
	color: #111;
}
#secondary {
	clear: left;
	float: left;
	margin: 5px 10px 0 0;
	padding: 0;
	position: relative;
	width: 160px;
}

#secondary ul li.current_page_parent a{
	display:none;
}
#secondary ul li {
	margin:0;
	border-top: 1px solid #d1d7c6;
	border-bottom: 1px solid #edf6dc;
}
#secondary ul li ul li {
	font-weight:bold;
	border-top: 1px solid #edf6dc;
	border-bottom: 1px solid #d1d7c6;
	margin: 0;
	padding: 10px 0 10px 20px;
}
#secondary ul li.current_page_parent ul li a{
	color: #666;
	display: block;
	text-decoration: none;
}
#secondary ul li ul li.current-menu-item {
	background: url(/wp-content/themes/carbonscape/images/favicon.png) left 50% no-repeat;
	font-weight: bold;
}
#secondary ul li ul li.current-menu-item a{
	color: #111;
}
#secondary ul li ul li a:hover, #secondary ul li ul li.current-menu-item a:hover{
	color: #4a883f;
}

/* Search */
form[name=searchform] {
	float: right;
	margin: -24px 0 0 0;
}

form[name=searchform] input[type=search] {
	background:#eee url(/wp-content/themes/carbonscape/images/magnify.png) 6px 4px no-repeat;
	border: 1px solid #666;
	-webkit-border-radius: 12px 0 0 12px;
	-moz-border-radius: 12px 0 0 12px;
	border-radius: 12px 0 0 12px;
	-webkit-box-shadow:inset 1px 1px 2px #c4c4c4;
	-moz-box-shadow:inset 1px 1px 2px #c4c4c4;
	box-shadow:inset 1px 1px 2px #c4c4c4;
	display:inline;
	float: left;
	height: 14px;
	margin:0 -1px 0 0;
	padding: 4px 5px 4px 26px;
	width: 168px;
}
@media screen and (-webkit-min-device-pixel-ratio:0){
	form[name=searchform] input[type=search]{-webkit-appearance: none;height:21px;margin:2px -3px 0 0}
}
form[name=searchform] input[type=search]::-webkit-search-decoration, 
form[name=searchform] input[type=search]::-webkit-search-cancel-button {
        display: none;
}
form[name=searchform] input[type=search]:focus {
	border: 1px solid #719d64;
	-webkit-box-shadow:: 0 0 5px #719d64;
	-moz-box-shadow: 0 0 5px #719d64;
	box-shadow:: 0 0 5px #719d64;
}
form[name=searchform] input[type=submit] {
	background: #639618;
	background: -moz-linear-gradient(
	center top,
	#94c630 10%,#366801 100%);
	-webkit-box-shadow:inset 1px 1px 0 #e1fbaf;
	-moz-box-shadow:inset 1px 1px 0 #c1d49b;
	box-shadow:inset 1px 1px 0 #c4dd95;
	border: 1px solid #666;
	-webkit-border-radius:  0 4px 4px 0;
	-moz-border-radius: 0 4px 4px 0;
	border-radius:  0 4px 4px 0;	
	color:#fff;
	cursor: pointer;
	display:inline;
	font:bold 12px "dederon-sans-web-1","dederon-sans-web-2",Tahoma,Helvetica,Arial,sans-serif;
	float: left;
	padding: 3px 10px;
	text-transform: uppercase;
	text-shadow: -1px -1px #639618;
	width: auto;
}

form[name=searchform] input[type=submit]:hover {
	background: #94c630;
	background: -moz-linear-gradient(
	center top,
	#366801 0%,#94c630 100%);
	-moz-box-shadow:inset 1px 1px 0 #88bb2a;
	box-shadow:inset 1px 1px 0 #88bb2a;
}

/* Home */
#container .home {
	margin: 0;
}
.home .panel-wrapper h1, .home .panel-wrapper p {
	float: left;
	width: 440px;
}
.home .panel-wrapper h1{
	margin: 30px 0 10px;
}
.home .panel-wrapper img {
	float: left;
	margin: 0 140px 0 50px;
}
.home div#post-57 {
	float:left;
	background:url(/wp-content/uploads/2011/03/f_biochar.jpg) 0 30px no-repeat;
}
.home div#post-68 {
	float:left;
	background: url(/wp-content/uploads/2011/03/f_gas.jpg) no-repeat;
}
.home #featured{
	float:left;
	width:960px;
}
.home #featured article{
	float: left;
	margin: 10px;
	padding: 0;
	width: 220px;
}
.home #featured article:first-child{
	margin-left:0;
}
.home #featured article:last-child{
	margin-right:0;
}

.home #featured h2{
	border-bottom: 4px solid #c7c2b9;
	color:#504124;
	font-size:20px;
	margin-bottom:10px;
	padding-bottom:3px;
}
a.button {
	background:#d2e7a4;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	border:1px solid #b5c692;
	-webkit-box-shadow: 1px 1px 0 #b5c692;
	-moz-box-shadow: 1px 1px 0 #b5c692;
	box-shadow: 1px 1px 0 #b5c692;
	color:#496812;
	font-weight: bold;
	padding: 5px 10px;
	text-decoration: none;
	text-shadow: 1px 1px #e0fdbd;
}
a.button:hover{
	color:#333;
	border:1px solid #7d9b48;
	-webkit-box-shadow: 1px 1px 3px #7d9b48;
	-moz-box-shadow: 1px 1px 3px #7d9b48;
	box-shadow: 1px 1px 3px #7d9b48;
}
a.button:active{
	border:1px solid #7d9b48;
	-webkit-box-shadow:inset 1px 1px 0 #b5c692;
	-moz-box-shadow:inset 1px 1px 0 #b5c692;
	box-shadow:inset 1px 1px 0 #b5c692;
}
/* Content */
#content img.size-full {
	max-width: 500px;
	margin-bottom: 10px;
}

#content img.size-large {
	max-width: 500px;
	margin: 5px 20px 15px 0;
	float: left;
}
article {
	float: left;
	width:500px;
	margin: 0 10px 0 0;
	padding: 0 20px;
}
article p {
	margin-bottom: 14px;
}
article p.intro {
	color:#001c40;
	font-size: 16px;
	line-height: 20px;
	text-shadow: 1px 1px #fff;
}
article ul {
	margin: 10px 10px 15px 25px;
}
article li {
	list-style: square;
	margin: 0 0 5px;
}
article.error404 {
	width: 980px;
	margin: 20px 0 0 0;
	padding:0;
}

article.error404 form, .search article form{
	clear: left;
	float:left;
	margin: 5px 0 0;
}
.edit-link a{
	float:left;
	clear: left;
	color:#999;
	font-size: 10px;
}
address {
	margin: 0 0 15px 0;
}
article .caption, .wp-caption, .wp-caption-text{
	color:#555;
	font-style:italic;
	position:relative;
	top:-10px;
}
/* Images */
.aligncenter {
	display: block;
	margin: 0 auto;
}
.alignleft {
	float: left;
}
.alignright {
	float: right;
}
/* Sidebar */
#sidebar {
	background: #f1f9e2;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	border:1px solid #d4dec2;
	float: left;
	margin-left: 10px;
	padding: 20px;
	width:178px;
}
#sidebar li {
	border-bottom: 1px solid #d4dec2;
	border-top: 1px solid #fff;
	margin: 0;
	padding: 16px 0;
	float: left;
	clear: left;
	width:178px;
}
#sidebar li:first-child{
	padding-top:0;
	border-top:0;
}
#sidebar li:last-child{
	padding-bottom:0;
	border-bottom:0;
}
#sidebar li h4 {
	font-size: 14px;
	font-weight: bold;
	text-shadow:1px 1px #fff;
	text-transform: uppercase;
	text-decoration: none;
	color:#235623;
}
#sidebar img {
	width:178px;
	max-width:178px;
}

/* Footer */
footer {
	clear: both;
	display: block;
	height: 310px;
	margin: -310px auto -620px;
	width:100%;
}
.footer-bg{
	background: url(/wp-content/themes/carbonscape/images/footer_tile.jpg) repeat-x;
	height: 310px;
}
footer img {
	background:#482d22 url(/wp-content/themes/carbonscape/images/footer_bg.jpg) no-repeat;
	display:block;
	margin: 0 auto -280px;
	position: relative;
	z-index:1;
}
#fGroup {
	color: #dac19b;
	margin: 0 auto;
	position: relative;
	width: 1150px;
	z-index:2;
}
#fCopy {
	float: left;
	margin: 220px 0 0 100px;
	width: 500px;
}
#fContact {
	float: right;
	margin: 220px 50px 0 0;
	width: 200px;
}
footer p {
	margin-bottom:3px;	
}
footer a:link, footer a:visited {
	color: #fff;
	text-decoration: none;
}
footer a:hover, footer a:active, footer a.active {
	color: #fff;
	text-decoration: underline;
}
.flagNZ {
	padding: 0 0 0 20px;
	background: url(/wp-content/themes/carbonscape/images/nz.png) no-repeat;
}

/* Carousel */
.coda-slider-wrapper {
	height:300px;
	margin-top: -20px;
	width:960px;
}
.coda-slider {
	width:960px;
	background: #fff;
}
.coda-slider-no-js .coda-slider {
	height: 200px;
	overflow: auto !important;
	padding-right: 20px;
}
.coda-slider-wrapper.arrows .coda-slider, .coda-slider-wrapper.arrows .coda-slider .panel{
	width: 960px;
}
.coda-slider-wrapper.arrows .coda-slider {
	margin: 0 10px;
}	
.coda-nav-left a, .coda-nav-right a {
	color: #333;
	padding: 5px;
	width: 100px;
}
.coda-slider .panel {
	width: 960px;
	height:300px;
}
.coda-slider .panel-wrapper {
	padding: 0;
}
.coda-slider p.loading {
	padding: 20px;
	text-align: center;
}
.coda-nav ul {
	clear: both;
	display: block;
	overflow: hidden;
	margin: 0;
	position:relative;
	top: -80px;
	left: 480px;
	width: 480px;
}
.coda-nav ul li {
	display: inline;
}
.coda-nav ul li a {
	background: url(/wp-content/themes/carbonscape/images/slider-bullets.png) 0 10px no-repeat;
	display: inline;
	float: left;
	margin-left: 5px;
	padding: 3px 6px;
	text-decoration: none;
	height:15px;
}
.coda-nav ul li a:hover, .coda-nav ul li a.current {
	background-position: -15px 10px;
}	
.coda-slider-wrapper {
	clear: both;
	overflow: hidden;
}
.coda-slider {
	float: left;
	overflow: hidden;
	position: relative;
}
.coda-slider .panel {
	display: block;
	float: left;
}
.coda-slider .panel-container {
	position: relative;
}
.coda-nav-left, .coda-nav-right {
	float: left;
}
.coda-nav-left a, .coda-nav-right a {
	display: block;
	text-align: center;
	text-decoration: none;
}
