/*
Theme Name: Eset teema
Theme URI: http://
Description: Esetille tehty WP teema
Author: Otavan Opisto
Author URI: http://www.otavanopisto.com
*/

.pageNo {
  display: inline;
  font-weight: bold;
  font-size: 12px;
  color: #017501;
}
/* Block Elements */
body {
	margin: 0;
	background:#e4eadd;
	font: 12px arial,verdana,sans-serif;
}
#page {
	width: 883px;
	margin: 0 auto;
}
#header {
	background: #88c573 url('images/header.jpg') no-repeat bottom center;
}
#headerimg {
	height: 228px; 
	width: 883px; 
}
h1, h1 a, h1 a:hover, h1 a:visited, #headerimg {
	text-decoration: none;
	color: white;
	letter-spacing:-1px;
	margin:0;
}
#headerimg h1 {
	padding-left:30px;
	padding-top:70px;
	font: 22px arial,verdana,sans-serif;	
	font-weight:bold;
}
.description {
	font: 10px arial,verdana,sans-serif;
	letter-spacing:1px;	
	padding-left:30px;	
}
#wrap {
	width: 100%;
	background-image:url('images/background-main.jpg');	
	float: right;	
}
#content {
	float: left;
	width: 452px;
	padding-left:39px;
	padding-right:47px;	
	padding-top:10px;
}
#content .separator{
 background: url("images/separator.gif");
 width: 100%;
 height: 5px;
 margin-bottom: 9px;
 clear: both;
}

#footer {
	background-image:url('images/background-main.jpg');
	width: 100%;
	clear: both;
	color:#004400;
	font: 10px arial,verdana,sans-serif;
	text-align:center;
}
#footer a {
	color:#004400;
}
#footer li {
	list-style: none;
	display: inline;
}
#footerimage {
	clear: both;
	height:23px;
	background-image:url('images/footer-main.jpg'); 
}


/* Header Styles */
h1 {
	font-size:22px;
	padding-top:20px;
}
h2 {
	margin-top:0;
	font-size:16px;	
}
h3 {
	margin:0;
	font-size:14px;	
}


/* Post Related */
h2 a:hover, h2 a:visited, h2 a {
	text-decoration:none;
}
.post {
	clear:both;
}
.post p {
	margin-top:5px;
	margin-bottom:15px;
}
.post a, .navigation a {
	color:#1166BF;
	font-weight: bold;
}
.post a:hover, .navigation a:hover {
	color:#1166BF;
}
.post a:visited, .navigation a:visited {
	color:#1166BF;
}
.post a.more-link{
	color: #1166bf;
	font-weight: bold;
}
.post a.postTitle{
	color: #017501;
}
.navigation {
	text-align:right;
	font-size:10px;
}
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
}
.navigation .alignright {
	margin-bottom:10px;
}
.navigation .alignleft {
	margin-bottom:10px;
}	
.pagetitle, .post h2 {
	color: #3b8c3d;
	font: bold 16px arial,verdana,sans-serif;
	margin-top:0;
	margin-bottom:10px;
}
blockquote {
	font: 11px verdana,arial,sans-serif;
	margin:5px;
}
a img {
	border:0;
}
.entry {
	font: 12px arial,verdana,sans-serif;
}
.entrytext .postmetadata {
	font: 12px arial,verdana,sans-serif;
}
.more-link {
	font: 10px arial,verdana,sans-serif;
}


/* Sidebar Related */
#newsBar{
	padding-bottom:10px;
	padding-top:10px;
}
#newsTitle{
	color:#3B8C3D;
	font-size:14px;
	font-weight:bold;
	padding-bottom: 16px;
}
#sidebar1 {
	float: left;
	padding-left:17px;
	padding-top:10px;
	width:146px;
}
#sidebar1 a {
	height: 21px;
	font-weight: bold;
	font-size: 12px;
	padding-top: 7px;
	padding-left: 12px;
	color: #225224;
	display: block;
}
#sidebar1 a:hover {
	height: 21px;
	display: block;
}
#sidebar1 a:visited {
	height: 21px;
	display: block;
}
#sidebar1 .separator{
	margin-top: 8px;
	width: 146px;
	height: 5px;
	background: url("images/separator.gif") repeat-x;	
	clear: both;
}
#sidebar2 {
	float:right;
	padding-right:17px;
	padding-top:10px;
	width:164px;
}
#sidebar2 p{
	display: inline;
	color: #656565;
	font-size: 12px;
}
#sidebar2 .news{
	padding-bottom: 10px;
}
#sidebar2 a.black {
	font-weight: bold;
	font-size: 12px;
	color: #000;
}
#sidebar2 a {
	font-weight: bold;
	font-size: 12px;
	color: #1166bf;
}
#sidebar2 .separator{
	width: 164px;
	height: 5px;
	background: url("images/separator.gif") repeat-x;
	clear: both;
}
.sidebar ul {
	color:#656565;
	margin-bottom: 0px;
	margin-top: 0;
	margin-left: 0;
	margin-right: 0;
	padding: 0;	
}
.sidebar ul h2 {
	font: bold 14px arial,verdana,sans-serif;
	color:#3B8C3D;
	margin-bottom:10px;
	margin-top:10px;
}
.sidebar ul li {
	background:#DFDFDF none repeat scroll 0 0;
	list-style-image:none;
	list-style-type:none;
	margin-bottom:4px;
	width:146px;
}
#sidebar1 ul li.current_page_item {
	color: #fff;
	background: url("images/sidebar-selected-li.jpg") no-repeat;
}
#sidebar1 ul li ul li.current_page_item {
  color: #fff;
  background: url("images/sidebar-selected-li2.jpg") no-repeat;
}
#sidebar1 ul li ul li{
  margin-bottom: 0px;
}
.sidebar li.widget{
	background: #fff;
}
.sidebar ul ul li {
	list-style-type: none;
	margin-left:0px;
	list-style-image: none;
}
.sidebar ul ul ul li {
	list-style-type: none;
	padding:0;
	margin-left:5px;
}
.sidebar p {
	margin:0;
	font: 10px arial,verdana,sans-serif;
}
.sidebar a {
	color:#004400;
	text-decoration:none;
}
.sidebar a:hover {
	color:#00b700;
}
.sidebar a:visited {
	color:#004400;
}

/* JH 22.6.2009 */
.sidebar ul li ul 
{
display:none;
}

.sidebar ul .current_page_item ul
{
display:block;
}

.sidebar .current_page_ancestor ul
{
display:block;
}

#sidebar1 .current_page_ancestor {
	color: #fff;
	background: url("images/sidebar-selected-li_.jpg") no-repeat;
}

#sidebar1 .current_page_ancestor a.selected {
	color: #fff;
	background: url("images/sidebar-selected-li2.jpg") no-repeat;
}

.sidebar .current_page_ancestor ul li {
	background:#DFDFDF none repeat scroll 0 0;
	list-style-image:none;
	list-style-type:none;
	margin-bottom:0px;
	width:146px;
}

/* JH  */




/* User Comment Specific */
ol.commentlist {
	margin-left:25px;
	padding:0;
}
ol.commentlist li.alt {
	background:#fbfff8;
}
ol.commentlist a {
	color:#158c05;	
}
ol.commentlist p {
	margin-top:3px;
	margin-bottom:10px;
}
small.commentmetadata {
	font: 10px arial,verdana,sans-serif;
}
small.commentmetadata a {
	text-decoration:none;
}


/* Search form */

form {
	margin:0;
}
#searchform {
	text-align:center;
	padding:5px;
}
#searchform #searchsubmit {
	margin-top:1px;
	font-size:10px;
	width:194px;	
	color:#ffffff;
	height:20px;
	background:#008322;
	border-top:1px solid #f1fff5;
	border-left:1px solid #dbf2e1;
	border-bottom:1px solid #000000;
	border-right:1px solid #00280a;			
}
#searchform input {
	width:190px;
}

/* Other stuff */
hr {
	display: none;
}