/* ----------------------------- Sisällön tyylit  ---------------------------------- */

a:link, a:visited, .email {
color:#c6290e;
text-decoration:none;
}

a:hover {
color:#000000;
text-decoration:none;
}


H1 { 			/* Sivujen otsikot */	
font-size: 20px;
font-weight: bold;
margin: 0px;
display: inline;
font-family: tahoma;
color: ;
}

H2 { 																	/* Sivujen alaotsikot */	
font-size: 100%;
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:#000000;
font-weight:normal;
}

body { 													
margin-top:0px;
margin-left:0px;
margin-right:0px;
margin-bottom:40px;

background-color:#f9eec1;													/* 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: 840px;
margin-left: auto;		
margin-right: auto;*/

background-image: url(../images/toppic.jpg);
background-repeat:no-repeat;
}

.bgtable { 												/* Sivuston yläpalkki + sisältöalue */
width: 850px;
background-color:transparent;
border: 0px solid #cccccc;

}

.toppic { 												/* Yläpalkki */
height:150px;
}


.mainbg {	  		 	            /* sisällön tausta */
height: 300px;
padding-left:30px;
padding-right:70px;
padding-top: 45px;
background-color:transparent;
}

.footerdiv td {
font-size:12px;
font-weight:normal;

color: #c6290e;
}

.footerdiv { 											/* Alapalkki */
width: 100%;
padding-left: 8px;
padding-right: 8px;
padding-top: 8px;
padding-bottom: 4px;
margin-top: 0px;
height:20px;
text-align: center;

background-color: transparent;
border-top: 3px double #c6290e;
}

.footerdiv a:link, .footerdiv a:visited {
color:#c6290e;
text-decoration:none;
}

.footerdiv a:hover {
color:#000000;
text-decoration:none;
}

/* ----------------------------- Navigoinnin tyylit ---------------------------------- */


.navi a:link, .navi a:visited {
display: block;
font-size:14px;
color:#ffffff;
font-weight:normal;
text-decoration:none;
font-family: tahoma;
padding: 4px;
}

.navi a:hover {
color:#f99989;
}

.navi b {
color:#477500;	                   
font-size:10px;
font-weight:bold;
}

.navi {   		 				       /* navigoinnin tausta */
width: 18%;
padding-top: 20px;
text-align: center;

background-color:transparent;
background-image: url(../images/lnavbg.gif);
background-repeat:repeat-y;
background-position: top center;
}

.navi div, .navi div.last {

cursor: pointer;
background-color: #de3416;
border: 1px solid #c6290e;
background-image: url(../images/lnavtdbg.jpg);
background-repeat:repeat-x;
margin-bottom: 5px;
}

.navi div:hover, .navi div.last:hover {
cursor: pointer;
background-image: url();
}


/* 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:#f8eec1;
border: solid 1px #c6290e;
}

.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;
}