/*  
Theme Name: PRiNZ BranfordMagazine 3.0
Theme URI: http://www.der-prinz.com/wordpress-theme-im-magazin-stil-branfordmagazine-wordpress-magazine-style-theme-branfordmagazine-63
Description: A premium magazine-style layout for Wordpress with multiple functionalities inspired by the great themes of Brian Gardner and Darren Hoyt
Version: 3.0 (released 2009-06.29)
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 again to Darren for the timthumb script: http://www.darrenhoyt.com/2008/04/02/timthumb-php-script-released/ 
and thanks to SNIPPLR for the function to insert the images in a very easy way: http://snipplr.com/view/14280/get-wordpress-image-attachment-and-use-tim-thumb-to-crop/

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 { min-height:101%; }
	
body {
	/*background: url(images/backgrounds/bg_body.jpg) no-repeat fixed FFCC99;*/
	background: #000;
	color: #333;
	padding: 13px 0 25px 0;
	}

body, select, input, textarea {
	font: 12px Arial, Verdana, Sans-Serif;
	line-height:1.5em;
	}
	
p {	margin-top: 10px;
       	background: #fff; }


hr {
	display: block;
	height:1px;
	background:#333;
	border:0;
	}

small {
	font-size: 0.9em;
	padding:3px 6px;
	}


/******* Hyperlinks ********************/

/* standard link behaviour */
a:link, a:active, a:visited { 
	color:#990000;
	text-decoration: none; 
	} 
a:hover	{ 
	color:#990000;
	text-decoration: underline; 
	}

.blogtitle a { text-decoration: none; }

/* Title area links */
.title:link, .title:active, .title:visited { 
	color: #840000; 
	text-decoration: none;
	} 
.title:hover { 
	color: #840000; 
	text-decoration: underline;
	} 
	
/* HTML headline links */
h3 a:link, h3 a:active, h3 a:visited  {color:#fff, text-decoration:none;}
h3 a:hover {text-decoration:underline;}

h4 a:link, h4 a:active, h4 a:visited  {color:#666; text-decoration:none;}
h4 a:hover {text-decoration:underline;}


/* Links in the sidebar */
.subnav li a:link, .subnav li a:visited { /* .subnav is the categories list */
	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!important;
	}


#sidelist a:link, #sidelist a:active, #sidelist a:visited {text-decoration:none; color: #660000;}
#sidelist a:hover {text-decoration:underline;}
#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;
	text-decoration:none!important;
	}

/* Links in unordered lists */
.bullets li a { text-decoration:none!important;	}
.bullets li a:hover { text-decoration:underline!important;	}

/* How tags appear */
.tags a {text-decoration:none;}
.tags a:hover {text-decoration:underline;}

/* Links within comments metadata (date, Author etc.) */
.commentmetadata a:link, .commentmetadata a:active, .commentmetadata a:visited  {text-decoration:none;}
.commentmetadata a:hover {text-decoration:underline;}

/* Links in the footer */
#footer a {text-decoration: none;} 
#footer a:hover	{text-decoration: underline;}


.linkcat li, .linkcat li a {
	list-style:none;
	text-decoration:none!important;
	margin-left: 5px;
	}

.linkcat h2, .linkcat h2 li {
	list-style:none;
	color: #fff;
	background: #000;
	padding: 5px;
	margin-top: 5px;
	margin-left: 5px;
	}





/******************************************
*   Images                         
******************************************/

/*** default image behaviour ***/
img { border:0px solid #fff; padding:0px; }


/*** WordPress specific image classes ***/
.aligncenter, div.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}

.alignleft {
float: left;
margin: 4px 15px 5px 0;
}

.alignright {
float: right;
}

.wp-caption {
   text-align: center;
   background-color: #fff;
   margin-top:5px;
   margin-right: 15px;
   margin-bottom:0px;
}

.wp-caption img{
   padding:2px;
   border:1px solid #999;
}

.wp-caption img:hover{
   border:1px solid #333;
}

.wp-caption p.wp-caption-text {
   color:#666;
   font-size: 10px;
   line-height: 12px;
   padding: 7px 4px 2px 5px!important;
   margin: 0!important;
}


/******************************************
*   Main or page navigation styles                       
******************************************/


/*Main Navbar */

#nav {
	background:transparent;
	font-size:1em;
	}
	
#nav, #nav ul {
	list-style:none;
	line-height:1;
	}

#nav a, #nav a:hover {
	display: block;
	text-decoration: none;
	border:none;
	}

#nav li {
	float: left;
	list-style:none;
	border-right:1px solid #ccc;
	}

#nav a, #nav a:visited {
	display:block;
	font-weight:bold;
	color: #000;
	padding:6px 12px;
	}

#nav a:hover, #nav a:active {
	background:#ccc;
	text-decoration:none;
	}	

.current_page_item	a, #home .on  {background:#ccc;}
	
	
	
/* Dropdown Menus for child pages */		

#nav li ul {/*first level dropdown*/
	position: absolute;
	z-index: 10;
	left: -999em;
	height: auto;
	width: 174px;
	border-bottom: 1px solid #993333;
	}
	
#nav li ul ul {/*second level dropdown*/
	margin: -2em 0 0 172px;
	}

#nav li:hover ul ul, #nav li.sfhover ul ul {
	left: -999em;
	}

#nav li li {
	width: 172px;
	border-top: 1px solid #fff;
	border-right: 1px solid #fff;
	border-left: 1px solid #fff;
	background:#999;
	}

#nav li li a, #nav li li a:visited {
	font-weight:normal;
	font-size:0.9em;
	color:#FFF;
	}

#nav li li a:hover, #nav li li a:active {background:#840000;}	
	
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul {left: auto;}

a.main:hover {background:none;}

		
/******************************************
*   General Structure                         
******************************************/

#header {
	width:915px;
	margin:0 auto;
	margin-bottom:0px;
	font-size:1em;
        background: #fff;
	padding: 25px 20px 5px 25px;
	border:0;
	}




#headercat { 
        background: url(images/backgrounds/headlinehinter.png) repeat;
        color: #000;
	font-size: 1.2em;
	font-family: Arial, Verdana, Sans-Serif;
       font-weight: normal;
	padding: 20px 20px 20px 20px;
	border: 2px solid #000;
	margin-top: 15px;
	margin-bottom: 15px;
}


#headercat ul {
        margin: 0; padding: 0; 
	list-style-type: none; list-style-image: none;
}

#headercat li {
           display: inline; 
}


#page { /*the main container*/
	width:930px;
	margin:0 auto;
	margin-bottom:15px;
	font-size:1em;
	background:#fff;
	padding: 0;
	border:15px solid #fff;
	}



#branding {/*where the logo sits*/
	margin:0 auto;
	width:625px;
	height:30px;
	padding-left:250px;
	padding-top:5px;
	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: 930px;
	float:right;
	background:#fff;
	padding-bottom:15px;
	}

.sidebar_widget {/*you guessed it: it´s the sidebar container*/
	font: 0.9em Arial, Helvetica, sans-serif;
	width: 300px;
	float:left;
	margin-top:15px;
	border:solid 5px #fff;
	}

#recentcomments li {
        padding-bottom:5px;
	}


#leftcol {/*the left homepage column carrying the "Featured Article" section*/
	background:url(images/backgrounds/bg_box.jpg) repeat;
	width:930px;
	border:1px solid #fff;
	padding:0px;
	}

#artikelcontainer {
	width:394px;
	padding: 19px;
	float:right;
	background: #fff;
	border: 0;
	}

#bildcontainer {
	width:450px;
	float:left;
	height:100%;
        padding: 19px 0px 19px 19px;
}

#bildcontainer img {
	background:url(images/backgrounds/bildhinter.png) no-repeat;
	width:450px;
	padding-top: 20px;
	height: auto;
	}





#aufmacher {/*the left homepage column carrying the "Featured Article" section*/
	background:#fff;
	width:930px;
	padding-left:5px;
	margin-bottom:5px;
	border: 0; 
	}

 .aufmacherfeature {
	background:#fff;
	color:#fff;
	padding-left:0px;
	width:920px;
	height:300px;
	float: left;
	border: 0px 5px 0px 5px solid #fff; 
}



#leftcol, #rightcol {
	margin-top:0px;
	float:left
	}	

	
#rightcol {/*actually the column in the middle of the homepage (if the right column is the sidebar)*/
	width:277px;
	padding-left:18px;
	text-align:justify;
	}


		
/******************************************
*   Sidebar                         
******************************************/

.subnav li {/*.subnav is mainly the categories list*/
	list-style: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:0px;
	}

#sidelist .children {
	background:#F4F4EC;
	}

#sidelist .children li {
	background: #F4F4EC;
	list-style: none;
	margin-left:15px;
	padding-left:15px;
	border-bottom:1px solid #fff;
	}

#sidelist .feed li{
	margin-bottom:5px;
	padding-left:20px;
	background:url(images/rss.gif) no-repeat;
	}

	
/******************************************
*   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: #840000;
	background: #fff;
	font-size: 1.0em;
	font-family: Arial, Verdana, Sans-Serif;
	font-weight: bold;
	margin: 0px 10px 0px 0px;
	padding: 20px 0px 0px 10px;
	}
	
h2 {
	color: #840000;
	background: #000;
	font: 1.0em Arial, Verdana, Sans-Serif;
	font-weight: bold;
	padding:2px;
	margin: 0;
	}

h3 {
	font: 0.9em Arial, Helvetica, sans-serif;
	margin-bottom:4px;
	font-weight:normal;
	color:#840000;
	}

#sidebar h2, #sidebar h3 a {
	font: 0.9em Arial, Helvetica, sans-serif;
	letter-spacing:0.3em;
	margin-bottom:4px;
	font-weight:normal;
	color:#fff;
	background:#000;


	}

#sidebar h3, #sidebar h2 {
	font-size:0.9em;
	padding:4px;
	margin-bottom:5px;
	color:#fff;
	background:#000;
	}

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:910px;
	float:left
	}



	
.description {
	font-size: 1.3em;
	font-weight: bold; 
	color:#999;
	}

/* Featured Articles formatting "leftcol" */

.feature {
	background:#ccc;
	color:#fff;
	padding:0;
	width:300px;
	height:300px;
	border: 5px solid #fff;
	float: left;	

}

.feature p, #rightcol p { margin:0;	}

#rightcol img {
	padding:1px;
	border:1px solid #999;
	}

#leftcol img {
	height:300px;
	width:300px;
	padding:0px;
	border:0;
        z-index:0;
	}

#aufmacher img {
	height:300px;
	width:920px;
	padding:0px;
	border:0;
        z-index:0;
}



#aufmacher h1, #aufmacher h1 a {

	margin-right: 20px; 
        background: #000;
	padding: 5px;
	color: #fff;
        font: 1.4em Arial, Verdana, Sans-Serif;
	font-weight: normal;
	text-decoration: none;
	margin-top: -150px;
	margin-bottom: 0px;
	line-height: 45px;
	z-index: 100;


	}

#aufmacher p, #aufmacher p a {
	display: inline-block;
	color: #000;
	background-color: #fff;
	font: 1em Arial, Helvetica, sans-serif;
	text-decoration: none;
	line-height: 20px;
	padding: 4px;
	margin-left: 20px;
	margin-right: 20px;
	margin-top: 0px;
	z-index: 100;
	}




#leftcol h2, #leftcol h2 a {
	color: #fff;
	background:#000;
	font: 1.1em Arial, Verdana, Sans-Serif;;
	font-weight: normal;
	line-height: 24px;
	text-decoration: none;
        padding: 2px;
	margin-left: 10px;
	margin-right: 0px;
	margin-top: -170px;
	margin-bottom: 0px;
	z-index: 100;
 }



#leftcol p, #leftcol p a {
	display: inline;
	color: #000;
	background:#fff;
	font: 0.95em Arial, Helvetica, sans-serif;
	width: 250px;
	text-decoration: none;
	line-height: 17px;
	padding: 2px;
	margin-left: 0px;
	margin-right: 20px;
	margin-top: 0px;
	}


#leftcol .feature {	margin-bottom: 0px; }

/* 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:1.1em;
	font-weight:bold;
	color: #840000;
	letter-spacing:normal;
	}

		
#lead p {
	margin-bottom:10px;
	}

.read-on a { /* This can be used to format the "[...]" link in the lead story */
	color:#fff!important;
	padding:2px;
	text-decoration:none;
	}
	
.read-on a:hover {
	color:#ccc!important;
	background:#000!important;
	text-decoration:underline;
	}

/* Formating of "rightcol" which is the column in the homepage middle ;-) */

#rightcol img {
	float:left;
	margin:3px 10px 4px 0;
	}

#leftcol img {
	margin-bottom: 0px;
	display:block

	}
	
#rightcol .clearfloat {
	border-bottom:1px solid #999;
	padding:12px 0;
	}	
	


/* Post Formatting */

.entry {
	padding-bottom:28px;
	text-align:justify;
	}

.post blockquote {
	color:#666;
	background:#F4F4EC;
	padding:10px;
	margin:10px;
	border:1px solid #DDD;
	}


.post blockquote p {
	color:#666;
	background:#fff;
	padding:5px;
	border:0;
	} 

.post h1 {
	color: #840000;
	background: #fff;
	font-size: 1.5em;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: bold;
	margin: 0px 10px 0px 0px;
	padding: 20px 0px 15px 0px;
	}





.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: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*/


.commentlist {
	padding-left:30px;
	}
	
.commentlist li {
	margin: 15px 0 3px;
	padding: 8px 15px 10px 15px;
	background:transparent;
	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 {
	background:url(images/backgrounds/headlinehinter.png) repeat;
	margin: 0 auto;
	width: 926px;
	font-size:0.9em;
	text-align:center;
	padding-top:15px;
	padding-bottom:15px;
	color:#000;
	border: 0;
	}

#footer a {
	color:#000;
	}
