/* ----------------------------- Sisällön tyylit  ---------------------------------- */

a:link, a:visited, .email {
color:#a0420a;
text-decoration:none;
}

a:hover {
color:#000000;
text-decoration:none;
}

H1 { 																	/* Sivujen otsikot */	
font-size: 12px;
font-weight:bold;
margin: 0px;


}

H2 { 																	/* Sivujen alaotsikot */	
font-size: 13px;
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;
}


.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 #663300;
/*background-image: url(../images/pohja.jpg);
background-repeat:no-repeat;*/
}

.toppic { 												/* Yläpalkki */
height:100px;
background-color:#ffffff;
border-top: solid 0px;
border-left: solid 0px;
border-right: solid 0px;
background-image: url(../images/toppic.jpg);
background-repeat:no-repeat;
}


.mainbg {												/* Sisältö */
padding-left:15px;
padding-right:15px;
padding-top: 15px;
padding-bottom: 10px;
background-color:#ffffff;

background-image: url(../images/mainbg.jpg);
background-repeat:no-repeat;
background-position: top; 
height: 250px;
}

.footerdiv td {
font-size:11px;
color:#ffffff;
font-weight:normal;
}

.footerdiv { 											/* Alapalkki */
width: 100%;
padding-left: 8px;
padding-right: 8px;
padding-top: 3px;
padding-bottom: 4px;
margin-top: 5px;
background-color:#b18454;
border: solid 1px;
text-align: center;
}

.footerdiv a:link, .footerdiv a:visited {
color:#ffffff;
text-decoration:none;
}

.footerdiv a:hover {
color:#000000;
text-decoration:none;
}

/* ----------------------------- Navigoinnin tyylit ---------------------------------- */


.navi a:link, .navi a:visited {

display: block;
font-size:12px;
color:#ffffff;
font-weight:bold;
text-decoration:none;
padding: 4px;
}

.navi a:hover {
color:#000000;
text-decoration:none;
}

.navi #active a:link,  .navi #active a:visited, .navi #active  a:hover { color: #ffffff; } /* Erillinen tyyli aktiivisen sivun linkille */


.navbg {   		 				     /* vasen 'palkki' */
width: 24.1%;
background-color:#b18454;

background-image: url(../images/lnavbg.jpg);
background-repeat:no-repeat;
background-position: top; 
color:#000000;
border-right: solid 0px;
}

.navi {
margin-top: 0px;
width: 100%;
}

.navi td {
height:22px;
padding-left:10px;
padding-right:10px;
color:#000000;				      /* lnav-td:ssä olevien nav.nuolten väri */
background-color: transparent;
border-top: solid 0px #cccccc;
}

/*.navi #active { background-color: black; }*//* Erillinen tyyli aktiivisen sivun linkin taustalle*/

.navi td.last { 					 		
border-top: solid 0px #cccccc;
border-bottom: solid 0px #cccccc;
}


/* ----------------------------- Muut tyylit  ---------------------------------- */


.toppic, .navbg, .footerdiv, .footertd, .navi {     /* sivun reunat (border) */      
border-color: #663300;
}


.borderpic {
border: solid 1px #cccccc;
}

.picdiv {
height: 145px;
border-top: solid 0px #cccccc;
background-repeat: no-repeat;
background-position: right top;
}


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;
}