/* ----------------------------- Sisällön tyylit ---------------------------------- */
a:link, a:visited, .email {
color:#38590E;
text-decoration:none;
}

a:hover {
color:#000000;
text-decoration:none;
}


H1 { 																	/* Sivujen otsikot */	
font-family: tahoma;
font-size: 20px;
font-weight:normal;
margin: 0px;
display: inline;
}

H2 { 																	/* Sivujen alaotsikot */	
font-size: 12px;
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:tahoma,sans-serif;
font-size:15px;
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/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: 900px; /* 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: 0px solid #cccccc;

}

.toppic { 												/* Yläpalkki */
height:120px; /* 100px */
width: 100%;
background-color:transparent;

background-image: url(../images/toppic.png);
background-repeat:no-repeat;
}


.mainbg {												/* Sisältö */
padding-left:20px;
padding-right:20px;
padding-top: 20px;
padding-bottom: 20px;
background-color:#dac490;
background-image: url(../images/mainbg.jpg);
background-repeat:repeat-x;
height: 360px;
border: 1px solid #382417;




}

.footerdiv td {
color:#ffffff;
font-size:12px;
font-weight:normal;
}

.footerdiv { 											/* Alapalkki */
width: 100%;
padding-left: 8px;
padding-right: 8px;
padding-top: 3px;
padding-bottom: 4px;
margin-top: 0px;
background-color:#7A4734;
border: 1px solid #382417;
text-align: center;

background-image: url(../images/navbg.jpg);
background-repeat:repeat-x;
}

.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-family: tahoma;
font-size:16px;
color:#ffffff;
font-weight:normal;
text-decoration:none;
padding: 4px;
}

.navi a:hover {
color:#ffffff;
text-decoration:none;
}

.navi #active a:link,  .navi #active a:visited, .navi #active  a:hover { color: #ffffff; } /* Erillinen tyyli aktiivisen sivun linkille */


.navi {   		 				       /* navigoinnin tausta */
background-color:#ffffff;
border-left: solid 1px;
border-right: solid 1px;
border-top: solid 1px;
text-align: center;
background-image: url(../images/navbg.jpg);
background-repeat:repeat-x;
}

.navi td {
padding:0px;
background-color: transparent;
border-right: solid 1px #382417;
/* 
background-image: url(../images/topnavtdbg.png);
background-repeat:repeat-x; 
*/

background-image: url('');
background-repeat:repeat-x; 
background-position: bottom;

}
.navi td:hover {
background-image: url(../images/navtd.png);
}
.navi #active { background-color: transparent;
background-image: url(../images/navactive.png);


 }/* Erillinen tyyli aktiivisen sivun linkin taustalle*/

.navi td.last { 					 		
border-right: solid 0px #cccccc;
}


/* ----------------------------- Muut tyylit  ---------------------------------- */


.toppic, .topnavbg, .footerdiv, .footertd, .navi {     /* sivun reunat (border) */      
border-color: #382417;
}


.borderpic {
border: solid 1px #333333;
-moz-box-shadow: 0 0 5px #333333;
-webkit-box-shadow: 0 0 5px #333333;
box-shadow: 0 0 5px #333333;

border-radius: 20px;
}

.contentpic {
border: solid 0px #cccccc;
position: absolute;
right: 1px;
bottom: 26px;
}


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 #000000;
}

.txtinput, .selekti {		         /* teksti-inputti, nimi, puh/email  */
width:250px;
height:20px;
}

.tarea  { 		                  /* viestin tekstialue */
width:400px;
height:120px;
}

.potikka  {		                 /* lähetä-painike  */

font-size: 14px;
color:#ffffff;
font-weight:bold;
background-color:#304914;
border: 1px solid #000000;
}