body {
	background-color: #5e5e5c;
	background-image: url(../images/tausta_uusi.jpg);
	background-repeat: no-repeat;
	background-position: center top;
	text-align: center;
	margin: 0;
	padding-top: 25px;
	padding-bottom: 50px;
}
body#admin {
	padding-top: 0;	
}


#wrapper {
	width: 920px;
	margin: 0 auto 0 auto;
	text-align: left;
}


#ylaosa {	
	width: 100%;
	height: 336px;	
	position: relative;
	display: block;
	overflow: hidden;
}
#ylapalkki {
	width: 920px;
	height: 122px;
	position: absolute;
	top: 0;
	left: 0;
	background-image: url(../images/ylakaari.png);
	background-repeat: no-repeat;
}
#ylaosa img.logo {
	position: absolute;
	top: 19px;
	left: 40px;
}
#ylaosa img.nro {
	position: absolute; 
	top: 19px;
	left: 440px;
}
#ylaosa form.haku {
	position: absolute;
	top: 19px;
	left: 660px;
}
#ylaosa input.hakukentta {
	position: absolute;
	top: 23px;
	left: 700px;
	width: 190px;
	height: 17px;
	padding-left: 1px;
}


#paanavi {
	width: 100%;
	height: 48px;
	background-image: url(../images/navi_tausta.png);
	background-repeat: no-repeat;
	display: block;
	margin-top: 5px;
	margin-bottom: 3px;
}
#paanavi ul {
	margin: 0;
	padding: 11px 0 0 40px;
}
#paanavi ul li {
	display: inline;
	margin: 0;
	padding: 0 5px 0 15px;
	list-style-type: none;
	background-image: url(../images/navipallo.gif);
	background-repeat: no-repeat;
	background-position: left 2px;	
}
#paanavi ul li.first {
	padding: 0 5px 0 0;
	background-image: none;
}
#paanavi ul li a:link, #paanavi ul li a:visited, #paanavi ul li a:hover, #paanavi ul li a:active {
	font-family: Arial, Helvetica;
	font-size: 17px;
	font-weight: bold;
	text-decoration: none;
	color: #fff;	
}
#paanavi ul li a:hover, #paanavi ul li a:active {
	text-decoration: underline;
}
#paanavi ul li a.on:link, #paanavi ul li a.on:visited, #paanavi ul li a.on:hover, #paanavi ul li a.on:active {
	text-decoration: none;
	padding-bottom: 9px;
	background-image: url(../images/navinuoli.gif);
	background-repeat: no-repeat;
	background-position: center bottom;
}


#subnavi {	
	margin: 0;
	margin-top: -10px;
	padding: 0;
}
#subnavi ul {
	padding: 0 0 10px 0;
	margin: 0 0 10px 0;
}
#subnavi ul li {
	display: inline;
	padding: 0;
	margin: 0;
	list-style-type: none;	
}
#subnavi ul li div.vas {
	float: left; 
	width: 10px;
	height: 36px;
	background-image: url(../images/sis_vali_h_vas.gif);
	background-repeat: no-repeat;	
}
#subnavi ul li div.keski {
	float: left; 	
	height: 36px;
	background-image: url(../images/sis_vali_h_keski.gif);
	background-repeat: repeat-x;
	padding: 0 5px 0 5px;	
}
#subnavi ul li div.oik {
	float: left; 
	width: 10px;
	height: 36px;
	margin-right: 10px;
	background-image: url(../images/sis_vali_h_oik.gif);
	background-repeat: no-repeat;	
}
#subnavi ul li.on div.vas {
	background-image: url(../images/sis_vali_s_vas.gif);
}
#subnavi ul li.on div.keski {
	background-image: url(../images/sis_vali_s_keski.gif);
}
#subnavi ul li.on div.oik {
	background-image: url(../images/sis_vali_s_oik.gif);
}
#subnavi ul li a:link, #subnavi ul li a:visited, #subnavi ul li a:hover, #subnavi ul li a:active {
	font-family: Arial, Helvetica;
	font-size: 15px;
	font-weight: bold;
	text-decoration: none;
	color: #fff;
	line-height: 32px;
}
#subnavi ul li a:hover, #subnavi ul li a:active {
	text-decoration: underline;
}
#subnavi ul li a.on:link, #subnavi ul li a.on:visited, #subnavi ul li a.on:hover, #subnavi ul li a.on:active {
	text-decoration: underline;	
}


#sisalto_yla_etus {
	width: 920px;
	height: 10px;
	display: block;
	background-image: url(../images/sivu_yla.png);
	background-repeat: no-repeat;
	font-size: 0;
	line-height: 0;
}
#sisalto_yla {
	width: 920px;
	height: 10px;
	display: block;
	background-image: url(../images/sisasivu_yla.png);
	background-repeat: no-repeat;
	font-size: 0;
	line-height: 0;
}
#sisalto_keski_etus {
	width: 920px;
	height: auto !important;	
	background-image: url(../images/sivu_keski.png);
	background-repeat: repeat-y;
}
#sisalto_keski {
	width: 920px;
	height: auto !important;	
	background-image: url(../images/sisasivu_keski.png);
	background-repeat: repeat-y;
}
#sisalto_ala_etus {
	width: 920px;
	height: 10px;
	display: block;
	background-image: url(../images/sivu_ala.png);
	background-repeat: no-repeat;
	font-size: 0;
	line-height: 0;
}
#sisalto_ala {
	width: 920px;
	height: 10px;
	display: block;
	background-image: url(../images/sisasivu_ala.png);
	background-repeat: no-repeat;
	font-size: 0;
	line-height: 0;
}


#sisaltoalue {
	padding: 20px 0 0 0;
	margin: 0 30px 0 40px;
}


#yhttied_vas {
	float: left;
	padding-left: 15px;	
	width: 10px;
	height: 41px;
	background-image: url(../images/yhteystiedot_vas.png);
	background-repeat: no-repeat;
	background-position: top right;
}
#yhttied {
	float: left;
	width: 870px;
	height: 41px;
	background-image: url(../images/yhteystiedot_keski.png);
	background-repeat: repeat-x;
	text-align: center;
}
#yhttied ul {
	margin: 0 auto 0 auto;
	padding: 12px 0 0 0;
}
#yhttied ul li {
	list-style-type: none;
	display: inline;
	margin: 0;
	padding: 0 3px 0 12px;
	background-image: url(../images/yhteyst_pallo.gif);
	background-repeat: no-repeat;
	background-position: left 5px;
}
#yhttied ul li.first {
	background-image: none;
}
#yhttied_oik {
	float: left;
	width: 10px;
	height: 41px;
	background-image: url(../images/yhteystiedot_oik.png);
	background-repeat: no-repeat;
}


#polku_holder {
	width: 700px;
	position: relative;	
}
#polku {
	position: absolute;
	top: -22px;
	right: 0;
	color: #666;	
}
#polku a {
	color: #666;
	text-decoration: none;
}


#uutisnavi {
	float: right;
	padding-right: 150px;
	padding-top: 3px;
}
#uutisnavi ul {
	margin: 0;
	padding: 0;
}
#uutisnavi ul li {
	list-style-type: none;
	display: inline;
	margin: 0;
	padding: 0;
}
#uutisnavi ul li a {
	font-size: 12px;
}
#uutisnavi ul li.on a:link, #uutisnavi ul li.on a:visited, #uutisnavi ul li.on a:active, #uutisnavi ul li.on a:hover {	
	font-weight: bold;
	text-decoration: underline;		
}


#news {
	float: right;	
	width: 221px;
	height: 314px;
	background-image: url(../images/ajank_tausta.png);
	background-repeat: no-repeat;
	padding-right: 15px;
}
#news_sis {
	margin: 10px 15px 0 15px;
	height: 235px;
	overflow: auto;
}
#news_sis p {
	line-height: 15px;
}
#news_sis a.readmorelink:link, #news_sis a.readmorelink:visited {
	font-weight: bold;
	color: #2c4bbc;
	text-decoration: none;
}
#news_sis a.readmorelink:hover, #news_sis a.readmorelink:active {
	text-decoration: underline;
}


div.teaser_title {
	width: 206px;
	height: 44px;
	background-image: url(../images/nosto_ots_tausta.png);
	background-repeat: no-repeat;
	margin: 10px 0 10px 8px;
}
div.teaser_title p {
	margin: 0;
	font-weight: bold;
	color: #fff;
	font-size: 16px;
	font-family: Arial, Helvetica;
	margin-left: 10px;
	padding-top: 12px;	
}


#nostot {
	width: 666px;
	margin-left: 14px;
	overflow: hidden;
}
div.nosto {
	width: 221px;
	height: 314px;
	background-image: url(../images/nostotausta.png);
	float: left;
	margin-right: 1px;
	margin-bottom: 5px;	
	position: relative;
}
div.nosto div.nosto_sis {
	margin: 10px 15px 0 15px;
	height: 155px;
	overflow: hidden;
}
div.nosto_sis p.lyhyt {
	font-weight: bold;
	color: #2c4bbc;
	line-height: 15px;
	margin-bottom: 10px;
}
div.nosto_sis p.pitka {
	line-height: 15px;
	margin-bottom: 0;
}
div.nosto img.linkki {
	position: absolute;
	left: 10px;
	bottom: 25px;
}


#yhteyslomake input.radio {
	padding: 0;
	margin: 0;
	margin-right: 5px;
	height: 15px;
	width: 15px;
	border: 0;
	float: left;
	background-color: transparent;
}
#yhteyslomake input.kentta {
	width: 220px;
	height: 15px;
	padding-left: 1px;
	border: 1px solid #666;
	margin: 0;
	margin-bottom: 3px;
	float: right;
}
#yhteyslomake textarea {
	font-family: Verdana, Arial;
	font-size: 11px;
	width: 220px;
	height: 80px;
	border: 1px solid #666;
	margin-bottom: 3px;
	padding: 1px 0 0 1px;
}
#yhteyslomake select {
	width: 223px;
	border: 1px solid #666;
	margin-bottom: 3px;
}
#yhteyslomake input.nappi {
	background-color: #407bb7;
	color: #fff;
	border: none;
	width: auto;
	height: auto;
	padding: 2px 10px 2px 10px;
}
