/* ----------------------------- Sisällön tyylit  ---------------------------------- */

a:link, a:visited, .email {
color:#4f2220;
text-decoration:none;
}

a:hover {
color:#4f2220;
text-decoration:none;
}


H1 { /* Sivujen otsikot */	
font-size: 120%;
font-weight:bold;
margin: 0px;
display: inline;
}

H2 { 																	/* Sivujen alaotsikot */	
font-size: 110%;
font-weight:bold;
margin: 0px;
display: inline;
}

/* ----------------------------- Rakenteen tyylit  ---------------------------------- */

img {
border: 0px;
}

html {
min-height: 100%;
height: auto;
}

body {
font-family: verdana, arial,helvetica,sans-serif;
font-size: 11px;
color: #000000;
font-weight: normal;

margin-top: 0px;
margin-left: 0px;
margin-right: 0px;
margin-bottom: 40px;

background-color: #ffffff;
}

#bodybg {
background-color: #ffffff;
background-image: url(../images/mbodybg.jpg);
background-repeat:no-repeat;
}

#toppic {
height: 120px;
}

#mainbg {
padding: 10px;
padding-bottom: 20px;
background-color: #ffffff;
border-bottom: 3px double #cccccc;
}

#footerdiv {
color: #666666;
text-align: center;
}


#kielinav{
margin-top:0px;
margin-left:0;
background-image: url(../images/navpassive.jpg);
}

.kieli a:link, .kieli a:visited {
font-size:11px;
color:#ffffff;
font-weight:bold;
font-size: 12px;
text-decoration:none;
text-transform:uppercase;
font-family: 'Exo 2', sans-serif;
}
.kieli #kieliactive a:link,  .kielinavi #kieliactive a:visited, .kielinavi #kieliactive  a:hover {/* Erillinen tyyli aktiivisen sivun linkille */
color:#000;
} 
.kieli td {
width: 115px;
height: 25px;
background-image: url(../images/navpassive.jpg);
background-repeat: repeat-x;
padding-left: 2px;
padding-right: 2px;
text-align: center;
margin-bottom: 0px;
font-family:verdana,arial,helvetica,sans-serif;
font-weight: bold;

opacity: 0.9;
filter: alpha(opacity=90); /* IE */
}

.kieli #kieliactive {
background-image: url(../images/navactive.jpg);
background-repeat: repeat-x;
}

.kieli td img {
vertical-align: middle;
margin-bottom: 3px;
border: 1px solid #999999;
}

/* ----------------------------- Linkkien tyylit  ---------------------------------- */
ul.navi {
list-style-type: none;
margin: 0px;
padding: 0px;
border-top: 1px solid #ffffff;
}

.navi li {

background-color: #505050;
background-image: url(../images/navpassive.jpg);
background-repeat: repeat-x;
padding-left: 2px;
padding-right: 2px;
text-align: center;
margin-bottom: 0px;
font-size: 14px;
font-family:verdana,arial,helvetica,sans-serif;
font-weight: bold;
border: 2px solid #ffffff;
font-family: 'Exo 2', sans-serif;
}

.navi li.active {
background-color: #B8B8B6;
background-image: url(../images/navactive.jpg);
background-repeat: repeat-x;
}

.navi  a:link, .navi  a:visited {
display: block;
font-size:11px;
color:#ffffff;
font-weight:bold;
font-size: 13px;
text-decoration:none;
text-transform:uppercase;
padding-top: 19px;
padding-bottom: 19px;
}

.navi  a:hover {
color:#cccccc;
font-weight:bold;
text-decoration:none;
}



ul.subnavi {
list-style-type: none;
margin: 0px;
padding: 0px;
}

.subnavi li {
background-color: #666666;
border: 0px;
padding: 3px;
padding-left: 10px;
}

.subnavi a:link, .subnavi  a:visited {
display: block;
color:#ffffff;
font-weight:normal;
text-decoration:none;
}

.subnavi a:hover {
color:#cccccc;
font-weight:normal;
text-decoration:none;
}


a#active:link,  a#active:visited, a#active:hover { color: #000000; } /* Erillinen tyyli aktiivisen sivun linkille */

/*********************************************/
#totop {
border-top: 3px double #cccccc;
background-color: transparent;
padding: 2px;
}
#totop a:link, #totop a:visited {
color:#000000;
text-decoration:none;
}

#totop a:hover {
color:#666666;
text-decoration:none;;
}

img {
	max-width: 250px;
}

.borderpic {
border: solid 1px #cccccc;
}

#varoitus {
 background-color: #999999;
 border-bottom: 1px solid #666666; 
 color: #ffffff;
 padding: 3px;
}

#varoitus a:link, #varoitus a:visited {
color:#ffffff;
text-decoration:none;
}

#varoitus a:hover {
color:#ffffff;
text-decoration:none;
}
/*********************************************/

input, select, textarea {
font-family:verdana,arial,helvetica,sans-serif;
font-size:12px;
font-weight:normal;
color:#000000;
background-color:#ffffff;
border: solid 1px #cccccc;
width: 90%;

padding: 5px;
}

.txtinput, .selekti {		         /* teksti-inputti, nimi, puh/email  */

}

.tarea  { 		                  /* viestin tekstialue */
height:120px;
}

.potikka  {		                 /* lähetä-painike  */
width: 100px;

color:#000000;
font-weight:bold;
background-color:#cccccc;
border: 1px solid #999999;
}
