BODY{
	margin: 0 0 0 20px;
	background-color: white;
	font-family: arial, helvetica, sans-serif;
	font-size: 9pt;
}
a{ border: 0; text-decoration: none; color: black;}
a:hover{ text-decoration: underline; color: #111111;}
img{ border: 0; }
#mainwrapper{
	width: 1000px;
}
#logo{
	float: left;
}
#topbanner{
	float:right;
	margin: 6px 0 0 0;
}

#mainnavi{
	clear: both;
	padding: 8px 0 5px 0;
	float: left;
}
#search{
	text-align: right;
	float: right;
	padding: 5px 0 0 0;
}
#search input.btn{
	border: 2px solid black;
	background-color: #eeeeee;
}
#search input.field, #lomake input, #lomake select, #lomake textarea, .etusivukilpailu input{
	margin: 0 2px;
	border: 2px solid black;
	background-color: #eeeeee;
}

.etusivukilpailu input{
	width: 100px;
}


#lomake textarea{
	width: 100%;
	height: 200px;
}
.etusivukilpailu td, #lomake td{ vertical-align: top;}
.etusivukilpailu .rad{ width: 10px; border: 0;	background-color: #ffffff;}
.etusivukilpailu{ background-color: #eeeeee; margin: 3px;}

#lomake .errfield{ border-color: red;}
#lomake .error{ padding: 5px; border: 2px solid red; background-color: #eeeeee; color: red; font-weight: bold; margin: 0 100px 0 0;}
form{display: inline; padding: 0; margin: 0;} 
#mainnavi ul li{
	font-weight: normal;
	color: black;
	display: inline;
	font-size: 18px;
}

#mainnavi ul{
	margin: 0;
	padding: 0;
}
#vas{
	z-index: 30;
	overflow: hidden;
	width: 564px;
	float: left;
	padding: 0 11px 0 0;
	margin: 0 11px 0 0;
	border-right: 2px solid #cccccc;
}
#oik{
	z-index: 30;
	overflow: hidden;
	width: 410px;
	float: right;
}

#vassarake{
	z-index: 30;
	float: left;
	width:150px;
	border-right: 2px solid #cccccc;
	padding: 0 11px 0 0;
	margin: 0 11px 0 0;
}
#vassarake2{
	z-index: 30;
	float: right;
 	width:389px;
}
#oiksarake{
	z-index: 30;
	float: left;
	width:244px;
	border-right: 2px solid #cccccc;
	padding: 0 11px 0 0;
	margin: 0 11px 0 0;
}
#oiksarake2{
	z-index: 30;
	float:right;
	width:140px;
	padding: 0 0 0 0;
}
#oiksarake2 img{
	margin-bottom: 10px;
}

.dokkari{
	width: auto;
	padding: 0 24px 0 5px;
}

H6 a,H6 a:hover{
	color: white;
}

H6{
	height: 18px;
	margin: 0;
	color: white;
	padding-left: 10px;
	width: auto;
	padding-top: 2px;
	background-image: url(images/otsikkoliuku.gif);
	background-position: 0 0;
	background-repeat: repeat-y;
	font-size: 8pt;
}
#footer{
	clear:both;
	width:1000px;
	border-top: 2px solid gray;
}
#footerleft{
	float:left;
}
#footerright{
	float:right;
}
#footerright ul{
	margin: 0;
	padding: 0;
}
#footerright ul li{
	display: inline;
}

img.KuvaVasen{
	margin: 2px 4px 2px 0px;
	float: left;
}
img.KuvaOikea{
	margin: 2px 0px 2px 4px;
	float: right;
}
#oik h6{
	background-image: none;
	background-color: black;
}
#oik ul, #vas ul{
	margin: 5px 0 5px 0;
	padding: 0px;
	list-style-type: none;
}
#oik li, #vas li{
	font-size: 11px;
	margin-left: 5px;
	margin-bottom: 5px;
}
#oik li a{
	display: block;	
}
#oik li a:hover{
	background-color: #f0f0f0;	
}

#oik li a.selected:hover{
	background-color: black;	
}

#oik li span, #vas li span{
	display:block;
}
.kansioloota{
	margin: 0 12px 0 0;
}
.uutisingressi{
	padding-bottom: 5px;
	text-align: left;
	overflow: hidden;
	border-bottom: 1px solid #AAAAAA;
	margin: 0 12px 5px 5px;
	clear: both; 
}

.uutisingressi em.docdate{
    font-size: 80%;
    display: block;   
}

.uutisingressi h1 a, .uutisingressi h2 a{
	display: block;
}

.uutisingressi h1 a:hover, .uutisingressi h2 a:hover{
	background-color: #f0f0f0;
}

.uutisingressi img{
	margin: auto;
	display: block;
}

.uuslehti{
	background-color: #eeeeee;
}

.uusinlehti{
	text-align: left;
	overflow: hidden;
	font-size: 90%;
	font-weight: bold;

}
.uusinlehti p{
	margin: 0 0 10px 5px;
	padding: 0;
}
.uusinlehti img{
	margin: -5px;
	width: 150px;
}
.clearer{ clear: both; line-height: 0; height: 0;}
h1{
	font-size: 13pt;
	margin: 5px 0 0 0;
	padding: 0;
	font-weight: bold;
}
h2{
	font-size: 9pt;
	margin: 0;
	padding: 0;
	font-weight: bold;
}
h3{
	font-size: 9pt;
	margin: 0;
	padding: 0;
	font-weight: normal;
}
.uutisingressi h4, .dokkari h4, .uusinlehti h4{
	font-size: 11pt;
	margin: 0;
	padding: 0;
	font-weight: bold;
}
.uutisingressi h5, .dokkari h5, .uusinlehti h5{
	font-size: 12pt;
	margin: 0;
	padding: 0;
	font-weight: normal;
}
/*.uutisingressi em, .dokkari em, .uusinlehti em{
	font-size: 8pt;
}*/

a.selected{
	color: white;
	background-color: black;
}
a.selected:hover{
	color: white;
	background-color: black;
}

.arvosana {
	margin: 0;
	font-size: 20pt;
	line-height: 30px;
	padding: 0 5px 0 0;
	font-weight: bold;
	float: left;
}

.pages span{
	font-weight: bold;
	color: red;
}

.pages .disabled{
	font-weight: normal;
	color: #dddddd;
}

.metelilist h5{
	margin: 0; padding: 2px;
	font-weight: bold;
	font-size: 12px;
	padding-left: 5px;
}

.titleimage{
	float: right;
	width: 100px;
}

#meteliselect{
	font-size: 9px;
	font-weight: bold;
	border: 1px solid black;
	width: 100%;
}