@charset "UTF-8";

html,body{
	height:100%;
	margin:0 0 0 0;
	font-family: "Arial", sans-serif;
	font-size: 16px;
}

h1{
	font-family: "Times", serif;
	font-style: italic;
	color: #006869;
	border-bottom: medium double #006869;
	border-top: thin solid #006869;

	margin-top: 1em;
}

h2{
	font-family: "Times", serif;
	margin-top:2em;
	text-decoration: underline;
}
h3{
	font-family: "Times", serif;
	margin-top:2em;
}

a{
	color:#006869;
}

a:visited{
	color:#ff8000;
}	

table{
	border: thin solid #000000;
	border-collapse: collapse;
}

table th,td{
	border: thin solid #000000;
	border-collapse: collapse;
	padding-left:1em;
	padding-right:1em;
	text-align:center;
}

table th{
	background:#006869;
	color:#ffffff;
}

table.laihia, table.laihia td{
	border: none;
	padding-top:5px;
	padding-bottom:5px;
}

table.luottotieto, table.luottotieto td{
	border: none;
	text-align: left;
}

ul#vitsit li{
	margin-bottom:15px;
}
ul#sisalto>li{
	margin-bottom:15px;
}
ul li{
	padding-top:2px;
}


div.kuva{
	width:50%;
	display:block;
	vertical-align: middle;
}

div.kuvateksti{
	height: 130px;
	display:block;
	padding-top:90px;
}
/* form stuff */
div.form{
	clear:both;
	padding-top:1px;
}

span.formLabel{
	float: left;
	width: 75px;
	text-align:right;
}

span.formField{
	float: left;
	margin-left:10px;
}

span.formField textarea{
	width: auto;
	margin: auto auto auto 0px;
}

div.spacer{
	clear: both;
}

fieldset{
	border: none;
}

/* layout */
div#container{
	position: relative;
	min-height:85%;
	width: 990px;
	margin: 0 auto 0 auto;

	background-image: url("images/narulevea.jpg");
	background-position: 220px 0px;
	background-repeat: repeat;

	margin-top: 10px;
	margin-bottom: 10px;

	overflow-x: hidden;
}

div#content{
	display: block;
	margin-top: 10px;
	margin-left:220px;
	padding-left:50px;
	padding-right: 50px;
	margin-bottom:10px;
	margin-right:38px;
}

div#header{
	display:block;
	width: 990px;
	height: 145px;
}

div#exp{
	height:145px;
	width:200px;
	float: left;
	background-image: url("images/30v.jpg");
	background-repeat: no-repeat;
}

div#logo{
	float: left;
	height:145px;
	width:694px;
	margin-right:38px;
	margin-left:58px;
	background-image: url("images/logo.jpg");
}

/*menus*/
div#menu{
	position: absolute;
	top: 165px;
	left: 0;
}

div#menu a:link, div#menu a:visited, div#menu a:hover, div#menu a:active{
	width: 200px;
	height: 25px;

	display:block;
	
	color: #ffffff;
	text-align: center;
	line-height: 25px;
	font-weight: normal;
	text-decoration: none;
}

div#menu a:hover, div#menu a:active{
	background-image: url("images/smallbutton_hover.jpg");
	background-repeat: no-repeat;
	background-position: top left;
}

div.button, div.button_selected{
	width: 200px;
	margin-bottom: 2px;
	background-image: url("images/smallbutton.jpg");
	background-repeat: no-repeat;
	background-position: top left;
}

div.button{
	height: 25px;
}

div.button_selected{
	margin-left: 10px;
}

div#submenu{
	width: 180px;
	margin-left: 20px;
	margin-bottom:10px;
}

div#submenu a:link, div#submenu a:visited, div#submenu a:hover, div#submenu a:active{
	width: 180px;
	height: 25px;
	display: block;

	color:#ffffff;	
	text-align: center;
	line-height: 25px;
	font-weight: normal;
	font-size: 10pt;
}

div#submenu a:link, div#submenu a:visited{
	width: 180px;

}

div#submenu a:hover, div#submenu a:active{
	background-image: url("images/smallerbutton_hover.jpg");
	background-repeat: no-repeat;
	background-position: top left;
}

div.button2, div.button2_selected{
	width: 200px;
	height: 25px;
	margin-bottom:2px;
	background-image: url("images/smallerbutton.jpg");
	background-repeat: no-repeat;
	background-position: top left;
}

div.button2_selected{
	margin-left: 10px;
}

div#submenu div#luottotiedot a{
	background-image: url("images/smallestbutton.jpg");
	width: 160px;
	height: 25px;
	margin-left:25px;
	margin-bottom: 2px;
}

div#submenu div#luottotiedotselected a{
	background-image: url("images/smallestbutton.jpg");
	width: 160px;
	height: 25px;
	margin-left:35px;
	margin-bottom: 2px;
}


/*fuuuuter*/
div#footer{
	height:75px;
	width: 940px;
	margin: auto auto 0 auto;

	background-image: url("images/footer.jpg");
	background-repeat: no-repeat;
	background-position: top left;

	color:#ffffff;
	font-size: 14px;
	padding-top: 5px;
	padding-left: 50px;
}

div#osoite, div#puh, div#puh_puh, div#puh_numero, div#puh_label, div#copyright{
	float: left;
}

div#osoite{
	width:300px;
}

div#osoite a{
	color:#ffffff;
}

div#puh{
	width: 300px;
}

div#puh_puh{
	padding-right: 20px;
}

div#puh_label{ width: 80px; padding-right: 20px; }

div#puh_numero{ width: 120px; }

.green { color:#006869; }

