/* ----------------------------- Sisällön tyylit  ---------------------------------- */

a:link, a:visited, .email {
color:#7a1f1d;
text-decoration:none;
}

a:hover {
color:#000000;
text-decoration:none;
}


H1 { 			/* Sivujen otsikot */	
font-size: 23px;
font-weight:normal;
margin: 0px;
display: inline;
font-family: tahoma;
color: #333333;
}

H2 { 																	/* Sivujen alaotsikot */	
font-size: 110%;
font-weight:bold;
margin: 0px;
display: inline;
}

/* ----------------------------- Rakenteen tyylit  ---------------------------------- */
html {
min-height: 100%;
height: auto;
overflow-y: scroll;
}

body, td {
font-family:tahoma,sans-serif;		/* Sivuston fonttityylit */
font-size:13px;
color:#333333;
font-weight:normal;
}

body { 													
margin-top:0px;
margin-left:0px;
margin-right:0px;
margin-bottom:40px;

background-color:#233004;													/* Sivuston tausta */
/*background-image: url(../images/bg.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;
margin-top: 0px;
width: 100%;

/* Sivuston keskitys */
width: 850px;
margin-left: auto;		
margin-right: auto;
background-color:#ffffff;
background-image: url(../images/toppic.jpg);
background-repeat:no-repeat;

}

.bgtable { 												/* Sivuston yläpalkki + sisältöalue */
width: 850px;
background-color:transparent;

border: 1px solid #555555;
}

.toppic { 												/* Yläpalkki */
height:180px;
}


.mainbg {	  		 	            /* sisällön tausta */
height: 350px;
padding-left:30px;
padding-right:70px;
padding-top: 45px;
background-color:transparent;
}

.footerdiv td {
font-size:12px;
font-weight:normal;

color:#666666;
}

.footerdiv { 											/* Alapalkki */
width: 99%;
padding-left: 8px;
padding-right: 8px;
padding-top: 3px;
padding-bottom: 4px;
margin-top: 0px;
height:20px;
text-align: center;

background-color: transparent;
border-top: 3px double #cccccc;
}

.footerdiv a:link, .footerdiv a:visited {
color:#666666;
text-decoration:none;
}

.footerdiv a:hover {
color:#000000;
text-decoration:none;
}

/* ----------------------------- Navigoinnin tyylit ---------------------------------- */


.navi a:link, .navi a:visited {
display: block;
font-size:13px;
color:#eeeeee;
font-weight:normal;
text-decoration:none;
font-family: tahoma;
padding: 4px;
}

.navi a:hover {
color:#cccccc;
}

.navi b {
color:#477500;	                   
font-size:10px;
font-weight:bold;
}

.navi {   		 				       /* navigoinnin tausta */
width: 170px;
padding-top: 40px;
text-align: center;


}

.navi div, .navi div.last {

cursor: pointer;
background-color: transparent;
border: 0px solid #999999;
background-repeat:repeat-x;
margin-bottom: 2px;

background-color:transparent;
background-image: url(../images/navi.png);
background-repeat:no-repeat;
background-position: top center;

height:30px;

}

.navi div:hover, .navi div.last:hover {
cursor: pointer;
background-color:transparent;
background-image: url(../images/navi2.png);
background-repeat:no-repeat;
background-position: top center;
}


/* Erillinen tyyli aktiivisen sivun linkeille */
/*.navi #active { 
background-color: #666666; 
background-image: url(); 
}
.navi #active a:link,  .navi #active a:visited, .navi #active  a:hover { color: #ffff00; }*/

/* ----------------------------- Muut tyylit  ---------------------------------- */


.toppic, .navbg, .navi {     /* sivun reunat (border) */      
border-color: #666666;
}


.borderpic {
border: solid 1px #cccccc;
}

.contpic {
display: block;
margin-top: 20px;
margin-right: 20px;
margin-bottom: 20px;
border: 1px solid #cccccc;
}

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;
}