/*
Theme Name: Sheng Yen Lu
Theme URI: http://sylfoundation.org/
Description: Custom WordPress theme for the Sheng-Yen Lu Foundation
Version: 1.0
Author: Greg Wyckoff
*/

body{
	margin:0;
	color:#fff;
	padding-bottom:30px;
	font:13px/16px Arial, Helvetica, sans-serif;
	background:#1e1e1e;
}

img{border-style:none;}

a{
	color:#fff;
	text-decoration:underline;
}

a:hover{ text-decoration:underline; }

#wrapper{
	margin:0 auto;
	width: 1000px;
	overflow:hidden;
}

#header{
	width:996px;
	padding:13px 0 19px 4px;
	overflow:hidden;
	/* background:url(images/bg-header.gif) repeat-x 0 100%; */
	position: relative;
	z-index: 10;
}

.logo{
	margin:0;
	background:url(images/logo.gif) no-repeat;
	width: 330px;
	height: 119px;
	float:left;
	overflow:hidden;
	text-indent:-9999px;
}

.logo a{
	display:block;
	height:100%;
	overflow:hidden;
}


/* Main navigation styles */

.navbar{
	width:638px;
	float:right;
	text-align: right;
	padding:34px 0 0;
	margin-right: -20px;
	z-index: 100;
}
.navbar ul{
	padding:8px 0 0 0;
	list-style:none;
	width:100%;
	overflow:hidden;
}
.nav {
	margin:0;
}
.nav li{
	display:block;
	float: right;
	font-size:15px;
	line-height:19px;
	width: 120px;
	text-align: center;
}

.en li a{
	color:#999;
	text-decoration:none;
	text-transform: lowercase;
}
.en li a:hover,
.en li a.active,
.en li.current_page_item a,
.en li.current_page_parent a  {
	color:#dd0108;
	text-decoration:none;
}

.cn li a{
/*
	color:#dd0108;
	text-decoration:none;
	text-transform: lowercase;
	font-size: 20px;
*/

	display:block;
	text-indent:-9999px;
	overflow:hidden;
	height:20px;
	width: 120px;
}

.cn li.link_home a {
	background: url('images/button_home.gif') no-repeat 7px 0;
}

.cn li.link_whatsnew a {
	background: url('images/button_whatsnew.gif') no-repeat 7px 0;
}

.cn li.link_whatwedo a {
	background: url('images/button_whatwedo.gif') no-repeat 7px 0;
}

.cn li.link_aboutus a {
	background: url('images/button_aboutus.gif') no-repeat 7px 0;
}

.cn li.link_getinvolved a {
	background: url('images/button_getinvolved.gif') no-repeat 7px 0;
}

.cn li.link_contact a {
	background: url('images/button_contact.gif') no-repeat 7px 0;
}

.cn li a:hover,
.cn li a.active,
.cn li.current_page_item a,
.cn li.current_page_parent a  {
/*
	color:#999;
	text-decoration:none;
*/
	text-decoration:none;
	background-position:7px -20px;
}

/* Sub navigation styles */
ul#subnav{
	margin:0 0 20px;
	padding:0;
	list-style:none;
	width:100%;
	overflow:hidden;
}
ul#subnav li{
	height:1%;
}
ul#subnav li a,
ul#subnav li a.bio_link {
	font-size: 13px;
	text-decoration:none;
	font-weight: normal;
	padding:0 13px 0 6px;
	line-height:22px;
	color:#ccc;
	background:url(images/arrow.gif) no-repeat 100% 3px;
}

ul#subnav li a:hover,
ul#subnav li a.active,
ul#subnav li.current_page_item a,
ul#subnav li.current_page_parent a {
	color:#fff;
	text-decoration: none;
}

ul#subnav li.current_page_item a,
ul#subnav li.current_page_parent a {
	font-weight: bold;
}


/*Leadership navigation */

#main ul#leader_nav{
	margin:0 0 20px;
	padding:0;
	list-style:none;
	width:100%;
	overflow:hidden;
}

#main ul#leader_nav li{
	height:1%;
	background: none;
	padding: 0;
}
#main ul#leader_nav li a,
#main ul#leader_nav li a.bio_link {
	font-size: 13px;
	text-decoration:none;
	font-weight: normal;
	padding:0 13px 0 0px;
	line-height:22px;
	color:#fff;
	background:url(images/arrow.gif) no-repeat 100% 3px;
}

#main ul#leader_nav li a:hover,
#main ul#leader_nav li a.active,
#main ul#leader_nav li.current_page_item a {
	color:#ccc;
	text-decoration: none;
}


.quote {
	color: #ccc;
	font: 20px/24px 'Times New Roman';
	font-style: italic;
	font-weight: bold;
}

/* Main container styles */

#main {
	display: none;
}

#home_wrapper {
	position: relative;
	z-index: 0;
	margin:0 auto;
	width: 1000px;
	height: 498px;
	padding: 0;
}

#home_main {
	position: relative;
	margin-bottom: -46px;
	/* z-index:20; */
	top: -46px;
}

#main.post
{
	width: 600px;
	float: left;
	border: none;
	padding-top: 0;
	margin-right: 20px;
}

.post.category-whats-new
{
	clear: both;
}

#post_wrapper .post, #post_wrapper .page
{
	border: 1px solid #fff;
	padding: 10px;
	margin-bottom: 10px;
}

div#post_wrapper {
	/* Fallback for web browsers that doesn't support RGBa */
	background: rgb(0, 0, 0);
	/* RGBa with 0.8 opacity */
	background: rgba(30, 30, 30, 0.8);
}

#main div.post h2
{
	margin: 0;

}

.entry
{
	min-height: 100px;

}

#content_wrapper {
	display: block;
	background:url(images/bg_whatwedo.jpg) no-repeat;
	/* height: 492px; */
	border-top: 2px solid black;
	border-bottom: 2px solid black;
}

#content {
	padding: 40px 30px 20px 30px;
	height: 432px;
	display: block;
	overflow-y: auto;
	overflow-x: hidden;
	/*	width: 900px; */
}

#subnav_float {
	width: 250px;
	float: left;
}

#main h1 {
	font-size:24px;
	line-height:24px;
	margin:0 0 4px;
	color:#cc0000;	
}


#main h2{
	color:#cc0000;
	font-size:21px;
	line-height:20px;
	margin:0 0 18px;
	text-transform: lowercase;
}

#main h3{
	font-size:14px;
	line-height:15px;
	margin:0 0 4px;
	color:#cc0000;
}

p{
	margin:0 0 14px;
}


#main a {
	font-weight: bold;
	color:#ccc;
	/* padding-right:11px;
	background:url(images/arrow.gif) no-repeat 100% 3px; */
	text-decoration: underline;	
}

#main a:hover {
	color: #fff;
	background: none;
}

#main a.no_arrow {
	background: none;
}

#main ul {
	margin:0 0 14px;
	padding:0 0 0 5px;
	list-style:none;
}

#main ul li{
	padding:0 0 3px 10px;
	background:url(images/arrow_white.gif) no-repeat 0 3px;
}

#main ul li a{
	color:#ccc;
	/* padding-right:11px;
	background:url(images/arrow.gif) no-repeat 100% 4px; */
}

#main ul li a:hover{
	text-decoration:none;
}

#footer{
	height:1%;
	padding:6px 8px 0 0; 
	text-align:left;
	font-size:11px;
	color:#999;
}
#footer p{
	margin:0;
}

#footer a {
    color: #999;
}

img.aligntop {
	vertical-align: text-top;
}

img.alignmiddle {
	vertical-align: middle;
}

.alignleft
{
	float: left;
	margin-right: 10px;
}


/* Leadership styles */

#bio_wrapper {
	position: relative;
}

.bio {
	display: none;
	position: absolute;
	top: 0;
}

#liansheng {
	display: block;
}

/* Image Caption Styles */
div.wp-caption {
	background-color: white;
	border: 1px solid grey;
	color: black;
	text-align: center;
	padding-top:5px;
	margin-bottom: 14px;
}


.wp-caption-text {
	padding: 5px;
	margin: 0;
}

/* Search Form Styles */
#search_form {
	width: 203px;
	float:right;
	margin-bottom: -30px;
	padding-top: 5px;
	z-index: 200;
}

#search_form fieldset {
	border: none;
}

input#s {
    background: url("images/bg_search_input.png") no-repeat scroll 0 0 transparent;
    border: medium none;
    color: #797979;
    display: block;
    font-size: 13px;
    height: 20px;
    padding: 3px 3px 3px 22px;
    width: 120px;
    float:left;
}

input#searchsubmit {
	width: 33px;
	padding: 0;
	float: left;
}


/* Sidebar Styles */
#sidebar {
	width: 300px;
	float: left;
}

.entry img.size-thumbnail {
	border: 1px solid white;
}

#sidebar ul
{
	list-style: none;
}


strong.search-excerpt { color: red; }



