/* ----------------------------- Sisällön tyylit  ---------------------------------- */

a:link, a:visited, .email {
color:#000000;
text-decoration:none;
}

a:hover {
color:#373737;
text-decoration:none;
}


H1 { 			/* Sivujen otsikot */	
font-size: 26px;
font-weight:normal;
margin: 0px;
display: inline;
font-family:tahoma,sans-serif;
color: #000000;
}

H2 { 																	/* Sivujen alaotsikot */	
font-size: 16px;
font-weight:bold;
margin: 0px;
display: inline;
}


/* ----------------------------- Rakenteen tyylit  ---------------------------------- */
html {
min-height: 100%;
height: auto;
overflow-y: scroll;
}

body, td {
/* Sivuston fonttityylit */
font-family:tahoma, 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.png);
background-repeat: repeat-x;
background-color:#373737;
}

.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: 1000px;
z-index: 1;
margin-top: 0px;
margin-left: auto;
margin-right: auto;
background-color:transparent;
background-image: url(../images/pohja.jpg);
background-repeat: no-repeat;
}

.bgtable { 												/* Sivuston yläpalkki + sisältöalue */
width: 100%;
background-color:transparent;
border: 0px solid #cccccc;
}


.picdiv { 												/* Yläpalkki */
width: 980px; 									/* Sivuston leveys */
/*min-width: 920px;		*/							/* Sivuston minimileveys, jos esim 90% sivu */
height:190px;
background-color:transparent;
background-repeat:no-repeat;
background-position: left;

border-left: 0px solid;
border-right: 0px solid;

}


.mainbg {	  		 	            /* sisällön tausta */
height: 340px;
line-height:130%;
background-color:#ffffff;
padding-left:30px;
padding-right:30px;
padding-bottom: 20px;
border-left: 0px solid #777777;
border-right: 0px solid #777777;

background-image: url(../images/mainbg.png);
background-repeat: repeat-x;
background-position: top;
}

.footerdiv { 											/* Alapalkki */
width: 100%;
height: 26px;
white-space:nowrap;
padding-top: 1px;
padding-bottom: 1px;
padding-right: 10px;
background-color: #ffffff;
text-align: center;
border: 0px solid;
}

.footerdiv td {
font-size:13px;
color:#000000;
font-weight:normal;
}

.footerdiv a:link, .footerdiv a:visited {
font-size:11px;
color:#000000;
text-decoration:none;
}

.footerdiv a:hover {
color:#000000;
text-decoration:none;
}


/* ----------------------------- Varjostusrakenteet ---------------------------------- */

.side {
min-width: 5px;
}

.leftupperfade, .leftbannerfade {
width: 5px;
background-image: url('../images/lfade.png');
background-repeat:repeat-y;
background-position: right;
}

.rightupperfade, .rightbannerfade {
width: 5px;
background-image: url('../images/rfade.png');
background-repeat:repeat-y;
background-position: left;
}

.bannerbg {
/*background-image: url('../images/bannerbg.jpg');
background-repeat:repeat-x;*/
}

.leftmainfade {
background-image: url('../images/lmainfade.png');
background-repeat:no-repeat;
background-position: right top;
}
.rightmainfade {
background-image: url('../images/rmainfade.png');
background-repeat:no-repeat;
background-position: left top;
}


/* ----------------------------- Navigoinnin tyylit ---------------------------------- */


.topnavtd a:link, .topnavtd a:visited {
font-family:tahoma,sans-serif;
font-size:14px;
color:#ffffff;
font-weight:normal;
text-decoration:none;
}

.topnavtd a:hover {
color:#ffffff;
text-decoration:none;
}

.navbg {
height: 45px;
padding-left: 25px;
vertical-align: bottom;
border-left: 0px solid;
border-right: 0px solid;
border-bottom: solid 1px #5f5f5f;
}

.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: #777777;
}


.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.png'); 
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 #cccccc;
}

.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;
}
