/*  
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:100%; }
	
body {
	background:#fff;
	color: #1f3103;
	padding: 0;
	}

body, select, input, textarea {
	font: 13px Helvetica, Arial, sans-serif;
	line-height:1.25em;
	}
	
p {	margin: 5px 0;	}


hr {
	display: block;
	height:1px;
	background:#333;
	border:0;
	}

small {
	font-size: 0.9em;
	padding:3px 6px;
	}

iframe{
	width:100%;
	height:100%;
	margin: 20px 0 0 0;
	border:1px solid #1f3103;
	overflow: auto;
	}

/******* Hyperlinks ********************/

/* standard link behaviour */
a:link, a:active, a:visited{ 
	color:#365605;
	text-decoration: underline; 
	} 
a:hover	{ 
	color:#3ea9f5;
	text-decoration: underline; 
	}

.blogtitle a { text-decoration: underline; }
.blogtitle a:hover{text-decoration:underline}

/* Title area links */
.title:link, .title:active, .title:visited { 
	color: #365605; 
	text-decoration: underline;
	} 
.title:hover { 
	color: #3ea9f5; 
	text-decoration: underline;
	} 
	
/* HTML headline links */
h3 a:link, h3 a:active, h3 a:visited  {
	color:#365605;
	text-decoration: underline; 
	} 
h3 a:hover {
	color: #3ea9f5; 
	text-decoration: underline;
	} 
h4 a:link, h4 a:active, h4 a:visited  {
	color:#365605;
	text-decoration: underline; 
	} 
h4 a:hover {
	color: #3ea9f5; 
	text-decoration: underline;
	} 

/* Links in the sidebar */
.subnav li a:link, .subnav li a:visited { /* .subnav is the categories list */
	background: #fff;
	color:#365605;
	display:block;
	padding:4px 4px 4px 20px;
	border-bottom: 1px solid #999;
	}
		
.subnav li a:hover, .subnav li a:active {
	background: #F4F4EC;  
        color: #3ea9f5;
	text-decoration:underline;
	}

#sidelist a:link, #sidelist a:active, #sidelist a:visited {
	color:#365605;
	text-decoration: underline; 
	} 
#sidelist a:hover {
	color:#3ea9f5;
	text-decoration: underline; 
	} 
#sidelist .children li a, #sidelist .children li a:visited {
	padding:2px 2px 2px 0px;
	border:0;
	background:#F4F4EC;
	color: #365605;
	text-decoration:underline;
	}
#sidelist .children li a:hover, #sidelist .children li a:active	{
	color: #3ea9f5;
	text-decoration:none!important;
	}

/* Links in unordered lists */
.bullets li a { text-decoration:none!important;	color: #fff!important; }
.bullets li a:hover { text-decoration:none!important;	color: #f7efdc!important;}

/* How tags appear */
.tags a {color: #365605; text-decoration:underline;}
.tags a:hover {color: #3ea9f5; text-decoration:underline;}

/* Links within comments metadata (date, Author etc.) */
.commentmetadata a:link, .commentmetadata a:active, .commentmetadata a:visited  {text-decoration:underline;}
.commentmetadata a:hover {text-decoration:underline;}

/* Links in the footer */
#footer a {text-decoration: none;} 
#footer a:hover	{text-decoration: underline;}



/******************************************
*   Images                         
******************************************/

/*** default image behaviour ***/
img { border:0px solid #513424; }


/*** 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:#1f3103;
   font-size: 10px;
   line-height: 12px;
   padding: 7px 4px 2px 5px!important;
   margin: 0!important;
}

form{
	width: 550px;
	margin-left:23px;
	}

		
/******************************************
*   General Structure                         
******************************************/



#page { /*the main container*/
	width:1000px;
	height: 100%;
	margin:0 auto;
	font-size:1em;
	border:0px solid #333;
	}

html>body #page{
	width:900px;
	}

#branding {/*where the logo sits*/
	width:880px;
	height:155px;
	background: #fff url(images/backgrounds/bg_branding3.jpg) no-repeat top right;
	z-index: 3;
	}

#searchform{
	display: none;
	}
.left {
	float:left;
	}

.right {
	float:right;
	}

#sidebar {/*you guessed it: it´s the sidebar container*/
	width: 273px;
	min-height:800px;
	display:inline-block;
	margin: 20px 10px 21px 3px;
	background: none;
	border-top:0px solid #fff;
	border-right:0px solid #fff;
	border-bottom:0px solid #fff;
	border-left:0px solid #fff;
	}

#lowerpage {
	display:block;
	width: 564px;
	height: 780px;
	background-color: #f7efdc;
	margin: 10px 0 0 15px;
	border: 1px solid #f7efdc;
	-moz-border-radius: 10px; 
	-webkit-border-radius: 10px;
	}
	
#leftcol {/*the left homepage column carrying the "Featured Article" section*/
	width:270px;
	margin: 5px 5px 15px 12px;
	background: none;
	}

#leftcol, #rightcol {
	float:left
	}	
	
#rightcol {/*actually the column in the middle of the homepage (if the right column is the sidebar)*/
	width:270px;
	margin: 5px 0 0 5px;
	background: none;
	}


		
/******************************************
*   Sidebar                         
******************************************/

.sidebar_widget {
	margin: -1em 0 20px 0px;
	min-height: 70px;
	overflow: hidden;
	width: 273px;
	background:#f7efdc;
	border: 0px solid #fff;
	-moz-border-radius: 10px; 
	-webkit-border-radius: 10px;
	}
	}
	
.subnav li {/*.subnav is mainly the categories list*/
	list-style:none;
	}
#sidelist ul {
	margin: 0 0 5px 0;
	}
	
#sidelist li {
	list-style:none;
	margin: 0 0 0 20px;
	}
	
#sidelist li a{
	color: #1f3103;
	font-size: 14px;
	}
	
#sidelist li a:hover{
	color: #365605;
	text-decoration: underline;
	}
	
.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 .feed li{
	margin-bottom:5px;
	padding-left:20px;
	background:url(images/rss.gif) no-repeat;
	}

.clear { /* generic container (i.e. div) for floating buttons */
    overflow: hidden;
    width: 100%;
}

#buttons {
	overflow: hidden;
	height: 300px;
	width: 273px;
	margin: 0;
	background:#fff url(images/backgrounds/levels.jpg) no-repeat top right;
	}
	
#buttoncase {
	margin: 81px 0 0 52px;
	}
	
#buttons a p{
	margin: 0px 0 22px 0px;
	color: #513424;
	font-size: 16px;
	font-weight: normal;
	text-decoration: none!important;
	}

#buttons a:hover p{
	color: #704832;
	text-decoration: none!important;
	}
	
#buttons h4{
	margin: 6px 0 5px 17px;
	color: #fff;
	text-transform: uppercase;
	font-size: 18px;
	font-weight: bold;
	}
	
a.signup {
    background: transparent url(images/backgrounds/bg_button_a.gif) no-repeat scroll top right;
    color: #444;
    display: block;
    float: left;
    font: bold 18px “Helvetica Neue”, Arial, Helvetica, sans-serif;
    height: 42px;
    width: 220px;
    margin-right: 6px;
    margin-left: 15px;
    margin-top: 10px;
    padding-right: 18px; /* sliding doors padding */
    text-decoration: none!important;
}

a.signup span {
    background: transparent url(images/backgrounds/bg_button_span.gif) no-repeat;
    display: block;
    line-height: 32px;
    padding: 5px 0 5px 18px;
    text-decoration: none;
} 
	
a.signup:active {
    background-position: bottom right;
    color: #000;
    text-decoration: none;
    outline: none; /* hide dotted outline in Firefox */
}

a.signup:active span {
    background-position: bottom left;
    padding: 6px 0 4px 18px; /* push text down 1px */
} 

.signup a:hover{
	text-decoration: none!important;
	}
	
#social{
	height: 70px;
	width: 270px;
	margin: 0;
	background: #214106;
	border: 1px solid #214106;
	-moz-border-radius: 10px; 
	-webkit-border-radius: 10px;
	}
	
#social h4{
	margin: 6px 0 5px 17px;
	color: #fff;
	text-transform: uppercase;
	font-size: 18px;
	font-weight: bold;
	letter-spacing: 0.3em;
	}
	
#social img{
	margin-left: 13px;
	margin-top: 3px;
	}


/******************************************
*   Headlines                         
******************************************/

.blogtitle, .blogtitle a {
	color: #000;
	font-size: 1.8em;
	font-family: “Helvetica Neue”, Arial, Helvetica, sans-serif;
	font-weight: regular;
	padding: 20px 0px 10px 0px;
	text-decoration:none;
	}
	
.blogtitle a:hover{
	text-decoration:underline;
	}

h1 {
	color: #3ea9f5;
	font-size: 1.8em;
	font-family: “Helvetica Neue”, Arial, Helvetica, sans-serif;
	font-weight: bold;
	margin: 0px 10px 0px 0px;
	padding: 20px 0px 0px 10px;
	}
	
h2 {
	color: #3ea9f5;
	font: 1.8em “Helvetica Neue”, Arial, Helvetica, sans-serif;
	border-bottom:0px solid #666;
	margin: 20px 0;
	}

h3 {
	font: 1em “Helvetica Neue”, Arial, Helvetica, sans-serif;
	text-transform:uppercase;
	letter-spacing:0.2em;
	vertical-align: text-bottom;
	font-weight:bold;
	color:#3ea9f5;
	}

#leftcol h3 {
	margin-left: 2px;
	}
	
#sidebar h2, #sidebar h3 a {
	font: 0.9em “Helvetica Neue”, Arial, Helvetica, sans-serif;
	letter-spacing:0.3em;
	text-transform:uppercase;
	margin-bottom:4px;
	font-weight:bold;
	color:#3ea9f5;
	text-decoration:none;
	}

#sidebar h3, #sidebar h2 {
	margin: 6px 0 5px 17px;
	color: #3ea9f5;
	text-transform: uppercase;
	font-size: 18px;
	font-weight: bold;
	}

h3#respond {
	font-size:1.1em;
	border-top:2px solid #1f3103;
	margin: 25px 15px 0px 22px ;
	padding-top:10px
	}

h3#comments {
	margin:32px 15px 0px 22px;
	}

h3 a:link, h3 a:visited {
	color: #3ea9f5;
	text-decoration:none;
	}
h3 a:hover{
	color: #3ea9f5;
	text-decoration:underline;
	}

h4 {
	font-size:1.2em;
	margin-bottom:6px;
	}
	
	
	
/******************************************
*   Content                        
******************************************/

#content {
	width:595px;
	float:left;
	margin-bottom: 10px;
	}
#acontent{
	width:570px;
	float:left;
	}
	
.description {
	font-size: 1.3em;
	font-weight: bold; 
	color:#999;
	}

/* Featured Articles formatting "leftcol" */

.feature {
	background: #fff;
	padding:5px;
	height: 220px;
	width: 245px;
	border: 1px solid #fff;
	}

.feature p, #rightcol p { margin:0;	}

#leftcol img, #rightcol img {
	border:1px solid #513424;
	}

#rightcol .feature {	margin: 0 0 21px 5px; }

/* Formating of the Leadstory stuff in the tabbed section */
			
#leadpic {
	float:left;
	margin: 0 18px 8px 0;
	padding:1px;
	border: 1px solid #999;
	}
	
#leadarticle {
	margin: 15px 15px 0 17px;
	}

#leadarticle a{
	margin: 0 10px 0 0;
	text-decoration:none;
	}

#leadarticle a:hover{
	text-decoration:underline;
	}

#leadarticle h3 a{
	font-size: 16px;
	margin-bottom:2px;
	}

.title, a.title  {
	font-family: “Helvetica Neue”, Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight:bold;
	color: #1f3103;
	letter-spacing:normal;
	}
	
.title:hover{
	font-weight:bold;
	text-decoration:underline;
	}
		
#lead p {
	margin-bottom:10px;
	}

.read-on a { /* This can be used to format the "[...]" link in the lead story */
	color:#1f3103!important;
	text-decoration:underline;
	}
	
.read-on a:hover {
	text-decoration:underline;
	}
	
.more a{
	text-decoration:none;
	}
.more a:hover{
	text-decoration:underline;
	}

/* Formating of "rightcol" which is the column in the homepage middle ;-) */

#leftcol img {
	float:left;
	margin:3px 10px 4px 0;
	}

#rightcol img {
	margin-bottom: 4px;
	display:block
	}
	
#leftcol .clearfloat {
	height: 251px;
	}	
	
#leftcol h3, #leftcol h3{
	margin-bottom: .25em;
	}
	
#rightcol p{
	margin-top: .25em;
	}
#leftcol h3{
	border-bottom: 1px solid #ccc;
	}
	


/* Post Formatting */

.entry {
	text-align:left;
	width: 550px;
	margin: 0 10px;
	}
.aentry {
	text-align:left;
	margin: 0 10px;
	}
.entre_entry{
	clear:both;
	display: block;
	width:550px;
	height:100%;
	margin: 20px 10px;
	}
.entre_entry h3{
	margin: 20px 0 0 0;
	}
.entre_entry img{
	margin: 0 10px 20px 0;
	}
.entre_button {
	display: block;
	width: 100px;
	height: 30px;
	background: #f6931f;
	border: 1px solid #f6931f;
	color: #3ea9f5;
	font-size: 16px;
	line-height: 28px;
	text-align: center;
	-moz-border-radius: 10px; 
	-webkit-border-radius: 10px;
	}

.featured_entry{
	clear:both;
	text-align:left;
	width: 800px;
	height:900px;
	margin: 20px 10px;
	}
.featured_entry h3{
	margin: 20px 0 0 0;
	}
.featured_entry img{
	margin: 0 10px 20px 0;
	}
	
.featured_post {
	width: 820px;
	height:1000px;
	margin: 0 15px 15px 15px;
	}

.post {
	margin: 8px 10px 0 15px;
	background: #f3ead4;
	min-height:810px;
	border: 1px solid #f3ead4;
	overflow: auto;
	-moz-border-radius: 10px; 
	-webkit-border-radius: 10px;
	}

.apost {
	margin: 8px 10px 0 15px;
	background: #f3ead4;
	min-height:810px;
	width: 550px;
	border: 1px solid #f3ead4;
	overflow: auto;
	-moz-border-radius: 10px; 
	-webkit-border-radius: 10px;
	}

.xpost{
	margin: 8px 10px 0 15px;
	background: #f3ead4;
	border: 1px solid #f3ead4;
	overflow: auto;
	width:550px;
	-moz-border-radius: 10px; 
	-webkit-border-radius: 10px;
	}
	
.post h2, .post p, .apost h2{
	margin:15px 10px;
	}
	
.apost h4{
	margin: 10px 6px;
	}
	
.post blockquote {
	color:#1f3103;
	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{
	margin-top: 10px;
	}

.post ol li {
	margin-bottom:5px;
	
	margin-left:48px;
	}

.post a, .xpost a{
	color: #365605;
	text-decoration: underline;
	font-weight:bold;
	}
	
.post a:hover, .xpost a:hover{
	color: #3ea9f5;
	text-decoration:underline;
	font-weight:bold;
	}

	
#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;
	}
				
.graphic{
	display: block;
	margin-right: auto;
	margin-left: auto;
	text-align:center;
	}

/* Form Elements */

select {
	background:#f2f2f2;
	border:1px solid #9c9c9c;
	width:100%
	}
	

#searchform { 	
	display: none;
	padding:16px 5px 0 0; 	}

.button {
	padding: 1px;
	background:#1f3103;
	color:#365605;
	border:1px solid #1f3103;
	-moz-border-radius: 5px; 
	-webkit-border-radius: 5px;
	}

.button:hover {
	background:#3ea9f5;
	color:#f3ead4;
	text-decoration:none;
	border:1px solid #365605;
	-moz-border-radius: 5px; 
	-webkit-border-radius: 5px;
	}
	

#commentform input {
	width: 170px;
	margin: 5px 0px 1px 0;
	float: right;
	}

#commentform textarea {
	width: 100%;
	margin-top:5px;
	}



/* Comments*/

.commentlist {
	width:550px;
	}
	
.commentlist li {
	margin: 15px 0 0 30px;
	padding: 8px 15px 10px 0px;
	}

.commentlist blockquote {
	color:#1f3103;
	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:none;
	padding:0;
	}

.commentlist a{
	color:#1f3103;
	font-weight:bold;
	text-decoration:none;
	}
.commentlist a:hover{
	color:#365605;
	}


/* Float Properties*/

.clearfloat:after {
	display:block;
	visibility:hidden;
	clear:both;
	height:0;
	content:".";
	}
	
.clearfloat {
	display:inline-block;
	}	

.clearfloat {
	display:block;
	}

	
/******************************************
*   Footer                        
******************************************/

#footer {
	position:relative;
	background:url(images/backgrounds/footer.jpg) no-repeat #fff;
	margin: 0 auto;
	width: 900px;
	height: 50px;
	font-size:0.9em;
	line-height:1em;
	text-align:center;
	padding-top:0px;
	color:#FFF;
	bottom:0px;
	}
#footer p{margin-bottom:7px}
.footertext{margin-bottom:0px}
#footer a {
	color:#ededed;
	}

img#wpstats{display:none}
