/*
Theme Name: editori
Description: Editori.fi
Author: WDS
Author URI: http://www.wds.fi

*/


/* CSS Document */

body, html {
	margin:0;
	padding:0;
}

.break {
	clear:both;
}

img, a {
	border:0;
}
/* Rakenne */

body {
	font: 73%/1.4em Arial, Helvetica, sans-serif;
	background:#e5e5e5 url(img/body-bg.gif) left top repeat-x;
	color:#3c3c3c;
}

div#container {
	width:1007px;
	margin:0 auto;
}

div#top-ad {
	padding:0;
	}

div#header {
	width:852px;
	height:120px;
	float:left;
	margin:0 0 0 5px;
	}

	#logo {
		display:inline;
		float:left;
		margin:24px 0 0 12px;
		}
		
	#tagline {
		display:inline;
		float:left;
		margin:44px 0 0 15px;
	}

div#topnav {
	float:right;
	display:inline;
	margin:10px 15px 0 0;
	}

div#search {
	float:right;
	clear:right;
	display:inline;
	margin:14px 1px 0 0;
	width:207px;
	}

div#mainmenu {
	display:inline;
	float:left;
	background: transparent url(img/mainmenu-bg.gif) 0 0 no-repeat;
	width:852px;
	height:33px;margin:12px 0 0 0;
	}

div#right-ad {
	float:right;
	width:140px;
	}

div#content-back {
	width:862px;
	float:left;
	background: transparent url(img/maincontent-bg.png) left repeat-y;
	min-height:450px;
	height:auto !important;
	height:450px;
	}

div#content {
	float:left;
	clear:left;
	width:515px;
	display:inline;
	margin:0 0 0 19px;
	}

div#rightbar {
	float:right;
	width:295px;
	display:inline;
	margin:0 6px 0 0;
	}

div#footer {
	float:left;
	width:100%;
	background: transparent url(img/footer-bg.jpg) center top no-repeat;
	height:185px;
	}

div#footer-content {
	width:1005px;
	margin:0 auto;
	font-size:0.9em;
		}

div#share-block {
	float:left;
	width:537px;
	height:26px;
	display:inline;
	margin:17px 0 10px 5px;
	padding:0 0 0 15px ;
	}
	
	div#share-block a {
		color:#d3d3d3;
		vertical-align:middle;
		padding:5px 0 0 0;
		font-weight:bold;
		margin:0 8px 0 0 ;cursor:pointer;cursor:hand;
	}	
	
	div#share-block a:hover {
		color:#fff;
		text-decoration:none;
	}
	
	div#share-block img {
		vertical-align:middle;
		margin:0 3px 0 0;
	}
	
	a#toplink {
		float:left;
		background: transparent url(img/arrow-top.gif) left 7px no-repeat;
		padding:0 0 0 8px;
		color:#333;
		font-weight:bold;
		margin:17px 0 10px 5px;
		height:26px;
		line-height:26px;
		font-size:11px;clear:right;
	}
	

#footer-logo {
	float:left;
	clear:left;
	display:inline;
		background: transparent url(img/footer-slicer.gif) right top no-repeat;
		padding:8px 14px 8px 10px;
		margin:0 0 0 15px;
	}

div#footer-bars {
	float:left;width:700px;
	}
	
	div#footer-bars div {
		float:left;
		background: transparent url(img/footer-slicer.gif) right top no-repeat;
		padding:8px 14px 8px 10px;
		height:40px;
	}

/* Topnavi */

#topnav a {
	color:#ececec;
	padding:0 0 0 15px;
	text-decoration:none;
	font-size:0.9em;
	font-weight:bold;
	}

#topnav a:hover {
	color:#FFF;
	text-decoration:underline;
}

.newsletter-icon {
	background: transparent url(img/newsletter-icon.gif) left center no-repeat;
	}

.rss-icon {
	background: transparent url(img/rss-icon.gif) left center no-repeat;
	}

/* Haku */

#s {
	border:0;
	background: transparent url(img/search-back.gif) 0 0 no-repeat;
	width:130px;
	height:17px;
	padding:3px 3px 3px 30px;
	display:inline;
	float:left;
	}

#searchsubmit {
	border:0;
	padding:0;
	margin:0 0 0 3px;
	text-align:center;
	background: transparent url(img/search-go.gif) 0 0 no-repeat;
	line-height:23px;
	height:23px;
	width:40px;
	float:left;
	cursor:pointer;
	cursor:hand;
	text-transform:uppercase;
	color:#FFF;
	font-weight:bold;
	display:inline;
	}
	
	#searchsubmit:hover {
	background: transparent url(img/search-go.gif) 0 -28px no-repeat;
	}

/* Mainmenu */

#mainmenu ul {
	float:left;
	display:inline;
	list-style-type:none;
	margin:0 0 0 10px;
	padding:0;
}

#mainmenu li {
	float:left;
	display:inline;
	list-style-type:none;
	line-height:32px;
	height:32px;
	background: transparent url(img/mainmenu-slicer.gif) right top no-repeat;
	padding:0 11px 0 9px;
	font-family:Georgia, "Times New Roman", Times, serif;
	font-size:13px;
}

#mainmenu li a {
	color:#b2b2b2;
	display:block;
	float:left;
	height:32px;
	line-height:32px;
}

#mainmenu li a:hover {
	color:#ff0000;
	text-decoration:none;
}

#mainmenu li.current_page_item a {
	color:#ff0000;
	background: transparent url(img/mainmenu-current-arrow.gif) center bottom no-repeat;
}


/* Content */

/* Breadcrymbs */

div#breadcrumbs {
	display:block;
	background: transparent url(img/maintitle-bg.gif) 0 0 repeat-x;
	height:34px;
	line-height:34px;
	width:514px;
	font-family:Georgia, "Times New Roman", Times, serif;
	color:#d5d5d5;
	margin:3px 0 15px -15px;
	padding:0 0 0 20px;
	font-size:0.9em;overflow:hidden;
	}

/* Listaus */

.post {
	margin:5px 0 15px 0;
	width:100%;clear:both;
}

.entry p:first-child {font-weight:bold;}

.pdf-post {
	margin:5px 0 20px 0;padding:0 0 10px 0;
	width:100%;clear:both;
}



.post h2 a {
	background: transparent url(img/posttitle-bg.jpg) left 8px no-repeat;
	padding:0 0 0 10px;
	color:#312e2e;
}

.post h2 a:hover {
	color:#c90000;
	text-decoration:none;
}

.post  small {
	display:block;
	color:#7b7b7b;
	font-size:90%;
	margin:-2px 0 4px 0;
	}

.post  small a {

}

.post  small a:hover {

}

.post .entry {
	font-family:Georgia, "Times New Roman", Times, serif;
	color:#282828;
	font-size:1.1em;
	line-height:1.6em;
}

a.rm {
display:inline !important;
}

.post blockquote {
	float:right;
	width:225px;
	margin:0px 0 10px 15px;
	font-family:Arial, Helvetica, sans-serif;
	font-size:0.9em;
	line-height:1.45em;
	background:#f1f1f1;border:0;padding:0;display:block;padding:0;
}

/* Comments */

.commentlist {
	list-style-type:none;
	margin:0;padding:0;
}

.commentlist li, #commentform input, #commentform textarea {
	font-size: 1em;font-family:Arial, Helvetica, sans-serif;
	}
.commentlist li ul li {
	font-size: 1em;
}

.commentlist li {
	font-weight: bold;
	margin:0 0 5px 0;
	padding:0;
}

.commentlist li .avatar { 
	float: right;
	border: 1px solid #eee;
	padding: 2px;
	background: #fff;
	}

.commentlist .comment-body {
	padding:14px 10px;
}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
	}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	}

#commentform p {
	}

.commentmetadata {
	font-weight: normal;
	font-size:0.85em;
	}

.comment-childs  {
	margin:0 0 0 5px;
	padding:10px;
	background:#f8f8f8;
}

.chalt {
	background:#fff;
}

.children .even, .alt {
	border-left: 0;
	border-right: 1px solid #ddd;
}


.thread-alt {
	background-color: #f8f8f8;
}
.thread-even {
	background-color: white;
}

.depth-1 {
border: 1px solid #ddd;
}


/* Commentform */

#commentform {
	margin: 5px 0 0 10px;
	}
#commentform input, #commentform textarea {
	margin: 5px 0 1px 5px;
	padding:3px;
	background:#dddddd;
	border:1px solid #f0f0f0;
}

#commentform input {
	width:200px;
}

#commentform textarea {
	width:450px;
	height:150px;
}

#commentform #submit {
	float:left;
	background: transparent url(img/categoryitem.gif) 0 -36px no-repeat;
	display:block;
	width:143px;
	height:30px;
	color:#FFF;
	cursor:pointer;
	cursor:hand;
}

#commentform #submit:hover {
	background: transparent url(img/categoryitem.gif) 0 0px no-repeat;
}


.commentlist p {
	margin: 10px 0 10px 5px;
}


/* Rightbar */

#rightbar ul, #rightbar li {
	list-style-type:none;
	margin:0;padding:0;clear:both;
	}


#rightbar ul li ul, #rightbar ul li div {
	margin:0 10px 0 12px;
}

#rightbar ul li div {
	margin:15px 10px 15px 12px;
}

#rightbar ul li.widget ul li {
	border-bottom:1px solid #afafa7;
	background: transparent url(img/square-red-small.gif) left 7px no-repeat;
	padding:2px 0 2px 9px;
	display:block;
 }
 


/* Kategoriat */

#rightbar li.widget_caticons ul {
	padding:0 0 10px 4px;
	margin:0;float:left;
}

#rightbar ul li.widget_caticons ul li {
	display:block;
	float:left;
	border:0;
	background:none;
	padding:0;clear:none;
}

li.widget_caticons ul li a {
	display:block;
	float:left;
	background: transparent url(img/categoryitem.gif) 0 0 no-repeat;
	width:143px;
	height:29px;
	font-size:11px;
	color:#dbdbdb;
	font-weight:bold;
	line-height:1.1em !important;
	padding:7px 0 0 0;
}

li.widget_caticons ul li.current-cat a {
		background: transparent url(img/categoryitem.gif) 0 -72px no-repeat;
		color:#d20000;
}

li.widget_caticons ul li a:hover {
	background: transparent url(img/categoryitem.gif) 0 -36px no-repeat;
	color:#fff;
	text-decoration:none;
}

li.widget_caticons ul li a img {
	float:left;
	display:block;
	vertical-align:middle;
	padding:0 2px 0 3px;
}


/* Luetuimmat */

.popular-posts a {
	color:#333;
	font-weight:bold;
}

/* Perussivut */

#rightbar ul li.widget_pages {
	margin:15px 0 0 0;
}

li.widget_pages a {
	color:#333;
	font-weight:bold;
}

li.current_page_item a, a.current_page_item {
	color:#d20000 !important;
}


/* Tag cloud */

.widget_tag_cloud div {
	min-height:100px;
	height:auto !important;
	height:100px;
	line-height:2.2em;
	}
	
.widget_tag_cloud div a {
	background:#fff;
	padding:3px;
	display:inline-block;
	margin:2px;
}

.widget_tag_cloud div a:hover {
	background:#000;
	color:#FFF;
	text-decoration:none;
	padding:3px;
	display:inline-block;
	margin:2px;
}



/* Yleiset tyylit */

p {
	margin:0.8em 0 1.1em 0;
	}


blockquote {
	margin:0;padding:0;
}
	
	
.varjo-kuvan-alle, .pdf-post img {
	background: transparent url(img/img-shadow-bg.gif) center bottom no-repeat;
	padding:0 0 8px 0;
	margin:0 20px 0 0;
}

.alignleft {float:left;margin:0 15px 10px 0;}

.alignright {float:right;margin:0 0 10px 15px;}


/* Mainokset */

div.right-ad h2.widgettitle {
margin-top:0;
}

div.text-ad {
background:#fff;
font-size:10px;
padding:2px 5px;
line-height:14px;
margin:0 0 1px 0;
}

div.text-ad p {
margin:0;
}

div.text-ad a {
margin:0;
}

/* Otsikot */

h1, h2, h3 {
	font-weight:normal;
	}

h1#maintitle {
	display:block;
	background: transparent url(img/maintitle-bg.gif) 0 0 repeat-x;
	height:34px;
	line-height:34px;
	width:514px;
	font-family:Georgia, "Times New Roman", Times, serif;
	font-size:18px;
	color:#d5d5d5;
	margin:3px 0 15px -15px;
	padding:0 0 0 20px;
	}


.post h2 {
	background: transparent url(img/hr-grey-bg.gif) left bottom repeat-x;
	padding:0 0 11px 0;
	font-size:2.2em;
	font-weight:bold;
	line-height:1.1em;
	margin:0;
	}

.post h2.pdf-header {color:#000;
	background: none;
	padding:0 0 0 0;
	font-size:1.1em;
	font-weight:bold;
	line-height:1.1em;
	margin:1em 0 0.2em 0;padding:7px 0 0 0;
	}


.post h2#pdf-header a {
	background: transparent url(img/posttitle-bg.jpg) left 4px no-repeat;
}	

.entry h2 {
	font-family:Arial, Helvetica, sans-serif;
	color:#000;
	font-weight:bold;
	font-size:1.4em;
	margin:16px 0 10px 0;
	background:none;
	padding:0;
	}
	

.entry h2.related_post_title, h3#comments, #respond h3, blockquote h2 {
	background: transparent url(img/hr-grey-bg.gif) left bottom repeat-x;
	padding:0 0 11px 0;
	font-size:1.4em;
	font-weight:bold;
	line-height:1.1em;
	margin:30px 0 0 0;
	}
	
blockquote h2 {
	padding:10px 0 11px 0 !important;
	margin:0 !important;display:block;
	background: #fff url(img/hr-grey-bg.gif) left bottom repeat-x !important;
	}
	

h2.widgettitle {
	display:block;
	background: transparent url(img/sidebar-h-bg.gif) 0 0 repeat-x;
	height:34px;
	line-height:34px;
	font-family:Georgia, "Times New Roman", Times, serif;
	font-size:18px;
	color:#fff;
	padding:0 0 0 18px;
	margin:15px 0 8px 0;
	}

.widget_caticons h2.widgettitle { 
margin:3px 0 ;
}


/* Listat */

#content ul  {
	margin:8px 0;
	padding:0 0 0 15px;
}

#content ul li {
	list-style-type:none;
	background: transparent url(img/square-red-small.gif) left 6px no-repeat;
	padding:0 0 0 8px;
	line-height:1.4em;
	margin:0 0 3px 0;
}

/* Leipäteksti */

/* Linkit */

a {
	text-decoration:none;
	color:#d43333;
}

a:hover {
	text-decoration:underline;
}




/* Kommentointi */

/* Palautelomake */

.wpcf7-form input, .wpcf7-form textarea {
font-family:Arial,sans-serif;
font-size:1em;
}


.wpcf7-form .submit input {
	float:left;
	background: transparent url(img/categoryitem.gif) 0 -36px no-repeat;
	display:block;
	width:143px;
	height:30px;
	color:#FFF;
	cursor:pointer;
	cursor:hand;
}

.wpcf7-form .submit input:hover {
	background: transparent url(img/categoryitem.gif) 0 0px no-repeat;
}
