/*  
Theme Name: Vesiosuuskunta

*/

* {
	margin: 0;
}


html, body {
    height:100%;
}


body, address, blockquote, dd, dl, hr, p, form{
	margin: 0;
	padding: 0;
}

body{
	font-family: Calibri, Arial, Georgia, sans-serif;
	font-size: 13px;
	text-align: left;
	vertical-align: top;
	color: #fff;
	background: #fff;

}

h1, h2, h3, h4, h5, h6{
	font-family:Calibri, Arial;
	font-size: 18px;
	font-weight: bold;
	padding:10px;
	margin:10px;

}

span.displaynone { 
	display:none;
}

a{
	text-decoration:underline;
	color: #267ab4;
}

a:hover{
	text-decoration: none;
}

a img{
	border: 0;
}

address, dl, p{
	padding: 10px 0 5px;
}

blockquote{
	float: left;
	width: 480px;
	margin: 10px 0 0;
	border-top: 2px solid #ddd;
	background: #eee;
}

blockquote p{ padding: 10px; }

blockquote blockquote{
	float: none;
	width: auto;
	margin: 0 10px;
	background: #fff;
}

code{
	background: #f9f9f9;
}

dd{
	padding: 0 0 0 20px;
}

p img{
	max-width: 100%;
}

img.centered{
	display: block;
	margin-left: auto;
	margin-right: auto;
}

img.alignright{
	padding: 4px;
	margin: 3px 0 2px 10px;
	display: inline;
}

img.alignleft{
	padding: 4px;
	margin: 3px 10px 2px 0;
	display: inline;
}

.alignleft{
	float: left;
}

.alignright{
	float: right;
}

.clear{
	margin: 0;
	padding: 0;
	clear: both;
}

small{
	font-size: 11px;
}

input, textarea{
	font-family:Calibri, Arial;
	font-size: 13px;
	padding: 2px;

}
#kirjaudu{
	position:absolute;
	left:5px;
	
}

#searchsubmit{
	color:#006faf;
	outline:none;

}

#plaa{
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -98px;
}

#logo{
	margin-left:120px;
	background: url(images/yvo_palkkinettiin.png) no-repeat left;
	height: 142px;
}

#header{
	background: #0c4380 url(images/ylapalkki.gif) repeat-x;
	height: 134px;
}

#header h1{
	position:absolute;
	top:25px;
	left:190px;
	padding: 20px 0;
	font-size: 36px;
	color: #bff2f8;
}

#menu{
	background: #0e4d93 url(images/menu_bg.gif) repeat-x;
	height:41px;
}

#menu ul{
	width: 800px;
    position:absolute;
	left:200px;
	margin: 0;
	padding: 11px 0 0;
	list-style: none;
	list-style-type: none;
	font-size: 11px;
}

#menu ul li{
	float: left;
	margin: 0 0 0 1px;
	background: #0e2845 url(images/headlink_oik.gif) no-repeat right top;
}

#menu ul li a{
	display: block;
	padding: 8px 10px 9px;
	font-family: Verdana, Calibri, Arial;
	text-decoration: none;
	color: #fff;
	background: url(images/headlink.gif) no-repeat;
}

#menu ul li a:hover{
	text-decoration: underline;
}

#menu ul li.current_page_item{
	background: #fff url(images/headlink_over_oik.gif) no-repeat right top;
}

#menu ul li.current_page_item a{
	color: #000;
	background: url(images/headlink_over.gif) no-repeat;
}

#menu ul li.current_page_ancestor{
	background: #fff url(images/headlink_over_oik.gif) no-repeat right top;
}

#menu ul li.current_page_ancestor a{
	color: #000;
	background: url(images/headlink_over.gif) no-repeat;
}

li{
	list-style-type:none;
	list-style-image:none;
}

#page{
	float: left;
	width: 100%;
	background: #fff;
	color: #000;

}

#page .wrap_float{
	
	float: left;
	width: 95%;
	max-width:1200px;
	min-width:800px;
	background: url(images/viiva.gif) repeat-y 192px top;
}

#searchform{
	padding:20px 0 100px 15px;

}

.column{
	float:left;
	width:75%;
	margin-top:20px;
	margin-bottom:20px;

}

div.column-sect {
  clear: both;
  display: inline-block;
  overflow: auto;
}

#post-226{
  display: none;
 
}

div.post-column {
  display: inline;
  float: left;
  margin-right:18px;
  width:45%;
}

.postmetadata{
	color:#95d333;
}

.post h2, .post_alt h2{

	background: url(images/otsikkoviiva.png) repeat-x left bottom;
	padding: 0 0 10px 0;
	margin-left:20px;
	text-transform: uppercase;
	font-weight:bold;
	font-size:20px;

}

.entry{
	float: left;
	width:95%;
	line-height: 15px;
	margin:20px;
}

.entry h1, .entry h2, .entry h3, .entry h4, .entry h5, .entry h6{
	padding: 10px 0 5px;

}

.entry h1{ font-size: 24px; line-height: 30px; }
.entry h2{ font-size: 18px; font-weight: bold; }
.entry h3{ font-size: 18px; font-weight: bold; }
.entry h4{ font-size: 16px; font-weight: bold;}
.entry h5{ font-size: 12px; }
.entry h6{ font-size: 11px; }

.sidebar{
	float: left;
	width: 200px;


}

.sidebar ul{
	margin: 20px;
	padding: 0;
	list-style: none;
	list-style-type: none;

}

.sidebar ul li{
	margin: 3px;
	
}

#submenu a{
	height:26px;
	color:#0e2845;
	text-decoration: none;
	text-align:right;
	font-size:13px;
	min-width: 135px;
    display: table-cell;
    vertical-align: middle;
}

#submenu  a:hover{

	background: url(images/alalinkki_over2.gif) no-repeat;
	color:#fff;
}

#submenu .current_page_item{

	background: url(images/alalinkki_over.gif) no-repeat;
	color:#fff;
	
}

#submenu .current_page_item a{

	color:#fff;

}


#paivystys{
	
	margin:40px;
	font-size:16px;
	text-align:right;
	background-color:#e4eff0;
	color:#027fc6;
}

#posti{
	
	margin:40px;
	font-size:16px;
	text-align:right;
	background-color:#e4eff0;
	color:#027fc6;
}

.push {
	height: 98px; /* .push must be the same height as .footer */
}

#kuplat{
	
	background: url(images/kuplat.png) no-repeat right;
	height: 97px;
}
#footer{
	background: url(images/footer.gif) repeat-x;
	height:98px;
	
}

html>body #footer { *visibility:hidden; }

#footer a{
	color:#51b4d8;

}

#footer .wrap_center{
	padding: 8px 0 17px;
}

#footer p{
	padding: 10px 20px 5px;
	line-height: 24px;
}
