/* ----------------------------- Sisällön tyylit  ---------------------------------- */
a:link, a:visited, .email {
color:#000000;
text-decoration:none;
}

a:hover {
color:#ffffff;
text-decoration:none;
}

H1 { 			                    /* Sivujen otsikot */	
font-size: 25px;
font-weight:normal;
margin: 0px;
display: inline;
}

H2 { 													/* Sivujen alaotsikot */	
font-size: 14px;
font-weight:bold;
margin: 0px;
display: inline;
}


#toplnk {                     /* Mobiililinkin tyyli */
  position: absolute;
	text-align: right;
	font-size:12px;
	right: 0px;
	top: 0px;
	margin-right: 10px;
	margin-top: 3px;
}

#toplnk a:link, #toplnk a:visited {
color:#8f070e;
text-decoration:none;
}

#toplnk a:hover {
color:#000000;
text-decoration:none;
}

/* ----------------------------- Rakenteen tyylit  ---------------------------------- */

img {
border: 0px;
}

html {
min-height: 100%;
height: auto;
overflow-y: scroll;
}

body, td {
font-family:trebuchet ms, verdana, arial, tahoma;				/* Sivuston fonttityylit */
font-size:13px;
color:#ffffff;
font-weight:normal;
}

body { 															/* Sivuston tausta */
margin-top:0px;
margin-left:0px;
margin-right:0px;
margin-bottom:40px;

background-color:#e7df59;
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: 100%;
margin-top: 0px;
margin-left: auto;
margin-right: auto;
background-color:transparent;
}

.bgtable { 												/* Sivuston yläpalkki + sisältöalue */
padding-top: 20px;
background-color:transparent;
width: 100%;
margin-left: auto;
margin-right: auto;
background-repeat:no-repeat;
}

.mainbg {	  		 	         /* sisällön tausta */
/*background-image: url(../images/mainbg.jpg);
background-repeat: no-repeat;
background-position: center top;*/

min-height: 270px;
width: 660px;

padding-left:20px;
padding-right:20px;
padding-bottom: 10px;
padding-top: 15px;

margin-left: auto;
margin-right: auto;
margin-top: 19px; /* reunat näkyvissä -> 19px, ei reunoja -> 20px */

background-color:#8f070e;
border: solid 1px #000000;
}


.footerdiv { 											/* Alapalkki */
display: block;
width: 700px;
padding-left: 8px;
padding-right: 8px;
padding-top: 0px;
padding-bottom: 0px;
margin-top: 5px;
margin-left: auto;
margin-right: auto;

color:#999999;
font-size:12px;
font-weight:normal;
background-color:transparent;
border: solid 0px;
text-align: center;
}
/* ----------------------------- Navigoinnin tyylit ---------------------------------- */


.navi a:link, .navi a:visited {
font-size:12px;
color:#ffffff;
font-weight:bold;
text-decoration:none;
}

.navi a:hover {
color: #1f2420;
text-decoration:none;
}

.navbg {
position: absolute;
display: block;
width: 100%;

top: 280px;
border-top: 1px solid;

}

/*.navbg td {
color: #ffffff;
}*/

.navi {   		 				       /* navigoinnin tausta */
text-align: left;
padding-left: 20px;
width: 679px;
padding-top: 4px;
margin-left: auto;
margin-right: auto;

}


/* Erillinen tyyli aktiivisen sivun linkeille */
/*.navi a#active:link,  .navi a#active:visited, .navi a#active:hover { color: #ffff00; }*/

/* ----------------------------- Muut tyylit  ---------------------------------- */


.navbg, .footerdiv, .navi {     /* sivun reunat (border) */      
border-color: #000000;
}


.borderpic {
border: solid 1px #cccccc;
}


.topbg {
/*background-image:url(../images/topbg.jpg);
background-repeat: repeat-x;*/

height: 285px;

padding: 0px;
border-top: 0px solid #ffffff;
border-bottom: 0px solid #ffffff;

}

.picdiv {
height: 100%;

margin-top: 0px;
margin-bottom: 0px;
margin-left: auto;
margin-right: auto;

background-color:#8f070e;
background-repeat: no-repeat;
/* background-color:transparent; */
background-position: left bottom;

border-top: solid 1px #000000;
border-bottom: 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 #000000;
}

.txtinput, .selekti {		         /* teksti-inputti, nimi, puh/email  */
width:280px;
height:20px;
}

.tarea  { 		                  /* viestin tekstialue */
width:520px;
height:120px;
}

.potikka  {		                 /* lähetä-painike  */
width:80px;
height:22px;
color:#000000;
font-weight:bold;
background-color:#ffffff;
}