/*  
Theme Name: PRiNZ BranfordMagazine
Theme URI: http://www.der-prinz.com/2008/01/20/wordpress-magazine-style-theme-branfordmagazine/
Description: A premium magazine-style layout for Wordpress with multiple functionalities inspired by the great themes of Brian Gardner and Darren Hoyt
Version: 2.2 (released 2008-03-16)
Author: Michael Oeser
Author URI: http://www.der-prinz.com

The CSS, XHTML and design is released under GPL:
http://www.opensource.org/licenses/gpl-license.php

Credits
=======

Thanks to Darren Hoyt and his "Mimbo" theme which has been a great inspiration
and a good source for lots of the code I used for this theme especially the intensive
use of custom fields.

Thanks to Brian Gardner and "Revolution" which inspired me to put the two additional
page layouts "Featured Page" and "3-Column-Page" into the theme.

I´d also like to thank Klaus Hartl (stilbuero.de) for the brilliant script I used 
for the tabbed section with the fade effect.

And last but not least my very special thanks go out to all of you out there
using the theme and sending me tons of emails telling me how great this theme is.

THANK YOU ALL!!!


/******************************************
*   HTML Elements                         
******************************************/

* {
	margin:0;
	padding:0;
	}

body,html {
	min-height:101%;
	}
	
body {
	background: #333;
	color: #333;
	padding: 13px 0 25px 0;
	}

body, select, input, textarea {
	font: 12px Arial, Verdana, Sans-Serif;
	line-height:1.5em;
	}
	
p {	
	margin: 15px 0;
	}

hr {
	display: block;
	height:1px;
	background:#333;
	border:0;
	}

small {
	font-size: 0.9em;
	padding:3px 0px;
	color:#333;
	align:left;
	}

/*--- Main Columns ---*/
#columns{
	padding: 0px;
	margin-top: 10px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}

/*========= FEATURED POSTS (FRONT-PAGE) =========*/

#featured
{
	width: 600px;
	z-index:5;
	background-color: #FFFFFF;
	color: #C10000;
	padding:10px 0 0 0 !important;
	margin-bottom: 0px;
}

.entry { margin:10px 0px; color: #333;}

.lead-image-wrapper { background: #fff; position: relative;	z-index:5; }


.lead-image-wrapper h2 {
	font-size: 18px;
	width:260px;
	font-weight:bold;
	line-height:20px;
	position: absolute;
	top: -2px;
	left: 18px;
	z-index: 1;
	background-image: url(images/semi_transparent_white_bg.png);
	background-repeat: repeat;
	padding: 7px 7px 7px 10px;
}

.lead-image-wrapper h3 {
	font-size: 12px;
	color:#FFF;
	width:570px;
	letter-spacing:0em;
	font-weight:normal;
	text-transform:none;
/*	text-align:justify; */
	line-height:15px;
	position: absolute;
	top: 226px;
	left: 1px;
	z-index: 5;
	background-image: url(images/semi_transparent_grey_bg.png);
	background-repeat: repeat;
	padding: 0px 15px 0px 15px;
	marging: -20px;
}

.lead-image-wrapper h4 {
	font-size: 10px;
	color:#FFF;
	line-height:15px;
	position: absolute;
	top: 1px;
	left: 18px;
	z-index: 1;
	background-image: url(images/semi_transparent_grey_bg.png);
	background-repeat: repeat;
	padding: 0px 5px 2px 5px;
}

.lead-image-wrapper h2 a, .lead-image-wrapper h2 a:hover {
	color: #840000;
	text-decoration:none;
	}

.lead-image-wrapper h3 a, .lead-image-wrapper h4 a { 
	color: #FFF; 
	}
	
.lead-image-wrapper h3 a:hover, .lead-image-wrapper h4 a:hover { 
	text-decoration:none;
	}



/*========= FEATURED POSTS (SIDEBAR) =========*/

.sidelead-image-wrapper {
	position: relative;	
	z-index:10; 
	}


.sidelead-image-wrapper h2 {
	width:240px;
	position: absolute;
	top: -12px;
	left: 8px;
	background-image: url(images/semi_transparent_white_bg.png);
	}

/******* Hyperlinks ********************/

/* standard link behaviour */
a:link, a:active, a:visited { 
	color:#666;
	text-decoration: none; 
	}

a:hover	{ 
	color:#000;
	text-decoration: underline; 
	}

/* Links in the sidebar */
#sidelist a:link, #sidelist a:active, #sidelist a:visited {
	text-decoration:none;
	color:#333;
	}
#sidelist a:hover {
	text-decoration:none;
	color:#666;
	}
#sidelist .children li a, #sidelist .children li a:visited {
	padding:2px 2px 2px 0px;
	border:0;
	background:#eee;
	color: #666;
	}
#sidelist .children li a:hover, #sidelist .children li a:active	{color:#000;}

/* Links within comments metadata (date, Author etc.) */
.commentmetadata a:link, .commentmetadata a:active, .commentmetadata a:visited {
	color:#666;
	text-decoration:none;
	}  
.commentmetadata a:hover {
	color:#000;
	text-decoration:underline;
	}


/****** Images ****************************/

p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin:0 auto 5px auto;
	}

img, a:link img, a:visited img{border:0px solid #999; padding:1px;}

img.alignleft,img.aligncenter,img.alignright,img.alignnorm{ margin:5px 10px 5px 0; border:0px solid #999; padding:1px;}

img.alignright {
	padding: 4px;
	margin:0 0 5px 12px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin:0 12px 5px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}

.home-cat-img {float:left; margin:0 0px 40px 0;}



/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
/*	border: 1px solid #dfdfdf; */
	text-align: center;
/*	background-color: #efefef; */
	padding: 0px;
	margin: 4px 5px 0px 0px;
/*	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px; */
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	color:#666;
	line-height: 17px;
	padding: 0 4px 0px;
	margin: 0;
}
/* End captions */





/******************************************
*   General Structure                         
******************************************/
#page { /*the main container*/
	width:950px;
	margin:0 auto;
	font-size:1em;
	background:#FFF;
	padding: 10px 20px 35px 20px;
	}

#branding {/*where the logo sits*/
	width:470px;
	height:90px;
	padding-bottom:15px;
	background:url(images/backgrounds/bg_branding.png) no-repeat;
	}

.left {
	float:left;
	}

.right {
	float:right;
	}

#sidebar {/*you guessed it: it´s the sidebar container*/
	width: 320px;
	float:right;
	}

#rightcol {
	margin-top:10px;
	float:left;
	}	
	
#rightcol {/*actually the column in the middle of the homepage (if the right column is the sidebar)*/
	width:600px;
	padding-left: 1px;
	margin-top: -2px;
/*	text-align:justify; */
	}


/******************************************
*   Sidebar                         
******************************************/

#sidebar {
	float: right;
	width: 330px;
	margin: 0;
	padding: 0;
	background: #fff;
	}

/* .subnav li
	list-style:none;
	}

.subnav li a:link, .subnav li a:visited {
	background: #fff;
	display:block;
	padding:4px 4px 4px 15px;
	border-bottom: 1px solid #999;
	}
		
.subnav li a:hover, .subnav li a:active {
	background: #F4F4EC;
	text-decoration:none;
	}

#sidelist .children {
	background:#F4F4EC;
	}

#sidelist .children li {
	background: #F4F4EC;
	list-style: none;
	margin-left:15px;
	padding-left:15px;
	border-bottom:1px solid #fff;
	}
	
#sidelist .children li a, #sidelist .children li a:visited {
	padding:2px 2px 2px 0px;
	border:0;
	background:#F4F4EC;
	color: #666;
	}

#sidelist .children li a:hover, #sidelist .children li a:active	{				
	color:#000;
	}

#sidebar .rssfeeds {
		height: 45px;
		margin: 0;
		padding: 0;
		background: transparent url(images/feeds.gif) no-repeat right top;
		}
#sidebar .socialtools {
		height: 45px;
		margin: 0;
		padding: 0;
		background: transparent url(images/social.gif) no-repeat right bottom;
		}
#sidebar h2.feed-title {
		margin: 0;
		padding: 20px 0 0 3px;
		background: none !important;
		font-size: 1.2em;
		}
#sidebar h2.social-title {
		margin: 0;
		padding: 20px 0 0 3px;
		background: none !important;
		font-size: 1.2em;
		}
	.rssfeeds a.rss  {
		padding: 0 0 0 21px;
		background: transparent url(images/icon_rss.gif) no-repeat 3px 0;
		}
	.socialtools img  {
		border: 2px solid #fff;
		padding:10px 0 0 0;
		} */
		
#sidebar ul {
	clear: both;
	margin: 0;
	padding: 0;
	list-style-type: none;
	}
#sidebar ul li {
	clear: both;
	color: #666;
	font-size: 12px;
	}
#sidebar ul.no-splitted li {
	background: transparent url(images/dot_title.gif) no-repeat 0px 5px;
	line-height:1.2em;
	margin-bottom:0.5em;
	padding: 0 11px;
	}
#sidebar ul.no-splitted ul li {
	margin: 0 -5px;
	}
#sidebar ul.blc {
	padding: 0 5px;
	}

#sidebar li#sidebar-splitted {
	float: left;
	width: 100%;
	line-height:1.3em;
	margin-bottom:0.5em;
	margin: -5 0 15px 0;
	}
#sidebar-splitted .splitted-left {
	float: left;
	width: 160px;
	}
#sidebar-splitted .splitted-right {
	float: right;
	width: 160px;
	}
#sidebar ul.children2 {
        padding: 0 0 0 20px;
        }

ul.splittedlists li {
	background: transparent url(images/dot_title.gif) no-repeat 0px 5px;
	padding: 0 0 0 11px;
	}
ul.splittedlists ul li {
	margin: 0 0 0 -5px;
	}



	
	
/******************************************
*   Headlines                         
******************************************/

.blogtitle, .blogtitle a {
	color: #000;
	font-size: 1.8em;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: regular;
	padding: 20px 0px 10px 0px;
	}

h1 {
	color: #840000;
	font-size: 1.8em;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	margin: 0px 10px 0px 0px;
	padding: 20px 0px 0px 10px;
	}
	
h2 {
	color: #840000;
	font: 1.8em Arial, Helvetica, sans-serif;
	margin: 20px 0;
	}

h3 {
	font: 0.9em Arial, Helvetica, sans-serif;
	text-transform:uppercase;
	letter-spacing:0.3em;
	margin-bottom:4px;
	font-weight:bold;
	color:#840000;
	}

#sidebar h2, #sidebar h3 a {
	font: 1em Arial, Helvetica, sans-serif;
	letter-spacing:0.1em;
	text-transform:uppercase;
	border-bottom:1px solid #999;
	padding:0 0 4px 2px;
	margin:20px 0 5px 0;
	font-weight:bold;
	color:#840000;
	}



h3#respond {
	font-size:1.1em;
	border-top:1px solid #666;
	margin-top:25px;
	padding-top:20px
	}

h3#comments {
	margin-top:32px
	}

h3 a:link, h3 a:visited {
	color: #666;
	}

h4 {
	font-size:1.2em;
	margin-bottom:6px;
	}
	
blockquote {
	color:#666;
	background:#F4F4EC;
	padding:0px 0px 0px 4px;
	margin:0px 15px;
	}
	
/******************************************
*   Content                        
******************************************/

#content {
	font-size:1em;
	width:605px;
	float:left
	}
	
.description {
	font-size: 1.3em;
	font-weight: bold; 
	color:#999;
	}

/* Featured Articles formatting "leftcol" */

.feature {
	background: url(images/backgrounds/bg_featured.jpg) repeat-x #F4F4EC;
	padding:15px;
	border: 1px solid #ccc;
	}

.feature p, #rightcol p { margin:0;	}

#leftcol img, #rightcol img {
	padding:0px;
	border:0px solid #999;
	}

#leftcol .feature {	margin-bottom: 15px; }

/* Formating of the Leadstory stuff in the tabbed section */
			
#leadpic {
	float:left;
	margin: 0 18px 8px 0;
	padding:1px;
	border: 1px solid #999;
	}

.title, a.title  {
	font-family: Arial, Helvetica, sans-serif;
	font-size:1.1em;
	font-weight:bold;
	color: #840000;
	letter-spacing:normal;
	}
		
#lead p {
	margin-bottom:10px;
	}


/* Formating of "rightcol" which is the column in the homepage middle ;-) */

#rightcol img {
	float:left;
	margin:3px 10px 4px 0;
	}

#leftcol img {
	margin-bottom: 4px;
	display:block
	}
	
#rightcol .clearfloat {
/*	border-bottom:1px solid #999; */
	padding:12px 0;
	}


/* Post Formatting */
.entry {
	padding-bottom:28px;
	font-size:1.2em;
/*	text-align:justify; */
	}

/* Links im Text */
.entry a:link, a:active, a:visited { 
	color:#990000;
	text-decoration: none; 
	} 
.entry a:hover{ 
	color:#999;
	text-decoration: none; 
	}

.post blockquote {
	color:#666;
	background:#F4F4EC;
	padding:6px 14px;
	margin:18px 35px;
	border-right:1px solid #DDD;
	border-bottom:1px solid #DDD;
	}	

.post ul li {
	list-style:square;
	margin-bottom:5px;
	margin-left:42px;
	}

.post ol li {
	margin-bottom:5px;
	margin-left:48px;
	}
	
.postmetadata {
	font-size:0.9em;
	margin:0 0 10px 0;
	padding:5px 10px;
	background:#F4F4EC;
	border-top:1px solid #E6E3D3;	
	border-bottom:1px solid #E6E3D3;	
	}

/* Form Elements */

select {
	background:#f2f2f2;
	border:1px solid #9c9c9c;
	width:100%
	}
	

#searchform {
 	padding:5px 5px 0 0;
	}

.button {
	padding: 1px;
	background:#333;
	color:#fff;
	border:none;
	}

.button:hover {
	background:#666;
	color:#FFF;
	text-decoration:none
	}

#commentform input {
	width: 170px;
	margin: 5px 5px 1px 0;
	}

#commentform textarea {
	width: 100%;
	margin-top:5px;
	}



/* Comments*/

img {border:0px solid #999; padding:1px;}

.commentlist {
	padding-left:30px;
	}
	
.commentlist li {
	margin: 15px 0 3px;
	padding: 8px 15px 10px 15px;
	background:#F4F4EC;
	border:1px solid #E6E3D3;
	}

.commentlist li .avatar { 
	float: right;
	border-top: 1px solid #E6E3D3;
	border-right: 1px solid #E6E3D3;
	border-bottom: 1px solid #E6E3D3;
	padding: 2px;
	background: #fff;
	margin:-9px -13px 0px 0px;
	}

#commentform small {
	background:#FFF;
	font-weight:bold;
	padding:0;
	}
	
.commentmetadata {
	display: block;
	padding-left:8px;
	}

.commentlist small {
	background:#fff;
	border:1px solid #E6E3D3;
	}

.commentlist blockquote {
	color:#666;
	background:#fff;
	padding:0px 0px 0px 4px;
	margin:0px 15px;
	}



/** Start CSS Kommentar Quicktags **/
#ed_toolbar input {background: #ffffff;border: 1px solid #333;color: #333;margin: 2px;width: auto;}
#ed_toolbar input:hover {background: #999;border: 1px solid #000000;color: #ffffff;}
/** Ende CSS Kommentar Quicktags **/

/* Float Properties*/

.clearfloat:after {
	display:block;
	visibility:hidden;
	clear:both;
	height:0;
	content:".";
	}
	
.clearfloat {
	display:inline-block;
	}	

.clearfloat {
	display:block;
	}


/**********************
*   Bottom            *
***********************/

#bottom {
	clear: both;
	float: left;
	width: 940px;
	height: 100%;
	margin: 0;
	padding: 0;
	background: #fff;
	font-size: 0.9em;
	text-align: left;
	color: #333;
	}
#bottom-divs {
	float: left;
	clear: both;
	margin: 0;
	padding: 20px;
	}
#bottom-left,
#bottom-mid,
#bottom-right {
	width: 30%;
	padding: 20px 0 20px 20px;
	float: left;
	}
#bottom h2 {
	margin: 0 0 10px 0;
	padding: 0 8px;
	font-size: 1.3em;
	font-weight:bold;
	color: #333;
	}
#bottom h2 span {
	color: #840000;
	}
#bottom ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
	}
#bottom ul li {
	line-height: 26px;
	border-bottom:1px solid #999;
	}
#bottom ul li a {
	display: block;
	padding: 0 8px;
	color: #333;
	text-decoration: none;
	}
#bottom ul li a:hover {
	background: #999;
	}

	
/******************************************
*   Footer                        
******************************************/

#footer {
	margin: 0 auto;
	width: 980px;
	font-size:0.9em;
	text-align:center;
	padding-top:15px;
	color:#FFF;
	}

#footer a {
	color:#ededed;
	}