/* Copyright Tamico Systems Oy */
html{
	height:100%;
}
body  {
	background: #bdc6cd;
}
h1, h2, h3, h3, h4, h5 {
	vertical-align: baseline;
	font-weight: bold;
	font-family: inherit;
	font-style: inherit;
	/*
	font-size: 100%;
	*/
	border: 0 none;
	outline: 0;
	padding: 0;
	margin: 0;
	margin-bottom: 8px;
	color: #444C59;
}
h1{	
	font-size: 18px;
	font-weight: bold;
}
h2{ font-size: 14px; }
h3{ font-size: 12px; }
h4{ font-size: 10px; }

#main_container{
	font: 70% Verdana, Arial, helvetica, sans-serif;	
	width: 980px;
	margin:auto;
}
#pos_div{
	background-color:white;
	border: 1px rgb(68,76,89) solid;
	position: relative;
	margin-top:10px;
	margin-bottom:10px;
	padding:10px;
}
#main_frame {
	width:960px;
	border-top:10px solid rgb(68, 76, 89);
	position: relative;
	
}
#container {	
	margin-top:34em;
	!margin-top:31.5em;
	text-align: left;
	/* position: relative; */
	background-color: white;
	border-top: 6px solid rgb(68,76,89);
	
}

#pageheader {	
	position: absolute;		
	top:16em;
	
	width:100%;
	margin:auto;
	
	height: 40px;	
	text-align: right;
	
	/*Läpinäkyvyys*/
	opacity: .9;
	filter: alpha(opacity=90);
	
	border-top: 2px solid white;
	border-bottom: 2px solid white;

	background:url("img/bar.gif") repeat-x scroll 0 0 #90B630;	
}
.tyhja_elementti{
	border: 1px dotted rgb(200,200,200);
	background-color: rgb(240,240,240);
	color: rgb(150,150,150);
	
	text-align: center;
}
#pageheader h2{
	position: relative;	
	margin-right: 1em;		
}
#logo{
	background: white;
	position:absolute;
	border-bottom: 0.5em solid rgb(68, 76, 89);
	border-bottom: 0.5em solid rgb(144, 182, 47);
	left:2em;
	top: 1em;
}
#logo img{
	padding: 0em 0.25em 0em 0.25em;
}

#pageheader h2 {
	font-family: Trebuchet MS, Arial, Helvetica, sans-serif;
	font-style: italic;
	font-weight: normal;	
	font-size: 25px;
	color: white;
	padding: 0;
	line-height:40px;
	padding-right: 5px;
}

#leftcol {
	
	padding-top: 10px;
	width: 175px;
	float: left;
	position: relative;
	background-color: white;
}
.columnwrapper{
	float: left;
	position: relative;
	top: -8em;
	background-color: white;
	border-top: 6px solid rgb(68,76,89);
	width: 750px;
}
#centercol {
	position: relative;
	float: left;
	width: 450px;
	padding: 10px 55px 0em 55px;
	background-color: white;
}
#column-in {
	margin:0;
	padding-top: 1em;
	min-height:100px;
}

#rightcol {
	
	position:relative;
	width: 210px;
	float: right;	
	background: white;
}

.column-in {
	margin:0; padding:0.5em 1em;
}

.cleaner {
	clear:both;
	height:1px;
	font-size:1px;
	border:none;
	margin:0; padding:0;
	background:transparent;
}

#leftcol ul#navlist1, #leftcol ul#navlist2 {
	margin: 0;
	padding: 0;
	list-style-type: none;
	font-family: Trebuchet MS, Verdana, Helvetica, sans-serif;
}

#leftcol #navlist1 a {
	display: block;
	padding: 5px;
	width: 165px;
	text-align: center;
	background-color: rgb(68,76,89);
	border-top: 2px solid #eee;
}

#leftcol #navlist1 a:link, #navlist1 a:visited {
	color: #EEE;
	text-decoration: none;
}

#leftcol #navlist2 a {
	display: block;
	padding: 3px 5px;
	width: 165px;
	text-align: center;
	background-color: #BDC6CD;
	border-top: none;
}

#leftcol #navlist2 a:link, #navlist2 a:visited {
	color: black;
	text-decoration: none;
}

#leftcol #navlist1 a:hover {
	background-color: rgb(144,182,48);
	color: #fff;
}
/* NEWS BOX */
#tiedotteet {width: 200px;
	width: 100%;
}
#tiedotteet h3{	
	margin: 0;
}

#cert {
	width: 175px;
	font-size: 90%;
}

#haku {
	width: 175px;
}

.newsbox {
	margin-top: 10px;
}

.newsbox h3 {
	color: white;
	padding: 3px;
	margin: 0;
	background: url(img/bar.gif) center repeat-x rgb(144,182,48);
	font-weight: bold;
	font-size: 100%;
}

.newsbox ul, .hakubox {
	margin: 0;
	padding: 0;
	list-style-type: none;
	font-family: Verdana, Helvetica, sans-serif;
	border-left: 1px solid rgb(68,76,89);
	border-right: 1px solid rgb(68,76,89);
	border-bottom: 1px solid rgb(68,76,89);
}

#tiedotteet a {
	width: 188px;
	font-weight: bold;
}

#cert a {
	width: 163px;
}

.newsbox a {
	display: block;
	margin: 0 5px;
	padding: 5px 0;
	text-align: left;
	border-top: 1px solid rgb(144,182,48);
}

.tiedotealku {
	display: block;
	margin: 0 5px;
	padding-bottom: 10px;
	text-align: left;
	font-size: 90%;
}
.tiedotelistaus a{
	color: rgb(80,80,80);
	color: black;
	text-decoration: none;
}
.tiedotelistaus a:hover{
	
	text-decoration: none;	
	color: rgb(144,182,48);
}
.newsbox span.pvm{
	font-size: 80%;
	font-style: italic;
	font-weight: normal;
}
.tiedote_pvm{
	font-size: 80%;
	font-style: italic;
	margin-bottom: 5px;
}

.newsbox a:link, .newsbox a:visited {
	color: black;
	text-decoration: none;
}
	
.newsbox  a:hover {
	color: rgb(144,182,48);
}

.newsbox a.first {
	border-top: none;
}

.newsbox a.more {
	color: rgb(68,76,89);
	margin: 0;
	padding: 5px 0;
	text-align: right;
	border-top: none;
	font-size: 90%;
}

#ingressi p {
	color: rgb(68,76,89);
	font-family: Trebuchet MS, "Times New Roman", Times, serif;
	font-style: italic;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
	width: 200px;
	display: block;
}

#kuva {
	text-align: center;
	width: 100%;
}



#footer {
	color: white;
	background: rgb(68,76,89);
	padding: 2px;
	text-align: center;
	font-size: 80%;
}

#hakuruutu {
	border: 0 solid white;
	width: 120px;
	padding: 1px 2px;
}

.hakunappi{
cursor:pointer;
border:outset 1px #ccc;
background:#999;
color: rgb(68,76,89);
font-weight: normal;
padding: 1px 2px;
width: 35px;
background: url(img/formbg.gif) repeat-x left top;
}

.hakunappi:hover{
color: white;
background: url(img/bar.gif) repeat-x left center;
}

.hakubox {
	padding: 5px;
}
.tiedotekalenteri{
	margin: 0;
	padding: 0;
	list-style-type: none;
	font-family: Verdana, Helvetica, sans-serif;
	border-left: 1px solid rgb(68,76,89);
	border-right: 1px solid rgb(68,76,89);
	border-bottom: 1px solid rgb(68,76,89);
}
.tiedotekalenteri td{
	border: 1px solid;
	text-align: center;
	position: relative;
}
.tiedotekalenteri td:hover{
	border: 1px solid;
	text-align: center;
	background-color: rgb(200,200,200);
}
.tiedotekalenteri td.viikonloppu{
	border: 1px solid;
	background-color: rgb(230,230,230);
}
.tiedotekalenteri td.tanaan{
	border: 2px solid red;
}
.tiedotekalenteri td .tiedote{
	z-index: 1;
	display: none;
	position:absolute;
	background-color: rgb(200,200,200);
	background-color: white;
	padding: 10px;
	border: 1px dotted black;
}
.tiedotekalenteri td.tiedotapaiva{
	font-weight: bold;
	background-color: #FFFF99;
}

