@charset "utf-8";
/*   
Theme Name: PTE
Theme URI: http://www.pte-china.org/
Description: Custom made theme for PTE by Eggplant Digital.
Author: Mark@Eggplant Digital.cn
Author e-mail: mark@eggplantdigital.cn
Author URI: http://www.eggplantdigital.cn
Version: 1.0
Tags: PTE, Prevention Through Education
.
*/


/* Import a basic layout */
@import url('styles/2c-r.css');

/* Reset default browser styles */
@import url('styles/reset.css');

/* Rebuild default browser styles */
@import url('styles/rebuild.css');

/* Basic WordPress Styles */
@import url('styles/wp.css');


body {
	background: url(images/masterbg-gradient.jpg) repeat-x top;
}
#wrapper {
	width: 778px;
	margin: 0 auto;
	padding: 0 16px;
	background-color: #fff;
	border-left: 1px solid rgb(200,200,200);
	border-right: 1px solid rgb(200,200,200);
}

.clearboth {
	clear: both;
}

/* =Header
-------------------------------------------------------------- */

#header {
	color: #fff;
	font-size: 0.9em;
	position: relative;
}
#branding {
	margin: 0;
}
#main {
	clear: both;
	background: url(images/pageheader-bg.jpg) repeat-x left -10px;
	margin-top: 10px;
}
#blog-title {
	width: 144px;
	height: 77px;
	padding: 10px;
}
#blog-title a {
	width: 144px;
	height: 77px;
	display: block;
	background: url(images/logo.jpg) no-repeat bottom right;
	text-indent: -9999px;
}

#header a {
	color: rgb(188,0,0);
	text-decoration: none;
}


/* =Search form & Language menu
-------------------------------------------------------------- */

#searchtranslate {
	position: absolute;
	top: 5px; right: 0;
	text-align: right;
	width: 320px;
	color: #000;
}
#searchtranslate label {
	display: none;
}
#searchtranslate form {
	margin: 5px 0;
	width: 185px;
}
* html #searchtranslate form {
	margin: 0;
}
#searchtranslate #s {
	border: 1px solid #666;
	padding: 1px;
	width: 100px;
	margin-left: 10px;
}
#searchtranslate #searchsubmit {
	background: transparent;
	border: 1px solid #999;
	cursor: pointer;
}
#searchtranslate a {
	line-height: 22px;
}
#searchtranslate a:hover {
	text-decoration: underline;
}

#searchtranslate form, ul#lang-nav {
	float: left;
}


ul#lang-nav, ul#lang-nav li {
	list-style: none;
	margin: 0;
	padding: 0;
	height: 26px;
}
ul#lang-nav {
	width: 130px;
	margin: 5px 0;
}

ul#lang-nav li {
	margin-left: 10px;
}
ul#lang-nav li, ul#lang-nav li a {
	float: left;
	clear: right;
	line-height: 12px;
}

/* =Menu
-------------------------------------------------------------- */

div#menu-wrap {
	clear: left;
	background: url(images/menubg.jpg) repeat-x top left;
}
div#menu-wrap ul {
	height: 35px;
}
#menu-wrap li {
	height: 35px;
	display: block;
	text-align: center;
}
#menu-wrap a {
	display: block;
	float: left;
	padding-left: 7px !important;
	padding-right: 8px !important;
	line-height: 35px;
	color: #fff;
	background: url(images/menubg.jpg) repeat-x top left;
	font-weight: bold;
}
#menu-wrap a:hover,
#menu-wrap .selected_page a {
	background-position: left -35px;
	color: #222;
}

#menu-wrap li li {
	height: 24px;
	text-align: left;
}
#menu-wrap li li,
#menu-wrap li li a {
	font-weight: normal;
	color: #222;
}
#menu-wrap li li.selected_subpage {
	padding: 0 12px 0 13px !important;
}
#menu-wrap li li.selected_subpage,
#menu-wrap li li.selected_subpage a {
	color: #333;
	background-color: #bbb;
}
#menu-wrap li li.selected_subpage a {
	padding-left: 0 !important;
	padding-right: 0 !important;
}
#menu-wrap li li a {
	background: none #d9d9d9;
	line-height: 22px;
}
#menu-wrap li li a:hover {
	color: #333;
	background-color: #bbb;
	background-image: none;
}


/* =Content
-------------------------------------------------------------- */

.home #main {
	background: none;
}
.home #container {
	border-top: 0;
	float: left;
	width: 100%;
}
.post {
	margin: 0 0 3em 0;	
}
#content {
	padding: 10px 20px;
}
.entry-content, .entry-summary {
	margin: 30px 0 0 0;
}

p, cite {
	font-size: 12px;
}
a:link, a:visited, a:active {
	color: #770505;
	text-decoration: none;
}
a:hover {
	color: #a52424;
}
h1, h2, h3, h4, h5, h6 {
	font-family: "Verdana", Helvetica, Arial;
	color: #7C0706;
	font-weight: bold;
}
h1 {
	font-size: 20px;
}
h1.page-title {
	margin-bottom: 25px;
}
h1.entry-title {
	font-size: 24px;
	padding-bottom: 5px;
}

h2 {
	font-size: 18px;
}
h3 {
	font-size: 16px;
}
li {
	padding-bottom: 5px;
}
li span {
	font-size: .8em;
}

dl {
	margin: 0;
}



/* =Navigation
-------------------------------------------------------------- */

.navigation {
	margin: 0 0 1.5em 0;
	overflow: auto;
	height: 40px;
}


/* =Footer
-------------------------------------------------------------- */
#footer {
	background-image: url(images/footer-bg.jpg);
	background-repeat: repeat-x;
	background-position: top;
	height: 40px;
	padding: 15px 0;
}
#ed_footer {
	float: right;
	font-size: 10px;
}
#ed_footer, #ed_footer a {
	color: #999;
}
#ed_footer a:hover {
	text-decoration: underline;
}




/* =Widget Areas
-------------------------------------------------------------- */

#primary h3, #secondary h3 {
	color: #000;
}

#primary {
	background: rgb(243,243,243) url(images/sidebar-bg.jpg) repeat-x left top;
	margin-top: 50px;
}
.widget-area ul {
	list-style: none;
	margin-left: 0;
}
.widget-area ul li {
	padding-bottom: 3px;
}
.widget-area ul ul {
	list-style: disc;
	margin-left: 16px;
}
.widget-area ul ul ul {
	margin-left: 2.5em;
}
.widget-container {
	margin: 0 0 1.5em 0;
}


/* =Sidebar menu
-------------------------------------------------------------- */

#sidebar-navigation {
	position: relative;
	left: -15px;
	width: 230px;
}
#sidebar-navigation h4 {
	display: none;
}
.cms-nav-sidebar {
	padding: 0;
	margin-left: 0 !important;
}
.cms-nav-sidebar li {
	list-style: none;
	line-height: 24px;
	font-weight: bold;
	padding: 7px 15px;
	background-color: #e9e9e9;
	margin-bottom: 1px;
}
.cms-nav-sidebar li.selected_page_side {
	background-color: #d9d9d9;
	color: #333;
}
.cms-nav-sidebar li a {
	display: block;
}

.cms-nav-sidebar ul {
	margin-left: 0 !important;
	padding: 0 0 0 10px;
}
.cms-nav-sidebar ul li {
	padding: 0;
	margin: 0;
	color: #770505;
}
.cms-nav-sidebar ul a {
	padding: 0;
	margin: 0;
}
.cms-nav-sidebar ul a:before {
	content: "- "
}

.cms-nav-sidebar li.selected_page_side ul {
	padding-left: 20px;
	background-color: #E9E9E9;
	position: relative;
	left: -10px;
	width: 200px;
}
.cms-nav-sidebar li.selected_page_side ul li {}
.cms-nav-sidebar li.selected_page_side ul a {}

.cms-nav-sidebar ul li.selected {
	background-color: #d2d2d2;
	color: #333;
	position: relative;
	left: -20px;
	padding-left: 32px;
	width: 188px;
}



/* =Frontpage block styles
-------------------------------------------------------------- */

.block-wrap.first {
	padding-top: 10px;
}

.block {
	float: left;
	width: 243px;
	margin-right: 10px;
	margin-bottom: 10px;
	background: url(images/frontpg-titlebg.jpg) no-repeat top right;
	border: 1px solid #ccc;
	min-height: 228px;
	position: relative;
}
#hiv-news.block,
#pte-news.block,
#world-aids-day.block {
	padding-bottom: 26px;
}
#newsslider {
	float: left;
	width: 500px;
	height: 230px;
	margin-bottom: 10px;
}
* html #newsslider {
	margin-bottom: 0;
}
#newsletter, #world-aids-day {
	margin-right: 0;
}

.block h2 {
	font: 12px Verdana, Geneva, sans-serif;
	color: #7C0706;
	font-weight: bold;
	padding: 4px 8px 0;
	color: #fff;
	margin-bottom: 5px;
}
.block h2 a {
	color: #fff;
}
.block h2 a:hover:after {
	content: "»";
}
.block p {
	font: 12px/16px Arial, Helvetica, sans-serif;
	padding: 5px 8px;
}
.block ul {
	margin-top: 13px;
	margin-left: 20px;
	padding-left: 0px;
	padding-bottom: 0;
	margin-bottom: 0;
}
.block li {
	list-style: disc;
	line-height: 18px;
}
.block li span {
	color: #666;
}
.block .readmore {
	display: block;
	border: 2px solid #ccc;
	padding: 0 5px;
	color: #666;
	position: absolute;
	right: 5px; bottom: 5px;
}
.block .readmore:hover {
	color: #333;
	border-color: #999;
	right: 4px;
}

.banner {
	min-height: 80px;
}
* html .banner {
	height: 80px;
}
.banner a {
	background-position: left top;
	background-repeat: no-repeat;
	text-indent: -9999px;
	display: block;
	height: 80px;
}
#welcome.block h2 {
	margin-bottom: 8px;
}
#volunteer.banner a {
	background-image: url(images/banner-volunteer.jpg);
}
#donations.banner a {
	background-image: url(images/banner-donations.jpg);
}
#newsletter.banner {
	background-image: url(images/banner-newsletter.jpg);
}
#newsletter.banner form {
	margin: 0;
	padding: 0;
	position: absolute;
	bottom: 8px; left: 12px;
}
#newsletter.banner #jjyhr-jjyhr {
	width: 159px;
	border: 1px solid #999;
	padding: 3px;
	font: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #999;
}
#newsletter.banner .send {
	width: 50px;
	background: transparent;
	border: 1px solid #fff;
	font-size: 10px;
	color: #fff;
	position: relative;
	top: -1px;
	padding: 2px 0;
	cursor: pointer;
}

/* HIV/AIDS News blogroll */
#hiv-news ul {
	margin-left: 10px;
	margin-right: 10px;
}
#hiv-news .fd_headerlink {
	display: none;
}
#hiv-news .fd_itemcell {
	padding: 2px 0 0 16px;
	background: url(images/newsfeedbullit.jpg) no-repeat left 9px;
}



/* =Cforms 
-------------------------------------------------------------- */

.linklove {
	display: none;
}
.cform {
	margin: 0 !important;
	width: 480px !important;
}
.cform .single, .cform  .area {
	width: 250px;
}
.cform #sendbutton {
}