/* ----------------------------- Sisällön tyylit  ---------------------------------- */

a:link, a:visited {
color:#0083c9;
text-decoration:none;
}

a:hover {
color:#000000;
text-decoration:none;
}


H1 { 			/* Sivujen otsikot */	
font-size: 120%;
font-weight:bold;
margin: 0px;
display: inline;
}

/* ----------------------------- Rakenteen tyylit  ---------------------------------- */
html {
min-height: 100%;
height: auto;
}

body, td {
font-family:trebuchet ms, verdana, arial, tahoma;		 /* Sivuston fonttityylit */
font-size:13px;
color:#000000;
font-weight:normal;
}

body { 															/* Sivuston tausta */
margin-top:0px;
margin-left:0px;
margin-right:0px;
margin-bottom:40px;

background-color:#33b7fe;
background-image: url(../images/bg.jpg);
background-repeat:repeat-x;
}


.bodytable { 											/* Koko sivuston alue yläpalkista alapalkkiin */
width: 100%;
margin-top: 0px;
margin-left: auto;
margin-right: auto;
background-color:transparent;
}

.bgtable { 												/* Sivuston yläpalkki + sisältöalue */
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: 299px;
width: 660px;
padding-left:25px;
padding-right:25px;
padding-bottom: 20px;
padding-top: 15px;
margin-left: auto;
margin-right: auto;
margin-top: 19px; /* reunat näkyvissä -> 19px, ei reunoja -> 20px */
background-color:#ffffff;
border: solid 0px #b6beb3;
border-collapse: collapse;
}


.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;
}

#toplnk {
  position: absolute;
	text-align: right;
	font-size:12px;
	right: 0px;
	top: 0px;
	margin-right: 10px;
	margin-top: 5px;
}

#toplnk a:link, #toplnk a:visited {
color:#ffffff;
text-decoration:none;
}

#toplnk a:hover {
color:#000000;
text-decoration:none;
}


/* ----------------------------- Navigoinnin tyylit ---------------------------------- */


.navi a:link, .navi a:visited {
font-size:12px;
color:#000000;
font-weight:bold;
text-decoration:none;
}

.navi a:hover {
font-size:12px;
color: #0083c9;
font-weight:bold;
text-decoration:none;
}

.navbg {
position: absolute;
display: block;
width: 100%;

top: 280px;
border-top: 0px solid;
}

.navi {   		 				       /* navigoinnin tausta */
text-align: center;
padding-left: 0px;
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: #b6beb3;
}


.borderpic {
border: solid 1px #cccccc;
}


.topbg {                              
/*background-image:url(../images/topbg.jpg);
background-repeat: repeat-x;*/

height: 285px;
margin-top: 20px; /* reunat näkyvissä -> 19px, ei reunoja -> 20px */
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:#ffffff;
background-repeat: no-repeat;
/* background-color:transparent; */
background-position: center bottom;
}


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 #0083c9;
}

.txtinput, .selekti {		         /* teksti-inputti, nimi, puh/email  */
width:250px;
height:20px;
}

.tarea  { 		                  /* viestin tekstialue */
width:450px;
height:120px;
}

.potikka  {		                 /* lähetä-painike  */
width:80px;
height:22px;
color:#000000;
font-weight:bold;
background-color:#ffffff;
}