/*  
Theme Name: BranfordMagazine 2.6
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.6 (released 2008-12-14)
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: #CCC;
	color: #333;
	padding: 13px 0 25px 0;
	background:url(images/backgrounds/bg.png) no-repeat;
	
	}

body, select, input, textarea {
	font-family: Arial, Helvetica, sans-serif;
	font-size:12px;
	line-height:1.5em;
	}
	
p {	margin: 15px 0;	}


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:#333;
	text-decoration: underline; 
	} 
a:hover	{ 
	color:#333;
	text-decoration: none; 
	}

.blogtitle a { text-decoration: none; }

/* Title area links */
.title:link, .title:active, .title:visited { 
	color: #004b6f; 
	text-decoration: none;
	} 
.title:hover { 
	color: #004b6f; 
	text-decoration: underline;
	} 
	
/* HTML headline links */
h3 a:link, h3 a:active, h3 a:visited  {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;}
#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{
	background-image:url(images/tag.gif);
	background-position:left;
	background-repeat:no-repeat;
	padding-left:15px;
	font-size:12px;}

.categories{
	background-image:url(images/categories.gif);
	background-position:left;
	background-repeat:no-repeat;
	padding-left:15px;
	font-size:12px;}
	
.comment{
	background-image:url(images/comment.gif);
	background-position:left;
	background-repeat:no-repeat;
	padding-left:15px;
	font-size:12px;
	color:#333333;}

.tags a {text-decoration:underline; color:#004b6f;}
.tags a:hover {text-decoration:none;}

.categories a {text-decoration:underline; color:#004b6f;}
.categories a:hover {text-decoration:none;}

/* 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;}



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

/*** default image behaviour ***/
img { border:1px solid #999; padding:1px; }


/*** WordPress specific image classes ***/
.aligncenter, div.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}

.alignleft {
float:left;
}

.alignleft a{
background-image:url(images/prev.png);
background-repeat:no-repeat;
width:168px;
height:24px;
padding-top:5px;
padding-left:70px;
display:block;
}

.alignright {
float: right;
}

.alignright a{
background-image:url(images/next.png);
background-repeat:no-repeat;
width:168px;
height:24px;
padding-top:5px;
padding-left:10px;
display:block;
}

.navigation{
display:block;
padding-bottom:30px;
padding-top:20px;}

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


		
/******************************************
*   General Structure                         
******************************************/

#page { /*the main container*/
	width:880px;
	margin:0 auto;
	font-size:1em;
	padding: 10px 65px 35px 65px;
	background-image:url(images/backgrounds/bg_page.gif);
	background-repeat:no-repeat;
	}
	
#head{ padding-top:90px; }

#ice{ position:absolute;
	  left:50%;
	  margin-left:280px;
	  top:110px;}

#ice img{ border:0px;}

#branding {/*where the logo sits*/
	width:880px;
	height:250px;
	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: 250px;
	float:right;
	border-left:1px;
	}

#leftcol {/*the left homepage column carrying the "Featured Article" section*/
	width:287px;
	border-right:1px solid #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;
	}

#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:#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;
	}
	
.sidebar_widget .avhec-widget-line{
	display:block;
	font-family:Arial, Helvetica, sans-serif;
	font-weight:bold;
	text-transform:uppercase;
	color:#FFFFFF;
	height:19px;
	padding:3px;
	padding-left:25px;
	text-shadow: 1px 1px 0px #888;
	background-image:url(images/backgrounds/bg_data.png);
	background-repeat:repeat-y;}

	.sidebar_widget li a{
	color:#FFFFFF;}
	.sidebar_widget li a:hover{
	color:#666666;}
	
	.sidebar_widget img{ border:0px;}
	
/******************************************
*   Headlines                         
******************************************/

.blogtitle, .blogtitle a {
	color: #000;
	font-size: 1.8em;
	font-family: "Times New Roman", Times, serif;
	font-weight: regular;
	padding: 20px 0px 10px 0px;
	}

h1 {
	color: #004b6f;
	font-size: 1.8em;
	font-family: "Times New Roman", Times, serif;
	font-weight: bold;
	margin: 0px 10px 0px 0px;
	padding: 20px 0px 0px 10px;
	}
	
h2 {
	color: #004b6f;
	font: 1.8em "Times New Roman", Times, serif;
	margin: 20px 0;
	}

h3 {
	font: 16px Arial, Helvetica, sans-serif;
	margin-bottom:4px;
	color:#666666;
	}

#sidebar h2, #sidebar h3 a {
	font: 16px Arial, Helvetica, sans-serif;
	margin-bottom:4px;
	color:#666666;
	}

/*#sidebar h3, #sidebar h2 {
	font-size:16px;
	border-top:3px double #999;
	border-bottom:1px dotted #CCC;
	padding:5px 0 5px 2px;
	margin:20px 0 15px 0;
	color:#666666;
	}*/
	
#sidebar h3, #sidebar h2 {
	font-size:12px;
	font-weight:bold;
	text-transform:uppercase;
	background-image:url(images/backgrounds/bg_sidebar_title.png);
	background-position:bottom;
	background-repeat:no-repeat;
	width:234px;
	height:34px;
	padding:8px;
	padding-top:27px;
	color:#777;
	text-shadow: 1px 1px 0px #eee;
	}
	
#leftcol h3 a:link,#leftcol h3 a:visited{
	color:#990000;}
	
#rightcol h3 a:link,#rightcol h3 a:visited{
	margin-left:-10px;}

#leadarticle h3 a:link,#leadarticle h3 a:visited{
	letter-spacing:0px;
	font-size:12px;
	font-weight:bold;}

h3#respond {
	font-size:1.1em;
	border-top:1px dotted #ccc;
	margin-top:25px;
	padding-top:20px
	}

h3#comments {
	margin-top:32px
	}

h3 a:link, h3 a:visited {
	font-size:18px;
	color: #333;
	letter-spacing:-1px;
	}

h4 {
	font-size:1.2em;
	margin-bottom:6px;
	}
	
	
	
	
/******************************************
*   Content                        
******************************************/

#content {
	width:605px;
	float:left;
	margin-top:-30px;
	}
	
.pagetitle{ font-size:32px;
	font-family:"Times New Roman", Times, serif;
	letter-spacing:-0.8px;
	margin-bottom:0; padding-bottom:0;
	padding-top:18px;
	color:#fff;
	border-bottom:1px dotted #666;
	text-shadow: 1px 1px 0px #666;
	
	}
	
.description {
	font-size: 1.3em;
	font-weight: bold; 
	color:#999;
	}

/* Featured Articles formatting "leftcol" */

.feature {
	background: url(images/backgrounds/bg_featured.jpg) repeat-x #ccc;
	padding:15px;
	border: 1px solid #bbb;
	}

.feature p, #rightcol p { margin:0; font-size:11.5px; line-height:1.3em;	}

#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: 0px solid #999;
	}

.title, a.title  {
	font-family: Geneva, Arial, Helvetica, sans-serif;
	font-size:12px;
	font-weight:bold;
	color: #004b6f;
	letter-spacing:-0.5px;	}
	
#leadarticle .title, #leadarticle a.title{ font-size:22px;}
		
#lead p {
	margin-bottom:10px;
	}

.read-on a { /* This can be used to format the "[...]" link in the lead story */
	color:#004b6f!important;
	text-decoration:none;
	}
	
.read-on a:hover {
	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: 4px;
	display:block
	}
	
#rightcol .clearfloat {
	border-bottom:1px solid #999;
	padding:12px 0;
	}	
	


/* Post Formatting */

.entry {
	text-align:left;
	padding:0; margin:0;
	}
	
.post h2{ font-size:32px;
	font-family:"Times New Roman", Times, serif;
	letter-spacing:-0.8px;
	margin-bottom:0; padding-bottom:0;
	padding-top:18px;
	color:#fff;
	border-bottom:1px dotted #666;
	text-shadow: 1px 1px 0px #666;
	
	}
	
.post h4{ font-size:18px;
	font-family:Arial, Helvetica, sans-serif;
	letter-spacing:-0.8px;
	margin-bottom:-8px; padding-bottom:0;
	padding-top:18px;
	text-shadow: 1px 1px 0px #CCC;
	
	background-image:url(images/bookmark.gif);
	background-repeat:no-repeat;
	background-position:left center;
	padding-left:15px;
	}
	
.post h4 a{ color:#004b6f;}


.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:10px;
	padding:5px 10px;
	background:#CCC;
	margin:0px;}
	
.postmetadata a{ color:#888;}
				

/* Form Elements */

select {
	background:#f2f2f2;
	border:1px solid #9c9c9c;
	width:100%
	}
	
.addtoany_share_save_container{ text-align:right;}

#searchform { 	padding:16px 5px 0 0; 	}

#commentform .button {
	border:none;
	background-image:url(images/backgrounds/bg_comment.gif);
	background-repeat:no-repeat;
	width:250px;
	height:45px;
	cursor:pointer;
	float:right;
	padding-top:15px;
	
	font-size:12px;
	font-weight:bold;
	color:#fff;
	text-shadow: 1px 1px 0px #333;
	text-transform:uppercase;
	}

#commentform .button:hover {
	background-image:url(images/backgrounds/bg_comment-hover.gif);
	background-repeat:no-repeat;
	text-decoration:none
	}

#commentform input {
	width: 250px;
	}

#commentform textarea {
	width: 100%;
	margin-top:5px;
	}



/* Comments*/

.commentlist {
	}
	
.commentlist .person{
	background-image:url(images/comment.gif);
	background-position:left;
	background-repeat:no-repeat;
	padding-left:15px;
	color:#333333;
	}
	
.commentlist li {
	margin: 15px 0 3px;
	padding: 8px 15px 10px 15px;
	padding-bottom:40px;
	background-color:#fff;
	list-style:none;
	color:#333;
	background-image:url(images/backgrounds/bg_comment-cloud.png);
	background-position:bottom left;
	background-repeat:no-repeat;
	font-size:11px;
	line-height:1.3em;
	}

.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;
	background-color:#333333;
	}

.commentlist small {
	background:#CCC;
	padding:5px;
	font-size:11px;
	}



/* Float Properties*/

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

.clearfloat {
	display:block;
	}
	
#link_1 { float:left;}
	
	
/******************************************
*   Footer                        
******************************************/

#sponsor{
	margin: 0 auto;
	text-align:center;
	background-image:url(images/backgrounds/bg_sponsor.png);
	width:960px;
	height:85px;
	margin-top:-150px;
	padding-top:215px;}
	
#sponsor img{ border:0px;}

#footer {
	margin: 0 auto;
	width: 870px;
	font-size:0.9em;
	text-align:center;
	padding:15px;
	color:#666666;
	background-color:#000;
	background-image:url(images/backgrounds/bg_footer.png);
	background-repeat:repeat-x;
	}

#footer a {
	color:#FFFFFF;
	}

