/* ----------------------------- Sisällön tyylit ---------------------------------- */
a:link, a:visited, .email {
color:#ffdc52;
text-decoration:none;
}

a:hover {
color:#000000;
text-decoration:none;
}


H1 { 																	/* Sivujen otsikot */	
font-size: 120%;
font-weight:bold;
margin: 0px;
display: inline;
color: #ffdc52;
}

H2 { 																	/* Sivujen alaotsikot */	
font-size: 12px;
font-weight:bold;
margin: 0px;
display: inline;
color: #ffdc52;
}

/* ----------------------------- 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:#ffffff;
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/bodybg.jpg);
background-repeat:repeat;
}


.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: 20px;
margin-left: auto;
margin-right: auto;
background-color:transparent;
background-color:transparent;
background-image: url(../images/footerbg.jpg);
background-repeat:no-repeat;
background-position: bottom;
}

.bgtable { 												/* Sivuston yläpalkki + sisältöalue */
background-color:transparent;
width: 100%;
background-image: url(../images/mainbg.jpg);
background-repeat:repeat-y;
background-position: top right;

}

.toppic { 												/* Yläpalkki */
height:100px; /* 100px */
width: 100%;
background-color:#ffffff;

background-image: url(../images/toppic.jpg);
background-repeat:no-repeat;
}


.mainbg {												/* Sisältö */
padding-left:45px;
padding-right:20px;
padding-top: 20px;
padding-bottom: 20px;
background-color:transparent;
height: 360px;


}

.footerdiv td {
color:#ffffff;
font-size:12px;
font-weight:bold;
}

.footerdiv { 											/* Alapalkki */
width: 100%;
padding-left: 8px;
padding-right: 25px;
padding-top: 3px;
padding-bottom: 45px;
margin-top: 0px;
background-color:transparent;
border: solid 0px;
text-align: center;
}

.footerdiv a:link, .footerdiv a:visited {

text-decoration:none;
}

.footerdiv a:hover {

text-decoration:none;
}

/* ----------------------------- Navigoinnin tyylit ---------------------------------- */


.navi a:link, .navi a:visited {
display: block;
font-size:13px;
color:#ffffff;
font-weight:bold;
text-decoration:none;
font-family: arial;
}

.navi a:hover {
color:#ffdc52;
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:transparent;
width: 100%;
/* margin-left: auto; margin-right: 0;*/
border-left: solid 0px;
border-right: solid 0px;
border-top: solid 0px;
text-align: center;
background-image: url(../images/navbg.jpg);
background-repeat:no-repeat;
}

.navi td {
padding:5px;
padding-left:18px;
padding-right:18px;
background-color: transparent;
border-right: solid 0px #cccccc;
/* 
background-image: url(../images/topnavtdbg.png);
background-repeat:repeat-x; 
*/
}

/*.navi #active { background-color: #efefef; } 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: #cccccc;
}


.borderpic {
border: solid 1px #cccccc;
}

.contentpic {
border: solid 1px #bd9b53;
margin-left: 10px;
margin-right: 10px;
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:#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;
}