/*
THEME NAME: Onelove
THEME URI: http://www.plaintxt.org/themes/sandbox/
DESCRIPTION: Based on the Sandbox theme templates.
VERSION: 
AUTHOR: <a href="http://www.johnphilip.co.za/">John Philip</a>
AUTHOR URI:
TEMPLATE: sandbox
*/

/* -------------------------------------------------------------- 
Reset default browser CSS.
-------------------------------------------------------------- */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td   { 
	margin: 0;	padding: 0;	border: 0;	font-size: 100%;}
table {border-collapse:separate; border-spacing:0;}
caption, th, td {text-align:left; font-weight:normal;}
img {border:none;}
body, input { font: 75%/1.6em Arial, Helvetica, sans-serif; }
a {text-decoration:none;}
hr { border-bottom: 1px solid #D2DFE3; height: 1px; border-top-style: none; border-right-style: none; border-left-style: none; }
.MsoNormal, .MsoNormal span { color: #000; background: #000; border: 10px solid #000; }

/*
-------------------------------------------------------------- 
Forms
-------------------------------------------------------------- */
label { font-weight: bold; }
fieldset { padding:1.4em; margin: 0 0 1.5em 0; border: 1px solid #ccc; }
legend { font-weight: bold; font-size:1.2em; }
/* 
Form fields
-------------------------------------------------------------- */
input.text, input.title, textarea, select { margin:0.5em 0; border:1px solid #bbb; }
input.text:focus, input.title:focus, textarea:focus, select:focus { border:1px solid #666; }
input.text, input.title { width: 300px; padding:5px; }
input.title { font-size:1.5em; }
textarea { width: 390px; height: 250px; padding:5px; }


/* -------------------------------------------------------------- 
Hidden elements
-------------------------------------------------------------- */
#blog-title, 
#blog-description, 
.linklove, 
#pages .widgettitle, 
.edit-link,
body.home .page .entry-title
{ display:none; }


#menu .page-item {display:inline;}

/* -------------------------------------------------------------- 
3 Column Fixed width layout - Right sidebars
-------------------------------------------------------------- */
body {  min-width: 980px; background: #00255E url(images/back-tile.gif) repeat-y center top;}
div#wrapper {  text-align: left;  width: 980px;  margin-left: auto;  margin-right: auto; }
div#header { background: #DE0007 url(images/header-back.gif) no-repeat 14px 0px; height: 150px; width: 564px; margin-left: 2px;}
div#container { float:left; margin:0px; width:100%; padding: 0px; }
div#content {margin:0 453px 0 40px; background-color:#FFF; overflow:hidden; }
div.sidebar {float:left;overflow:hidden; width:200px; margin-top:-150px; line-height:normal; }
div.sidebar ul{ }
div.sidebar ul ul { margin-bottom: 10px; }
div#primary { margin-left:-432px; background: url(images/sidebar-tile.gif) repeat-x left top; padding-top:3px; }
div#primary ul {padding-left:10px;	}
div#secondary {margin-left:-216px; padding-top:20px; }
div#footer {clear:both; width:100%;}
#header ol, #header ul, #header li,
.sidebar ol, .sidebar ul, .sidebar li {	list-style: none;}

/* -------------------------------------------------------------- 
Onelove theme
-------------------------------------------------------------- */

a { color: #C03; }
a:hover { color:#65BDCF;}

/* -------------------------------------------------------------- 
Header
-------------------------------------------------------------- */
div#header table { height:146px; width:98%;}
div#access { text-align:right; }
div#access ul li{ display:inline; margin: 0 20px;}
div#access li a:hover { color:#003180; }
div#access li a{ color:#FFF; font-weight:bold; }
/*Malawi*/
.s-category-malawi #header table,
.pageid-877 #header table,
.parent-pageid-877 #header table { background: url(images/onelove-logo-malawi.gif) no-repeat 18px 10px; }
/*Lesotho*/
.s-category-lesotho #header table,
.pageid-214 #header table,
.parent-pageid-214 #header table { background: url(images/onelove-logo-lesotho.gif) no-repeat 18px 10px; }
/*Mozambique
.s-category-mozambique #header table,
.pageid-425 #header table,
.parent-pageid-425 #header table { background: url(images/onelove-logo-mozambique.gif) no-repeat 18px 10px; }*/
/*Namibia
.s-category-namibia #header table,
.pageid-960 #header table,
.parent-pageid-960 #header table { background: url(images/onelove-logo-namibia.gif) no-repeat 18px 10px; }*/
/*Swaziland*/
.s-category-swaziland #header table,
.pageid-217 #header table,
.parent-pageid-217 #header table { background: url(images/onelove-logo-swaziland.gif) no-repeat 18px 10px; }
/*Tanzania
.s-category-tanzania #header table,
.pageid-51 #header table,
.parent-pageid-51 #header table { background: url(images/onelove-logo-tanzania.gif) no-repeat 18px 10px; }*/
/*Zambia
.s-category-zambia #header table,
.pageid-962 #header table,
.parent-pageid-962 #header table { background: url(images/onelove-logo-zambia.gif) no-repeat 18px 10px; }*/
/*Zimbabwe*/
.s-category-zimbabwe #header table,
.pageid-596 #header table,
.parent-pageid-596 #header table { background: url(images/onelove-logo-zimbabwe.gif) no-repeat 18px 5px; }






/* -------------------------------------------------------------- 
centre content
-------------------------------------------------------------- */
div#content { color:#3D3F43; }
div#content ol, 
div#content ul{ padding-left:20px;}
#content p {padding-top:10px;}


div#content .entry-title { color:#D90007; font: bold 24px "Trebuchet MS", Arial, Helvetica, sans-serif; padding-top: 30px; }
div#content .entry-title a { color:#D90007; }
div#content .entry-title a:hover { color:#003180; }
div#content .entry-content h1 { padding-top: 24px; color:#003180; font: bold 16px "Trebuchet MS", Arial, Helvetica, sans-serif; }
div#content .entry-content h2 { padding-top: 16px;}
div#content .entry-content h3 { padding-top: 12px;}
div#content .entry-content a { text-decoration:underline;}
div#content .entry-content ul { list-style:none; padding-left: 0px;}
div#content .entry-content ul li { background: url(images/bullet-blue.gif) no-repeat left 6px;  padding-left: 16px; }
div#content .entry-content .wp-caption { font-size:9px; color:#999; line-height: normal; padding:2px 3px 5px 3px;}

/* paging */
div#content .page-link { font-weight:bold; margin-top:10px; font-size: 1.2em; color: #000; text-align:right;}
div#content .page-link a { background-color:#DE0007; color:#FFF; text-decoration:none; padding:3px 6px; }
div#content .page-link a:hover { background-color:#002D75;} 


/* Sociable */
div#content .entry-content .sociable li{ background: url(none); padding: 0px; }
/* Quiz */
div#content input.answer { border:none;}
div.quiz-area { background: url(images/quiz-header.gif) no-repeat center top; padding-top:100px; margin: 20px; }

/* -------------------------------------------------------------- 
Buttons and Form Settings
-------------------------------------------------------------- */
div#content input { font-size: 12px; }
div#content a.more-link,
div#content input#next-question,
div#content input.button,
div#content input#action-button{ background: url(images/button-red.gif) no-repeat center center; width:120px; padding: 10px 0 10px 0px; font-weight:bold; text-align:center; color:#FFF; cursor: pointer; border-style: none; text-decoration:none; margin: 10px 0px 5px; display: block; }
div#content a.more-link:hover { color:#000;}
div#content input a { color:#FFF; text-decoration:none;}
div#content a.more-link { display: block; width:auto; text-align:right; background: url(images/button-red.gif) no-repeat right center; padding: 10px 20px 10px 0px; margin: 10px 0px 0px; }

div.category-competitions .entry-meta{ display:none;}

/*
Cforms
-------------------------------------------------------------- */

.linklove,
.cf_hidden,
.cform legend {display:none;}
.cform ol {list-style:none; margin:0px; padding:0px;}

.cform label span {	width:100px;
	display:inline-block; /*for Opera & IE*/}
.cform .single { width:200px; margin: 6px 3px; }
.cform fieldset {border:none;}


/* Images for posts 
-------------------------------------------------------------- */
p img {	max-width: 100%;	}
img.centered {	display: block;	margin-left: auto;	margin-right: auto;	}
img.alignright {	padding: 4px;	margin: 0 0 2px 7px;	display: inline;	}
img.alignleft {	padding: 4px;	margin: 0 7px 2px 0;	display: inline;	}
.alignright {	float: right;	}
.alignleft {	float: left;	}

/*posts excerpts within page
-------------------------------------------------------------- */
div#page-posts .post{ border: 6px solid #002D75; margin: 20px 0; padding: 3px; }
div#page-posts .post .entry-title { background-color:#DE0007; color:#FFF; font-size:16px; font-weight: bold; line-height: normal; margin: 0px; padding: 3px 10px 3px 10px; }
div#page-posts .post .entry-title a {color:#FFF;}
div#page-posts .post .entry-title a:hover {color:#000;}
div#page-posts .post .entry-content {padding: 0px 25px 10px 25px;}
div#page-posts .post .entry-date { text-align:right; font-size: 0.8em; padding-right:3px; color: #999; }
div#page-posts .post .entry-meta { font-size: 0.9em; margin:20px 0px 0px; padding:0px; border-bottom-width: 0px; border-bottom-style: none; background: #F4F5F7; }

/*Countries header styles for posts - flags
-------------------------------------------------------------- */
div#page-posts .category-lesotho .entry-title { background: #DE0007 url(images/flag-lesotho.gif) no-repeat 404px 3px; padding: 8px 65px 8px 5px; }
div#page-posts .category-malawi .entry-title { background: #DE0007 url(images/flag-malawi.gif) no-repeat 404px 3px; padding: 8px 65px 8px 5px; }
div#page-posts .category-mozambique .entry-title { background: #DE0007 url(images/flag-mozambique.gif) no-repeat 404px 3px; padding: 8px 65px 8px 5px; }
div#page-posts .category-namibia .entry-title { background: #DE0007 url(images/flag-namibia.gif) no-repeat 404px 3px; padding: 8px 65px 8px 5px; }
div#page-posts .category-south-africa .entry-title { background: #DE0007 url(images/flag-south-africa.gif) no-repeat 404px 3px; padding: 8px 65px 8px 5px; }
div#page-posts .category-swaziland .entry-title { background: #DE0007 url(images/flag-swaziland.gif) no-repeat 404px 3px; padding: 8px 65px 8px 5px; }
div#page-posts .category-tanzania .entry-title { background: #DE0007 url(images/flag-tanzania.gif) no-repeat 404px 3px; padding: 8px 65px 8px 5px; }
div#page-posts .category-zambia .entry-title { background: #DE0007 url(images/flag-zambia.gif) no-repeat 404px 3px; padding: 8px 65px 8px 5px; }
div#page-posts .category-tanzania .entry-title { background: #DE0007 url(images/flag-tanzania.gif) no-repeat 404px 3px; padding: 8px 65px 8px 5px; }
div#page-posts .category-zimbabwe .entry-title { background: #DE0007 url(images/flag-zimbabwe.gif) no-repeat 404px 3px; padding: 8px 65px 8px 5px; }



/*post meta and comments
-------------------------------------------------------------- */
div#content .entry-meta { font-size: 0.9em; margin: 20px 0; padding:5px; border-top: 1px solid #D4D9DC; border-bottom: 1px solid #D4D9DC; }

.entry-meta,
.comment-meta { text-align:right; font-size:0.9em;}
.meta-sep { }

div#comments { width:100%; margin:0px;}
div#comments h3 { font-size: 16px; }
div#comments .comment { line-height: 1.5em; padding: 20px; margin-top:10px; border: 2px solid #D7DADD; }
div#comments .formcontainer {width: 100%;}
div#comments .comment-meta { position:relative; top:-38px; right:-14px;}
div#comments .comment-author { font-weight:bold;}
div#comments li { margin: 0px; padding-left:0px;}
div#comments ol li{ list-style:none outside; padding-left:0px; margin:0px;}
div#comments ol { padding:0px; margin:0px;}
div#respond { padding-top:10px;}

/*partner pages*/
#partners-logos { background-color:#FFF;}
#partners-logos th { font-size: 10px; font-weight: bold; font-size: 12px; color: #333; padding:50px 3px 5px 3px; text-align:left;}
#partners-logos td { text-align:left;} 
#partners-logos img { text-align:left;}

address { font-size: 10px; color: #666; font-style: normal; line-height: normal; text-align:left; padding-right:5px;}





/* -------------------------------------------------------------- 
sidebars
-------------------------------------------------------------- */
div.sidebar a{ color:#FFF; font-weight:bold;}
div.sidebar a:hover { color:#003180; }
div.sidebar .entry-meta {background:none; display:none;	}

/*
primary inner sidebar
-------------------------------------------------------------- */
div#primary .widgettitle { background:url(images/blue-side-tab.gif) no-repeat 10px top; padding: 6px 0 12px 24px; margin-left:-12px; margin-top:40px; color: #FFF; }
/*map*/
div#primary #map {padding-left:20px;}
/*page menu*/
#pages li { padding: 8px 0 5px 0px; margin-right:12px; font-size:16px; border-bottom: 2px solid #FFF; margin-left: -10px; }
#pages ul li a:hover,
#pages ul ul ul li a:hover {color:#CF0000;}
#pages li ul { padding-top:0px; margin-left: 3px; }
#pages li li { background:url(none); padding:3px; font-size:12px; border:none;}
#pages ul li.current_page_item { background: url(images/arrow-white.gif) no-repeat left 11px; padding-left:10px; }
#pages ul li.current_page_item a { color:#CF0000; }
#pages ul li li a,
#pages ul li.current_page_item li a {  color:#404040;}
#pages li li li,
#pages li li li a, 
#pages ul ul li.current_page_item li a { padding:0px; margin:0px; color:#FFF;}
#pages ul ul li.current_page_item { background: url(images/arrow-white-small.gif) no-repeat left 6px; padding-left:10px; }
#pages ul ul ul {width:164px; margin-bottom:0px;}
#pages ul ul ul li{ border-top: 1px dashed #FFF; margin: 3px 0px; padding: 3px 0px 3px 0px; }
/*page menu - hiding and showing trickery*/
#pages ul ul,
#pages .current_page_item ul ul { display: none; }
#pages .current_page_item ul,
#pages .current_page_ancestor ul{ display: block; }

/*polls*/
#polls { color:#FFF;}
#polls input{width:auto;}
#polls .wp-polls li{ margin-left:-16px; margin-right: 10px; }
#polls .wp-polls p { text-align:left!important; padding: 10px 0 10px 0; }
#polls .wp-polls small { font-size:10px; font-weight:normal;}
/*recent news or posts*/
div#primary #recent-posts li  {padding:7px 5px 7px 0px;}

div#primary input.Buttons,
div#primary input.button
{ background: url(images/button-red-grey.gif) no-repeat center center; width:120px; padding: 5px 0 5px 0px; font-weight:bold; text-align:center; color:#FFF; cursor: pointer; border-style: none; text-decoration:none; margin: 3px 0px; display: block; font-size: 11px; }
div#primary input.text { width:176px; font-size: 11px; line-height: 1em; }



/*
secondary outer sidebar
-------------------------------------------------------------- */
div#secondary a:hover {color:#DE0007;}
div#secondary .widget { background: #002D75; color:#FFF; padding:10px; margin: 10px 0px; border: 3px solid #FFF;} /*resulting in white line across page in ie6 - 
don't know why*/
div#secondary a.more-link { color:#FF1C21; }
div#secondary .widgettitle { display:block; background-color:#5FA9D4; padding: 5px; margin-bottom:5px;}
/*talk, respect, protect boxes*/
div#secondary #execphp-427580251, /*localhost testing*/
div#secondary #execphp-345182131,
div#secondary #execphp-345842271,
div#secondary #execphp-345842272{ border-color:#002D75; color:#002D75; border-width: 5px; padding-top: 45px; }
/*talk header*/ div#secondary #execphp-345182131 {background: #FFF url(images/talk-header.gif) no-repeat 5px 5px;}
/*respect header*/ div#secondary #execphp-345842271 {background: #FFF url(images/respect-header.gif) no-repeat 5px 5px;}
/*protect header*/ div#secondary #execphp-345842272 {background: #FFF url(images/protect-header.gif) no-repeat 5px 5px;}
div#secondary #execphp-427580251 .widgettitle, /*localhost testing*/
div#secondary #execphp-345182131 .widgettitle,
div#secondary #execphp-345842271 .widgettitle,
div#secondary #execphp-345842272 .widgettitle{ background:none; }
div#secondary #execphp-427580251 a.more-link, /*localhost testing*/
div#secondary #execphp-345182131 a.more-link,
div#secondary #execphp-345842271 a.more-link,
div#secondary #execphp-345842272 a.more-link { color: #CF0000; font-weight:bold; padding-top:10px; display:block; text-align:right; }

/*twitter*/
div#secondary .widget_twitter li { padding: 5px 0 5px 0; border-bottom: 1px solid #2C75B1; color: #C8E8F2; }
/*flickr*/
div#secondary #flickr-sidebar {text-align:center;} 


/* -------------------------------------------------------------- 
Footer
-------------------------------------------------------------- */
div#footer {display:none;}


div#primary #execphp-457756571, execphp-447949601 { display:none!important;}
