html, body {
	margin: 0;
	padding: 0;
	height: 100%;
	font-size: 100%;
	font-family: Times, serif;
	color: #666;
	text-align: center;
}

h1, h2, h3, h4, h5, h6 { color: #009900; }

h1 { font-size: 130%; }
h2 { font-size: 120%; }
h3 { font-size: 110%; }
h4 { font-size: 105%; }
h5 { font-size: 100%; }

img { border: 0; }

input { font-size: 100%; }

p {
	margin: 0 0 15px;
}

a:link, a:visited {
	color: #126D38;
	text-decoration: underline;
}

#oikea a:link, #oikea a:visited {
	color: #FF3333;
	text-decoration: none;
	text-transform: uppercase;
}

#oikea a:hover, #oikea a:active {
	text-decoration: underline;
}

a:hover, a:active, a.lisaa:hover, a.lisaa:active { text-decoration: none;	}

div {
	position: relative;
	margin: 0;
	padding: 0;
}

div#wrapper, div#wrapper2 {
	width: 820px;
	margin: 0 auto;
	background: transparent url(../kuvat/wrapper.png) repeat-y;
}

* html div#wrapper { background: transparent url(../kuvat/wrapper.gif) repeat-y; }

div#wrapper2 { background: transparent url(../kuvat/palstat.png) repeat-y; }

* html div#wrapper2 { background: transparent url(../kuvat/palstat.gif) repeat-y; }

div#top {
	width: 820px;
	height: 49px;
}

div#container {
	width: 800px;
	margin: 0 auto;
}

div#header {
	width: 800px;
	height: 205px;
	text-align: left;
	position: relative;
}

div#header img {
	position: absolute;
	top: 45px;
	left: 571px;
}

div#menu {
	width: 800px;
	height: 27px;
	background-color: #E7F1E4;
}

/* ----------------------------------------------------------------------	*/
/*	Overlapping tabs - using one gif image, Stu Nicholls | CSS Play	*/
/*	http://www.cssplay.co.uk/menus/gif_overlap.html		*/
/* ----------------------------------------------------------------------	*/

ul.tabs {
	font-family: Helvetica, Arial, sans-serif;
	list-style: none;
	float: left;
	width: 760px;
	height: 27px;
	margin: 0;
	padding: 0;
	background-color: #EBF3E6;
}

ul.tabs li {
	float: left;
	margin-right: -22px;
}

ul.tabs li a {
	position: relative;
	display: block;
	text-decoration: none;
	text-transform: uppercase;
}

ul.tabs li a em {
	position: relative;
	display: block;
	float: left;
	height: 27px;
	padding: 0 36px 0 22px;
	background: url(../kuvat/navi.gif) right bottom;
	z-index: 100;
	font-size: 11px;
	font-style: normal;
	font-weight: normal;
	color: #126D38;
	line-height: 26px;
}
ul.tabs li a b {
	position: relative;
	display: block;
	float: left;
	width: 14px;
	height: 27px;
	background: url(../kuvat/navi.gif) left bottom;
	z-index: 200;
}

ul.tabs li a.m1 { z-index: 600; }
ul.tabs li a.m2 { z-index: 500; }
ul.tabs li a.m3 { z-index: 400; }
ul.tabs li a.m4 { z-index: 300; }
ul.tabs li a.m5 { z-index: 200; }
ul.tabs li a.m6 { z-index: 100; }

ul.tabs li a:hover {
	border: 0;
	z-index: 700;
	cursor:pointer;
}

ul.tabs li a:hover b { background-position: left top; }

ul.tabs li a:hover em {
	background-position: right top;
	color: #FFF;
}

ul.tabs li a.selected, .tabs li a.selected:hover {
	border: 0;
	z-index: 800;
	cursor: default;
}

ul.tabs li a.selected b, .tabs li a.selected:hover b { background-position: left top; }

ul.tabs li a.selected em, .tabs li a.selected:hover em {
	background-position: right top;
	color: #FFF;
}

div#content {
	min-height: 209px;
	padding: 32px 24px 24px 8px;
}

* html div#content { height: 100%; }

*:first-child+html div#content { padding-bottom: 0; }

div#tayte {
	height: 9px;
	background: #FFF url(../kuvat/yla.gif) no-repeat;
	clear: both;
}

div#vasen {
	float: left;
	width: 137px;
}

div#vasen_palsta {
	float: left;
	width: 173px;
	margin: 0 0 0 8px;
	padding: 33px 22px;
	text-align: left;
}

* html div#vasen_palsta {
	width: 173px;
	margin: 0 3px 0 4px;
}

div#vasen_palsta ul {
	list-style: none inside;
	margin: 7px 0 7px;
	padding: 0 0 3px;
	border-bottom: 1px dashed #000;
	font-size: 90%;
}

* html div#vasen_palsta ul { list-style-position: outside; }

div#vasen_palsta ul li { margin: 0 0 0 37px;
	padding: 0 0 6px;
}

div#vasen_palsta ul li.yla {
	font-weight: bold;
	margin: 0;
	padding: 0;
}

div#vasen_palsta a:link, div#vasen_palsta a:visited { 
	color: #000; 
	text-decoration: none;
}

div#vasen_palsta a:hover, div#vasen_palsta a:active { 
	text-decoration: underline;
}

div#oikea {
	float: left;
	width: 400px;
	text-align: left;
	font-size: 80%;
	line-height: 140%;
}

* html div#oikea { margin: 0 0 -15px; }

div#oikea_palsta {
	float: right;
	width: 509px;
	margin: 0 7px 0 0;
	padding: 20px 27px;
	text-align: left;
	font-size: 80%;
	line-height: 140%;
	min-height: 300px;
}

* html div#oikea_palsta {
	width: 509px;
	margin: 0 3px 0 3px;
}

div#tayte2 {
	clear: both;
	height: 9px;
	background: #FFF url(../kuvat/ala.gif) no-repeat;
}

div#laatikot {
	width: 800px;
	margin: 0 auto;
	padding: 12px 0;
	background-color: #FFF;
	clear: both;
}

* html div#laatikot { padding: 12px 0 0; }

div#uutinen {
	float: left;
	width: 237px;
	height: 176px;
	margin: 0 10px 0 10px;
}

* html div#uutinen { margin: 0 10px 0 5px; }

div#ajankohtaista {
	float: left;
	width: 289px;
	height: 176px;
	margin: 0;
}

* html div#ajankohtaista { margin: 0; }

div#vinkit {
	float: right;
	width: 237px;
	height: 176px;
	margin: 0 8px;
}

* html div#vinkit { margin: 0 4px 0 8px; }

div#footer {
	width: 798px;
	margin: 0 auto;
	padding: 7px 0 9px;
	color: #FFF;
	background-color: #03642C;
	border-bottom: 1px solid #FFF;
	text-align: center;
}

div#footer a:link, div#footer a:visited {
	color: #FFF;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 75%;
}

div#footer a:hover, div#footer a:active { text-decoration: underline; }


div#bottom {
	width: 820px;
	height: 20px;
}

.clear {
	clear: both;
	height: 0.1em;
}

* html .clear { height: auto; }
