/* Tehnyt: Petri I. | petri.ikonen@kuopassa.com | www.kuopassa.com */

@import url("typo.css");
@import url("extrat.css");

* {
	margin: 0;
	padding: 0;
	}
	
body {
	font: 0.8em Arial, Helvetica, sans-serif;
	background: #e4f1c7 url(../images/tausta.png) repeat-x 0 -62px;
	color: #333;
	}

html {
	height: 100%;
	}
	
a {
	text-decoration: underline;
	color: #980066;
	}
	
a:hover {
	text-decoration: underline;
	color: #519600;
	}
	
div#rakenne {
	margin: 0 auto;
	text-align: left;
	width: 816px;
	}

div#ylaosa {
	height: 280px;
	background: #bbd18a url(../images/ylaosa.jpg) no-repeat 0 0;
	position: relative;
	}

div#ylaosa h1,
div#ylaosa ul {
	display: block;
	overflow: hidden;
	padding: 0;
	margin: 0;
	position: absolute;
	}
	
div#ylaosa h1 {
	height: 100px;
	width: 300px;
	left: 265px;
	top: 80px;
	text-indent: -9999px;
	}
	
div#ylaosa ul {
	list-style: none;
	left: 20px;
	bottom: 25px;
	width: 810px;
	font: bold 1.5em "Times New Roman", Times, serif;
	}
	
div#ylaosa ul li {
	display: inline;
	}

div#ylaosa ul li a {
	text-decoration: none;
	color: #9f0069;
	padding: 15px 0;
	float: left;
	width: 125px;
	text-align: center;
	text-shadow: #a5da76 1px 2px 1px;
	}

div#ylaosa ul li a:hover,
div#ylaosa ul li a:active,
div#ylaosa ul li a:focus {
	outline: none;
	color: #62782e;
	}

div#keskiosa {
	min-height: 10em;
	background: #e4f1c7 url(../images/keskiosa.png) repeat-y 0 0;
	padding: 0 50px;
	}

div#sisalto,
div#sivupalkki {
	display: inline;
	}

div#sisalto {
	width: 500px;
	float: left;
	}
	
div#sivupalkki {
	width: 210px;
	float: right;
	}
	
div#alaosa {
	background: #e4f1c7 url(../images/alaosa.png) no-repeat 0 0;
	height: 150px;
	}

div#alaosa ul {
	list-style: none;
	text-align: center;
	padding: 70px 245px 0 245px;
	color: #980066;
	}

div#alaosa ul li {
	display: inline;
	margin: 0 5px;
	}

div#alaosa ul li strong {
	display: block;
	white-space: nowrap;
	}

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	float: right;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	float: left;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}