/* ----------------------------- Sisällön tyylit  ---------------------------------- */

a:link, a:visited {

text-decoration:none;
color:#FFFFFF;
}

a:hover {

color:#d3d3d3;

text-decoration:none;


}


H1 { 																	/* Sivujen otsikot */	
font-size: 20px;
font-weight:normal;
margin: 0px;
display: inline;
font-family: tahoma;
}

H2 { 																	/* Sivujen alaotsikot */	
font-size: 110%;
font-weight:bold;
margin: 0px;
display: inline;
}



/* ----------------------------- Rakenteen tyylit  ---------------------------------- */

img {

max-width: 100%;
height: auto;
    transition: all 0.1s ease-in-out 0s;

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:#d3d3d3;
font-weight:normal;
}

body { 															/* Sivuston tausta */
margin-top:0px;
margin-left:0px;
margin-right:0px;
margin-bottom:40px;

background-color:#670001;

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; /* 750px */
margin-top: 0px;
margin-left: auto;
margin-right: auto;
background-color:transparent;
}

.bgtable { 												/* Sivuston yläpalkki + sisältöalue */
background-color:transparent;
border: 0px solid #666666;

}

.toppic { 												/* Yläpalkki */
height:120px; /* 100px */
width: 100%;
background-color:#ffffff;

background-image: url(../images/toppic.jpg);
background-repeat:no-repeat;
}

.mainborder {									/* sisällön taustan reuna */
padding: 15px;
background-color: transparent;
}

.mainbg {	  		 	            /* sisällön tausta */

min-height: 300px;
color:#d3d3d3;
padding-left:20px;
padding-right:10px;
padding-bottom: 20px;
padding-top: 15px;
background-color:#000000;
border: solid 1px #7b7b7b;
}

.footerdiv td {
font-family:verdana,arial,helvetica,sans-serif;
font-size:11px;
color:#000000;
font-weight:bold;
}

.footerdiv { 											/* Alapalkki */
width: 100%;
padding-left: 8px;
padding-right: 8px;
padding-top: 3px;
padding-bottom: 4px;
margin-top: 5px;


text-align: center;


border-top: solid 1px #65430f;
border-bottom: solid 1px #65430f;

background-image: url(../images/navbg.jpg);
background-repeat:repeat-x; 
}

.footerdiv a:link, .footerdiv a:visited {
color:#000000;
text-decoration:none;
}

.footerdiv a:hover {
color:#ffffff;
text-decoration:none;
}

/* ----------------------------- Navigoinnin tyylit ---------------------------------- */


.navi a:link, .navi a:visited {
display: block;
font-size:11px;
color:#000000;
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: #000000; } /* Erillinen tyyli aktiivisen sivun linkille */


.navi {   		 				       /* navigoinnin tausta */
background-color:#000080;
border-top: solid 1px #65430f;
border-bottom: solid 1px #65430f;



text-align: center;
/*
background-image: url(../images/topnavbg.jpg);
background-repeat:repeat-x;
*/
}

.navi td {

padding:0px;
background-color: transparent;
border-right: solid 1px #65430f;
background-image: url(../images/navbg.jpg);
background-repeat:repeat-x; 
}

 .navi #active { background-color: #FFDDAD; 
 
 background-position: left -10px;
 }  /* Erillinen tyyli aktiivisen sivun linkin taustalle*/

.navi td.last { 					 		
border-right: solid 0px #cccccc;
}


/* ----------------------------- Muut tyylit  ---------------------------------- */




.borderpic {
border: solid 1px #cccccc;
}

.picdiv {
height: 145px;

background-repeat: no-repeat;
background-position: left top;

border-bottom: solid 1px #000000;
}

.contentpic {
border: solid 1px #cccccc;
margin-left: 20px;
margin-bottom: 20px;
}


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:#ffffff;
background-color:#000000;
border: solid 1px #888888;
}

.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:#ffffff;
font-weight:bold;
background-color:#000080;
}