/*********************************************
 *
 *
 *              S - koko
 *
 *
 ********************************************/

@media all and  (max-width: 716px) {

body { 															/* Sivuston tausta */



}

.toppic {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 250px;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;

border-bottom: 0px solid #000000;
    background-image:url('../images/toppic.jpg');
    background-repeat: repeat-x;  
    background-position: bottom left;
background-color: #000000;
text-align: center top;

}

.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: 0px;


  
  width: 90%;
  max-height: 120px;
  max-width: 340px;
  left:0px; 
  right:0;
}


    .bgtable {
    position: absolute;
    top: 190px;
    left: 0;
    right: 0;
    bottom: 0;
    
    z-index: 0;
    }
    
    #etusivu.bgtable
    {

    position: inherit;
    }

  .mainbg {
  margin-top: 80px;
  padding: 10px;
  background-color: transparent;

  min-height: 320px;
  }
  
  
  .footerdiv {

  width: 100%;
  line-height: 20px;
  font-size: 13px;
  font-family: arial, sans-serif;


  color: #000000;
background-color: transparent;

  border-bottom: 2px solid #977FB4;
  
  padding: 15px;
 
  }

  .logot {
display: none;


  }
  
  #navbg {
  width: 100%;
  position: absolute;
  top: 0;
  padding-top: 170px;
  background-color: transparent;

  z-index: 1;
  }
  
.navi {
  max-height: 0;
}  
  

.navi li a {


  padding-top: 11px;
  padding-bottom: 11px;
border: 0;
border-bottom: 1px solid #ffffff;
  /*
  overflow: hidden;
  */

}

/* Mobipainikkeet */
#mobi {
position: absolute;
top: 120px;

  width: 100%;
   z-index: 99;
}

.menu-button, .call-button {
  float: left;
  display: block;
  padding: 1em;

  background-color: #3FA535;
  font-size: 16px;
  color: #ffffff;
  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: #ffffff;
  text-decoration: none;
}


/* 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;
}

}