/* ----------------------------- Sisällön tyylit  ---------------------------------- */

a:link, a:visited, .email {
color:#FF1493;
text-decoration:none;
}

a:hover {
color:#000000;
text-decoration:none;
}


H1 { 			/* Sivujen otsikot */	
font-size: 23px;
font-weight:normal;
margin: 0px;
display: inline;
font-family: tahoma;
color: #666666;
}

H2 { 																	/* Sivujen alaotsikot */	
font-size: 110%;
font-weight:bold;
margin: 0px;
display: inline;
}

/* ----------------------------- Rakenteen tyylit  ---------------------------------- */

img {
border: 0px;
}

html {
min-height: 100%;
height: auto;
overflow-y: scroll;
}

body, td {
font-family:tahoma,sans-serif;		/* Sivuston fonttityylit */
font-size: 14px;
color:#000000;
font-weight:normal;
}

body { 													
margin-top:0px;
margin-left:0px;
margin-right:0px;
margin-bottom:40px;

background: #ffffff url("../images/bg.jpg") no-repeat center top fixed; 
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}

.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;
margin-top: 0px;
width: 100%;

/* Sivuston keskitys */
width: 1000px;
margin-left: auto;		
margin-right: auto;

background-image: url(../images/toppic.png);
background-repeat:no-repeat;
}

.bgtable { 												/* Sivuston yläpalkki + sisältöalue */
width: 1000px;
background-color:transparent;
border: 0px solid #cccccc;

}

.toppic { 												/* Yläpalkki */
height:199px;
}


.mainbg {	  		 	            /* sisällön tausta */
height: 350px;
padding-left:2px;
padding-right:2px;
padding-top: 2px;
padding-bottom: 0px;
background-color:#ffffff;
border: 1px solid #000000;
-moz-box-shadow: 0 0 15px #666666;
-webkit-box-shadow: 0 0 15px #666666;
box-shadow: 0 0 15px #666666;

letter-spacing: 0.7px;
line-height: 20px;
}

.footerdiv td {
font-size:12px;
font-weight:normal;

color:#000000;
}

.footerdiv { 											/* Alapalkki */
width: 100%;
padding-left: 8px;
padding-right: 8px;
padding-top: 3px;
padding-bottom: 4px;
margin-top: 0px;
height:20px;
text-align: center;

background-color: transparent;
border-top: 0px double #cccccc;
}

.footerdiv a:link, .footerdiv a:visited {
color:#E1007A;
text-decoration:none;
}

.footerdiv a:hover {
color:#000000;
text-decoration:none;
}

/* ----------------------------- Navigoinnin tyylit ---------------------------------- */


.navi a:link, .navi a:visited {
display: block;
font-size:12px;
color:#ffffff;
font-weight:bold;
letter-spacing: 1px;
text-decoration:none;
font-family: Arial, sans-serif;
padding: 10px;

text-transform: uppercase;
}

.navi a:hover {
color:#ffffff;
}

.navi b {
color:#477500;	                   
font-size:10px;
font-weight:bold;
}

.navi {   		 				       /* navigoinnin tausta */
width: 18%;
padding-top: 20px;
text-align: center;

background-color:transparent;

}

.navi div, .navi div.last {

cursor: pointer;
background-color: #000000;
border: 1px solid #000000;
background-image: url(../images/lnavtdbg.jpg);
background-repeat:repeat-x;
margin-bottom: 5px;


}

.navi div:hover, .navi div.last:hover {
background-color: #000000;
cursor: pointer;
background-position: 0 -5px;

-moz-box-shadow: 0 0 5px #ffffff;
-webkit-box-shadow: 0 0 5px #ffffff;
box-shadow: 0 0 5px #ffffff;
}


/* Erillinen tyyli aktiivisen sivun linkeille */
.navi #active { 
background-color: #e2007a; 
background-image: url(../images/lnavtdbg_a.jpg);

border: 1px solid #e2007a;
}
.navi #active a:link,  .navi #active a:visited, .navi #active  a:hover { color: #ffffff; }

/* ----------------------------- Muut tyylit  ---------------------------------- */


.toppic, .navbg, .navi {     /* sivun reunat (border) */      
border-color: #666666;
}


.borderpic {
border: solid 1px #cccccc;
}

.contpic {
display: block;
margin-top: 20px;
margin-right: 20px;
margin-bottom: 20px;
border: 1px solid #cccccc;
}

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;
}