/* CSS-tyylitiedosto */

@import url('../../../perustyylit.php');

body {
	margin: 0;
	padding: 0;
	background: #ffffff url(taustakuva.jpg) repeat-x top center;
	line-height: 1.0em;
}

body, td {
	color: #000;	
}

b {
	font-weight: bold;
}

a:link, a:visited {
	color: #054C05;
	font-weight: bold;
	text-decoration: none;
}

a:active, a:hover {
	color: #054C05;
	text-decoration: underline;
}

#container {
	margin: 0 auto;
	width: 914px;
	background: transparent url("../../../pics/tausta_reunat.png") repeat-y top left;
}

/* YLÄOSA */ 

#header {
	margin: 0 7px;
	width: 900px;
	height: 68px;
	display: block;
	position: relative;
}

img#logo {
	position: absolute; 
	left: 12px; 
	top: 12px;
	width: 209px;
	height: 55px;
	z-index: 3;
}

#header #top_left {
	position: absolute;
	top: 13px;
	left: 275px;
	width: 348px;
	height: 2em;
	font-size: 50%;
	font-weight: bold;
}

#top_left a:link, #top_left a:visited {
	color: #626161;
}

#header #top_right {
	position: absolute;
	top: 8px;
	right: 6px;
	width: 270px;
	height: 2em;
	font-size: 80%;
	text-align: right;
}

#top_right table, #top_right tr {
	margin: 0;
	padding: 0;
}

#top_right td {
	vertical-align: middle;
	margin: 0;
	padding: 0 4px 0 0;
}

img.flag {
	border: 1px solid #05054c;
	margin: 0 0 0 2px;
}

input#searchbox {
	border: 1px solid #05054c; 
	height:17px;
	width: 149px;
	margin: 0;
	padding: 0;
	line-height: 1em;
}

#flash_image {
	margin: 0 7px;
	width: 900px;
	height: 200px;
}


/* PÄÄVALIKKO */

#menu {
	border-top: 2px solid #054D04;
	margin: 0 7px;
	background: #008800 url(valikkotausta.jpg) repeat-x top left;
	min-height: 2.9em;
	font-size: 65%;
}

#menu ul {
	margin: 0 0 0 10px;
	padding: 0;
	list-style-type: none;
	font-weight: bold;
}

#menu li {
	display: block;
	text-transform: uppercase;
	border-left: 2px solid #054D04;
	height: 2.9em;
	float: left;
	background: #008800 url(valikkotausta.jpg) repeat-x top left;
	position: relative;
}

#menu li.valittu {
	background-color: #005500;
	background-image: none;
}

#menu a:link, #menu a:visited {
	color: #fff;
	display: inline-block;
	padding: 0.7em 8px 0.6em 8px;
}

#menu a:hover, #menu a:active {
	background-color: #054D04;
	text-decoration: none;
}

#menu li div {
	display: none;
	position: absolute;
	z-index: 222;
	top: 3.1em;
	left: -2px;
	background: #005500;
	border-left: none;
	border-right: none;
	width: 111px;
}

#menu li div ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
	font-size: 100%;
}

#menu li div li {
	background-color: #005500;
	background-image: none;
	border: none;
	margin: 0;
	padding: 0;
	height: 1.6em;
}

#menu li div li.valittu {
	background-color: #009900;
}

#menu li div li a:link, #menu li div li a:visited {
	height: 1.6em;
	margin: 0;
	padding: 0 7px;
	width: 235px;
	display: block;
	text-transform: none;
}

#menu li div li a:hover, #menu li div li a:active {
	background-color: #009900;
}


/* KESKIOSA */

#main {
	margin: 0 7px 20px 7px;
	clear: both;
}


/* VASEN */

#left {
	width: 235px;
	background: transparent url(vasentausta.jpg) repeat-x top left;
	font-size: 75%;
	float: left;
	min-height: 20em;
	padding-bottom: 30px;
}

#left h2 {
	margin: 0;
	padding: 0;
	font-size: 100%;
	color: #000;
	font-weight: bold;
	height: 2.1em;
	background: transparent url("../../../pics/alaviiva.gif") no-repeat bottom left;
}

#left ul {
	margin: 15px 0 30px 0;
	padding: 0;
	list-style-type: none;
	font-size: 90%;
}

#left ul li ul {
	margin: 0 0 0 15px;
	padding: 0;
	list-style-type: none;
	font-size: 90%;

}

#left ul li.valittu ul li a:link, #left ul li.valittu ul li a:visited, #left ul li.valittu ul li.valittu ul li a:link, #left ul li.valittu ul li.valittu ul li a:visited {
	color: #054C05;	
}

#left li.valittu a:link, #left li.valittu a:visited, #left li.valittu ul li.valittu a:link, #left li.valittu ul li.valittu a:visited,  #left li.valittu ul li.valittu ul li.valittu a:link, #left li.valittu ul li.valittu ul li.valittu a:visited {
	color: #000;
}

a.minilink:link, a.minilink:visited, a.minilink:hover, a.minilink:active {
	text-decoration: none;
	font-weight: normal;
}

div.paddings {
	padding: 19px;
}

#logot {
	float: left;
	margin: 20px 0 20px 0;
}

#tulosta {
	float: right; 
	margin: -18px 18px 0 0;
}

/* KESKI/SISÄLTÖOSA */

#center {
	float: left;
	width: 465px;
}

#center #content {
	margin: 20px 0 20px 20px;
	font-size: 75%;
}


/* OIKEA */

#right {
	width: 200px;
	float: left;
	font-size: 75%;
}

#footer {
	width: 914px;
	background: #fff url("../../../pics/tausta_alareuna.gif") no-repeat top left;
}

#footer p {
	text-align: right;
	padding: 8px 20px 20px 0;
	font-size: 60%;
	font-weight: bold;
	color: #054C05;
}


/* SISÄLLÖN TEKSTITYYLIT */

#content a:link, #content a:visited {
	text-decoration: underline;
}

#content a:hover, #content a:active {
	text-decoration: none;
}

h1 {
	font-size: 150%;
	font-weight: bold;
	color: #054C05;
}

h2 {
	font-size: 150%;
	font-weight: normal;
	color: #054C05;
}

h3 {
	font-size: 125%;
	font-weight: bold;
	color: #054C05;
}

h4 {
	font-size: 100%;
	font-weight: bold;
	color: #054C05;
}

#googlemap {
	display: none;
}

/* Kalenterin tyylit */

table.minicalendar {
	border-collapse: collapse;
	width: 100%;
	border-bottom: 1px solid #05054C;
}

table.minicalendar td, table.minicalendar th {
	color: #fff;
	text-align: center;
}

table.minicalendar thead {
	background-color: #05054C;
}

table.minicalendar thead th {
	padding: 3px;
}

table.minicalendar tbody th, table.minicalendar tbody td {
	text-transform: uppercase;
	font-weight: normal;
}

table.minicalendar tbody th.month {
	padding: 3px;
	font-weight: bold;
}

table.minicalendar {
	background: #5454BD url("../../../pics/tausta_kalenteri.gif") repeat-x top left;
}

table.minicalendar a:link, table.minicalendar a:visited, table.minicalendar a:hover, table.minicalendar a:active {
	color: #fff;
	text-decoration: none;
	font-weight: normal;
}

table.minicalendar td.today {
	border: 1px solid #fff;
}

table.minicalendar td.event {
	text-decoration: underline;
}

table.minicalendar tbody td.otherMonth {
	color: #bbb;
}

table.minicalendar tbody tr.vko2 {
	background-color: #6A6AC6;
}

table.minicalendar tbody tr.valittu {
	background-color: #121276;
	cursor: hand;
	cursor: pointer;
}

table.minicalendar tbody tr.selectedweek {
	background-color: #121276;
}
