html, body, table#maintable { height:100%; } /* tämä täytyy olla, jotta strict-doctypellä saa tablen 100% korkeaksi */

body {margin:0px; padding:0px;}
body, p, td, th, div, a, textarea, iframe {font-family:Arial, Helvetica, sans-serif; color:#444444; font-size:14px; line-height:19px;}
a, a:active, a:visited {text-decoration:underline; color:#e73558;}
/* a:visited {color:#7ebf43;} */
a:hover {text-decoration:none;}

h1 {/*color:#53c68a;*/ color:#339c95; border-bottom:dotted 1px #bbbbee; margin:0px; padding:0px 0px 5px 0px; font-weight:normal; font-size:23px; line-height:25px;}
h2 {color:#009cbf; margin:20px 0px 0px 0px; padding:0px; font-weight:normal; font-size:20px;}
h3 {color:#53c68a;}
h4 {color:#589adc;}
ul {}
img {border:none;}
hr { color: #78eae2; width: 100%; height: 1px; background-color: #78eae2; border: 0; margin-top:0px;}
p.ingressi {font-weight:bold; padding-bottom:15px;}
p.greenbox {border:solid 2px #67a530; padding:5px;}

table#maintable {width:100%; background:transparent;}
table#subtable {height:100%; width:980px; background:transparent url('../img/bgtop.jpg') no-repeat; padding:0px;}
table#subtable .frontcol1 {background:transparent;width:640px; height:1px; padding:0px;}
table#subtable .frontcol2 {background:transparent;width:294px; height:1px; padding:0px;}
table#subtable .subcol1 {background:transparent;width:734px; height:1px; padding:0px;}
table#subtable .subcol2 {background:transparent;width:200px; height:1px; padding:0px;}
td.lefttd {width:33%; background:#ffffff url('../img/amk_bg.jpg') repeat-x fixed; vertical-align:top;}
td#centertd {xheight:100%; padding:0px; width:980px; background:transparent url('../img/amk_bg.jpg') repeat-x fixed; vertical-align:top;}
td.righttd {width:33%; background:#ffffff url('../img/amk_bg.jpg') repeat-x fixed; vertical-align:top;}
.navi a, .navi a:visited {display:block; color:#ffffff; text-decoration:none; text-transform:uppercase; font-weight:bold; font-size:13px; padding:5px 8px;}
a#aktiivi {border-bottom:solid 2px #78b126; border-top:solid 3px #61a029; text-decoration:underline;}
#footer_lefttd {height:80px; background:#00a7cc url('../img/shading.jpg') top left repeat-x;}
#footer_middletd {background:#00a7cc url('../img/shading.jpg') top left repeat-x;}
#footer_links a {color:#aafdff; font-size:0.9em; font-weight:bold;}

#mainlinkstd {width:214px; height:305px; background:#f8f8f6 url('../img/bg_alanavi2.jpg') repeat-y;}
a.mainlink, a.mainlink:visited {text-decoration:none; text-align:center; display:block; margin:0px; padding:3px 0px; color:#7b7b6e; border:solid 1px #e1e2df; border-bottom:none; background:#ffffff url('../img/bg_mainlink.jpg') repeat-x;}
a.mainlink:hover {background:#f8f8f7;}
/* a.mainlink:active, a.mainlink:focus {font-weight:bold;} */

.aklink {color:#9E9E9E; font-size:0.8em; line-height:12px; padding:10px; background:#d2eaf9 url('../img/ak_link_bg.jpg') top left repeat-x;}
.aklink:hover {background:#fae2d2 url('../img/ak_link_bg_hover.jpg') top left repeat-x;}

#rss {background:#00a6cc url('../img/ak_title_bg.jpg') repeat-x; padding:1px 0px 5px 10px;}
#rss .title {color:#ffffff; font-size:0.9em; font-weight:bold; text-decoration:none;}
.rssnews {color:#9E9E9E; font-size:0.8em; line-height:12px; padding:0px 10px 10px 10px; background:#d2eaf9 url('../img/ak_link_bg.jpg') top left repeat-x;}
.rssdate {font-size: 0.8em; color:#9E9E9E;}
.rss p {font-size: 0.9em;}
.rss a {font-size: 0.9em; color:#319fd4; text-decoration: none;}
.rss a:hover {font-size: 0.9em; color:#319fd4; text-decoration: underline;}

#main_navi2 {position:absolute; top:58px; letter-spacing:0px; font-size:15px; font-weight:bold; width:970px;}
#main_navi2 div {float:right;}
#main_navi2 a.home {border-left:none;}
#main_navi2 a, #main_navi2 a:visited {display:block; float:left; border-left:1px solid #cccccc;   text-decoration:none; padding:0px 15px 0px 15px; font-size:15px; color:#2d95b7;}
#main_navi2 a:hover, #main_navi2 a#main_navi_active {color:#5bbfab;  text-decoration:none; }


#topmenu div {color: #ffffff; font-size: 0.9em;}
#topmenu a, #topmenu a:visited {text-decoration:none; color:#ffffff;}
#topmenu a:hover {text-decoration:underline; color:#ffffff;}
#topmenu .rightmenu {background:transparent; width:934px; height:30px; padding:0px; text-align:right;}
.rightmenu div a {font-weight:bold; font-size:13px; letter-spacing:-0.1px;}

#logo {margin-left:30px; margin-top:22px;}
#drop {height:237px; margin:-6px 0px -4px 0px;}
#amk {height:253px; padding:0px; background:#57cfb4 url('../img/amkamkamk.jpg') top left no-repeat;}
#kuvaus {font-size:16px; padding:0px 30px; color:#ffffff;}
#frontbar {background:#57cfb4 url('../img/etusivu_palkki_bg.jpg') bottom repeat-x;}
#frontbar div {height: 25px;}
.aktitle {background:#00a6cc url('../img/ak_title_bg.jpg') repeat-x; padding:1px 0px 5px 10px;}
.ajankohtaista, a.ajankohtaista:visited {color:#ffffff; font-size:0.9em; font-weight:bold; text-decoration:none;}

#subpagebar {height:28px; padding:0px; background:#61cbb6 url('../img/alasivu.gif') top left no-repeat;}
#subpagetitle {height:30px; padding:0px; background:#ffffff; border-left:2px solid #61cbb6; border-right:2px solid #61cbb6;}
#subpagetitle div {width:252px; text-align:center; margin:5px 0px 10px 0px; font-size:1.5em; color:#43aca5;}

#breadcrumbs {height:17px; padding:0px; background:#ffffff; border-left:2px solid #61cbb6; border-right:2px solid #61cbb6;}
#breadcrumbs div {margin:0 0 0 243px; font-size:0.7em;}

#leftnaviarea {background:#f2f2eb;}
#leftnaviarea h1 {background:#bab9a3; color:#f6f6f1; margin:0px; padding:10px 12px; font-size:18px; font-weight:normal;}
#leftnaviarea h1 a, #leftnaviarea h1 a:visited {color:#f6f6f1; font-size:18px; text-decoration:none;}
#leftnaviarea h1 a:hover {text-decoration:underline;}
#alanavit {padding:2px; margin-top:20px; margin-left:0px; font-size:11px; width:185px;}
#alanavit a, #alanavit a:visited {color:#3e87b0; display:block; padding:3px 8px 5px 5px; background:#ffffff url('../img/bgleftnavi3.jpg') no-repeat left bottom; border-top:solid 1px #ffffff; text-decoration:none; font-size:11px;}
#alanavit a:hover {color:#015777;}
#alanavit #leftnaviotsikko {display:block; padding:4px 5px; background:#69b0cf url('../img/bgleftnavi4.jpg') no-repeat; color:#ffffff; font-weight:bold; text-decoration:none; font-size:15px; }
#aktiivianavi { border-left:solid 5px #5092cb;}

#maincontent {vertical-align:top; background:#ffffff; border-left:2px solid #57cfc6; width:auto; padding:40px 33px 0px 3px; background:#ffffff;}
#maincontent h1 {margin-top:0px; padding-top:0px; border-bottom:none;}
#maincontent ul {list-style: square;}
#rightcontent {background:#ffffff; padding:45px 0 0 3px; border-right:2px solid #57cfb4;}
#rightcontent1 {background:#ffffff; padding-top:92px; border-right:2px solid #61cbb6;}

#pageinfo {border:2px solid #61cbb6; border-bottom:2px solid #61cbb6; border-top:none; background:#ffffff;}
#pageinfo div {margin:0px 30px; padding:0px 0px 25px 0px; color:#42b2aa; font-size:0.8em;}
#pageinfo a {color:#42b2aa; font-size:1em; text-decoration:none;}

#quote_tk {height:154px; background:url('../img/sidepic_tk.jpg') top right no-repeat; padding:30px 15px 10px 30px; color:#ffffff; font-weight:bold; font-size: 13px;}
#quote_tk_sv {height:154px; background:url('../img/sidepic_tk.jpg') top right no-repeat; padding:20px 15px 10px 30px; color:#ffffff; font-weight:bold; font-size: 13px;}
#quote_tk_en {height:154px; background:url('../img/sidepic_tk.jpg') top right no-repeat; padding:12px 15px 10px 30px; color:#ffffff; font-weight:bold; font-size: 13px;}
#quote_hakijalle {width:200px; height:154px; background:url('../img/sidepic_hakijalle.jpg') top right no-repeat;}
#quote_hakijalle div {text-align:left; color:#ffffff; font-weight:bold; font-size: 13px; padding:12px 17px 17px 17px;}
#quote_hakijalle_sv {width:200px; height:154px; background:url('../img/sidepic_hakijalle.jpg') top right no-repeat;}
#quote_hakijalle_sv div {text-align:left; color:#ffffff; font-weight:bold; font-size: 13px; padding:12px 17px 17px 17px;}
#quote_medialle {width:200px; height:154px; background:url('../img/sidepic_medialle.jpg') top right no-repeat;}
#quote_medialle div {text-align:left; color:#ffffff; font-weight:bold; font-size: 13px; padding:17px;}
#quote_medialle_sv {width:200px; height:154px; background:url('../img/sidepic_medialle.jpg') top right no-repeat;}
#quote_medialle_sv div {text-align:left; color:#ffffff; font-weight:bold; font-size: 13px; padding: 12px 17px 17px 17px;}

#subnav {width:200px; background:#ffffff; padding-top:50px; padding-bottom: 20px;}
#subnav ul {list-style: url(../img/polku_arrow.gif); padding:0px; margin:15px 5px 10px 52px; clear:all;}
#subnav li {color:#e53557; font-size: 13px; padding:0px 0px 8px 0px; text-align:left; text-decoration: none;}
#subnav .li_active {text-decoration: underline;}
#subnav .li_inactive {text-decoration: none;}
#subnav a {font-size: 13px;}
#subnav a.li_inactive {text-decoration: none;}
#subnav a.li_inactive:hover {text-decoration: underline;}

#subnav .navilaatta1, #subnav .navilaatta2, #subnav .navilaatta3, #subnav .navilaatta4 {display:block; margin-bottom:2px; font-weight:normal; background:#d2eafa url(../img/sub_navi_bg.jpg) left top repeat-x; float:left; margin-left:27px; width:172px; border-left:6px solid #61cbb6; font-size: 13px; color:#e53557; padding:8px 5px 8px 5px; text-align:left; text-decoration:none;}
#subnav .navilaatta1_active, #subnav .navilaatta2_active, #subnav .navilaatta3_active, #subnav .navilaatta4_active {display:block; margin-bottom:2px; font-weight:bold; background:#d2eafa url(../img/sub_navi_bg.jpg) left top repeat-x; float:left; margin-left:27px; width:172px; border-left:6px solid #61cbb6; font-size: 13px; color:#e53557;  padding:8px 5px 8px 5px; text-align:left; text-decoration:none;}
#subnav a.navilaatta1, #subnav a.navilaatta2, #subnav a.navilaatta3, #subnav a.navilaatta4 {font-weight: normal; background: #d2eafa url(../img/sub_navi_bg.jpg) left top repeat-x;}
#subnav a.navilaatta1:hover, #subnav a.navilaatta2:hover, #subnav a.navilaatta3:hover, #subnav a.navilaatta4:hover {background:#d2eafa;}

a.news, a.news:visited, a.rss, a.rss:visited {font-size:1.1em; text-decoration:none; color:#009fbf; line-height:14px; display:block; padding-right:20px; }
a.news:hover, a.rss:hover {text-decoration:underline;}
a.rss, a.rss:visited { background:transparent url('../img/ak_link_arrow2.gif') right center no-repeat; }

a.location, a.location:visited {color:#5e4c2b; text-decoration:none; font-size:1.1em;}
a.location:hover {text-decoration:underline;}

#polku {margin-top:-12px; padding-bottom:3px; font-size:10px; color:#b0af9c;}
#polku a, #polku a:visited {font-size:10px; color:#b0af9c;}

#tools {text-align:right; font-size:10px; color:#b0af9c; margin-top:15px; height:27px;}
#tools a, #tools a:visited {font-size:10px; color:#b0af9c;}

#rightlinkarea, #leftlinkarea {background:#ffffff;}
#rightlinkarea h1, #leftlinkarea h1 {background:#bab9a3; color:#f6f6f1; margin:0px; padding:3px 12px; font-size:18px; font-weight:normal;}
#rightlinkarea h2, #leftlinkarea h2 {color:#7b7b6e; font-size:15px; font-weight:bold; margin-bottom:10px;}
.rightlinks {margin:0px; padding:12px;}
.rightlinks a, .rightlinks a:visited {background:transparent url('../img/link_arrow.gif') no-repeat left top; display:block; padding-left:17px; font-size:11px;}

.infobox {text-align:left; border-bottom:dashed 1px #cac9b3; margin:0px 10px; font-size:11px;}
.infobox td, .infobox th {vertical-align:top; font-size:11px; color:#626157;}

.factbox {border-bottom:dashed 1px #cac9b3; margin:0px 12px; padding:10px 0px; font-size:11px; color:#626157;}
.factbox p {font-size:11px; color:#626157; margin:0px 0px 5px 0px; padding:0px;}

#bottombar {color:#ffffff; font-size:11px; text-align:center; padding:25px; background:#70848e url('../img/bg_bottombar.gif') repeat-x;}
#bottombar a, #bottombar a:visited {color:#ffffff; font-size:11px; text-decoration:none;}

.thumbnail {margin:2px; opacity:0.8; filter:alpha(opacity=80);}
.thumbnail:hover {opacity: 1; filter: alpha(opacity=100);}
input, textarea, select {border:solid 1px #efeee9;}

#maintext {width:100%; height:100%; background:#ffffff;}
#maintext1 {padding-left:25px;}
#maintext2 {height:100%; padding-left:23px; padding-right:0px; padding-bottom:0px;}
#maintext3 {height:100%; padding:20px 0px 0px 10px;}

table#regiontaulu td {padding:0px 0px 20px 0px;}
table#regiontaulu td h4 {margin:0px; font-size:16px; color:#34649a; height:45px;}
table#regiontaulu td p {margin:0px; padding:0px; font-size:12px; color:#000000;}

#newslines {text-align:left; margin:13px; color:#757367; font-size:12px;}
#newslines a {font-size:11px;}

/* sisällysvalikko (katso myös .naviitem) */
.sisluettelo {margin-top:15px; padding:0 5px;  border:solid 1px #c1d3d9; background:#f9f9ff;}
.sisluettelo span {color:#009cbf; position:relative; top:-9px; left:5px; width:50px; background:#ffffff;}
.sisluettelo ul {margin:0px; padding-top:0px;}
.sisluettelo ul ul {margin-left:8px; list-style:disc;}
.sisluettelo ul ul ul {margin-left:8px; list-style:circle;}
#aktiivisivulinkki {background:#ffffff; color:#000000; text-decoration:none;}

/* Kulmien pyöristykset */
.rounded {-moz-border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px; -webkit-border-radius:5px; border-radius:5px; border-radius:5px;}
.toprounded, #subpagebar {-moz-border-radius-topleft:5px; -moz-border-radius-topright:5px; -webkit-border-top-left-radius:5px; -webkit-border-top-right-radius:5px; border-top-left-radius:5px; border-top-right-radius:5px;}
.bottomrounded, #pageinfo {-moz-border-radius-bottomleft:5px; -moz-border-radius-bottomright:5px; -webkit-border-bottom-left-radius:5px; -webkit-border-bottom-right-radius:5px; border-bottom-left-radius:5px; border-bottom-right-radius:5px;}
.topleftrounded, #kuvaus {-moz-border-radius-topleft:5px; -webkit-border-top-left-radius:5px; border-top-left-radius:5px;}
.toprightrounded, .aktitle {-moz-border-radius-topright:5px; -webkit-border-top-right-radius:5px; border-top-right-radius:5px;}
.bottomleftrounded {-moz-border-radius-bottomleft:5px; -webkit-border-bottom-left-radius:5px; border-bottom-left-radius:5px;}
.bottomrightrounded {-moz-border-radius-bottomright:5px; -webkit-border-bottom-right-radius:5px; border-bottom-right-radius:5px;}

/* Lomakkeet */
button, .button {border: 1px #999999 solid; background:#61cbb6; color:#ffffff; font-weight:bold; font-size:11px; border:none; padding: 3px;}
button:hover, .button:hover {background:#48b59f;}
input.text, textarea, select {border: 1px #999999 solid;}
textarea {font-size:1.1em;}
input[type="file"] {font-size:1em;}
input[type="text"] {border:solid 1px #a1b3b9;}
input[type="text"]:hover, input.text:hover, textarea:hover, textarea:hover, select:hover {border-color:#015777;}
input[type="submit"] {border: 1px #999999 solid; background:#61cbb6; color:#ffffff; font-weight:bold; font-size:12px; border:none; padding: 3px;}

@media print {
	html, body, table#maintable { height:auto; margin:0px; padding:0px; background:#ffffff;}
	table#maintable {width:660px; margin:0px;}
	table#subtable {width:660px; margin:0px;}
	td#centertd {width:660px; padding:0px; margin:0px; background:#ffffff; background-image:none; vertical-align:top;}
	td.righttd, td.lefttd, .noprint, #leftlinkarea, #leftnaviarea, #rightlinkarea, #righttitle, table.navi, #bottombar, #kuvapalkki, #logotaulu, #linktoptop, #palstajakorivi, #titlediv {display:none;}

	#maincontent {width:660px; padding:0px; background-image:none;}
	#maintext1 {padding:0px;}
	#maintext2 {padding-left:0px;}
	#maintext3 {}
}