

/* Tyylit */
body {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	margin:0;
	color: #474647;
}


/* Tausta elementit */

#bg_x{
	background: url(../img/bg_x.jpg) repeat-x top #ffffff;
}

#bg_x_top{
	background: url(../img/div_bg_top.jpg) no-repeat top center;
}

#div_header{
	background: url(../img/div_header.jpg) no-repeat top center;
}

#div_header_front{
	background: url(../img/div_header_front.jpg) no-repeat top center;
}

#div_bg_bot{
	background: url(../img/bg_x_bot.jpg) repeat-x bottom;
}

#div_ukko{
	background: url(../img/bg_ukko.png) no-repeat bottom center;
}



#head_txt{
	margin-left: 25px;
	margin-top: 30px;
}

#head_txt_yht{
	margin-left: 25px;
	margin-top: 30px;
}

#head_news{
	margin-left: 22px;
	margin-top: 19px;
}

#head_img{
	margin-left: 99px;
	position: relative;
}

#head_img_front{
	margin-left: 0px;
	width: 683px;
}

#front_nostot{
	margin-top: 0px;
}

#front_nostotekstit{
	margin-top: 14px;
	line-height: 110%;
}

#front_nostotekstit td{
	background: url(../img/dots.gif) repeat-y left top;
}

#front_nostotekstit td div{
	margin-left: 10;
	margin-right: 10;
}

#front_nostotekstit td div h2{
	margin-top: 0px;
	font-family: 'gillsans', arial, sans-serif;
	font-size: 18px;
	color: #5897c2;
	margin-bottom: 5px;
}

#menu{
	margin-left: 84px;
}

#logo{
	float: left;
}

#top_yht{
	margin-left: 30px;
	margin-top: 2px;
	float: left;
	font-family: Verdana, arial;
	font-size: 10px;
	color: #4a494a;
	letter-spacing: 1px;
	width: 550px;
	height: 20px;

}

p{
	margin:10px 0;
}

a, a:link, a:visited, a:active{
	color: #c53665;
	text-decoration: none;
}

/* Tällä pakotetaan editorin sisällön linkit oikean näköisiksi
   Eli yleensä sama tyyli kuin tuossa yllä a-elementille, mutta jokaisen perään !important */
.mceContentBody a,.mceContentBody a:link, .mceContentBody a:visited{
	color: #c53665 !important;
	text-decoration: none !important;
}
.mceContentBody{
	background:transparent !important;
	text-align: left !important;
	height:auto !important;
}



a.news, a.news:link, a.news:visited {
	color:#c53665;
	text-decoration: none;
}

td {
	font-size: 11px;
	line-height: 170%;
}

.login {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;

}

input, select, textarea {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
}
.text{
	width:100%;
}

h1 {
	font-family: 'gillsanslight', arial, sans-serif;
	font-size: 26px;
	color: #1f3351;
	
}

h1:first-child{
	padding-top: 0px;
	margin-top: 0px;
}

h2 {
	font-family: 'gillsans', arial, sans-serif;
	font-size: 20px;
	color: #1f3351;
}

h3 {
	font-size: 12px;
	color: #000000;
}

h4 {
	color: #458AD7;
}

h5 {
	color: #458AD7;
}

h6 {
	color: #458AD7;
}


.error_message{
	color:#ab0000;
	margin:10px 0 20px 0;
}
.success_message{
	color:#368b1c;
	margin:10px 0 20px 0;
}

/* Dropdownmenu */
.menuarea{
	position:absolute;
	display:none;
	width:180px;
	border:1px solid #c3c3c3;
	background-color:white;
	padding-bottom:5px;
}

#menutable .menutop_a{
	color:#6D3A78;
	padding:0 4px;
}
#menutable .menutop{
	color:#3c3c3c;
	padding:0 4px;
}

#menutable .menusub_a{
	color:#6D3A78;
	padding:0 4px;
	font-weight:bold;
	display:block;
}
#menutable .menusub{
	color:#3c3c3c;
	padding:0 4px;
	display:block;
}

#head_txt h2 {
	font-family: 'gillsanslight', arial, sans-serif;
	font-size: 32px;
	color: #f1f2f0;
	margin-bottom: 5px;
}

#head_txt_yht h2 {
	font-family: 'gillsanslight', arial, sans-serif;
	font-size: 32px;
	color: #f1f2f0;
	margin-bottom: 5px;
}

#head_news h2 {
	font-family: 'gillsans', arial, sans-serif;
	font-size: 18px;
	color: #5897c2;
	margin-bottom: 5px;
}

#head_txt{
	font-family: 'gillsanslight', arial, sans-serif;
	font-size: 35px;
	color: #f1f2f0;
	line-height: 120%;
}

#head_otsikko{
	padding-top: 20px;
	padding-left: 20px;
}

#head_txt_full{
	position: relative;
}

#head_txt_full h1{
	font-family: 'gillsanslight', arial, sans-serif;
	font-size: 40px;
	color: #f1f2f0;
	line-height: 120%;
	width: 600px;
}

#head_txt_yht{
	font-family: Arial;
	color: #f1f2f0;
	line-height: 120%;
}

#head_top_slogan{
	text-align: right;
	width: 1006px;
	position: absolute;
	right: 2px;
	z-index: 5;
}

#head_bottom_text{

}

/* Valikko */

#menutable{
	margin-bottom: 11px;
	height: 40px;
}

#menutable td a.mainlink, a.mainlink:link, a.mainlink:visited, a.mainlink:active{
	font-family: 'gillsans', arial, sans-serif;
	font-size: 14px;
	color: #4a494a;
}

#menutable td a.mainlink_sel, a.mainlink_sel:link, a.mainlink_sel:visited, a.mainlink_sel:active{
	font-family: 'gillsans', arial, sans-serif;
	font-size: 14px;
	color: #ffffff;
}


#menu_bc_l{
	background: url(../img/menu/bc_l.gif) no-repeat right bottom;
}

#menu_bc_r{
	background: url(../img/menu/bc_r.gif) no-repeat left bottom;
}

/* Valikko 2 */

#menutable2{
	margin-bottom: 100px;
	width: 215px;
}

#menutable2 td.link2{
	height: 45px;
	width: 215px;
}

#menutable2 td.link2_sel{
	height: 45px;
	width: 215px;
}


#menutable2 td.link2_sel{
	background: url(../img/menu/table2_bg_sel.gif) no-repeat right top;
}

#menutable2 td.link2{
	background: url(../img/menu/table2_bg.gif) no-repeat right top;
}

a.link_desc{
	font-family: 'gillsans', arial, sans-serif;
	font-size: 19px;
	display: block;
	padding-bottom: 10px;
	color: #1f3351;
}

#menutable2 td.link2_sel a{
	font-family: “Trebuchet MS”, arial, sans-serif;
	font-weight: 300;
	font-size: 14px;
	color: #ffffff;
	display: block;
	margin-left: 13px;
	
}

#menutable2 td.link2 a{
	font-family: “Trebuchet MS”, arial, sans-serif;
	font-weight: 300;
	font-size: 14px;
	color: #016ba9;
	display: block;
	margin-left: 13px;
}



.bc{
	background: #999898;
}

#main{
	float: left;
	margin: 0px;
	margin-left: 20px;
	padding: 0px;
	line-height: 170%;
	margin-bottom: 100px;
	width: 460px;
}

#main_yht{
	float: left;
	margin: 0px;
	margin-left: 20px;
	padding: 0px;
	line-height: 170%;
	margin-bottom: 100px;
	width: 570px;
}

#main_full{
	margin: 0px;
	margin-left: 20px;
	padding: 0px;
	line-height: 170%;
	margin-bottom: 100px;
}


#oikea_palsta{
	position: absolute;
	right: 10px;
	float: right;
	width: 240px;
	
}

#oikea_palsta_yht{
	float: right;
	width: 165px;
	position: relative;
	
}

#footer_left{
	float: left;
	margin-top: 24px;
	font-size: 11px;
	color: #fff;
}

#footer_left a{
	color: #fff;
}

#hakukentta{
	margin-left: 10px;
	padding-left: 5px;
	padding-right: 5px;
	width: 104px;
	height: 18px;
	background: url('../img/hakukentta_bg.gif') repeat-x top left;
	border: none;
}

#footer_right{
	width: 500px;
	float: right;
	margin-top: 24px;
	font-size: 11px;
	color: #fff;
}

#footer_right strong{
	font-size: 10px;
	color: #7c7c7c;
	font-weight: 300;
}

#footer_right a{
	color: #fff;
}

#news_cont{
	margin-right: 30px;
	font-size: 10px;
	line-height: 175%;
}

#news_cont a{
	font-size: 10px;
}


#front_right{
	background: url(../img/dots.gif) repeat-y left top;
}

#front_right div{
	margin-left: 15px;
	margin-right: 40px;
	margin-top: 24px;
}

#referenssi_main{
	position: relative; 
	width: 435px; 
	float: left;
	margin-bottom: 100px;
}

#referenssi_box{
	position: relative;
	float: right;
	width: 310px;
	position: relative;
	background: url('../img/referenssit_bg.jpg') no-repeat top left;
	margin-bottom: 50px;
	
}

#referenssi_box_cont{
	margin-left: 2px;
	position: relative;
	margin-top: 20px;
	min-height:428px;
  	height:auto !important;
  	height:428px;
	font-size: 10px;
}

#referenssi_box td{
	font-size: 10px;
}


#referenssi_box a{
	font-size: 10px;
	color: #484748;
	text-decoration: underline;
}

#referenssi_box div h2{
	margin-top: 0px;
	margin-left: 20px;
	font-family: 'gillsans', arial, sans-serif;
	font-size: 20px;
	color: #5897c2;
	margin-bottom: 5px;
}

#ref_img{
	position: relative;
	margin-top: 0px;
	padding-top: 0px;
	vertical-align: top;
}

#ref_link{
	position: absolute;
	z-index: 5;
	float: right;
	bottom: 0;
	right: 0;
}

#head_right_bot{
	position: absolute;
	z-index: 5;
	float: right;
	bottom: 0;
	right: 0;
	margin-right: 1px;
}

.hlink{
	height: 26px;
	font-family: 'Trebuchet MS', arial, sans-serif;
	font-size: 17px;
	font-style: normal;
	font-weight: normal;
	color: #ffffff;
}

.hlink a, .hlink a:link, .hlink a:visited, .hlink a:active{
	display: block;
	font-family: 'Trebuchet MS', arial, sans-serif;
	font-size: 17px;
	font-style: normal;
	font-weight: normal;
	color: #ffffff;
	line-height: 23px;
	background: url(../img/head_right_bot.png) right top no-repeat;
	padding-right: 43px; 
}

#lang{
	margin-top: 2px;
	float: right;
}

/* Kartta */

#map {
    margin:0;
    padding:0;
    width:164px;
    height:330px;
    background:url(../img/kartta_uusi.gif);
    font-size:8pt;
}

#map li {
    margin:0;
    padding:0;
    list-style:none;
}

#map li a {
    position:absolute;
    display:block;
    /*
       Specifying a background image
       (a 1px by 1px transparent gif)
       fixes a bug in older versions of
       IE that causeses the block to not
       render at its full dimensions.
    */
    background:url(../img/vpala.gif);
}

#map li a span { display:none; }

#map li a:hover span {
    position:relative;
    display:block;
    width:40px;
    left:-20px;
    top:-20px;
    text-decoration:none;
    color:#fff;
}

#map li a.turku:hover span {
    position:relative;
    display:block;
    width:30px;
    left:-10px;
    top:-20px;
    text-decoration:none;
    color:#fff;
}

#map li a.hameenlinna:hover span {
    position:relative;
    display:block;
    width:30px;
    left:-25px;
    top:-20px;
    text-decoration:none;
    color:#fff;
}

#map li a.kuopio:hover span {
    position:relative;
    display:block;
    width:30px;
    left:-20px;
    top:-20px;
    text-decoration:none;
    color:#fff;
}

#map a.tampere {
    top:272px;
    left:52px;
    width:15px;
    height:15px;
}

#map a.turku {
    top:302px;
    left:40px;
    width:15px;
    height:15px;
}

#map a.hameenlinna {
    top:295px;
    left:57px;
    width:15px;
    height:15px;
}

#map a.lahti {
    top:291px;
    left:73px;
    width:15px;
    height:10px;
}

#map a.vantaa {
    top:307px;
    left:76px;
    width:15px;
    height:10px;
}

#map a.kuopio {
    top:257px;
    left:100px;
    width:15px;
    height:10px;
}

#map a.joensuu {
    top:259px;
    left:125px;
    width:15px;
    height:10px;
}

#map a.imatra {
    top:281px;
    left:117px;
    width:15px;
    height:10px;
}

#map a.jarvenpaa {
    top:301px;
    left:71px;
    width:7px;
    height:10px;
}
