/* @override http://beforeproject.org/site/wp-content/themes/beforeproject/style.css */

/*
Theme Name: b4 project
Author: Joe Tan (joetan54@gmail.com)
*/



html, body {
	background: #9a8574 url(images/bg-outer.jpg) repeat-x left top;
	color: #455560;
	font-size: 11px;
}
h1 {
	margin: 0;
	margin-bottom: .5em;
	color: #f05033;
	font-family: Helvetica, Arial, Geneva, sans-serif;
	font-size: 190%;
}
h2 {
	margin: 0;
	font-size: 120%;
}
h3 {
	margin: 0;	
	font-size: 150%;
}
h4,h5, {
	font-size: 100%;
	margin: 0;
}
h5 {
	color:#4b6b81;
	font-size: 175%;
	}
h6 {
	color:#6a5b4f;
	font-size: 175%;
	}
	
hr {
	background: transparent;
	color: transparent;
	border-left:  none;
	border-right: none;
	border-top:   none;
	border-bottom: 1px dashed #455560;
}
#padding {
	padding-left: 25px;
}
a {
	color: #f05033;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
blockquote {
	background: #eee;
	padding: 10px;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;	
}
.alignleft {
	float: left;
}
.alignleftpadding {
	float: left;
	margin-left: 25px;
}
.alignright {
	float: right;
	margin-left: 25px;
}
.aligncenter {
	display: block;
	margin: 0 auto;
}
.clear{
	clear: both;
}
dl dt {
	font-weight: bold;
}
ol {
	font-family: Helvetica, Arial, Geneva, sans-serif;
	color: #f05033;
	padding: 2px;
	padding-left: 13px;
	list-style-type: none;
	}
ol span {
	text-indent: 10px;
	color: #455560;
	font-weight: normal;
}
.blueblockbg {
	font-size: 120%;
	color: white;
	font-family: Helvetica, Arial, Geneva, sans-serif;
	background: #92bcd9;
	padding: 4px;
	display: block;
	line-height: 10px;
	text-indent: 18px;
	list-style-position: inside;
	margin-bottom: -12px;
}

ul{
	padding-left: 13px;
}
ul li {
	list-style-image: url(images/li.gif);
}
div#wrap1 {
	background:url(images/bg-inner2.jpg) no-repeat top center;
}
div#wrap2 {
	position: relative;
	width: 956px;
	margin: 0 auto;
	text-align: left;
	background: white url(images/bg-content.gif) repeat-x top;
}

/* @group Header */

div#header {
	position: relative;
	height: 230px;
	margin-bottom: 50px;
}
div#header h1 {
	position: absolute;
	top: 95px;
	left: 50px;
}
div#header h1 a {
	position: absolute;
	display: block;
	width: 102px;
	height: 100px;
	background:url(images/logo.gif) no-repeat;
	text-indent: -10000px;
}
div#banner {
	position: absolute;
	bottom: 0px;
	left: 206px;
	height: 172px;
	width: 715px;
	background: url(images/banner.jpg) no-repeat;
}
form#search {
	position: absolute;
	left: 761px;
	top: 15px;
	width: 175px;
}
form#search .query {
	border: 1px solid #909ea5;
	width: 100px;
	padding: 4px;
	margin-right: 5px;
}
form#search .submit {
	width: 50px;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	text-transform: uppercase;
	cursor: pointer;
}

/* @end */

/* @group Nav */

div#nav {
	position: absolute;
	top: 21px;
	left: 204px;
	zoom:1;
}
div#nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
div#nav ul li {
	float: left;
	margin: 0;
	padding: 0;
	list-style: none;
	zoom:1;
}
div#nav ul li a {
	display: block;
	float:left;
	width:100px;
	padding-right: 4px;
	height: 13px;
	margin: 0 11px 0 0;
	background: url(images/nav2.gif) no-repeat;
	text-indent: -10000px;
	text-decoration:none;
	zoom:1;
}
div#nav ul li.home        a { width: 46px;}
div#nav ul li.mission     a { background-position: -56px 0; width: 60px;}
div#nav ul li.our-work    a { background-position: -127px 0; width: 74px;}
div#nav ul li.our-people  a { background-position: -210px 0; width: 87px; }
div#nav ul li.news-events a { background-position: -307px 0; width: 99px; }
div#nav ul li.take-action a { background-position: -416px 0; width: 91px; }

div#nav ul li.home        a:hover { background-position: 0px -13px; }
div#nav ul li.mission     a:hover { background-position: -56px -13px; }
div#nav ul li.our-work    a:hover { background-position: -127px -13px; }
div#nav ul li.our-people  a:hover { background-position: -210px -13px; }
div#nav ul li.news-events a:hover { background-position: -307px -13px; }
div#nav ul li.take-action a:hover { background-position: -416px -13px; }
div#nav ul li.selected a { background-image: url(images/nav-selected.gif);}

/* @end */

/* @group Sub Nav */

div#subnav {
	position: relative;
	float: left;
	width: 156px;
	padding: 70px 0 0 0;
	background: url(images/subnav-blank.gif) no-repeat;
}
.mission     div#subnav { background-image: url(images/subnav-mission.gif); }
.our-work    div#subnav { background-image: url(images/subnav-our-work.gif); }
.our-people  div#subnav { background-image: url(images/subnav-our-people.gif); }
.news-events div#subnav { background-image: url(images/subnav-news-events.gif); }
.take-action div#subnav { background-image: url(images/subnav-take-action.gif); }

div#subnav #backtochannel {
	position: absolute;
	top:0px;
	left:30px;
	height:50px;
	width:120px;
	text-indent:-10000px;
	
}

div#subnav ul {
	margin: 0 0 0 35px;
	padding: 0;
}
div#subnav ul li {
	margin: 0 0 15px 0px;
	padding: 0 0 0 5px;
	list-style: none;
	list-style-image: none;
	border:5px solid #fff;
	border-width:0 0 0 5px;
}
div#subnav ul li.hover,
div#subnav ul li.selected,
div#subnav ul li.current_page_ancestor,
div#subnav ul li.current_page_item {
	border-color:#f05033;
}
div#subnav ul li a {
	display: block;
	color: #455560;
}
div#subnav ul li a:hover {
	text-decoration: none;
}
div#subnav ul ul {
	display:none;
}

/* @end */

/* @group Content */

div#content {
	float: left;
	width: 515px;
	margin-left: 50px;
	line-height: 1.45;
	min-height: 280px;
}
div#content h1,
div#content h2,
div#content h3,
div#content h4,
div#content h5,
div#content h6 {
	line-height: normal;
}
div#content .post {
	margin-bottom: 2em;
}
div#content .post p {
	display: inline;
	margin-right: 10px;
}
div#content .meta-top {
	margin-bottom:1.5em;
	
}

/* @end */

/* @group Sidebar */

div#sidebar {
	float: right;
	width: 170px;
	margin-right: 35px;
}
div#sidebar2 {
	text-align: right;
}
.textwidget {
	position: relative;
}
div#sidebar .text {
	text-align: left;
	margin:0px 0 0 20px;
}
.random-fact {
	text-align: left;
	margin:30px 0 0 20px;
}
.random-fact h3 {
	background: #867362;
	color: white;
	text-align: center;
	font-size: 1em;
	font-weight: normal;
	padding: 20px 0;
	margin: 0 0 10px 0px;
}
.random-fact a {
	color: #455560;
}
/* @end */

/* @group Footer */

div#footer {
	position: relative;
	margin: 0 auto;
	padding: 90px 0 20px 0;
	width: 956px;
	height: 80px;
	background: url(images/footer.gif) no-repeat;
	text-align: left;
	color: white;
	font-size: 95%;
	line-height: 1.7;
}
div#footer a {
	color: white;
	text-decoration: underline;
}
div#footer .partnership {
	position: absolute;
	top: 90px;
	right: 58px;
	width: 268px;
	height: 67px;
	text-align: center;
}
div#footer .partnership #apartnership {
	position: absolute;
	top: 0px;
	left: 61px;
}
div#footer .partnership #sp {
	position: absolute;
	bottom: 0px;
	left: 0px;
}
div#footer .partnership #afp {
	position: absolute;
	bottom: 0px;
	right: 0px;
}
th, td { border:none; }

.rowtitle {
	color: #FFFFFF;
	font-weight: bold;
}
/* @end */

/* @group Insert Posts */

.insert-posts {
	width: 220px;
	border: 1px solid #e08264;
	border-top: 0;
}
.insert-posts .title {
	margin: 0 -1px;
	padding: 0.75em 1em;
	background: #9cbbda;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 120%;
}
.insert-posts ul {
	margin: 0;
	padding: 1em 1em 0em 2.5em;
}
.insert-posts ul li {
	margin: 0 0 0.5em 0;
	list-style: disc;
	color: #e08264;
}
.insert-posts .content {
	border-top: 0;
	padding: 0.5em;
}
/* @end */

/* @group Slideshow */


.slideshow {
	position: relative;	
	overflow: hidden;

}
.slideshow .slides {
	position: relative;
	width: 10000px;
}
.slideshow .controls{
	position: relative;
	height: 36px;
	background:url(images/slide-nav.gif) no-repeat top right;
}
.slideshow .controls a {
	display: block;
	position: absolute;
	top: 6px;
	width: 15px;
	height: 20px;
	text-indent: -10000px;
	background: #6c7780;
	background:url(images/slide-controls.gif) no-repeat;
	opacity: 0.8;
}
.slideshow .controls a:hover {
	opacity: 0.99;
}
.slideshow .controls a.prev { right: 96px; background-position: top left;}
.slideshow .controls a.next { right: 75px; background-position: top right;}
/* @end */
