/* ----------------------------- Sisällön tyylit  ---------------------------------- */

a:link, a:visited, .email {
color:#666666;
text-decoration:underline;
}

a:hover {
color:#666666;
text-decoration:underline;
}

H1, .title  { 																	/* Sivujen otsikot */	
font-size: 29px;
font-weight:normal;
margin: 0px;
display: inline;
color: #999999;
}

H2 { 																	/* Sivujen alaotsikot */	
font-size: 14px;
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 */
color: #666666;
font-family: arial,verdana,helvetica,sans-serif;
font-size: 14px;
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/bg.jpg);
background-repeat:repeat-x;*/
}


.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: 750px;
margin-top: 20px;
margin-left: auto;
margin-right: auto;
background-color:transparent;
}

.bgtable { 												/* Sivuston yläpalkki + sisältöalue */
background-color:transparent;
width: 100%;
border: 1px solid #5C743D;
border-bottom: 0px;
}

.toppic { 												/* Yläpalkki */
height:135px; /* 250px */
width: 100%;
background-color:#99CC66;

background-image: url(../images/toppic.jpg);
background-repeat:no-repeat;

border-bottom: 0px solid #5C743D;
}


.mainbg {												/* Sisältö */
padding-left:20px;
padding-right:20px;
padding-top: 20px;
padding-bottom: 20px;
background-color:#F4FFE4;
height: 120px;
 text-align: justify;
}

.footerdiv td {
    color: #993300;
    font-family: arial,verdana,helvetica,sans-serif;
    font-size: 13px;
    font-weight: normal;
}

.footerdiv { 											/* Alapalkki */
width: 100%;
padding-left: 8px;
padding-right: 8px;
padding-top: 3px;
padding-bottom: 4px;
margin-top: 0px;
background-color:#99CC66;
border: solid 1px #5C743D;
border-top: 0px;
text-align: center;
}

.footerdiv a:link, .footerdiv a:visited {
color:#000000;
text-decoration:none;
}

.footerdiv a:hover {
color:#000000;
text-decoration:none;
}

/* ----------------------------- Navigoinnin tyylit ---------------------------------- */


.navi a:link, .navi a:visited {
display: block;
   color: #D5EDB3;
    display: block;
    font: bold 11px/16px Arial,Helvetica,sans-serif;

font-weight:bold;
text-decoration:none;
padding: 8px 6px 10px 20px;
letter-spacing: 0.1em;}

.navi a:hover {
color: darkred;
text-decoration:none;
}

.navi #active a:link,  .navi #active a:visited, .navi #active  a:hover { color: darkred; } /* Erillinen tyyli aktiivisen sivun linkille */


.navbg {   		 				     /* vasen 'palkki' */
width: 24%;
background-color:#5C743D;
color:#000000;
border-right: dotted 0px;
padding-top: 30px;
}

.navi {

width: 100%;
}

.navi td {
height:20px;
padding-left:5px;
padding-right:10px;
color:#000000;				      /* lnav-td:ssä olevien nav.nuolten väri */
background-color: transparent;
border-top: solid 1px #F4FFE4;
}

.navi td:hover { background-color: #99CC66; }

.navi #active { background-color: #99CC66; }

.navi td.last { 					 		
border-top: solid 1px #F4FFE4;
border-bottom: solid 1px #F4FFE4;
}


/* ----------------------------- Muut tyylit  ---------------------------------- */



.borderpic {
border: solid 1px #cccccc;
}

.contentpic {
margin-top: 0px;
border: solid 0px #000000;

height: 248px;
width: 260px;
}

.slogan {
background-color: #D5EDB3;
    border-left: 1px solid #D5EDB3;
    border-top: 1px solid #D5EDB3;
    color: #666680;
    font-family: arial,verdana,helvetica,sans-serif;
    font-size: 15px;

    font-weight: bold;
    padding-left: 7px;
    padding-right: 7px;
    text-align: center;
}


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;
}