/*  
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 {
	min-height:101%;
	}
	
body {
	background:#324d25 url("./images/backgrounds/bg.png") top center repeat-x;
	color: #333;
	padding: 13px 0 25px 0;
	}

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

a:link, a:visited {
	color: #333;
	text-decoration:none
	}

a:hover, a:active {
	color:#333;
	text-decoration:underline;
	}

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

small {
	font-size: 0.9em;
	padding:3px 6px;
	}

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

img, a:link img, a:visited img{border:1px solid #999; 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 align left{ float:left; margin:0 12px 5px 0; }

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

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-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;
	line-height: 17px;
	padding: 3px 4px 3px;
	margin: 0;
}
/* End captions & aligment */


.png24 {
    tmp:expression(setPng24(this));
}	
		
/******************************************
*   General Structure                         
******************************************/

#page { /*the main container*/
	width:935px;
	margin:0 auto;
	font-size:1em;
	padding: 10px 0 35px 0;
/*
	background:#FFF;
	border:3px solid #355924;
*/
	}

#branding {/*where the logo sits*/
	width:935px;
	margin:0 auto;
/*	width:292px;
	height:76px;
	padding-bottom:15px;
	background:url(images/backgrounds/the_blographic.png) no-repeat;*/
	}

#logo {
	float:left;
}

#search {
	text-align:right;
}

.left {
	float:left;
	}

.right {
	float:right;
	}

#sidebar {/*you guessed it: it�s the sidebar container*/
	width: 220px;
	float:right;
	border:3px solid #355924;
	background-color:#b0d082;
	padding:0 10px 20px 10px;
}

#leftcol {/*the left homepage column carrying the "Featured Article" section*/
	width:298px;
	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:298px;
	padding-left:18px;
	margin-top: -2px;
	text-align:justify;
}


		
/******************************************
*   Sidebar                         
******************************************/
#sidelist li {
	list-style:none;
	}

#sidelist .subnav li {/*.subnav is mainly the categories list*/
	list-style:square;
	margin-left:22px;
	margin-bottom:5px;
	}

#sidelist .subnav li a:link, #sidelist .subnav li a:visited {
/** 	background: #fff; **/
	padding:4px 4px 4px 0px;
	}
	
#sidelist .subnav li {
	list-style : square;
	}		


#sidelist .bullets li {
	list-style:square;
	margin-left:22px;
	margin-bottom:5px;
}

#sidelist .list li {
	list-style : disc;
	margin-left:22px;
	margin-bottom:4px;
}

#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;
	}

#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: regular; **/
	padding: 20px 0px 10px 0px;
	}

h1 {
	color: #D15B1F;
	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: #D15B1F;
	font: 1.7em Georgia, "Times New Roman", Times, serif;
	padding-bottom:8px;
	border-bottom:1px solid #666;
	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:#D15B1F;
	}

#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:#D15B1F;
	}

#sidebar h3, #sidebar h2 {
	font-size:0.9em;
	border:1px solid #5b7832;
	background-color:#7EA348;
	padding:5px 0 5px 5px;
	margin:20px 0 15px 0;
	color:#fff;
}

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;
	}
	
/******************************************
*   Archives                        
******************************************/
.archives {
	margin-bottom : 50px;
	}
	
.archives a {
	font-size : 14px;
	padding : 2px;
	color : #7EA348;
	}

.archives li {
	list-style : none;
	font-size : 13px;
	line-height : 1.8em;
	}	

.archives li a{
	font-size : 12px;
	font-weight : bold;
	color : #fff;
	background : #7EA348;
	padding : 5px;
	}

.archives ul li {
	list-style : none;
	text-indent : 20px;
	padding-bottom : 5px;
	}	
.archives ul li a{
	background : none;
	color : #666;
	}	

.archives li ul li{
	margin : 0px;
	padding : 0px;
	}

.archives span.emptymonth {
	font-size : 14px;
	color : #ccc;
	padding : 2px;
	}

.archives h2 {
		border-bottom : none;
	margin : 25px 0px 5px;
	}

.archives h2 a {
	background : #7EA348;
	color : #fff;
	font-size : 16px;
	padding : 5px;
	}

	
/******************************************
*   Content                        
******************************************/

#content {
	width:635px;
	float:left;
	border:3px solid #355924;
	background-color:#fff;
	padding: 0 20px;
	}
	
.description {
	font-size: 1.3em;
	font-weight: bold; 
	color:#999;
	}

/* Featured Articles formatting "leftcol" */

.feature {
	background: url(images/backgrounds/bg_featured.png) repeat-x #fff7cf;
	padding:15px;
	border:1px solid #dbc541;
	border-right:2px solid #dbc541;
	border-bottom:2px solid #dbc541;
}

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

#leftcol img, #rightcol img {
	padding:1px;
	border:1px 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: Georgia, "Times New Roman", Times, serif;
	font-size:1.1em;
	font-weight:bold;
	color: #D15B1F;
	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 */

#meta small {
	font-size : 1em;
	margin-left : 15px;
	}
	
#meta small a{
	font-weight : bold;
	}	
	
.entry {
	padding : 0px 20px 28px 20px;
	font-size : 13px;
	line-height : 1.6em;
	text-align:justify;
	}

.entry  a{
	color : #4466bb ;
	border-bottom : 1px solid #ccc;
	}

.entry a:hover{
	color : #000000;
	border-bottom : 1px solid #888;
	text-decoration : none;
	}

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

.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:#fff9dd;
	border-top:1px solid #eeead3;
	border-bottom:1px solid #eeead3;
	}

.post-comments { position: relative; left : 200px; bottom: -15px; background: #dcdcdc; width:80px;}
.post-comments a,
.post-comments a {
	font-size: 11px;
	color: #666 !important;
	display: block;
	height: 1.5em;
	line-height: 1.5em;
	text-decoration: none;
	text-align: center;
	text-transform: lowercase;
} 

/* Form Elements */

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

#searchform { 	padding: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: 98%;
	margin-top:5px;
	}
.footnote {
	font-size : 11px ;
}


/* Comments*/

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

.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:#EFE9CD;
	border:1px solid #DFD9BD;
	}

.commentmetadata .author {
	font-size : 1em;
	font-weight : bold;
	border : none;
}


/* Float Properties*/

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

.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;
	}
