/*
THEME NAME: Kwanda
DESCRIPTION: Based on the Sandbox theme templates.
AUTHOR: John Philip
AUTHOR URI: <a href="http://www.johnphilip.co.za/">http://www.johnphilip.co.za</a>
TEMPLATE: sandbox
*/

/* 
-------------------------------------------------------------- 
Resets 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, .MsoNormal, .MsoNormal span { margin: 0; padding: 0; border: 0; font-weight: inherit; font-style: inherit; font-size: 100%; font-family: inherit; }
html{height: 100%;}
body { line-height: 1.5; height: 100%; }
table { border-collapse: separate; border-spacing: 0; }/* Tables still need 'cellspacing="0"' in the markup. */
caption, th, td { text-align: left; font-weight: normal; }
blockquote:before, blockquote:after, q:before, q:after { content: ""; }/* Remove possible quote marks (") from <q>, <blockquote>. */
blockquote, q { quotes: "" ""; }
a img { border: none; }
/* Default font settings. The font-size percentage is of 16px. (0.75 * 16px = 12px) */
body { font-size: 75%; color: #222; background: #fff; font-family: Arial, Helvetica, sans-serif; }
hr { border-bottom: 1px solid #D2DFE3; height: 1px; border-top-style: none; border-right-style: none; border-left-style: none; }


/*
-------------------------------------------------------------- 
Two-column fixed layout with one sidebars left of content
-------------------------------------------------------------- */
body { text-align: center; border-top: 10px solid #f0f0f0; }
#wrapper { text-align: left; margin-left: auto; margin-right: auto; position: relative; min-height: 80%; }
#wrapper,
#header-nav {width: 980px;}
* html #wrapper{height: 80%;}
#container { float:left; width:780px; overflow:hidden}
#content { margin:0  0px 0 274px; padding:40px 50px 40px 0px; }
.sidebar { overflow:hidden; float:left;}
.sidebar ul { width:250px;}
#primary { margin-left: -780px;}
#secondary { position:absolute; top:0px; right:0px!important; }
#secondary ul { width:200px;}


#header { height:185px; background: url(images/header.jpg) repeat-x center top; position:relative; }
#soul-city-logo { background: url(images/soul-city-logo.gif) no-repeat center top; width:120px; height:120px; position:absolute; left:10px; top:0px; }
#soul-city-logo img { width:100px; height:110px; }
#header-logo { margin-left:auto; margin-right:auto;}
#header-logo img { width:320px; height:125px; }
#header-search { position:absolute; top:0px; right:10px; background: url(images/search-back.gif) no-repeat center top; width:250px; height:30px; }
#header-search #s { background:none; border:none; width:80%; font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif; font-weight: bold; }
#header-nav {	margin: 0px auto; text-align:center; font-weight:bold; }


/*
Left sidebars
-------------------------------------------------------------- */
#primary .box-pics,
#primary .box-pics img {width:250px; height:120px; display:block;}
#primary #chat-to-coach { background: url(images/box-chat.jpg) center center; }
#primary #discussion-forum { background: url(images/box-discussion.jpg) center center; }
#primary #social-network { background: url(images/box-network.jpg) center center; }

/*
Right sidebars
-------------------------------------------------------------- */



/*
highlight
-------------------------------------------------------------- */
.highlight { background: #5e8ff0 url(images/grad-blue.jpg) repeat-x left top; display:block; width:480px; height:180px; color:#E3E7EA; position:relative;}
.highlight .pic { float:left; border: 1px solid #FFF; margin: 13px;}
.highlight .title { padding-top:15px;  border-bottom: 1px dotted #5B8B99; margin: 0 13px 8px 178px;}
.highlight .title a { font-size:1.8em; color:#FFF; text-decoration:none;}
.highlight .title a:hover { color:#75D6FF; }
.highlight .excerpt { margin-right:8px;}
.highlight .more-link { position:absolute; bottom:2px; right:8px; color:#FFF;}
.highlight .meta-nav { color:#FF763C;}
.highlight a.more-link:hover { color:#75D6FF;}

#footer { clear:left; width:100%; background: url(images/footer-back-tile.gif) repeat-x center bottom; position: relative; padding:40px 0 10px; }







/*
Bottom sidebars
#secondary { margin:0px auto; display:block; clear:both; width:100%; background: #F7F7F7 url(images/grad-gold.jpg) repeat-x left top; }
#secondary > ul { margin:10px 0px;}
#secondary > ul > li{ float:left; display:block; width:260px;}
#secondary ul li ul { padding:10px 15px; }
#secondary .widgettitle { font-size:2em; color:#FFF; text-align:center; padding:10px 0 5px; border-bottom: 2px solid #FFF; margin: 0px; background:none; }
#secondary ul ul {  border-left: 1px dotted #FFF; }
#secondary a { color:#000;font-weight:bold;}
#secondary a:hover { color:#666; }
#secondary .widget_recent_entries ul{ border-left:none;}
#secondary ul ul li { border-top: 1px solid #C2AB57; background: url(images/white-arrow-right.gif) no-repeat left 7px; padding-left: 10px; }
#secondary ul ul li:first-child { border-top: none;}
-------------------------------------------------------------- */


/*
Bottom links
-------------------------------------------------------------- */
#links { clear:both;  }
#links ul { list-style:none;}
#links li { display:inline; padding-left:20px; margin-left:10px; border-left: 2px solid #EBEBEB; }
#links a { color:#999; text-decoration:none; }
#links a:hover { color:#F30;}
#links li:first-child { margin:0px; padding:0px; border:none; background:none;}




/* 
-------------------------------------------------------------- 
Typography defaults
-------------------------------------------------------------- */

/* 
Headings
-------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 { font-weight: normal; color: #111; }
h1 { font-size: 1.8em; line-height: 1; margin-bottom: 0.5em; }
h2 { font-size: 1.6em; margin-bottom: 0.75em; }
#content h2,
#content h2 a { color:#ED0500; }
h3,
.entry-content h1,
.entry-content h2{ font-size: 1.4em; line-height: 1; margin-bottom: 1em; font-weight: bold; color: #333; }
h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; }
h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; }
h6 { font-size: 1em; font-weight: bold; }
h1 img, h2 img, h3 img, h4 img, h5 img, h6 img { margin: 0; }
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { text-decoration:none; }

/* 
Text elements
-------------------------------------------------------------- */
p { margin: 0 0 1.5em; }
a:focus, a:hover { color: #333; }
a { color:#ED0500; text-decoration: underline; }
blockquote { margin: 1.5em; color: #666; font-style: italic; }
strong { font-weight: bold; }
em, dfn { font-style: italic; }
dfn { font-weight: bold; }
sup, sub { line-height: 0; }
abbr, acronym { border-bottom: 1px dotted #666; }
address { margin: 0 0 1.5em; font-style: italic; }
del { color:#666; }
pre { margin: 1.5em 0; white-space: pre; }
pre, code, tt { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.5; }


/* 
Lists
-------------------------------------------------------------- */
li ul, li ol { margin:0 1.5em; }
ul, ol { margin: 0 1.5em 1.5em 1.5em; }
ul { list-style-type: disc; }
ol { list-style-type: decimal; }
dl { margin: 0 0 1.5em 0; }
dl dt { font-weight: bold; }
dd { margin-left: 1.5em; }

/* 
Tables
-------------------------------------------------------------- */
table { margin-bottom: 1.4em; width:100%; }
th { font-weight: bold; }
thead th { background: #c3d9ff; }
th, td, caption { padding: 4px 10px 4px 5px; }
tr.even td { background: #e5ecf9; }
tfoot { font-style: italic; }
caption { background: #eee; }

/* 
Images within 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; padding-right:10px;	}
.alignright {	float: right;	}
.alignleft {	float: left;}

/*
-------------------------------------------------------------- 
Forms
-------------------------------------------------------------- */
label { font-weight: bold;	width:100px; display:inline-block; /*for Opera & IE*/ }
fieldset { padding:1.4em; margin: 0 0 1.5em 0; border:none;}
legend { font-weight: bold; font-size:1.2em; }
/* 
Form fields
-------------------------------------------------------------- */
input.text, input.title, input.single, textarea, select { margin:0.5em 0.5em 0.5em 0em; border:1px solid #bbb; }
input.text:focus, input.title:focus, textarea:focus, select:focus { border:1px solid #666; }
input:hover,textarea:hover,select:hover	{ background:#F2F7FC;}
input.single, input.text, input.title { width: 200px;  }
input.title { font-size:1.5em; }
textarea { width: 90%; height:6em; padding:0.5em; }
.reqtxt, .emailreqtxt { font-style:italic; color:#999; font-size:0.9em;}

/*Cforms*/
.linklove,.cf_hidden,.cform legend {display:none;}
.cform ol {list-style:none; margin:0px; padding:0px;}

/* 
Success, notice and error boxes
-------------------------------------------------------------- */
.error, .notice, .success { padding: .8em; margin-bottom: 1em; border: 2px solid #ddd; }
.error { background: #FBE3E4; color: #8a1f11; border-color: #FBC2C4; }
.notice { background: #FFF6BF; color: #514721; border-color: #FFD324; }
.success { background: #E6EFC2; color: #264409; border-color: #C6D880; }
.error a { color: #8a1f11; }
.notice a { color: #514721; }
.success a { color: #264409; }


/* 
Sidebars
-------------------------------------------------------------- */
.sidebar a { text-decoration: none; color:#999; }
.sidebar a:hover { color:#ED0500; }
.sidebar ul,
.sidebar li { list-style:none; margin:0px; padding:0px; }
.widget { margin:15px 0 !important;}
.widget > ul,
.widget > div { padding-bottom:10px; }
.widget div > ul > li,
.widget > ul > li { border-top: 3px solid #FFF; padding: 3px 3px;  display:block; }
.widget > ul > li:first-child { border-top: 0px;}


/*widget titles*/
.widgettitle { font-size: 1.3em; font-weight: bold; margin:0px 0px 5px; color:#FFF; padding:5px; background-repeat: no-repeat; background-position:center top; }
#primary .widgettitle { background-image:url(images/curved-top-250.gif)}
#secondary .widgettitle { background-image:url(images/curved-top-200.gif)}

/*widget body background*/
.widgettitle + ul,
.widgettitle + div { background-repeat: no-repeat; background-position:center bottom;}
#primary .widgettitle + ul,
#primary .widgettitle + div {background-image:url(images/curved-bottom-250.gif)}
#secondary .widgettitle + ul,
#secondary .widgettitle + div {background-image:url(images/curved-bottom-200.gif)}


.box-pics { margin-left:auto; margin-right:auto; display:block;}


/*Links or Blogroll widget*/


/*Tag Clouds*/
.widget_tag_cloud div { text-align:center; line-height: normal;}
.widget_tag_cloud a:hover { text-decoration:underline;}


/* 
Centre
-------------------------------------------------------------- */
.entry-title, .entry-meta { clear:both; }
textarea#comment { overflow:auto; }

/* 
post
-------------------------------------------------------------- */
.post { padding-top:10px; padding-bottom: 20px; }
.entry-meta, 
.entry-date { font-size:0.9em;}
.entry-date { text-align:right;}
.entry-meta { border-bottom: 1px solid #E4EAED; border-top: 1px solid #E4EAED; background: #F7F9F9; }

.entry-title { font-size:1.5em; border-bottom: 1px dotted #666; font-weight:bold; margin-top:10px;}
.more-link,
.nav-next a,
.nav-previous a { display:block; color:#666; font-weight:bold; text-decoration:none; font-size:1.15em;}
.more-link {clear:left; text-align:right;}

.meta-nav { font-size:1.6em; vertical-align:-1px; color:#BF001C; padding:0 5px 0 5px;}
a:hover .meta-nav { color:#F30;}

.navigation { position:relative; clear:both; display:block;  margin-bottom:3em;}
#nav-below { margin-top:1em; }
.nav-next,
.nav-previous { display:block; }
.nav-next { text-align:right; }
.nav-previous { text-align:left; line-height:normal; }



/* 
Comments
-------------------------------------------------------------- */
.comments h3 { padding-top:30px; margin-top:20px; border-top: 1px solid #CCC; }
.comments ol,
.comments li { padding:0px; margin:0px; list-style:none;}
.comments .comment { line-height: 1.5em; padding:10px 10px 36px 10px; margin-top:10px; position:relative; background: #F3F3F3;}
.comment p { margin-left:110px; padding-left:10px;  font-weight:bold; border-left: 2px solid #FFF; } /* this is the text of the comment */
.comment a { color:#C33;}
.comment a:hover { color:#000;}
.comment-meta { text-align:right; font-size:0.9em; position:absolute; bottom:2px; left:10px; color: #999; }
.comment-author { font-weight:bold; float:left;}
.comment-author img { border: 3px solid #fff;}
.comment-author span { display:block; color:#666; } /* Name of person */
.comment-edit-link { font-weight:bold; }


/*Form Filling out area*/
#commentform .form-label { float:left; width:70px; clear:left;}
#commentform label,
#commentform input {margin-top:10px;}
#commentform label { width:auto; }
#commentform input{ width: 300px; }

/* 
Gallery and Image page
-------------------------------------------------------------- */
.s-category-gallery .sidebar,
.s-category-gallery .entry-meta{ display:none;}
/*Body background*/
.attachment,
.page-template-gallery-php,
.s-category-gallery { background-color:#2B2B2B; color:#CCC;}
/*widens page*/
.attachment #content, 
.page-template-gallery-php #content,
.s-category-gallery #content{ margin:0px; padding: 0px 0px 40px 0}

.gallery-icon,
.gallery-icon img{ padding:0px!important; line-height:0px; }
.gallery-caption a { text-decoration:none; color:#999; font-size:0.9em; line-height:normal; }
.gallery-item { margin-bottom:16px!important;}

/*Attachment pages*/
.attachment, 
.attachment .caption-meta p { line-height:normal; margin:0px;}
.attachment .entry-title { color:#FFF; font-size:2em; margin:5px 0 10px 0; }
.attachment .parent-link { float:right; font-size:2em; font-weight: bold; }
.attachment .parent-link a { color:#6C6C6C; text-decoration:none; background: url(images/arrow-right.gif) no-repeat right 5px; padding-right: 25px; }
.attachment .parent-link a:hover {background: url(images/arrow-right0.gif) no-repeat right 5px; color:#FFF }
.attachment .entry-attachment { background-color:#0d0d0d; width:780px; overflow:hidden;}
.attachment .entry-attachment img { margin: 0px auto; display:block; padding-top:10px; padding-bottom:10px; max-width: 780px; max-height:620px; }
.attachment textarea { width:100%; padding:0px;}
.attachment .entry-caption { line-height:normal; background-color:#1f1f1f; color:#CCC; padding:5px}
.attachment .caption-meta { margin-right:250px; padding:10px;}
.attachment .entry-caption p:first-child {color:#FF5E19; font-weight: bold; font-size:1.1em;}

.attachment .navigation { height:1.25em; position:relative; background-color:#484848; clear:both;}
#nav-images .nav-next { text-align:right; position:absolute; right:5px; top:5px;}
#nav-images .nav-previous { float:left; position:absolute; left:5px; top:5px;}
#nav-images { height:80px;}
#nav-images a {border: 3px solid #000;}
#nav-images img { height:64px; width:64px; }

/*Attachment page comments*/
.attachment #comments h3 { padding:40px 0 10px 0; margin:0; border-top: none; color:#FFF }
.attachment .comment-link,
.attachment .comment-pic{ color:#000; display:block; float:right; width:220px; height:62px; background: url(images/comment-link.gif) no-repeat center center; margin-top:10px;}
.attachment .comment { line-height: 1.5em; margin-top:10px; border: none;  background: #4ABDB5 url(images/comment-tile.jpg) repeat-x left top;}
.attachment .comment a { color:#FFF047;}
.attachment .comment a:hover { color:#000;}
.attachment .comment-meta { color: #FFF; }
.attachment .comment-author span { color:#FFF; } /* Name of person */
.attachment .formcontainer { color:#CCC; padding-top:10px;}


/*Gallery Widget*/
.wGallery img { width:33%; height:33%; background-color:#000;}
.wGallery {line-height:0px!important; margin:0px!important; padding:0px!important;}
.wGallery li { display:inline!important; width:auto!important; background:#666; }



.clear { clear:both;}

.entry-title,
.curved { 
	border-radius:10px; /* CSS3 */
	-webkit-border-radius: 10px; /*Safari and chrome*/
	-moz-border-radius: 10px; /*firefox*/
	-khtml-border-radius:10px; /* Linux browsers */
	behavior:url(wp-content/themes/kwanda/border-radius.htc);
}
