/* ----------------------------- Sisällön tyylit  ---------------------------------- */

a:link, a:visited, .email {
color:#de0029;
text-decoration:none;
}

a:hover {
color:#000000;
text-decoration:none;
}


h1 { 			/* Sivujen otsikot */
font-weight:bold;
font-size:14pt;
padding-top:0px;
padding-left:20px;
height:10px;
color:#de0029;
background-color:transparent;
border-bottom: solid 0px #000000;
}

H2 { 																	/* Sivujen alaotsikot */	
font-size: 110%;
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:verdana,arial,helvetica,sans-serif;
font-size:11px;
color:#000000;
font-weight:normal;
}

body { 															/* Sivuston tausta */
margin-top:0px;
margin-left:0px;
margin-right:0px;
margin-bottom:40px;

background-color:#ffffff;
background-image: url(../images/bodybg.jpg);
background-repeat: repeat-x;
background-position: top;
}

.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;
z-index: 1;
width: 100%;
margin-top: 0px;
margin-left: auto;
margin-right: auto;
background-color:transparent;
}

.bgtable { 												/* Sivuston yläpalkki + sisältöalue */
background-color:transparent;
width: 100%;
background-repeat:no-repeat;
}

.toppic { 												/* Yläpalkki */
height:80px;
background-color:transparent;
background-image: url(../images/toppic.jpg);
background-repeat:no-repeat;
}

.mainbg {												/* Sisällön tausta */
height: 220px;
padding-top:20px;
padding-left:20px;
padding-right:20px;
padding-bottom:15px;
background-color:#ffffff;
min-width:730px;
}

.footerdiv td {
color:#ffffff;
font-size:11px;
font-weight:bold;
}

.footerdiv { 											/* Alapalkki */
width: 100%;
min-width: 843px;
padding-left: 8px;
padding-right: 8px;
padding-top: 3px;
padding-bottom: 4px;
margin-top: 0px;
background-color:#000000;
border-top: solid 0px #999999;
border-bottom: solid 0px #999999;
text-align: center;
}

.footerdiv a:link, .footerdiv a:visited {
color:#ffffff;
text-decoration:none;
}

.footerdiv a:hover {
color:#fb0331;
text-decoration:none;
}

/* ----------------------------- Navigoinnin tyylit ---------------------------------- */

.navi a:link, .navi a:visited {
display: block;
font-size:11px;
color:#ffffff;
font-weight:bold;
text-decoration:none;
}

.navi a:hover {
color:#000000;
text-decoration:none;
}

.lnavbg {   		 				     /* vasen 'palkki' */
width: 20%;
color:#000000;
border-right: dashed 1px #000000;
/*
background-image: url(../images/lnavbg.jpg);
background-repeat:repeat-y;
*/
}

.rnavbg {   		 				     /* vasen 'palkki' */
width: 22%;
color:#000000;
border-left: solid 0px;
/*
background-image: url(../images/lnavbg.jpg);
background-repeat:repeat-y;
*/
}

.navi {
margin-top: 0px;
width: 100%;

}

.navi td {
height:27px;
padding-left:40px;
padding-right:10px;
color:#FFFFFF;			      /* lnav-td:ssä olevien nav.nuolten väri */
font-weight:bold;
background-color: #de0029;
text-align: right;
white-space:nowrap;
/*
background-image: url(../images/lnavtdbg.jpg);
background-repeat:repeat-x; 
*/
}

.navi td { 	
border-bottom: solid 2px #ffffff;
}

.navi td.last {
border-bottom: solid 1px #999999;
}


/* Erillinen tyyli aktiivisen sivun linkeille */
/*.navi #active { background-color: #666666; }*/
.navi #active a:link, .navi #active a:visited, .navi #active  a:hover { color: #ffffff; } 


/* ----------------------------- Muut tyylit  ---------------------------------- */

.borderpic {
border: solid 1px #000000;
}

.picdiv {
height: 202px;
border-top: solid 0px;
border-bottom: solid 0px;
background-color: #ffffff;
background-repeat: no-repeat;
background-position: left top;
}


img.imagemail {
vertical-align: bottom;
}

.toppic, .footerdiv, .lnavbg, .rnavbg, .picdiv, .mainbg {     /* sivun reunat (border) */      
border-color: #000000;
}

ul {
margin: 0px;
}

#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:#efefef;
border: solid 1px #cccccc;
}

.txtinput, .selekti {		         /* teksti-inputti, nimi, puh/email  */
width:280px;
height:20px;
}

.tarea  { 		                  /* viestin tekstialue */
width:500px;
height:120px;
}

.potikka  {		                 /* lähetä-painike  */
width:80px;
height:22px;
color:#000000;
font-weight:bold;
background-color:#efefef;
border-top: solid 1px #ffffff;
border-bottom: ridge 2px #333333;
border-left: solid 1px #ffffff;
border-right: ridge 2px #333333;
}