/*********************************************
 *
 *
 *              S - koko
 *
 *
 ********************************************/

@media all and  (max-width: 716px) {

.logot_big {

display: none;
} 

.logot_small {
display: block;
text-align: right;
margin-right: 20px;
margin-top: 50px;
}

.logot_small a:link {
opacity: 0.8;
}

.logot_small a:hover {
opacity: 1;
}

#logo {
  display: block;
  position: absolute;
  top: 0;
  max-height: 140px;

  width: auto;
  left:10px; 
  right:0;
}


    .bgtable {
    position: absolute;
    top: 170px;
    left: 0;
    right: 0;
    bottom: 0;
    
    z-index: 0;

    }
    


  .mainbg {
  padding: 0px;

  min-height: 320px;
      border-top: 5px solid #000;
  }
  
  
  .footerdiv {

  width: 100%;
  line-height: 20px;
  font-size: 13px;
  font-family: arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;



  border-top: 1px solid #000000;
  
  padding: 15px;
    border-bottom: 5px solid #000000;

  }


.main_50 {
vertical-align: top;
display: block;
width: 100%;
padding-bottom: 30px;
}

.main_60 {
vertical-align: top;
display: block;
width: 100%;
padding-bottom: 30px;
}

.main_40 {
vertical-align: top;
display: block;
width: 100%;
padding-bottom: 30px;
}


  
  #navbg {
  width: 100%;
  position: absolute;
  top: 0;
  padding-top: 170px;
  background-color: transparent;
  background-image:url('../images/fade1.png');
  background-repeat: repeat;
  z-index: 1;
  }
  
  

/* Mobipainikkeet */
#mobi {
position: absolute;
top: 120px;

  width: 100%;
   z-index: 99;
}

.menu-button, .call-button {
  float: left;
  display: block;
  padding: 1em;

  background: #000000;
  color: #ffffff;
  cursor: pointer;
  border-bottom: 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%;

}


}