/*********************************************
 *
 *
 *              S - koko
 *
 *
 ********************************************/

@media all and  (max-width: 716px) {

body { 															/* Sivuston tausta */

    background-color: #ffffff;
background-image: url('');
}




.toppic {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 170px;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;

border-bottom: 0px solid #000000;


text-align: center;
z-index: 10;
}

.toppic2 {
text-align: center;
z-index: 10;
}

.logot_big {
display: none;
}

.logot_small {
position: absolute;
right: 0;
display: block;
padding: 10px;

background-color: transparent;
opacity: 0.9;


z-index: 99;
}




.slogan {
font-family: 'Satisfy', cursive;
position: absolute;
bottom: 0;
right: 0;
padding: 10px;

font-size: 20px;
text-shadow: 1px 1px 3px rgba(0, 0, 0, 1);
}




#logo {
  display: block;
  position: absolute;
  top: 10%;


  
  width: 100%;
  max-height: 120px;
  max-width: 440px;
 left: 0px;
}


    .bgtable {
    position: absolute;
    top: 150px;
    left: 0;
    right: 0;
    bottom: 0;
    
    z-index: 0;
    }
    
    #etusivu.bgtable
    {

    position: inherit;
    }

  .mainbg {
  margin-top:30px;
  padding: 20px;


  }
  
  
  .footerdiv {

  width: 100%;

font-size: 14px;
  font-family: arial, sans-serif;
  
margin-top: 20px;
  


  padding: 10px;
  

  }

  .logot {
display: none;


  }
  
  .main_60 {

padding-bottom: 10px;

  }


  #navbg {
  width: 100%;
  position: absolute;
  top: 0;
  padding-top: 170px;
  background-color: transparent;

  z-index: 1;
  }
  
.navi {
  max-height: 0;
}  
  

.navi li a {

padding: 20px;
  padding-top: 21px;
  padding-bottom: 21px;
border: 0;
border-bottom: 2px solid #ffffff;
text-align: center;
color: #000;
background-image: url();
  /*
  overflow: hidden;
  */

}


.navi li a:hover {


  color:#fff;


}
.navi li a#active {


}


/* Mobipainikkeet */
#mobi {
position: absolute;
top: 120px;

  width: 100%;
   z-index: 99;
}

.menu-button, .call-button {
  float: left;
  display: block;
  padding: 1em;

     background-color: #b2ac96;
background-image:url('../images/lnavtdbg.jpg');
background-repeat: repeat-x;
  font-size: 17px;
  color: #000;
  cursor: pointer;
  border-bottom: 1px solid #000000;
  border-top: 1px solid #000000; 
  width: 50%;
  text-align: center;
  border-right: 1px solid #000000; 
  
  white-space:nowrap;
}

.menu-button a, .call-button a {
  color: #000;
  text-decoration: none;
  font-weight: bold;
}


/* Lomakkeet */



.txtinput, .selekti {		         /* teksti-inputti, nimi, puh/email  */
width:100%;

}

.tarea  { 		                  /* viestin tekstialue */
width:100%;

}

.main img {
    display: block;
    max-width: 100%;


    width: auto;
    height: auto;
}

/* Navinalus logot */
#logot{
float:left;
padding-top:5px;
padding-right:5px;
}
#logot ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
#logot ul li{
	display: inline;
    padding-top: 0px;
    padding-bottom: 0px;
}
#logot ul li a img{
	width:85px;
	padding-top: 5px;
}
}