/*  
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.51 (released 2008-04-20)
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.

Thanks to Patrick Griffiths who delivered the script for the dropdown menues. 
http://www.htmldog.com/articles/suckerfish/dropdowns/

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 {
	height: 100%;
	min-height: 100%;
	}


body {
/*	background: #666666; */
  background: #DDDDDD url(images/bg.gif) repeat-x;
	color: #000;
	padding: 10px 10px 10px 10px;
	}

body, select, input, textarea {
	font: 12px Arial, Verdana, Sans-Serif;
/*	line-height:1.5em; */
	}

p {	
	margin: 10px 0;
	}

a:link, a:visited {
	color: #333000;
	text-decoration:none
	}

a:hover, a:active {
	color:#003366;
	text-decoration:underline;
	}

hr {
	display: block;
	height:1px;
	background:#333;
	border:1 dotted;
	}

small {
	font-size: 0.95em;
	background:#F4F4EC;
	padding:3px 6px;
	}

#navbarright {
	width: 90px;
	font-size: 11px;
	float: right;
	margin: 0px;
	padding: 7px 0px 0px 0px;
	border-right: 1px solid #2255AA;
	}
	
/* Additional IE specific bug fixes... */
* html .ui-tabs-nav { /* auto clear, @ IE 6 & IE 7 Quirks Mode */
    display: inline-block!important;
}

*:first-child+html .ui-tabs-nav  { /* @ IE 7 Standards Mode - do not group selectors, otherwise IE 6 will ignore complete rule (because of the unknown + combinator)... */
    display: inline-block!important;
}

/****** Images ****************************/
img, a:link img, a:visited img{border:0px solid #999; padding:1px;}
img.left,img.center,img.right,img.norm{ margin:5px 12px 5px 0; border:0px 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 align left{ float:left; margin:0 12px 5px 0; }

/******************************************
*   General Structure                         
******************************************/

#page { /*the main container*/
	width:875px;
	margin:30px ;
	font-size:1em;
	background:#FFF;
	padding: 15px 15px 15px 15px;
	border:4px double #333;
	}

#branding {/*where the logo sits*/
	width:875px;
	height:100px;
	padding-bottom:0px;
	background:url(images/backgrounds/testbanner.jpg) no-repeat;
	}

.left {
	float:left;
	}

.right {
	float:right;
	}

#sidebar {/*you guessed it: it�s the sidebar container*/
	width: 250px;
	float:right;
	}

#leftcol {/*the left homepage column carrying the "Featured Article" section*/
	width:277px;
	border-right:1px dotted #b6b6b6;
	padding-right:18px;
	}

#leftcol, #rightcol {
	margin-top:10px;
	float:left
	}	

#rightcol {/*actually the column in the middle of the homepage (if the right column is the sidebar)*/
	width:277px;
	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: #FFF;
	text-decoration:none;
	}

#sidelist li {
	list-style:none;
	}

.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:#FFF;
	}

#sidelist .children li {
	background: #FFF;
	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:#FFF;
	color: #666;
  }

#sidelist .children li a:hover, #sidelist .children li a:active	{				
	color:#000;
	}

#sidelist .feed li{
	margin-bottom:5px;
	padding-left:20px;
	background:url(images/rss.gif) no-repeat;
	}
#kbrsswidget {
	font-family: Georgia, "Times New Roman", Times, serif;
        font-size:0.9em;
	color: #003366;
	letter-spacing:normal;
	padding-bottom:8px;
	margin-bottom:5px;
}
a.kbrsswidget {
	font-family: Georgia, "Times New Roman", Times, serif;
        font-size:0.9em;
	color: #003366;
	letter-spacing:normal;
	padding-bottom:8px;
	margin-bottom:5px;
}
/******************************************
*   Headlines                         
******************************************/

.blogtitle, .blogtitle a {
	color: #000;
	font-size: 1.8em;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: normal;
	padding: 20px 0px 10px 0px;
	}

h1 {
	color: #003366;
	font-size: 1.8em;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: bold;
	margin: 0px 10px 0px 0px;
	padding: 20px 0px 0px 10px;
	}

h2 {
	color: #003366;
	font: 1.5em Georgia, "Times New Roman", Times, serif;
	padding-bottom:8px;
	border-bottom:1px solid #666;
	margin: 20px 0;
	}

 h3 {
	font: 1.0em Arial, Helvetica, sans-serif;
	text-transform:uppercase;
	letter-spacing:0.2em;
	margin-bottom:5px;
	font-weight:bold;
	color:#003366;
	} 


#sidebar h2, #sidebar h3 a {
	font: 0.9em Arial, Helvetica, sans-serif;
	letter-spacing:0.3em;
	text-transform:uppercase;
	margin-bottom:4px;
	font-weight:bold;
	color:#003366;
	}

#sidebar h3, #sidebar h2 {
	font-size:0.9em;
	border-top:3px double #999;
	border-bottom:1px solid #999;
	padding:5px 0 5px 2px;
	margin:20px 0 10px 0;
	color:#003366;
	}

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 a:link, h4 a:visited {
	color: #666;
	}

/* h4 {
	font-size:1.2em;
	margin-bottom:6px;
	} */

/******************************************
*   Content                        
******************************************/
#content {
	width:605px;
	float:left;
  min-height: 100%;
	}

.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;	}

#featured-content h3 {
	color: #FFFFFF;
	font-weight: bold;
	margin: 0px 0px 0px 0px;
	background:#376B9D url(images/navbar.gif);
	font-size: 0.9em;
	height: 20px;
	padding:4px 4px;
	font-family: Arial, Tahoma, Verdana;
	border-top: 1px solid #1A4182;
	border-bottom: 1px solid #1A4182;
	text-transform: uppercase;

         }

#featured-content h3 a {
	color: #FFFFFF;
	}


#pageheader h2 {
	color: #FFFFFF;
	font-weight: bold;
	margin: 0px 0px 0px 0px;
	background:#376B9D url(images/navbar.gif);
	font-size: 1.0em;
	height: 20px;
	padding:4px 4px;
	font-family: Arial, Tahoma, Verdana;
	border-top: 1px solid #1A4182;
	border-bottom: 1px solid #1A4182;
	text-transform: uppercase;

         }

#leftcol img, #rightcol img {
	padding:1px;
	border:1px solid #999;
	}

#leftcol .feature {	margin-bottom: 15px; }

#leftcol .clearfloat {
	border-bottom:1px solid #999;
	padding:12px 0;
	}

/* 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: Georgia, "Times New Roman", Times, serif;
  font-size:0.9em;
	font-weight:bold;
	color: #003366;
	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 dotted #999;
	padding:12px 0;
	}	

#rightcol h3 {
	color: #FFFFFF;
	font-weight: bold;
	margin: 0px 0px 0px 0px;
	background:#376B9D url(images/navbar.gif);
	font-size: 0.9em;
	height: 20px;
	padding:4px 4px;
	font-family: Arial, Tahoma, Verdana;
	border-top: 1px solid #1A4182;
	border-bottom: 1px solid #1A4182;
	text-transform: uppercase;

         }

#rightcol h3 a:link, #rightcol h3 a:visited {
	color: #FFFFFF;
	}

/* Post Formatting */
.entry {
	padding-bottom:28px;
	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%
	}

#searchform { 	padding:16px 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*/
.commentlist {
	padding-left:30px;
	}

.commentlist li {
	margin: 15px 0 3px;
	padding: 8px 15px 10px 15px;
	background:#F4F4EC;
	border:1px solid #E6E3D3;
	}

.commentlist blockquote {
	color:#666;
	background:#fff;
	padding:6px 14px;
	margin:18px 35px;
	border-right:1px solid #ccc;
	border-bottom:1px solid #ccc;
	}	

#commentform small {
	background:#FFF;
	font-weight:bold;
	padding:0;
	}

.commentmetadata {
	display: block;
	}

.commentlist small {
	background:#fff;
	border:1px solid #E6E3D3;
	}

/* Float Properties*/

.clearfloat:after {
	display:block;
	visibility:hidden;
	clear:both;
	height:0;
	content:".";
	}

.clearfloat {
	display:inline-block;
	}

.clearfloat {
	display:block;
	}
	
/******************************************
*   Footer                        
******************************************/
#footer {
	font-size:0.8em;
	text-align:center;
	color:#FFF;
	background: #2255AA;
	width:915px;
	height: 35px;
	margin: 30px;
	padding: 0px 0px 0px 0px;
	}

#footer a {
	color:#ededed;
	}

/******************************************
*   The lead story on the honmepage
******************************************/
#leadcontainer1 {
/*	background:/*url(images/backgrounds/bg_leadcontainer.jpg) repeat-x 0px 0px #252525  #444; */
	background: url(images/backgrounds/bg_leadarticle.png) repeat-x #d8e6fb!important; /* declare background color for container to avoid distorted fonts in IE while fading */
/*	color:#ddd; */
	border-top:4px solid #003366;
	border-bottom:4px solid #003366;
	padding:15px;
	width:585px;
	min-height:170px;
	}

#leadcontainer1:hover {
/*	background:#333; */
  background: #d8e6fb;
	border-top:4px solid #003366;
	border-bottom:4px solid #003366;
	}

#leadcontainer1 .title {
	font:2.2em Georgia, "Times New Roman", Times, serif;
	line-height:100%;
	display:block;
	padding-bottom:7px;
	color: #003366;
	}

#leadheader1 {
	display:block;
	}

#leadheader1 a {color:#003366;}

#homebottom1 {/* That´s the nice shadow below the leadcontainer */
	width:625px;
	height:60px;
	background:url(images/backgrounds/homebottom.png);
	}

#homecontent-topleft1 {/* The left side of the upper area (where the leadstory area is located) */
	width: 600px;
	}

#leadcontainer1 a {color:#003366;}	
#leadpic1 {float:left;margin: 0 20px 10px 0;padding:1px;border:1px solid #999;}
.leadmeta1, .leadmeta1 a {/* That´s how the Date and Author appear in the leadarticle section above the Headline */
	font: 0.9em Arial, Helvetica, sans-serif;
	margin-top:-4px;
	color:#003366;
	text-decoration:none;
	}

.read-on1 a { /* This can be used to format the "continue readng..." link in the lead story */
	text-decoration:none;
	}

.read-on1 a:hover {color:#003366!important;}