/*  
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.0
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;
	}

a:link, a:visited {
	color: #0C4F5F;
	text-decoration:none;
	}

a:hover, a:active {
	color:#333;
	text-decoration:underline;
	}

hr {
	display: block;
	height:1px;
	background:#333;
	border:0;
	}

small {
	color:#666666;
	font-size: 1em;
	padding:3px 0px;
	}

/****** Images ****************************/


img {border:0px solid #fff}
img. a:link img, a:visited img{border:1px solid #fff; padding:1px;}
img.left,img.center,img.right,img.norm{ margin:5px 12px 5px 0; border:1px solid #999; padding:1px;}
img.left{ float:left; margin:0 12px 5px 0; }
img.center{ display:block; margin:0 auto 5px auto; }
img.right{ float:right; margin:0 0 5px 12px; }
img.media { border:4px solid #999;}
	
		
/******************************************
*   General Structure                         
******************************************/

.linie {
	float:left;
	width:100%;
	background-color:#222;
	}

#shadowtop { /*shadow under the line*/
	width:100%;
	height:30px;
	clear:both;
	background:#fff url(images/backgrounds/shadowtop.gif) repeat-x;
	}
	
#shadowbottom { /*shadow under the line*/
	background:#fff url(images/backgrounds/shadowbottom.gif) repeat-x;
	}
	
#header { /*where the log, search etc are in*/
	width:880px;
	margin:0 auto;
	}

#whitespace { /*white background*/
	width:100%;
	background:#fff;
	}

#page { /*the main container*/
	width:880px;
	margin:0 auto;
	font-size:1em;
	background:#fff;
	padding: 10px 25px 35px 25px;
	/*border:5px solid #fff;*/
	}

#branding {/*where the logo sits*/
	width:625px;
	height:115px;
	margin-top:0px;
	background:url(images/backgrounds/bg_branding.gif) no-repeat;
	}

#tab {
	color:#666;
	display:block;
	line-height:1.2;
	padding-top:5px;
	padding-right:5px;
	padding-bottom:6px;
	padding-left:5px;
	border-top: #ddd solid 1px;
	border-left: #ddd solid 1px;
	border-right: #ddd solid 1px;
	font-weight:bold;
	margin-top:22px;
	float:left;
	}

#notab {
	display:block;
	border-bottom: #eee solid 1px;
	font-weight:bold;
	margin-top:29px;
	margin-left:0px;
	margin-right:0px;
	float:left;
	}

#tabbox {
	background:#F2FCFF url(images/backgrounds/bg_tabs.jpg) repeat-x;
	padding:15px;
	border-left: 1px solid #ddd;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	clear:left;
}


.medialeft1, .medialeft2, .medialeft3 {
	float:left;
	text-align:center;	
	color:#666;
	font-size:12pt;
	font-weight:bold;
	width:291px;
	}

.medialeft1 {
	margin-top:0px;
	}

.medialeft2 {
	margin-top:20px;
	margin-left:-8px;
	}
	
.medialeft3 {
	margin-top:40px;
	margin-left:-8px;
	}

.left {
	float:left;
	}

.right {
	float:right;
	}
	
.clear {
	clear:both;
	}

#sidebar {/*you guessed it: it´s the sidebar container*/
	width: 250px;
	float:right;
	}

#leftcol {/*the left homepage column carrying the "Featured Article" section*/
	width:300px;
	margin-right:15px;
	}

#leftcol, #rightcol {
	margin-top:15px;
	float:left
	}	
	
#rightcol {/*actually the column in the middle of the homepage (if the right column is the sidebar)*/
	width:296px;
	/*padding-left:18px;
	margin-top: -2px;
	text-align:justify;*/
	}


		
/******************************************
*   Sidebar                         
******************************************/

.subnav li {/*.subnav is mainly the categories list*/
	list-style:none;
	}

.subnav li a:link, .subnav li a:visited {
	background: #fff;
	display:block;
	padding:4px 4px 4px 20px;
	border-bottom: 1px solid #999;
	}
		
.subnav li a:hover, .subnav li a:active {
	background: #F4F4EC;
	text-decoration:none;
	}
	
#sidelist li {
	list-style:none;
	}
	
div.sidebar_widget * li{
	margin-left:20px;
	list-style:square;
	}
	
.bullets li {
	margin:0 0 5px 15px;
	list-style:square;
	}
	
#sidelist .bullets li {
	list-style:square;
	margin-bottom:5px;
	
	margin-left:22px;
	}

#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;
	}

	
	
/******************************************
*   Headlines                         
******************************************/

.blogtitle, .blogtitle a {
	color: #000;
	font-size: 1.8em;
	font-family: Tahoma, Arial, Georgia, "Times New Roman", Times, serif;
	font-weight: normal;
	padding: 20px 0px 10px 0px;
	}

h1 {
	/*color:#840000;*/
	color:#00CCFF;
	font-size: 1.8em;
	font-family: Tahoma, Arial, Georgia, "Times New Roman", Times, serif;
	font-weight: bold;
	margin: 0px 10px 0px 0px;
	padding: 20px 0px 0px 10px;
	}
	
h2 {
	/*color:#840000;
	background:#F2FCFF url(images/backgrounds/bg_tabs.jpg) repeat-x;
	background-color:#F2FCFF;
	border-bottom:2px solid #666;*/
	color:#666;
	font: bold 2em Tahoma, Arial, Georgia, "Times New Roman", Times, serif;
	padding:2px 0px;
	}
	
h2.pagetitle {
	color:#666;
	font: bold 2em Tahoma, Arial, Georgia, "Times New Roman", Times, serif;
	margin-top:22px;
	padding:6px 10px;
	background:#F2FCFF url(images/backgrounds/bg_tabs.jpg) repeat-x;
	border-top: 1px solid #ddd;
	border-left: 1px solid #ddd;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	}

h3 {
	font: 0.9em Tahoma, Arial, Helvetica, sans-serif;
	text-transform:uppercase;
	letter-spacing:0.3em;
	margin-bottom:4px;
	font-weight:bold;
	/*color:#840000;*/
	color:#00CCFF;
	}

#sidebar h2, #sidebar h3 a {
	font: 0.9em Tahoma, Arial, Helvetica, sans-serif;
	letter-spacing:0.3em;
	text-transform:uppercase;
	margin-bottom:4px;
	font-weight:bold;
	/*color:#840000;*/
	color:#00CCFF;
	}

#sidebar h3, #sidebar h2 {
	font-size:0.9em;
	border-top:1px solid #999;
	border-bottom:1px solid #999;
	padding:5px 0 5px 2px;
	margin:20px 0 15px 0;
	/*color:#840000;*/
	color:#00CCFF;
	}

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;
	}
	
	
	
/******************************************
*   Content                        
******************************************/

#content {
	width:612px;
	float:left
	}
	
.description {
	font-size: 1.3em;
	font-weight: bold; 
	color:#999;
	}

/* Featured Articles formatting "leftcol" */

.feature {
	height:175px;
	text-align:center;
	vertical-align:middle;
	background:#F2FCFF url(images/backgrounds/bg_tabs.jpg) repeat-x;
	padding: 0px;
	border: 1px solid #ccc;
	clear:both;
	}

.feature p, #rightcol p { margin:0;	}

.feature img {
	border:1px solid #ccc;
	}

#leftcol .feature, #rightcol .feature {	margin-bottom: 15px; }

/* Formating of the Leadstory stuff in the tabbed section */
			
#leadpic {
	float:left;
	margin: 0 18px 8px 0;
	padding:1px;
	border: 2px solid #999;
	}

.title, a.title  {
	font-family: Tahoma, Arial, Georgia, "Times New Roman", Times, serif;
	font-size:1.1em;
	font-weight:bold;
	/*color:#840000;*/
	color:#00CCFF;
	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 {
	padding:12px 0;
	}	
	


/* Post Formatting */

.post {
	background:#F2FCFF url(images/backgrounds/bg_tabs.jpg) repeat-x;
	border-top: 1px solid #ddd;
	border-left: 1px solid #ddd;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	padding:10px;
	margin: 21px 0px 10px 0px;
	}

.item {
	padding-left:20px;
}

.date {
	background: transparent url(images/backgrounds/time.gif) no-repeat 0 -1px;
}
.author {
	background: transparent url(images/backgrounds/user.gif) no-repeat 0 -1px;
}
.comment {
	background: transparent url(images/backgrounds/comment.gif) no-repeat 0 -1px;
}
.cat {
	background: transparent url(images/backgrounds/cat.gif) no-repeat 0 1px;
}

.entry {
	padding-top:20px;
	padding-bottom:14px;
	
	text-align:justify;
	}

.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;
	}
	
#tags {
	padding:3px;
	border-bottom:1px solid #DDD;
	border-top:1px solid #DDD;	
	}	
	
.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%
	}
	

.searchdiv {
	margin-top:10px;
	padding:6px 0px 5px 20px;
	background: transparent url(images/backgrounds/search.gif) no-repeat scroll left 2px;
}

.searchinput {
	background: transparent none no-repeat 0 0;
	color: #fff;
	border:0px solid #222;
}

.shortlinks {
	margin-top:55px;
	text-align:right;
}

.button {
	cursor:pointer;
	padding: 1px;
	background:#666;
	color:#fff;
	border-top: 1px solid #888;
	border-left: 1px solid #888;
	border-right: 1px solid #777;
	border-bottom: 1px solid #777;
	}

.button:hover {
	background:#666;
	color:#00CCFF;
	border-top: 1px solid #333;
	border-left: 1px solid #333;
	border-right: 1px solid #555;
	border-bottom: 1px solid #555;
	text-decoration:none
	}

#commentform input {
	width: 170px;
	margin: 5px 5px 1px 0;
	}

#commentform textarea {
	width: 100%;
	margin-top:5px;
	}



/* Comments*/

.commentlist {
	padding-left:30px;
	}
	
.commentlist li {
	margin: 15px 0 3px;
	padding: 8px 15px 10px 15px;
	background:#F2FCFF url(images/backgrounds/bg_tabs.jpg) repeat-x;
	border-top: 1px solid #ddd;
	border-left: 1px solid #ddd;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	/*background:#F4F4EC;
	border:1px solid #E6E3D3;*/
	}

#commentform small {
	background:#FFF;
	font-weight:bold;
	padding:0;
	}
	
.commentmetadata {
	display: block;
	}

.commentlist small {
	background:#F2FCFF;
	color:#333;
	border:1px solid #E6E3D3;
	}



/* Float Properties*/

.clearfloat:after {
	display:block;
	visibility:hidden;
	clear:both;
	height:0;
	content:".";
	}
	
.clearfloat {
	display:block;
	}
	
	
/******************************************
*   Footer                        
******************************************/

#footer {
	margin: 0 auto;
	width: 900px;
	font-size:0.9em;
	text-align:center;
	padding-top:15px;
	color:#FFF;
	}

#footer a {
	color:#ededed;
	}
