/* ----------------------------- Sisällön tyylit  ---------------------------------- */

a:link, a:visited, .email {
color:#c12e1e;
text-decoration:none;
}

a:hover {
color:#000000;
text-decoration:none;
}

H1 { 																	/* Sivujen otsikot */	
font-size: 120%;
font-weight:bold;
margin: 0px;
display: inline;

}

H2 { 																	/* Sivujen alaotsikot */	
font-size: 14px;
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;
letter-spacing: 0px;
}

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:no-repeat;
background-position:top left;
}


.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: 0px;
margin-left: auto;
margin-right: auto;
background-color:transparent;
}

.bgtable { 												/* Sivuston yläpalkki + sisältöalue */
background-color:transparent;
width: 100%;
border: solid 1px #000000;
border-top: 0px solid #cccccc;
}

.toppic { 												/* Yläpalkki */
height:250px; /* 250px */
width: 100%;
background-color:#c12e1e;

background-image: url(../images/toppic.jpg);
background-repeat:no-repeat;
}


.mainbg {												/* Sisältö */
padding-left:15px;
padding-right:10px;
padding-top: 10px;
padding-bottom: 20px;
background-color:#ffffff;
height: 340px;
line-height: 21px;
background-image: url(../images/mainbg.jpg);
background-repeat:no-repeat;
background-position:top right;
}

.footerdiv td {
color:#ffffff;
font-size:11px;
font-weight:normal;
}

.footerdiv { 											/* Alapalkki */
width: 100%;
padding-left: 8px;
padding-right: 8px;
padding-top: 3px;
padding-bottom: 4px;
margin-top: 10px;
background-color:#ffffff;
border: solid 0px;
text-align: center;
background-image: url(../images/footerbg.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: #ffffff;
font-weight:bold;
text-decoration:none;
padding: 4px;
}

.navi a:hover {
color:#FFCC33;
text-decoration:none;
}

.navi #active a:link,  .navi #active a:visited, .navi #active  a:hover { color:#FFCC33; } /* Erillinen tyyli aktiivisen sivun linkille */


.navbg {   		 				     /* vasen 'palkki' */
width: 24.2%;
background-color:#c12e1e;
color:#000000;
border-right: solid 1px;
background-image: url(../images/lnavbg.jpg);
background-repeat:repeat-y;
}

.navi {

width: 100%;
}

.navi td {
height:22px;
padding-left:15px;
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: #000000;
}


.borderpic {
border: solid 1px #cccccc;
}

.contentpic {
margin-top: 10px;
border: solid 1px #000000;
}


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;
}