
* {
	margin: 0;
	padding: 0;
}

body,html {
	margin: 0;
	padding: 0;
	font-family: san-serif, verdana, arial;
	font-size:small;
	color:#7E7E7E;
	font-size: 10pt;
	height: 100%;
}

div#runko {
	width: 100%;
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -230px 0; /* the bottom margin is the negative value of the footer's height */
}

div#ylaosa {
	width: 100%;
}

div#navigaatio {
	width: 100%;
	height: 35px;
	background-image: url(../kuvat/navitausta.jpg);
	background-position: bottom center;
	background-repeat: no-repeat;
	background-color: #ffffff;
}

div#leveaviiva {
	width: 100%;
	padding: 20px 0 0 0;
	background-image: url(../kuvat/navitausta.jpg);
	background-position: bottom center;
	background-repeat: no-repeat;
	background-color: #ffffff;
}


div#keskiosa  {
clear: both;
margin: 40px 0 20px 0;
padding: 0;
}

	.vasenpalsta {
	width: 295px;
	float: left;
	}
	
	.oikeapalsta {
	width: 645px;
	float: right;
	padding: 0 0 0 20px;
	}


	.otsikko {
width: 300px;
float: left;
margin: 0;
padding: 0 0 0 20px;
	}
	
	.palsta {
width: 300px;
float: left;
margin: 0;
padding: 0;
	}

.palstaviiva {
	padding: 0 10px 0 0;
	background-image: url(../kuvat/palstaviiva.png);
	background-position: top right;
	background-repeat: no-repeat;		
}	

.palstaviiva_henkilo {
	padding: 0 10px 0 0;
	background-image: url(../kuvat/palstaviiva_henkilo.png);
	background-position: top right;
	background-repeat: no-repeat;		
}	



.korkea { /* min-height: 294px; */ }

.palstareuna_vasen {
margin: 0 0 0 20px;
}

.palstareuna_oikea {
margin: 0 20px 0 0;
}
	

.sisalto {
position: relative;
width: 975px;
margin: 0 auto 0 auto;
}
	
.ylakuva {
	height:218px;
	background-image: url(../kuvat/ylakuva.jpg);
	background-position: top right;
	background-repeat: no-repeat;
	background-color: #ffffff;
}
	
.ylapalkki {
width: 950px;
height: 8px;
margin: 0 auto 0 auto;
background-color: #A8A7A7;
	background-image: url(../kuvat/ylatausta.jpg);
	background-position: top center;
	background-repeat: no-repeat;

}

.logo {
float: left;
margin: 80px 0 0 40px;
}

.navipalkki {
	float: right;
	width: 577px;
	height:34px;
	background-image: url(../kuvat/navipalkki.jpg);
	background-position: top center;
	background-repeat: no-repeat;
	background-color: #ffffff;
}

.henkilo {
padding: 20px 0 20px 0;
}


.clear {
width: 975px;
margin: 0;
height: 1px;
clear: both;
}

.push {
	height: 230px; /* .push must be the same height as .footer */
	clear: both;
	}
	
	 

	
	div#alapalkki {
	width: 100%;
	height: 230px;
	position: relative;
	background-image: url(../kuvat/taustakuva.jpg);
	background-position: bottom center;
	background-repeat: no-repeat;
	background-color: #ffffff;
	}
	

	.alalogo {
	width: 300px;
	float: left;
	text-align: center;
	padding: 180px 0 0 0;
	}
	
	.yhteystiedot {
	width: 675px;
	float: right;
	text-align: center;	
	color: #ffffff;
	padding: 180px 0 0 0;
	}
	
	.madeby
	{
	position: absolute;
	top: 0;
	right: 5px;
	width: 20px;
	height: 80px;
	}
 






 
#nav ul { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
}

#nav li { /* all list items */
	float: left;
	position: relative;
	list-style: none;
	color: #ffffff;
	white-space: nowrap;
}

#nav li a {
	height: 21px;
	display: block;
	text-transform: uppercase;
	margin: 10px 0 0 0;
	padding: 5px 20px 0 20px;
	color: #ffffff;
	background-image: url(../kuvat/erotin.png);
	background-position: bottom right;
	background-repeat: no-repeat;
	font-size: 9pt;
}

#nav li a:link {
color: #ffffff;
}

#nav li a:visited {
color: #ffffff;
}

#nav li a:hover {
color: #787878;
background-image: url(../kuvat/current.jpg);
background-position: top center;
background-repeat: no-repeat;
background-color: #ffffff;}

#nav li a.current:link, #nav li a.current:visited
{
color: #787878;
background-image: url(../kuvat/current.jpg);
background-position: top center;
background-repeat: no-repeat;
background-color: #ffffff;

}

#nav li a.current:hover
{
color: #787878;
background-image: url(../kuvat/current.jpg);
background-position: top center;
background-repeat: no-repeat;
background-color: #ffffff;
}



