/* ----------------------------- Sisällön tyylit  ---------------------------------- */

a:link, a:visited, .email {
color:#456eaa;
text-decoration:none;
}

a:hover {
color:#000000;
text-decoration:none;
}


H1 { 			/* Sivujen otsikot */	
font-size: 20px;
font-weight:bold;
margin: 0px;
display: inline;

color: #000;
}

H2 { 																	/* Sivujen alaotsikot */	
font-size: 16px;
font-weight:bold;
margin: 0px;
display: inline;
}


/* ----------------------------- Rakenteen tyylit  ---------------------------------- */

img {
border: 0px;
}

html {
min-height: 100%;
height: auto;
overflow-y: scroll;
}

body, td {
/* Sivuston fonttityylit */
font-family:trebuchet ms, verdana, arial, tahoma;
font-size:15px;
color:#000000;
font-weight:normal;
}

body { 															/* Sivuston tausta */
margin-top:0px;
margin-left:0px;
margin-right:0px;
margin-bottom:40px;
background-image: url('../images/bg.jpg'); 
background-repeat:repeat-x;
background-color:#ffffff;
}

.bg {           /* Koko taustan peittävä taustakuva (images/bg.jpg) */
display: none; /* ota käyttöön -> poista tämä rivi */
position:fixed; 
top:0; left:0; 
width:100%; 
}

.bodytable { 											/* Koko sivuston alue yläpalkista alapalkkiin */
position: relative;

width: 80%;
min-width: 950px;
max-width: 980px;

z-index: 1;

margin-top: 0px;
margin-left: auto;
margin-right: auto;

background-color:transparent;
border: 1px solid #133669;
border-top:0px;
}

.bgtable { 												/* Sivuston yläpalkki + sisältöalue */
width: 100%;
background-color:#c0d0ef;



}


.picdiv { 												/* Yläpalkki */
width: 100%; 									/* Sivuston leveys */
									/* Sivuston minimileveys, jos esim 90% sivu */
height:200px;
background-color: transparent;
background-repeat:no-repeat;
background-position: left;

border-top: 1px solid #133669;
border-right: 0px solid;
}


.mainbg {	  		 	            /* sisällön tausta */
min-height: 340px;
line-height:130%;
background-color:#c0d0ef;
padding-left:30px;
padding-right:25px;
padding-bottom: 20px;
border-left: 0px solid #777777;
border-right: 0px solid #777777;
}

.footerdiv { 											/* Alapalkki */
width: 100%;
height: 25px;

padding-top: 1px;
padding-bottom: 1px;
padding-right: 10px;
background-color:#5f87c3;
text-align: center;
border-top: 1px solid #133669;
/*background-image: url(../images/footerbg.jpg);
background-repeat: repeat-x;*/
}

.footerdiv td {
font-size:13px;
color:#000000;
font-weight:normal;
}

.footerdiv a:link, .footerdiv a:visited {
font-size:11px;
color:#ffffff;
text-decoration:none;
}

.footerdiv a:hover {
color:#000000;
text-decoration:none;
}

/* ----------------------------- Varjostusrakenteet ---------------------------------- */

.leftmainfade {

position: absolute;
left: -20px; top: 0px;
width: 20px;
height: 500px;

background-image: url('../images/lmainfade.png');
background-repeat:no-repeat;
background-position: right top;
}

.rightmainfade {
position: absolute;
right: -20px; top: 0px;
width: 20px;
height: 500px;

background-image: url('../images/rmainfade.png');
background-repeat:no-repeat;
background-position: left top;
}


/* ----------------------------- Navigoinnin tyylit ---------------------------------- */


.topnavtd a:link, .topnavtd a:visited {
font-family:"Lucida Grande","Lucida Sans Unicode",arial,sans-serif;
font-size:12px;
color:#ffffff;
font-weight:normal;
text-decoration:none;
}

.topnavtd a:hover {
color:#ffffff;
text-decoration:none;
}

.navbg {
padding-left: 25px;
padding-right: 25px;
padding-top: 20px;
padding-bottom: 0px;


background-color: #c0d0ef;

}

.navi {
margin-left: 0; /* Vasen reuna (left: 0 | right: auto), Keskitys (left: auto | right: auto), Oikea reuna (left: auto | right: 0) */
margin-right: auto;
margin-bottom: 0px;

}

.topnavtd {
border-top: solid 0px #cccccc;
white-space:nowrap;
background-image: url('../images/n2.png');
background-repeat:repeat-x;
background-position: bottom;
color:#666666;				/* topnav-td:ssä olevien nav.nuolten väri*/
background-color:transparent;

padding-left:3px;
padding-right:3px;
height: 25px;
}

.tnl {
background-image: url('../images/n1.png');
background-repeat:no-repeat;
background-position: left top;
width: 12px; 
}

.tnr {
background-image: url('../images/n1.png');
background-repeat:no-repeat;
background-position: right bottom;
width: 12px;
}

.topnavtd.active a:link, .topnavtd.active a:visited {
color:#ffffff;
}

.tnl.active {
background-image: url('../images/a1.png');
background-position: left bottom;
background-repeat:no-repeat;
}

.topnavtd.active {
background-image: url('../images/a2.png');
}

.tnr.active {
background-image: url('../images/a1.png');
background-repeat:no-repeat;
background-position: right bottom;
}

.active { /* IE6-korjaus */
background-image: url('../images/a2.png'); 
}
/* ----------------------------- Muut tyylit  ---------------------------------- */




.picdiv, .footerdiv, .navi, .topnavbg, .mainbg {     /* sivun reunat (border) */      
border-color: #133669;
}


.borderpic {
border: solid 1px #cccccc;
}

.logopic {
float: right;
width:200px;
height:280px;
text-align:center;
padding-top:20px;
margin-top:20px;
margin-left: 20px;

background-image: url('../images/logopicbg.jpg'); 
background-repeat:no-repeat;
}


img.imagemail {
vertical-align: bottom;
}

#laskuri {
font-size: 120%;
margin: 30px;
}
/* ----------------------------- Lomakkeen tyylit  ---------------------------------- */

input, select, textarea {
font-family:verdana,arial,helvetica,sans-serif;
font-size:11px;
font-weight:normal;
color:#000000;
background-color:#ffffff;
border: solid 1px #133669;
}

.txtinput, .selekti {		         /* teksti-inputti, nimi, puh/email  */
width:250px;
height:20px;
}

.tarea  { 		                  /* viestin tekstialue */
width:400px;
height:120px;
}

.potikka  {		                 /* lähetä-painike  */
width:80px;
height:22px;
color:#000000;
font-weight:bold;
background-color:#cccccc;
}
