/*
Theme Name: SpinneriMagazine 2010
Theme URI: http://www.spinneri.fi/
Description: A premium magazine-style custom layout for Wordpress with multiple functionalities based on previous Spinneri theme by Heikki Skyttä and branfordmagazine by Michael Oeser
Version: 2.00 (released 2010-03-19)
Author: Klaus Romo (branfordmagazine by Michael Oeser, previous Spinneri theme by Heikki Skyttä)
Author URI: http://www.banzai.fi/

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:url(images/backgrounds/bg_site.jpg) no-repeat fixed center;*/
	background:url(images/backgrounds/bg_site_metal.jpg);
	color: #333;
	padding: 0px 0 25px 0;
	}

body, select, input, textarea {
	font: 12px Arial, Verdana, Sans-Serif;
	line-height:1.5em;
	}
	
p {	
	margin: 15px 0px 15px 0px;
	}

a:link, a:visited {
	color: #369;
	text-decoration:none
	}

a:hover, a:active {
	color: #369;
	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; }
	

/******************************************
*   General Structure                         
******************************************/

#uberall {
        width: 100%;
        background: transparent url(images/backgrounds/bg_blacktop.png) repeat-x top center;
        }

#page { /*the main container*/
	width:900px;
	margin:0 auto;
	font-size:1em;
	background: #fff url(images/backgrounds/bg_branding.jpg) no-repeat top center;
	padding: 10px 15px 35px 15px;
	}

#branding {/*where the logo sits*/
	width:625px;
	height:75px;
	padding-bottom:15px;
	}

.left, .alignleft {
	float:left;
	}

.right, .alignright {
	float:right;
	}

#banner_1 {
	}
	#banner_1 img, #banner_2 img {
		border: 1px solid #CCC;
		margin: 0 0 15px -1px;
	}

#banner_2 {
	}

#sidebar {/*you guessed it: it's the sidebar container*/
	width: 263px;
	float:left;
	margin: 0px 0px 0px 15px;
	}

#sidebar_banners {/*you guessed it: it's the sidebar container*/
	width: 140px;
	float:right;
	}
#sidelist_banners {
	margin: 5px 0 0 0;
	}
	#sidebar_banners img {
		border: 0px none;
		padding: 20px 0px 0px 0px;
	}
	#sidelist_banners img {
		border: 0px none;
		padding: 0;
		margin: 10px 0px 10px 0px;
	}
	#sidebar_banners li, #sidelist_banners li {
		list-style:none;
		margin-bottom: -10px;
		text-align: center;
	}

.lifted {
	margin-top: -43px;	
}

.textwidget img {
	border: 0px none;
	margin: 0;
	padding: 0;
}

#leftcol {/*the left homepage column carrying the "Featured Article" section*/
	width:218px;
	padding-right:15px;
	}

#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:218px;
	padding-left:15px;
	border-left:1px solid #b6b6b6;
	}
#rightcol p { text-align:justify; }
#rightcol div.smallnews {
	display: block;
	margin-bottom: 5px;
	}
	#rightcol div.smallnews img {
		clear: left;
	}
	#rightcol div.smallnews a.title{
		display: block;
		width: 100px;
		float: left;
		clear: right;
		line-height: 100%;
		padding-top: 2px;
	}

/******************************************
*   Submenu (top)
******************************************/

.submenu {
	width: 746px;
	height: 33px;
	margin-top: 10px;
	margin-bottom: -10px;
	background: url(images/backgrounds/submenu_black.png) repeat-x;
	list-style: none;
	display: table;
	}
	
	.submenu li {
		/*display: inline-table;*/
		float: left;
		padding-right: 4px;
		padding-left: 10px;
		padding-top: 7px;
		background-image: url(images/backgrounds/submenu_bullet.png);
		background-repeat: no-repeat;
		background-position: 2px 15px;
	}
	.submenu li:first-child {
		background-image: none;
	}
	.submenu li a, .submenu li a:visited {
		color: #FFF;
	}
	.submenu li a:hover, .submenu li a:active {
		color: #F48000;
		text-decoration: none;
	}
	.submenu li ul {
		display: none;
	}
	.submenu .current_page_item a, .submenu .current_page_item a:hover, .submenu .current_page_item a:active, .submenu .current_page_item a:visited {
		background-color: transparent;
		font-weight: bold;
		color: #F48000;
		text-decoration: none;
	}
	
	
/******************************************
*   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: #F4F4EC;
	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:#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: Verdana,helvetica,sans-serif;
	font-weight: bold;
	font-weight: regular;
	padding: 20px 0px 10px 0px;
	}

h1 {
	color: #111;
	font-size: 1.8em;
	font-family: Verdana,helvetica,sans-serif;
	font-weight: bold;
	margin: 0px 10px 0px 0px;
	padding: 20px 0px 0px 10px;
	}
	
h2 {
	color: #111;
	font: 1.8em Verdana,helvetica,sans-serif;
	padding-bottom:2px;
	font-weight:bold;
	/*border-bottom:1px dotted #666;*/
	margin: 10px 0 10px 0;
	}

h3 {
	font: 0.9em Arial, Helvetica, sans-serif;
	text-transform:uppercase;
	letter-spacing:0.3em;
	margin-bottom:4px;
	font-weight:bold;
	color:#111;
	}

.navigation {
	margin-bottom: 10px;
}

#sidebar h2, #sidebar h3 a {
	font: 0.85em Arial, Helvetica, sans-serif;
	letter-spacing:0.3em;
	text-transform:uppercase;
	margin-bottom:4px;
	font-weight:bold;
	color:#fff;
	}

#sidebar h3, #sidebar h2 {
	font-size:1em;
	padding:7px 0 6px 14px;
	margin:20px 0 0 0;
	color:#fff;
	font-weight: bold;
	background: url(images/backgrounds/hl_black2.png) repeat-x #000;
	}

#sidelist_articles h3 {
	background:url("images/backgrounds/hl_orange_xtra.png") no-repeat scroll 0 0 #FFFFFF;
	color:#FFFFFF;
	font-weight:normal;
	min-height:25px;
	padding:9px 0 0 60px;
	margin-top: 10px;
}

#sidelist_articles div.feature {
	margin-bottom: 15px;
	}
	#sidelist_articles div.feature img{
		width: 227px;
		}

#sidelist_articles div.readmore {
	float: right;
	font-weight: bold;
}

#leftcol h3, #rightcol h3 {
	font-size:1 em;
	padding:9px 0px 0px 60px;
	color:#fff;
    font-weight: normal;
	background: url(images/backgrounds/hl_orange_xtra.png) no-repeat #fff;
	min-height: 25px;
    }

h3#respond___OLD {
	font-size:1.1em;
	border-top:1px solid #666;
	margin-top:25px;
	padding-top:20px
	}

h3#comments {
	margin-top:32px
	}

#commentform p {
	margin-top: 0px;
}

#commentform a.logout {
	margin-left: 15px;
	font-size: 11px;
}

h3 a:link, h3 a:visited {
	color: #666;;
	}
	
#leftcol h3 a, #rightcol h3 a {
        color: #fff;
        }

h4 {
	font-size:1.2em;
	margin-bottom:6px;
	}
	
	
	
/******************************************
*   Content                        
******************************************/

#content {
	width:468px;
	float:left;
	margin-top: 10px;
	}
	
.description {
	font-size: 1.3em;
	font-weight: bold; 
	color:#999;
	}

#leadarticle {
	min-height:490px;
	padding: 0px 15px 15px 0px !important;
	width:468px !important;
}

/* 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;	}

#leftcol img, #rightcol img {
	padding:1px;
	border:1px solid #999;
	}

#leftcol .feature, #rightcol .feature {	margin-bottom: 15px; }

/* Formating of the Leadstory stuff in the tabbed section */

#fp_leadimage {
	float: left;
	clear: none;
	width: 314px;
	height: 285px;
	overflow:hidden;
}
#fp_leadimage_caption {
	float: left;
	clear: right;
	width: 120px;
	height: 260px;
	border-left: 4px solid #FFF;
	padding: 25px 15px 0 15px;
	background: url(images/backgrounds/bg_leadimage_caption.png) bottom no-repeat #f2922b;
	}
	#fp_leadimage_caption h2 {
		font-family: Arial, Helvetica, sans-serif;
		font-weight: bold;
		font-size: 16px;
		letter-spacing: -1px;
		line-height: 110%;
		margin: 0 0 15px 0;
		padding: 0;
		color: #FFF;
	}
	#fp_leadimage_caption p {
		font-family: Arial, Helvetica, sans-serif;
		font-size: 13px;
		letter-spacing: -1px;
		line-height: 120%;
		margin: 0;
		padding: 0;
		color: #000;
	}
	
#leadpic {
	float:left;
	/*margin: -5px 15px 0px 0;*/
	padding:0px;
	border: 0px none;
	width: 314px;
	}
#leadlinks1 {
	float: left;
	clear:left;
	margin: -5px 0px 8px 0px;
	width: 50%;
	height: 40px;
	overflow: hidden;
	background: url(images/etusivun_nostokuvan_linkkipalkkibg.jpg) repeat-x #000000;
	}
	#leadlinks1 a, #leadlinks1 a:visited {
		width: 100%;
		height: 40px;
		display: block;
		background-image: url(images/fp_leadimage_link.png);
		background-position: 0px 0px;
		background-repeat: no-repeat;
	}
	#leadlinks1 a:hover, #leadlinks1 a:visited:hover, #leadlinks1 a:active {
		background-position: 0px -40px;
	}
#leadlinks2 {
	float: left;
	clear:right;
	margin: -5px 0px 8px 0px;
	width: 50%;
	height: 40px;
	overflow: hidden;
	background: url(images/etusivun_nostokuvan_linkkipalkkibg.jpg) repeat-x #000000;
	}
	#leadlinks2 a, #leadlinks2 a:visited {
		width: 100%;
		height: 40px;
		display: block;
		background-image: url(images/fp_leadimage_link.png);
		background-position: -234px 0px;
		background-repeat: no-repeat;
	}
	#leadlinks2 a:hover, #leadlinks2 a:visited:hover, #leadlinks2 a:active {
		background-position: -234px -40px;
	}

.title, a.title  {
	font-family: Verdana,Helvetica,sans-serif;
	font-size:1.1em;
	font-weight:bold;
	color: #f41111;
	letter-spacing:normal;
	}

#leadarticle a.title {
	display: block;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 20px;
	font-weight: bold;
	letter-spacing: 2px;
	color: #000;
	text-decoration: none;
	margin-bottom: 10px;
}

#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 solid #999;*/
	margin-bottom: 10px;
	}	

/* Formatting Ilmestyneet -category */

#issue {
	float:left;
	margin: 0 40px 8px 0;
	padding:4px;
	width:108px;
	height: 174px;
	text-align:center;
	font-size: 10px;
	}


/* Post Formatting */

.entry {
	/*margin-top: 15px;*/
	margin-top: 10px;
	margin-bottom: 10px;
	padding-bottom:5px;
	text-align:left;
	border-bottom:1px dotted #666;
	}
	.entry ol {
		padding-left: 25px;	
	}
	
.limited div.entry {
	border-bottom: 0px none;	
}

.post {
	padding: 0 15px 0 15px;
}

.post h2 {
	margin-bottom:5px;
	margin-top: 0px;
	}
.post h2.lista {
   border:none;
   font-size:1.6em;
   margin-bottom:-5px;
   margin-left:-1px;
   }
.post h2.lista a {color:#111;}

.post h3, h3.xtra {
	font-size:1 em;
	padding:14px 0px 0px 60px;
	margin-left: -15px;
	margin-bottom: -10px;
	color:#fff;
    font-weight: normal;
	background: url(images/backgrounds/hl_orange_xtralong.png) no-repeat transparent;
	width: 408px;
	min-height: 38px;
    }
	h3.xtra {
		margin-left: 0;
	}
	h3.xtra a, h3.xtra a:visited, h3.xtra a:active {
		text-decoration: none;
		color: #FFFFFF;
	}


.post h3 a, .post h3 a:visited, .post h3 a:active {
	color: #FFF;
}
	
.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;*/
	}

.limited {
	background-color: #EAEAEA;
}

.leadimage {
	width: 468px;
	border: 0px none;
	padding: 0;
	margin-left: -15px;
	margin-bottom: 15px;
}

#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:15px;
	}
	
.commentlist li {
	margin: 15px 0 3px 0;
	padding: 8px 15px 0 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 {
	margin: 0 auto;
	width: 930px;
	font-size:0.9em;
	text-align:center;
	padding-top:15px;
	color:#FFF;
	background: transparent url(images/backgrounds/bg_footer.png) no-repeat bottom center;
	}

#footer a {
	color:#ededed;
	}


#wastegate {
  margin: 5px 0 0 0;
  padding: 0;
  list-style: none;
  }
#wastegate li {
  padding-left: 20px;
  background-image: url(images/email.png);
  background-repeat: no-repeat;
  background-position: 0 2px;
  margin-bottom: 2px;
  }
  
#noticelist {
  margin: 5px 0 0 0;
  padding: 0;
  list-style: none;
  }
#noticelist li {
  padding-left: 20px;
  background-image: url(images/error.png);
  background-repeat: no-repeat;
  background-position: 0 2px;
  margin-bottom: 2px;
  }

.wp-caption {
border: 1px solid #ddd;
text-align: center;
background-color: #f3f3f3;
padding-top: 4px;
margin: 10px;
/* optional rounded corners for browsers that support it */
-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: 0 4px 5px;
margin: 0;
}

.archiveList ul li {
	list-style: none;
	margin-left: 15px;
}

.archiveList select, .archiveList div {
	width: 438px;
	margin: 10px 15px;
}

.archiveList #searchform {
	padding: 0;
	}
	.archiveList #searchform input#s {
		width: 250px;
	}
.newsDate {
	margin: 0;
	padding: 0;
	display:block;
	width:438px;
}
.rightAlign {
	text-align: right;
}
.post p {
	margin-bottom: 5px;
	margin-top: 0px;
}
