/*
Theme Name: Jylkkari Branford 1.6.26
Theme URI: http://www.jylkkari.fi/
Description: Jylkkari website theme modified from Branford Magazine by Michael Oeser
Version: 1.6.26 (Based on branford 2.6)
Author: Mika Pennanen
Author URI: http://kapsi.fi/penni

The CSS, XHTML and design is released under GPL:
http://www.opensource.org/licenses/gpl-license.php
*/

@import url("styles/plugins.css");
@import url("styles/template-style.css");
@import url("styles/ui.tabs.css");

/******************************************
*   HTML Elements
******************************************/

* {
	margin:0;
	padding:0;
	}

body,html { min-height:101%; }
html {
	background: #fffbf1 url(images/lay-back.png) no-repeat top;
}
body {
	padding: 0;
	margin: 0;
	background:url(images/lay-btm.png) no-repeat bottom;
	color: black;
	width: 100%;
	display: table;
}

body, select, input, textarea {
	font: 12px Arial, Verdana, Sans-Serif;
	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;
	}

/****** OLLIN BONARI ****************/

div.entry p {
    text-align: left;
}


/******* 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: #00614a; 
	text-decoration: none;
	} 
.title:hover { 
	color: #00614a;
	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 */
	display:block;
	padding:4px 4px 4px 20px;
	background: #fff;
	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 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;}

/******************************************
*   Main or page navigation styles                       
******************************************/

	
#nav ul {
	z-index: 10;
	list-style:none;
	line-height:1;
	}

#nav a, #nav a:hover {
	display: block;
	text-decoration: none;
	border:none;
	}

#nav li {
	float: left;
	z-index: 11;
	list-style:none;
	border-right:1px solid #fff;
	}

#nav a, #nav a:visited {
	display:block;
	padding:6px 12px;
	font-weight:bold;
	color: #000;
	}

#nav a:hover, #nav a:active {
	color:#fff;
	text-decoration:none;
	}	

.current_page_item	a, #home .on  {color:#fff;}

	
/* Dropdown Menus for child pages */		

#nav li ul {/*first level dropdown*/
	position: absolute;
	left: -999em;
	height: auto;
	width: 174px;
	z-index: 25;
	border-bottom: 1px solid #666;
	}
	
#nav li ul ul {/*second level dropdown*/
	margin: -2em 0 0 172px;
	z-index: 28;
	}

#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:#ffcc33;
	z-index: 12;
	}

#nav li li a, #nav li li a:visited {
	font-weight:normal;
	font-size:0.9em;
	color:#000;
	}

#nav li li a:hover, #nav li li a:active {background:#00614a;}
	
#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;}

/******************************************
*   Images
******************************************/

/*** default image behaviour ***/
img { border:0px solid #999; padding:1px; }


/*** 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;
margin: 4px 0px 5px 0;
padding-left: 12px;
	}

.wp-caption {
   text-align: center;
   background-color: #fff;
   margin-top:5px;
   margin-right: 15px;
   margin-bottom:0px;
	}

.wp-caption img {
   padding:2px;
   border:0px solid #999;
	}	

.wp-caption img:hover{
   border:0px 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;
	}

.feedlink:link, .feedlink:visited , .fblink:link, .fblink:visited { 
	display: block;
	padding: 0.3em 0 0 2em; 
	margin:0.2em 0 0 0.3em; 
	vertical-align: middle;
	font-size: 1.2em; 
	height: 18px; 
	width: 90px;
	text-decoration: none;
	}
.feedlink:link, .feedlink:visited, .feedlink:hover{
	background: url(images/rss-icon-22.png) no-repeat; 
	}
.feedlink:link, .feedlink:visited{
	background-position: 0px 0px; 
	}
.feedlink:hover{
	background-position: 0px -22px; 
	color: #999;	
	}
.fblink:link, .fblink:visited , .fblink:hover{
	background: url(images/fb-icon-22.png) no-repeat; 
	}
.fblink:link, .fblink:visited {
	background-position: 0px 0px; 
	}
.fblink:hover{
	background-position: 0px -22px; 
	color: #999;
	}
		
/******************************************
*   General Structure                         
******************************************/
#pageplusbanners{
	margin: auto auto;
	width: 1160px;
	overflow: visible;
	}

#pagecont { /* page without banners */
	clear: both;
	float: left;
	z-index: 4;
	}

#header {
	clear: both;
	margin-top: 39px;
	padding: 0;
	height: 217px;
	width: 929px; 
	border: 2px solid #003E28;
	background-image: url('images/lay-head.png');
	z-index: 4;
	}


#nav {
	z-index: 9;
	padding-top: 5px;
	margin-left: -12px;
	height: 34px;
	width: 956px;
	font-size: 1em;
	background: #ffcc33;
	border: 1px solid #305d46;
	}	
	
#page {
	width: 929px;
	min-height: 1200px;
	clear: both;
	float: left;
	padding: 0;
	border: 2px solid #003E28;
	z-index: 4;
	background: #fff;
	}
		
#btm {
	clear: both;
	height: 161px;
	z-index: 4;
	overflow: visible;
	}	

#sivubannerit {
	float: left;
	width: 150px;
	margin-top: 170px;
	margin-left: 15px;
	z-index: 1;
	background: none;
	}
/******************************************
*  Header structure                      
******************************************/
#topholder {
	margin: auto auto;
	float: left;
	z-index: 5;
	width: 136px;
	padding: 0 0 0 0;
	margin: -20px 0 0 35px;
	overflow: visible;
	}

#branding {/*where the logo sits*/
	float: left;
	margin: 90px 0 0 0;
	width: 545px;
	padding: 10px 0 0 10px;
	z-index: 5;
	}
	
#branding .description { display: none; }

#searchblock {
	float: right;
	margin-top: 77px;
	}

/******************************************
* Page (Middle part) structure                        
******************************************/
#content {
    padding: 0 20px 15px 15px;
	margin-top: 0px;
	float: left;
	width: 636px;
	border: none;
	z-index: 4;
	}

#leftcol, #rightcol {
	margin-top:10px;
    float: left;
	}	

#leftcol {/*the left homepage column carrying the "Featured Article" section*/
	width:287px;
	/*border-right:1px solid #b6b6b6;*/
	padding-left: 10px;
	padding-right:20px;
	}
	
#rightcol {/*actually the column in the middle of the homepage (if the right column is the sidebar)*/
	width:287px;
	padding-left:20px;
	margin-top: -2px;
	text-align:justify;
	}

#sidebar {/*you guessed it: it´s the sidebar container*/
	width: 235px;
	float: left;
	height: 100%;
	margin-top: 0;
	border: none;
	padding-left: 10px;
	}

/******************************************
*   Footer
******************************************/

#footer {
	clear: both;
	padding: 0;
	width: 956px;
	color:#000;
	}
	
#foot-bar {
	height: 15px;
	margin-left: -12px;
	width: 956px;
	background: #ffcc33;
	border: 1px solid #305d46;
	}

#foot-box {
	width: 929px;
	height: 75px;
	background: #005E44;
	background-image: url('images/lay-foot-corner.png');
	background-repeat: no-repeat;
	background-position: bottom right;
	border: 2px solid #003E28;
	border-top: none;
	}
	
#foot-text {
	width: 929px;
	margin: 0.5em 0 0 0;
	font-size:0.9em;
	text-align:center;
	}

#footer a {
	color:#343434;
	}

#sivubannerit div { margin-bottom: 6px;  z-index: 0;}	

	
/******************************************
*   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;
	}
	
#sidelist li.odd { 
	background-color: #f2f2f2; 
	}

#navigation div.alignleft,
#navigation div.alignright {
	display: block;
	margin-top: 0px;
	}
#navigation div.alignleft { float: left; }
#navigation div.alignright { float: right; } 	
/******************************************
*   Headlines                         
******************************************/

.blogtitle, .blogtitle a {
	color: #000;
	font-size: 1.7em;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: regular;
	padding: 3px 0px 5px 0px;
	}

h1 {
	color: #00614a;
	font-size: 1.6em;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: bold;
	margin: 0px 10px 0px 0px;
	padding: 20px 0px 0px 10px;
	}
	
h2 {
	color: #00614a;
	font: 1.8em Georgia, "Times New Roman", Times, serif;
	padding-bottom:8px;
	border-bottom:1px solid #666;
	margin: 20px 0 5px 0;
	}
	
h2.blogheader {
	color: #00614a;
	font: 1.5em Georgia, "Times New Roman", Times, serif;
	padding-bottom:8px;
	border-bottom: none;
	margin: 5px 0;
	}

h3 {
	font: 0.9em Arial, Helvetica, sans-serif;
	text-transform:uppercase;
	letter-spacing:0.3em;
	margin-bottom:4px;
	font-weight:bold;
	color:#00614a;
	}

#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:#00614a;
	}

#sidebar h3, #sidebar h2 {
	font-size:0.9em;
	border-top:3px double #999;
	border-bottom:1px solid #999;
	padding:5px 0 5px 2px;
	margin:20px 0 15px 0;
	color:#00614a;
	}

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 {
	clear:both;
	font-size:1.2em;
	margin-bottom:6px;
	}

/******************************************
*   Content                        
******************************************/
.description {
	font-size: 1.3em;
	font-weight: bold; 
	color:#999;
	}

/* Featured Articles formatting "leftcol" */

.feature {
    background-image: url(images/bg_featured.png);
	background-repeat: no-repeat;
	background-position: bottom left;
	padding:15px;
	border: 1px solid #ccc;
	}

.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: #00614a;
	letter-spacing:normal;
	}
		
#lead p {
	margin-bottom:10px;
	}

.read-on a { /* This can be used to format the "[...]" link in the lead story */
	color:#00614a!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 {
	padding-bottom:20px;
	text-align:justify;
	}

.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: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 { 
	float: right;
	padding:3px 8px 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:#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;
	}	
	
.left {	
	float:left; 
	}

.right { 
	float:right; 
	}

.singleblog-post,  .blogslist-blog { float: left; width: 95%; padding: 10px; border: 1px solid #00614A; margin-bottom: 10px; background-color: #F6F3F3 ; }	
.singleblog-post img { float: left; margin-right: 10px; }

.singleblog-post h3 { font-size: 1.1em; text-transform: none; letter-spacing: 0.1em; }
.singleblog-post span.date { }
.singleblog-post span.excerpt {  }	
 
.blogslist-blog img { float: left; margin-right: 10px; }
.blogslist-blog h2.blogslist-header { float: left; margin: 0px; padding-bottom: 0px; border-bottom: none; }  
.blogslist-blog .author { float: right; }
.blogslist-blog .catdesc { float: left;  }
.blogslist-post { float: left; }  
.blogslist-post span.title { letter-spacing: 0.1em; margin-left: 8px;  }
.blogslist-post span.date {  }	