﻿/*  
Theme Name: Ennen ja Nyt
Theme URI: http://www.ennenjanyt.net
Description: Lehtitaitto Ennen ja Nyt -lehden käyttöön. Pohjana on käytetty Darren Hoytin suunnittelemaa <a href="http://www.darrenhoyt.com/2007/08/05/wordpress-magazine-theme-released/">Mimbo -teemaa</a>, joka on julkaistu GPL lisenssin alla.
Version: 2.0
Author: Antti-Jussi Nygård
Author URI: http://users.utu.fi/ajnyga/

The CSS, XHTML and design is released under GPL:
http://www.opensource.org/licenses/gpl-license.php



/* HTML Elements */

* {
	margin:0;
	padding:0;
	}

body,html {
	min-height:101%;
	}
	
body {
	background: #ffffff;
	color: #444444;
	padding: 0px 0 25px 0;
	text-align:center;
}

body, select, input, textarea {
	font: 0.9em Arial, Verdana, Sans-Serif;
}
	
p {	
	margin: 15px 0;
	}

a:link, a:visited {
	color: #5C4109;
	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.95em;
	background:#eef5e1;
	padding:3px 6px;*/
	}

img, a:link img, a:visited img {
	border:0
	}
	
		

/* Structure */

#top {
	width: 800px;
	margin:0px auto;
	text-align:left;
	padding: 30px 30px 0px 30px;
	background: url(images/tausta_top.gif) no-repeat;
	background-position: top center;
}
#wrap_top{
	width: 740px;
	margin:0px auto;
}

#header {
	width:740px;
	height: 130px;
	background: url(images/header3.jpg) no-repeat;
	/*background-position: left top;
	border-top: 1px solid black;
	border-left: 1px solid black;
	border-right: 1px solid black;*/
}

#branding {
	width:625px;
	padding: 20px 0 0 20px;
	float: left;
}


#center {
	width: 800px;
	margin:0px auto;
	text-align:left;
	padding: 0px 30px 0px 30px;
	background: url(images/tausta_center.gif) repeat-y;
	background-position: center;
}
#wrap_center{
	width: 740px;
	margin:0px auto;
}

#bottom {
	width: 800px;
	margin:0px auto;
	text-align:left;
	padding: 0px 30px 30px 30px;
	background: url(images/tausta_bottom.gif) no-repeat;
	background-position: bottom center;
}




.left {
	float:left;
	}

.right {
	float:right;
	}

#sidebar {
	width: 240px;
	float:right;

	}
	
#sidebar_front {
	width: 240px;
	float:right
	}	

#leftcol {
	width:200px;
	border-right:1px dotted #b6b6b6;
	padding-right:18px;
	}
	
#leftcol, #rightcol {
	margin-top:10px;
	float:left
	}	
	
#rightcol {
	width:200px;
	padding-left:18px;
	margin-top: -2px;
}	
	
	
#etusivu_pikkujutut {
	border-left: 1px dotted #b6b6b6;
	padding: 0 0 0 10px;
	margin-top:22px;
	float:left
	border-bottom:1px dotted #b6b6b6;
}

#etusivu_pikkujutut .clearfloat {
	border-bottom:1px dotted #b6b6b6;
	padding:12px 0;
}

#etusivu_pikkujutut img {
	float:left;
	margin:3px 10px 4px 0;
}

		
/*Subnav */

.subnav li {
	list-style:none;
	border-bottom:1px solid #FFF;
	}

.subnav li a:link, .subnav li a:visited {
	background:#E2ECED;
	display:block;
	padding:4px 4px 4px 8px;
	border-left:4px solid #BBD5D9;
	}
		
.subnav li a:hover, .subnav li a:active {
	background:#60450D;
	text-decoration:none;
	color: #E4EFF0;
	}

.subnav li li a:link, .subnav li li a:visited {
	border-left:none
	}
		
	 
	
	
/*	Headers */

h1 {
	font: Arial black, Arial, Helvetica, sans-serif;
	font-size: 2.5em;
	font-weight: bold;
	letter-spacing:0.1em;
}
	
h2 {
	font: 1.8em Georgia, "Times New Roman", Times, serif;
	padding-bottom:8px;
	border-bottom:1px solid #333;
	margin: 20px 0;
	}

h3, #sidebar h2 {
	font: 1em Arial, Helvetica, sans-serif;
	text-transform:uppercase;
	letter-spacing:0.1em;
	margin-bottom: 8px;	
	margin-top: 16px;	
	font-weight:bold;
	color:#4F4F4F;
	}

#sidebar h3, #sidebar h2 {
	border-top: 6px solid #60450D;
	border-bottom: 2px solid #60450D;
	padding:6px 0 6px 2px;
	margin:22px 0 15px 0;
	font-size:1em;
	}

h3#respond {
	border-top:1px dotted #b6b6b6;
	margin-top:25px;
	padding-top:20px
	}

h3#comments {
	margin-top:32px
	}

h4 {
	font-size: 1.0em;
	margin-bottom: 8px;
	margin-top: 20px;
	}
h5 {
	font-size:0.8em;
	margin-bottom:8px;
	margin-top: 18px;
	}
	
	
	
	
/* Content */

#content {
	width:465px;
	float:left;
}

.description {
	font-size: 1.5em;
	font-weight: bold; 
	font-style:italic;
	color:#F3F1EB;
	margin-top:-2px;
}

.feature_ref, .feature_kat, .feature_uut {
	padding:15px;
	/*border-bottom:1px dotted #b6b6b6;
	border-top:1px dotted #b6b6b6;*/
	border-right:1px solid #999999;
	border-bottom:1px solid #999999;
}
	
.feature_ref{
	background:#ADD4DA;
}

.feature_kat{
	background: #CDE2E5;
}

.feature_uut{
	background: #ADD4DA;
}

#refereet, #haastattelut, #katsaukset{
	margin-top:22px;
}
#uutisia_historiasta{
	margin-bottom: 20px;
}

#refereet img, #haastattelut img, #katsaukset img{
	float:left;
	margin: 0 18px 8px 0;
	padding: 0;
	border: 4px solid white;
}

.title {
	font-size:1.1em;
	font-weight:bold;
	line-height:115%;
}
	
#refereet .title, #haastattelut .title, #katsaukset .title {
	font:1.6em Georgia, "Times New Roman", Times, serif;
	line-height:100%;
	display:block;
	padding-bottom:7px;
	}
	

	
	
	

#sidelist li {
	list-style:none
	}
	
.bullets li {
	list-style:none;
	border-bottom:1px solid #FFF;
	}
	
#sidelist .bullets li {
	list-style:square;
	margin-bottom:5px;
	line-height:115%;
	margin-left:22px;
	}

#sidelist .children {
	background:#e4efd5;
	}
	
#sidelist .children li {
	list-style: square;
	margin-left:28px;
	border-bottom:1px solid #e4efd5;
	}
	
#sidelist .children li a, #sidelist .children li a:visited {
	padding:2px 2px 2px 0px;
	border:0;
	background:#e4efd5;
	color: #818d6f;
	}

#sidelist .children li a:hover, #sidelist .children li a:active	{				
	color:#465d23
	}

.postmetadata {
	margin: 30px 0;
	}

#writer {
	background:#EEF6E0;
	border: 5px solid #E8F0D9;
	margin:25px 0 15px 0;
	padding:12px;
	}

#writer img {
	padding:1px;
	border:1px solid #7da939;
	float:left;
	width:80px;
	}

#writer span {
	display:block;
	padding-top:4px;
	border-top:1px solid #cbd8b4;
	margin-top:12px;
	}

#writer p {
	margin:0;
	width:482px;
	}	

.entry {
	padding-bottom:28px;
}


		

h3 a:link, h3 a:visited {
	color:#5f5f5f;
	}



/*Post Formatting*/

.picleft {
	float:left;
	margin:3px 14px 10px 0;
	border:7px solid #f2f2f2;
	}

.picright {
	float:right;
	margin:3px 0 10px 14px;
	border:7px solid #f2f2f2;
	}	

.post{
	font-size: 110%;
}
.post blockquote {
	color:#76767a;
	background:#f2f2f2;
	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;
	line-height:115%;
	margin-left:42px;
	}

.post ol li {
	margin-bottom:5px;
	line-height:115%;
	margin-left:48px;
	}
	
.post p {
	line-height: 150%;
}	
	
#tags {
	padding:3px;
	border-bottom:1px solid #DDD;
	border-top:1px solid #DDD;
	}	
				

/* Form Elements */

select {
	background:#f2f2f2;
	border:1px solid #9c9c9c;
	width:100%
	}
	
#searchform {
	padding:16px 5px 0 0; 
	}

#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:#f2f2f2;
	border-top: 1px solid #ddd;
	}

#commentform small {
	background:#FFF;
	font-weight:bold;
	padding:0;
	}
	
.commentmetadata {
	display: block;
	}

.commentlist small {
	background:#e9e9e9
	}

.commentlist cite {
	font: 1.6em Georgia, "Times New Roman", Times, serif;
	font-weight:bold;
	letter-spacing:-0.05em;
	}	
	

/* Float Properties*/

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

.clearfloat {
	display:block;
	}
	


/* Footer*/

#footer {
	width: 740px;
	margin: 0 auto;
	font-size: 0.7em;
	padding-top: 0px;
	color:#333333;
	border-top: 1px solid #333333;
	clear: both;
}

#footer a {
	color:#333333;
}


/* Numerot sivun tyyli */

.sisallys_jako{
	margin: 8px 0 30px 0;
	height: 1px;
	border-bottom: 1px solid #D2D1CE;
}


/* Hakusivun tyylit */
#hakulomake fieldset {
	border: 1px solid #777;
	margin: 15px 0;
	padding: 15px;
}

#hakulomake legend {
	font-size: 1.2em;
	font-weight: bold;
}


input.hakuboksi{
	font-size: 120%;
	border: 1px solid #000000; 
	background: #E2ECED; 
	color: #000000;
}

input.hakuboksi:focus{
	font-size: 120%;
	border: 1px solid #000000; 
	background: #F6F6F6; 
	color: #000000;
}

select.hakuboksi{
	font-size: 120%;
	border: 1px solid #000000; 
	background: #E2ECED; 
	color: #000000;
}

select.hakuboksi:focus{
	font-size: 120%;
	border: 1px solid #000000; 
	background: #F6F6F6; 
	color: #000000;
}

.kuvateksti{
	display: block;
	font-style: italic;
	padding: 1px;
	margin-bottom: 5px;
	font-size: 85%;
}

.kysymys{
	background-color: #F2F4DD;
	border: 2px solid #EBEDD5;
	font-style: italic;
	display: block;
	padding: 4px;
}

.arvostelun_kirja{
	background-color: #FBFEF6;
	border: 2px solid #F8FBF2;
	font-weight: bold;
	display: block;
	padding: 8px;
}


/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left;
	}
/* End Images */

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

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	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: 12px;
	font-style: italic;	
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
/* End captions */
