/* kvl.css */

* { margin: 0; padding: 0 }

html {
	height: 100%;
}

body {
	height: 100%;
	font-size: 62.5%;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	background: #fff url(viiva.gif) repeat-y 27% 0;
}

a.skip {
	display: block;
	overflow: hidden;
	height: 0;
	text-indent: -999em;
}

#wrapper {
	position: relative;
	min-height: 100%;
	background: transparent url(viiva.gif) repeat-y 74% 0;
}
#wrapper:after {
  content: "."; 
  display: block; 
  height: 0; 
  clear: both; 
  visibility: hidden;
	font-size: 0.1%;
}
/**********************************************************
 
 ylÃ¤reuna
 
 *********************************************************/

#header {
	background-color: #ffcd52;
	position: relative;
	min-height: 12em;
}
#header h1 {
	position: absolute;
	top: 22px;
	left: 15px;
}
#header img {
	border: 0;
}
/*
#header h1 a {
	display: block;
	width: 196px;
	height: 64px;
	overflow: hidden;
	text-indent: -999em;
	background: transparent url(kvl_logo2.gif) no-repeat 0 0;
}
*/
#topnavi {
	list-style: none;
	background-color: #666;
	display: block;
	position: absolute;
	top: 10em;
	width: 99.8%;
	float: left;
	padding-left: .2%;
}
#topnavi li {
	display: block;
	float: left;
}
#topnavi li.last {
	border: none;
}
#topnavi a {
	display: block;
	padding: .2em .9em;
	font-size: 1.4em;
	font-weight: bold;
	color: #fff;
/*	text-decoration: none;*/
}
#topnavi a:hover {
	text-decoration: underline;
	background-color: #999;
}
#topnavi li.selected a {
	background-color: #ccc;
	color: #000;
}
#topnavi li.yk_sivuille {
	float: right;
	right: 1%;
}
#tools {
	position: absolute;
	width: 30em;
	right: 0;
	top: 20px;
}
#tools ul {
	list-style: none;
	float: right;
	clear: both;
	margin: .2em 1em 1em 1em;
}
#tools li {
	display: block;
	float: left;
	font-size: 1.4em;
}
#tools li.line {
	border-right: 1px solid #000;
}
#tools a {
        margin: 0 .5em;
	color: #000;
	text-decoration: none;
/*	margin: 0;*/
}
#tools .kielivalinta {
	text-decoration: underline;
}
#tools a:hover {
	text-decoration: underline;
}
#tools li.button a {
	display: block;
	width: 25px;
	height: 25px;
	background-color: #eee;
	border: 1px solid #333;
	border-color: #999 #333 #333 #999;
	font-size: 23px;
	font-weight: bold;
	line-height: 23px;
	text-align: center;
	margin: .3em 0 0 5px;
	padding: 0;
}
#tools li.button a:hover {
	text-decoration:none;
	background-color: #ccc;
}
#tools form {
	float: right;
	clear: both;
	margin-right: 1em;
}
* + html #tools form {
	margin-right: .5em;
}
#tools form input {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 1.5em;
	background-color: #cca541;
	border: 1px solid #333;
	border-color: #999 #333 #333 #999;
	padding: 1px 3px;
	margin: 0 0 0 5px;
}
#tools form #sword {
	border: 1px solid #333;
	background-color: #fff;
	padding: 2px;
}


/**********************************************************
 
 sisÃ¤ltÃ¶
 
 *********************************************************/
span.alkuun {
	display: none;
}

#breadcrumb {
	position: absolute;
	left: 27.7%; /* vasemman palstan leveys + keskipalstan vasen padding */
	top: 12.5em; /* headerin korkeus + haluttu marginaali */
	padding-left: 2px; /* katkoviivan vaikutus keskipalstan sijaintiin */
	width: 50%;
}
#breadcrumb a {
	font-size: 1.1em;
	color: #666;
	text-decoration: none;
}
#left {
	float: left;
	width: 25%;
	padding: 35px .5% 30px 1.5%;
}

#leftnavi {
	list-style: none;
}
#leftnavi li a {
        color: #000;
        font-size: 1.7em;     
        line-height: 1.2em;   
}
#leftnavi ul {
        list-style: none;  
        margin-left: 1.5em;
} 
#leftnavi a.selected {
        font-weight: bold;  
} 
#leftnavi li a {
        display: block;
        padding: 8px 2px;
        text-decoration: none;
        color: #000;
}
#leftnavi li.highlight>a {
	background-color: #e5e5e5;
}
#leftnavi ul li li.highlight {
	background-color: #e5e5e5;
}
#leftnavi li li a {
	background: transparent url(navi_nuolim.gif) no-repeat 0.3em .7em;
	padding: .4em 0 .2em 1em;
	font-size: 1.35em;
	line-height: 1.2em;
}
/*
#leftnavi ul ul li a {   
        background: transparent url(navi_nuoli.gif) no-repeat 0 .4em; 
}
*/
#leftnavi a:hover {  
        text-decoration: underline;
}
#left a img {
	border: solid 1px black;
	margin: 0 0 .5em 0;
}
#left h5 {           
        padding: 0 0 .3em 0; 
        margin-bottom: .3em;
        font-size: 1.4em;
}
#center {
	float: left;
	width: 40%;
	padding: 35px 3%;
}
#center span.aaninen {
	display: inline;
	float: right;
	top: 0px;
}
#center h2, #center h1 {
	font-size: 2em;
	font-weight: bold;
	margin: 0 0 1em 0;
	padding: 0;
	width: 80%;
}
#center h3 {
	font-size: 1.8em;
	font-weight: bold;
	margin: 1em 0 1em 0;
	width: 80%;
}
#center h4 {
	font-size: 1.6em;
	margin: 1em 0 -.7em 0;
	width: 80%;
}
#center h5 {
        font-size: 1.6em;  
        margin: 1em 0 -.7em 0;
	width: 80%;
}
#center p {
	font-size: 1.6em;
	line-height: 1.6em;
	margin: 1.2em 0 .6em 0;
	width: 90%;
}
#center img {
	border: 1px solid #666666;
}
#center p.kuvateksti {
        padding: 0;
	margin: .2em 0 0 0;
        font-size: .3em;
	font-weight: 100;
	color: gray;
	width: 25em;
}

#center ul {
	margin: 0 0 0 0;
        padding: 0 0 .5em 2em;
        font-size: 1.6em;
	line-height: 1.6em;
	width: 80%;
}
#center ul ul {   
        padding: .2em 0 0 2em; 
        font-size: .4em;
	width: 80%;
}

#center ul li {
        margin: .4em;
	line-height: 1.4em;
/*	width: 80%;*/
}
#center td img {
	margin-right: 1em;
}
#center td {
        vertical-align: top; 
}
#center .tx-pbsurvey-pi1 .survey_item td {
        vertical-align: middle;
}
#center .tx-pilmailform-pi1 .special {
	display: none;
}
#center ol {
	margin: 0;
        padding: 0 0 .5em 3em;
        font-size: 1.2em;
	line-height: 1.5em;
	width: 80%;
}
#right {
	float: left;
	width: 26%;
	padding: 35px 0;
	overflow: hidden;
}
#right p {
	padding: 0em 1em 1em 2em;
	margin-bottom: 1em;
	font-size: 1.5em;
	line-height: 1.6em;
}
#right h5 {
        padding: 0 0 0 1.3em;
        margin-bottom: 0.3em;
        font-size: 1.8em;
}
#right ul {     
        padding: 0 1em 0 3em;
        margin-bottom: .3em;
        font-size: 3em;
}
#right li {
	margin: 0 0 .5em 0;
}
#right img {
	border: 1px solid #666666;
}
/**********************************************************
 
 alareuna
 
 *********************************************************/


#footer {
	position: relative;
	height: 3.0em;
	padding-top: .5em;
	background-color: #666;
	margin-top: -3.5em;
}
#footer ul {
	position: absolute;
	list-style: none;
	left: 1.5em;
}
#footer ul li {
	display: block;
	float: left;
}
#footer ul li.line {
	border-right: 1px solid #fff;
}
#footer a, #footer span {
	color: #fff;
	margin: 0 .5em;
	font-size: 1.7em;
	text-decoration: none;
}
#footer a:hover {
	text-decoration: underline;
}
#footer span {
	display: block;
	position: absolute;
	color: #fff;
	right: 1em;
}
/******** pika-apu hakutuloksiin, info-kenttä tulostekstin päällä, syy tuntematon... ***/
#center .tx-indexedsearch-descr {margin-bottom: 2em;}
#center .tx-indexedsearch-whatis {font-size: 1.6em;}
#right .tiedotteet_teaser {margin-bottom: -.6em;}

.csc-sitemap li {
        font-weight: 700;
}
.csc-sitemap li li {
	font-size: 1.6em;
	font-weight: 300;
}

/*****************************************
editorin tyylit
*****************************************/
.suuri          {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 1.25em; line-height: 1.1em;}
.pieni          {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 0.75em; line-height: 1.1em;}
.ingressi       {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 1em; line-height: 1.2em; font-weight: 700; margin-bottom: 1.5em;}
.kuvateksti     {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 0.9em; line-height: 1.3em; color: gray; font-weight: 100; margin: 0 0 1.5em 0;}
.viiva          {border-bottom: 1px dashed #666; padding-bottom: 1em;}
.ei_reunaa      {font-family: Verdana, Arial, Helvetica, sans-serif;}
.oikea_reunaton_kuva {margin: 1em 1em 1em 0; border: 0; }
.vasen_reunaton_kuva {margin: 1em 1em 1em 0; border: 0; }
.oikea_reunaton_kuva a {border: 0; }
.ketjuotsikko	{margin: 0 0 0 0; padding: 0; text-align: right; width: 370px; height: 125px; background: transparent url(ketju.gif) no-repeat 0 0;}
.otsikko_viiva_ylla          {border-top: 7px solid #FFCD52; padding-top: .5em;}

