/* @override 
	http://sarawakreport.org/site/wp-content/themes/sarawak/style.css
	http://www.sarawakreport.org/site/wp-content/themes/sarawak2/style.css
*/

/*
Theme Name: Sarawak Report
Theme URI: http://sarawakreport.org/
Version: 1.0
Author: Christian Nolle
Author URI: http://cnolle.net
*/

@import url(reset.css);

/* Clearer */

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
 
.clearfix {
	display: inline-block;
}
 
html[xmlns] .clearfix {
	display: block;
}
 
* html .clearfix {
	height: 1%;
}

.cl {
	clear: left;
}

/* General */

body {
	font-size: 62.5%;
	background:#FAFAFA;
	color: #222;
	font-family:tahoma,verdana,helvetica,arial,sans-serif;
	line-height: 1.2;
}

.frame {
	width: 960px;
	margin: 0 auto;

	position:relative;

}

a {
	text-decoration:none;
	color: #2b3620;
}

/* Colours */
body.category-native-rights h1.pagetitle { color:#0699BF; }
body.category-governance h1.pagetitle { color:#D91C24; }
body.category-environment h1.pagetitle { color:#009F51; }
body.category-oil-palm h1.pagetitle { color:#FEBD11; }
body.category-women h1.pagetitle { color:#FF0072; }

#header {
	margin-top: 1em;
	border-bottom:2px solid #efefef;
}

h1#sitename {
	display:block;
	float:left;
}

h1#sitename a {
	background:url(assets/sarawak-logo3.gif) no-repeat top left;
	width: 400px;
	height: 79px;
	display:block;
	float: left;
	margin: 0 0 0 -0.5em;
	text-indent:-3000px;
}

ul.tagline  {
	position:absolute;
	top: 65px;
	left:0;
	display:block;
	text-align:center;
	overflow:hidden;
}

ul.tagline li {
	color: #2b3620;
	font-size: 12px;
	overflow:hidden;
	white-space: nowrap;
	text-transform:uppercase;
}

#content {
	padding:1em 0 1em 0;
	background:#fff;
}

/* Search form */

#rightarea {
	float: right;	
	text-align:right;
}

#searchform {
	margin: 0 0 1em 0;
}

	#searchform input#search {
		background:#fff;
		border: 1px solid #ccc;
		padding: 0.3em;
		color: #666;
		font-size: 12px;
		width: 150px;
			-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		border-radius: 3px;
	}
	
	#searchform input#searchsubmit {
		background:#999;
		border:1px solid #ccc;
		color: #fff;
		padding: 0.2em;
		width: 80px;
		font-size: 12px;
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		border-radius: 3px;
	}

/* Subscribe */

.subscribe {
	float: right;
}

#subscribe input.text {
	background:#fff;
	border: 1px solid #ccc;
	padding: 0.3em;
	font-size: 12px;
	color: #666;
	width: 150px;
	margin: 0 3px 0 0;
}
	#subscribe p {
		text-transform:uppercase;
		margin: 3px 0;
		padding: 0;
		font-family:georgia;
		color: #666;
		font-size: 12px;
	}

	#subscribe input.button {
		background:#999;
		width: 80px;
		border:1px solid #ccc;
		color: #fff;
		padding: 0.2em;
		font-size: 12px;
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		border-radius: 3px;
	}

#maparea {
	width: 20em;
	float: right;
	display:block;
	background:#ccc;
	margin-left: 1em;
	display:none;
}

ul#sections {
	bottom: 75px;
	padding: 5px 0;
	text-align:left;
	margin: 5px 0 5px 0;
}

	ul#sections li {
		margin: 0 0 5px 3px;
		font-size: 12px;
		font-weight:bold;
		display:inline;
		text-align:left;
		text-transform:uppercase;
	}
	
	ul#sections li a {
		color: #2b3620;
		padding: 4px;
	}
	
	ul#sections li.current_page_item a,
	ul#sections li a:hover {
		color: #222;
		background:#efefef;
	}

#newssections {
	/*border-top: 2px solid #ccc;*/
	float:left;
	/*background:#fff;*/
	display:block; 
	width: 960px;
	overflow:hidden;
	clear: both;
	padding-top: 0.5em;
	margin: 10px 0 0 0;
}

	ul#categories {
  		margin:0 auto; 
		list-style-type:none;
		float:left;
  	}

	ul#categories li {
		float:left; 
		position:relative; 
		display:block;
		font: 1.6em helvetica,arial,sans-serif;
		text-transform:uppercase;
	}

	ul#categories li a {	
		/*border-top: 3px solid #efefef;*/
		/*background:#efefef;*/
		float: left;
		width: 125px;
		height: 50px;
		overflow:hidden;
		padding:10px 30px 5px 5px;
		font-weight:bold;
		/*text-shadow: #ccc 0.5px 1px 1px;*/
		display:block;
		/*background:#efefef;*/
		text-align:left;
	}
	
	.description {
		font:11px georgia;
		margin: 3px 0 0 0;
		display:block;
		text-shadow:none;
		text-transform:none;
		color: #222;
	}
	
	li.term4 a { color: #0699BF;}
	li.term5 a { color: #666;}
	li.term6 a { color: #FF0072;}
	li.term7 a { color: #FEBD11;}
	li.term8 a { color: #009F51;}
	li.term9 a { color: #D91C24; }

	ul#categories li.term4 a:hover,
	ul#categories li.term4 a.active {
		background:#0699BF;
		color: #fff;
		/*border-bottom: 5px solid #;*/
	}

	ul#categories li.term6 a:hover,
	ul#categories li.term6 a.active {
		background:#FF0072;
		color: #fff;
		/*border-bottom: 5px solid ;*/
	}
	
	ul#categories li.term8 a:hover,
	ul#categories li.term8 a.active {
		background:#009F51;
		color: #fff;
		/*border-bottom: 5px solid ;*/
	}

	ul#categories li.term9 a:hover,
	ul#categories li.term9 a.active {
		background:#D91C24;
		color: #fff;
		/*border-bottom: 5px solid #D91C24;*/
	}

	ul#categories li.term7 a:hover,
	ul#categories li.term7 a.active {
		background:#FEBD11;
		color: #fff;
		/*border-bottom:5px solid #FEBD11;*/
	}

	ul#categories li.term5 a:hover,
	ul#categories li.term5 a.active {
		background:#666;
		color: #fff;
		/*border-bottom: 5px solid #666;*/
	}

	ul#categories li a:hover,
	ul#categories li a.active {
			background:#efefef;
	}

/* Posts */

.node.native-rights { border-bottom: 5px solid #0699BF;	 }
.node.women { border-bottom: 5px solid #FF0072; }
.node.environment {border-bottom: 5px solid #009F51; }
.node.governance { border-bottom: 5px solid #D91C24; }
.node.oil-palm { border-bottom:5px solid #FEBD11; }
.node.dams { border-bottom: 5px solid #666;}

.node {
	float: left;
	display:block;
	background:#fff;
}	

#featuredposts {
	overflow:hidden;
	display:block;
	height: 320px;
}

.node.featured {
	width: 310px;
	height: 300px;
	position:relative;
	margin: 10px 14px 10px 0;
	background-position:center center;
}

.node.featured.last-row {
	margin: 10px 0 10px 0;
}

	.node.featured h2 {
		position:absolute;
		bottom: 5px;
		left: 5px;	
		font-size: 1.9em;
		text-transform:uppercase;
	}

	.node.featured h2 a {
		background:#fff;
		color: #222;
	}

	.node.featured h2 a:hover {
		background:#222;
		color: #fff;
	}

#scrollable {
	position:relative;
	width: 1020px;
	padding: 0 10px;
	text-align:center;
	margin: 0 auto;
	height: 170px;
	overflow:hidden;
}

	.button.previousone {
		position:absolute;
		left: 0px;
		top: 80px;
	}

	.button.nextone {
		position:absolute;
		right: 0px;
		top: 80px;
	}

	a.prev {
		background:url(assets/prev-btn.gif) no-repeat top left;
		width:25px;
		height: 25px;
		display:block;
		float: left;
		text-indent:-3000px;
	}

	a.next {
		background:url(assets/next-btn.gif) no-repeat top left;
		width:25px;
		height: 25px;
		display:block;
		float: left;
		text-indent:-3000px;
	}

	a.next:hover, a.prev:hover {
		background-position:0 -25px;
	}

#regularposts {
	width: 960px;
	margin: 0 auto;
}

#regularposts ul {
	margin: 0;
	padding:0;
	z-index:20;
	position:relative;
}

#regularposts ul li {
	display:block;
	float: left;
	margin: 0;
	padding: 0;
}
 
.node.small {
	width: 145px;
	height: 145px;
	float:left;
	text-align:left;
	display:block;
	position:relative;
	background-position: top center;
	margin: 20px 9px;
}

/*#regularposts .node.small:first-of-type(1) {
	margin: 20px 0 20px 0;
}

#regularposts div:nth-child(6n),
#regularposts .node.small.last-row {
	margin: 20px 0 20px 0;	
}*/

	.node.small h3 {
		font-size: 13px;
		position:absolute;
		bottom: 5px;
		text-transform:uppercase;
		left: 5px;
	}

	.node.small h3 a {
		background:#fff;
		color: #222;
		font-weight:bold;
	}
	
	.node.small h3 a:hover {
		background:#222;
		color: #fff;
	}
	
	ul.postnav {
		text-align:center;
	}
	
	ul.postnav li {
		display:inline;
		font-size: 1.2em;
		margin: 0 1em;
	}
	
/* Single Content */

.post {
	width: 76em;
	float: left;
}

.post h1,
h1.pagetitle {
	font-size: 2.6em;
	padding: 0.2em 0;
	text-transform:uppercase;
	/*text-shadow: #ccc 1px 1px 1px;*/
}

.post p,
.page p {
	font: 13px helvetica,arial,sans-serif;
	line-height:1.6em;
	margin-bottom: 1em;
	color: #3e3e3e;
}	

.post ol {
	margin: 10px 0 20px 20px;
}

	.post ol li {
		margin: 5px 0;
		line-height:1.6em;
		list-style:decimal;
	}

.post h3 {
	font-size: 16px;
	margin: 0 0 10px 0;
}


.page h3 {
	font-size: 20px;
	margin: 20px 0 10px 0;
	font-weight:normal;
}

.post img.alignright {
	float: right;
	margin: 1em 0 1em 1em;
}

.post img.alignleft {
	float: left;
	margin: 0 1em 1em 0;
}

.page img.alignleft {
	float: left;
	margin: 0 2em 4em 0;
	padding-bottom: 2em;
}

.post blockquote {
	margin: 1em 4em;
}

.post ul {
	margin-left: 2em;
}

.post li {
	list-style:disc;
	font-size:1.32em;
	line-height:1.29em;
	margin: 0.2em 0;
}

.post a {
	color: #5f1d78;
	font-weight:bold;
}

	.post a:hover {
		color: #222;
	}

/* Images in costs and alignment stuff */

.post .wp-caption {
	text-align:center;
	background:#efefef;
	padding: 4px;
	border-bottom: 3px solid #ccc;
}

.post .wp-caption img {
}
	.wp-caption p,
	dd.wp-caption-dd {
		margin: 5px 0;
		text-indent:4px;
		font-size: 10px;
	}
	
	.wp-caption.alignright {
		float: right;
		margin: 1em 0 1em 1em;
	}

	.wp-caption.alignleft {
		float: left;
		margin: 1em 1em 1em 0;
	}

	.wp-caption.aligncenter {
		text-align:center;
		margin: 1em auto;
	}

/* Archive Sidebar */

#sidebar {
	margin-top: 5px;
	margin-bottom: 3em;
	width: 17.5em;
	float:right;
}

	#sidebar .col {
		margin-left: 2em;
		width: 16em;
		float: left;
	}

	#sidebar .col.last {
		margin-right:0;
	}

	#sidebar div:nth-child(2) {
		margin-right:0;	
	}

	#sidebar h3 {
		font-size: 12px;
		font-family:georgia;
		text-transform:uppercase;
		font-weight:normal;
		letter-spacing:1px;
		color:#666;
		padding: 0 0 0.2em 0;
		margin-bottom:0.5em;
	}
	
	#sidebar ul {
		margin-bottom: 20px;
	}
	
	#sidebar ul li {
		font-size: 1.1em;
		margin: 0.5em 0;
		padding: 0 0 0.5em 0;
		font-weight:bold;
		border-bottom: 1px solid #ccc;
	}

	#sidebar ul li:nth-child(odd) {
		border-bottom:1px solid #ccc;
	}

	#sidebar ul li a {
		color: #666;
		font-weight:normal;
	}
		
	#sidebar ul li a:hover {
		color: #222;
	}

/* Contact form */

form.wpcf7-form input.text,
form.wpcf7-form textarea {
	background:#efefef;
	padding: 0.3em;
	color: #666;
	font-size:1.2em;
	border: 1px solid #ccc;
	width: 400px;
}

input#button {
	background:#999;
	border:1px solid #ccc;
	color: #fff;
	padding: 0.2em;
	font-size: 12px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

.page-id-7 iframe {
	float: left;
	margin-left: 20px;
}

.page-id-7 form {
	float: left;
}

/* Link area*/

#linkarea {
	border-top: 2px solid #efefef;
}

#linkarea .frame {
	padding-top: 10px;
	margin-top: 10px;

}

#linkarea ul {
	width: 200px;
	float:left;
	margin-right:2em;
}	

#linkarea ul li h2 {
	font-size: 1.2em;
	font-weight:normal;
	text-transform:uppercase;
	font-family:georgia;
	color: #666;
	margin-bottom:1em;
}

	#linkarea ul li {
		font-size: 1em;
		margin: 0.4em 0;
		color: #666;
	}

	#linkarea ul li a {
		color: #666;
	} 

	#linkarea ul li a:hover {
		color: #222;
	}
		
	#linkarea ul.catlist li h2 {
		text-align:left;
		margin-bottom:1em;
	}
	
	#linkarea ul.catlist {
		width: 140px;
	}
	
	#linkarea ul.catlist li {
		text-align:right;
		width: 120px;
	}	
	
	#linkarea ul li ul {
		text-align:left;
	}
	
	#linkarea ul.catlist li a {
		float:left;
	}
	
	#linkarea ul.general {
		width: 70px;
	}
	
/* Links */

ul.linkstuff h2 {
	font-size: 16px;
	margin: 10px 0;
}

ul.linkstuff ul {
	margin-left: 10px;
}

ul.linkstuff li {
	list-style:disc;
	font-size: 12px;
	margin: 3px 0 3px 12px;
}	

.facebook {
	margin: 0 20px 20px 0;
}

/* About page */

#post-2 {
}

	#post-2 .text {
		padding: 4px;
	}	
	
	.text .col {
		width:450px;
		float: left;
		margin: 0 20px 0 0;
	}

	#post-2 h1.pagetitle {
	}
	
	#post-2 .text p {
	}
	
p.time {
	margin: 0;
	padding: 0;
	color: #666;
	font-size: 11px;
}
	
/* Comments */

ol.commentlist {
	list-style:decimal;
	margin-left: 30px;
}

	ol.commentlist li {
		position:relative;
		margin: 5px 0;
		list-style:decimal;
	}
	
		ol.commentlist li .comment-meta.commentmetadata {
			font-size: 12px;
		}

	ol.commentlist li ul li {
		list-style:none;
	}

	ol.commentlist li ol li {
		list-style:none;
	}
	
.comment-author {
	font-size: 14px;
	font-weight:bold;
}	

.comments {
	margin: 30px 0;
	clear: both;
}
	
.comments h3#comments {
	font-size: 18px;
}	

.comment-body {
	border-bottom: 1px solid #ccc;
	padding: 5px;
}

	.comment-body a {
		color: #666;
	}

.reply {
	margin: 10px 0;
	text-align:right;
}
	
.reply a.comment-reply-link {
	background:#999;
	border:1px solid #ccc;
	color: #fff;
	padding: 5px;
	font-size: 12px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;	
	margin: 0 0 10px 0;
}
		
		.reply a.comment-reply-link:hover {
			color: #000;
		}
		
.comments input#submit {
		background:#999;
		border:1px solid #ccc;
		color: #fff;
		padding: 5px;
		font-size: 12px;
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		border-radius: 3px;	
}		

.comments input#author,
.comments input#email,
.comments input#url,
.comments textarea {
	border: 1px solid #ccc;
	padding: 3px;
}

#respond h3 {
	font-size: 15px;
	font-weight:normal;
	margin: 0 0 20px 0;
}

/* Slideshow */

ul#slideshow {
	margin: 0;
	overflow:hidden;
	min-height:500px;
	padding: 0 0 0 0;
}

	ul#slideshow li {
		list-style:none;
		position:relative;		
	}
	
	ul#slideshow li span {
		display:block;
		position:absolute;
		bottom: -20px;
	}	

	span#counter {
		line-height:1.9;
	}

ul#worknav {
	height: 30px;
	margin: 0;
}

ul#worknav li {
	list-style:none;
	float: left;
	margin-right:10px;
	display:block;
}
	
/* Footer */

#footer {
	padding: 2em 0;
}

	#footer ul {
		text-align:center;
		border-right:5	px solid #fff;
	}

	#footer ul li {
		font-size: 1.1em;
		display:inline;
		color: #666;
		margin: 0 0.5em;
	}
	
	#footer ul li a {
		color: #666;
	}
