/* ----------------------------- Sisällön tyylit ---------------------------------- */
a:link, a:visited, .email {
color:#036;
text-decoration:none;
}

a:hover {
color:#000000;
text-decoration:none;
}


a:link img, a:visited img {

opacity: 1;
  -webkit-transition: all .2s ease-in-out;
  -moz-transition: all .2s ease-in-out;
  -ms-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out; 

}

a:hover img {
opacity: 0.9;
}

a.tele:link, a.tele:visited, a.tele:hover {
color:#000000;
text-decoration:none;
}




html {
min-height: 100%;
height: auto;
overflow-y: scroll;
}

#logo {
  padding-top: 2px;
  max-width: 300px;

  -webkit-transition: all .1s ease-in-out;
  -moz-transition: all .1s ease-in-out;
  -ms-transition: all .1s ease-in-out;
  transition: all .1s ease-in-out; 
  
  margin-left: auto;
  margin-right: auto;

}




H1 {
    color: #000000;
    display: inline;
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.7em;
    font-weight: bold;
    margin: 0;

}
h2 {
    color: #000000;
    display: inline;
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.1em;
    font-weight: bold;
    margin: 0;


  
}

li {
margin-left: 20px;
}

html {
  min-height: 100%;
  height: auto;
  overflow-y: scroll;
}

body, td { 												/* Sivuston fonttityylit */
font-family: 'Noto Sans', sans-serif;
font-size: 13px;
font-weight:normal;
color:#000000;

}


body { 															/* Sivuston tausta */
  margin-top:0px;
  margin-left:0px;
  margin-right:0px;
  margin-bottom:40px;
  
  background-color: #ffffff;

  


}

.bodybg {

}


.logoarea {

  text-align: left;

  width: 100%;
  background-color: #333333;
  padding: 10px;
  padding-left: 30px;
  
  border-top: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
}

.toppic {
display: block;
background-color: transparent;
  
padding: 0px;
  -webkit-transition: all .1s ease-in-out;
  -moz-transition: all .1s ease-in-out;
  -ms-transition: all .1s ease-in-out;
  transition: all .1s ease-in-out; 
  

}


#toppic {

vertical-align:bottom;
margin: 0px;
width: 100%;
max-width: 300px;
  -webkit-transition: all .1s ease-in-out;
  -moz-transition: all .1s ease-in-out;
  -ms-transition: all .1s ease-in-out;
  transition: all .1s ease-in-out; 
  
  margin-left: auto;
  margin-right: auto;
}

    #etusivu .toppic {

      min-height: 105px;
    }    

.bgtable, .toppic, .logoarea, #toppic  {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}


.bgtable {
background-color: #ffffff;
background-repeat: repeat;


border: 0px solid #FFFFFF;


}

.bgtable h4 {
  color: #338A9E;
  font-size: 16px;
  font-weight: normal;
  padding-bottom: 0.3em;

  margin: 0;

  display: inline-block;
}

.mainbg {
  border-top: 2px solid #ee652e;
  border-bottom: 2px solid #ee652e;
  padding: 0em;
  min-height: 320px;
  
  line-height: auto;
 
}

.outer {
 display: table;
}

.main {
  padding: 1em;
  width: auto;
  display: table-cell;
  width: 70%;


}

.main img {

  -webkit-transition: all .1s ease-in-out;
  -moz-transition: all .1s ease-in-out;
  -ms-transition: all .1s ease-in-out;
  transition: all .1s ease-in-out; 

}

.sidebar {
  display: table-cell;
  width: 26%;
  text-align: right;
  overflow: hidden;

}



.div50 {
width: 100%;
text-align: center;
}

.footerdiv {
      background-image: url('../images/fade.png');
      background-repeat: repeat-x;
  text-align: center;
  padding: 0.8em;
  color: #ffffff;
  background-color: #ffffff;
  

}

.footerdiv h2 {
  display: inline;
  font-weight: normal;
}




.main img {
  -webkit-transition: all .1s ease-in-out;
  -moz-transition: all .1s ease-in-out;
  -ms-transition: all .1s ease-in-out;
  transition: all .1s ease-in-out; 
}

#map {
  height: 250px;
  max-width: 100%;
  min-width: 200px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  border: 1px solid #C4C4C4;
}





/* Navigointi */

    #navbg {
      
      width: 100%;
      background-image: url('../images/divbg.png');
      background-repeat: repeat-x;
    }


.navi {
  -webkit-transition: none;
  -moz-transition: none;
  -ms-transition: none;
  transition: none;
  -webkit-transform-style: preserve-3d;
  overflow: hidden;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
  
  width: 100%;
  max-height: 0;
  
  max-width: 1100px;
}

.navi.opacity {
  opacity: 0; 
}

.navi.navi-show {
  max-height: 2000px;
  opacity: 1;
  -webkit-transition: all .1s ease-in-out;
  -moz-transition: all .1s ease-in-out;
  -ms-transition: all .1s ease-in-out;
  transition: all .1s ease-in-out; 
}

.navi.one-page {
  position: fixed;
  max-width: 200px; 
}

  .navi li a:link, .navi li a:visited {
  position: relative;
  display: block;

  padding: 10px;
  padding-top: 22px;
  padding-bottom: 22px;
  
  
  
  z-index: 2;
  
  font-size: 13px;
  text-transform: uppercase;
  font-family: 'Gudea', sans-serif;
  text-align: center;
  color: #ffffff;
  background-color: transparent;
  
  
  text-decoration: none;
  -webkit-transition: all .2s ease-in-out;
  -moz-transition: all .2s ease-in-out;
  -ms-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out; 
}

.navi li a:hover {
  color: #999999;
  background-color: transparent;
  
    -webkit-transition: all .2s ease-in-out;
  -moz-transition: all .2s ease-in-out;
  -ms-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out; 
}


.navi li a#active {
  color: #ffffff;
  background-color: #000000;
}

.navi li {
  
  font-size: 100%;
  position: relative;
  overflow: hidden;
  margin: 0px;
}


.navi li~li a {


border-left: 1px solid #000000;
}


/* Alavalikkonuoli */
.navi .touch-button {
  position: absolute;
  z-index: 999;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  display: inline-block;
  text-align: center; 
}

.navi .touch-button:hover {
  cursor: pointer; 
}

.navi .touch-button .navicon {
  position: relative;
  top: 1em;
  font-size: 15px;
  color: #ffffff; 
}


/* Alavalikko */
.navi li ul {
  width: 100%; 
}

.navi li ul li {
  font-size: 100%;
  position: relative;
  overflow: hidden; 
  margin: 0px;
}

.navi li ul.navi-show li {
  overflow: visible; 
}

.navi li ul li a {
  display: block;
  background: #b2b2af; 
}

.navi li ul li a:hover {
  background: #C1BDBD;
}

.navi ul li ul li a {
  background: #bfbfbc; 
}

.navi ul li ul li ul li a {
  background: #cbcbc9; 
}




/************/

.subnav {
display: table-cell;

padding-top: 2em;

}

.selectedanchor{
background: ;
}

.anylinkcss{
margin-top: 4px;



line-height: 18px;
z-index: 100;

width: 230px;
}

.anylinkcss ul {
margin: 0;
padding: 0;
list-style-type: none;
}

.anylinkcss ul li a {

font-size:16px;
color:#ffffff;
font-weight:normal;
font-family: 'Gudea', sans-serif;
text-decoration:none;

width: 100%;
color: #999999;
display: block;
text-indent: 3px;

padding: 6px;
text-decoration: none;

background: #F2F2F2;
margin-bottom: 10px;
}

.anylinkcss a.active {
color: #000000;
}

.anylinkcss a:hover {

color: #000000;
}

.anylinkshadow {
position: absolute;
left: 0;
top: 0;
z-index: 99;
background: black;
visibility: hidden;
}



/* Mobipainikkeet */
#mobi {
  display: none;
  
}


/* Lomakkeet */

input, select, textarea {
font-family:tahoma,arial,helvetica,sans-serif;
font-size:13px;
font-weight:normal;
color:#000000;
background-color:#ffffff;

border: solid 1px #000000;

-moz-border-radius:5px;
border-radius: 5px;
}

.txtinput, .selekti {		         /* teksti-inputti, nimi, puh/email  */
width:250px;
padding: 7px;
}

.tarea  { 		                  /* viestin tekstialue */
width:400px;
height:120px;
padding: 7px;
}


input[type=text], textarea {
  -webkit-transition: all 0.30s ease-in-out;
  -moz-transition: all 0.30s ease-in-out;
  -ms-transition: all 0.30s ease-in-out;
  -o-transition: all 0.30s ease-in-out;
  outline: none;

}
 
input[type=text]:focus, textarea:focus {
  box-shadow: 0 0 5px #48C2F2;
  border: 1px solid #000000;

}


.potikka  {		                 /* lÃ¤hetÃ¤-painike  */
  display: block;
  padding: 16px;
  width: 150px; 
  
    font-size: 110%;
    border-radius: 5px;
    border: 2px solid rgba(0, 0, 0, 0.2); 
  font-family: 'Questrial', sans-serif;
  text-align: center;
  color: #ffffff;
  background: #02a6eb;
  
  
  text-decoration: none;
  -webkit-transition: all .2s ease-in-out;
  -moz-transition: all .2s ease-in-out;
  -ms-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out; 
}

a.potikka:link, a.potikka:visited, .potikka a:link, .potikka a:visited {
color: #ffffff;
}

a.potikka:hover, .potikka:hover {
  color: #ffffff;
  background: #48C2F2;
  
    -webkit-transition: all .2s ease-in-out;
  -moz-transition: all .2s ease-in-out;
  -ms-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out; 
  
  text-decoration: none;
}

/********************** FADE CSS **************************/

#vaihtuvatkuvat {
	position:relative;
  max-width: 1100px;
  margin: auto;
  height: 250px;
  overflow: hidden;

}

#vaihtuvatkuvat div {
	display:none;
	position:absolute;
  top: auto;
  bottom: auto;
  min-height: 250px;
  width: 100%;
  background-color: #ffffff;


  background-repeat: no-repeat;
  background-position: center center;
  
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;

}

