/*********************************************
 *
 *
 *              S - koko
 *
 *
 ********************************************/

@media all and  (max-width: 716px) {

.bodyarea {

height: 200px;

width: 100%;
background-color: transparent;
z-index: 99;


background-image:url('../images/main.png');
background-repeat: no-repeat;  
background-position: top left;

}



.toppic {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 120px;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;

border-bottom: 0px solid #000000;
background-color: transparent;
z-index: 99;

/*background-image:url('../images/topbg.jpg');
background-repeat: no-repeat;
background-position: bottom right;
*/
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: 20%;


  
  width: 100%;
  max-height: 120px;
  max-width: 440px;
 left: 0px;
}


    .bgtable {
    position: absolute;
    top: 110px;
    left: 0;
    right: 0;
    bottom: 0;
    
    z-index: 0;
    }
    
    #etusivu.bgtable
    {

    position: inherit;
    }

  .mainbg {
  margin-top: 70px;
  padding: 10px;


  min-height: 320px;
  }
  
  
  .footerdiv {

  width: 100%;



  
margin-top: 20px;


  padding: 20px;
  

  }

  .logot {
display: none;


  }
  
  #navbg {
  width: 100%;
  position: absolute;
  top: 0;
  padding-top: 190px;
  background-color: transparent;

  z-index: 1;
  }
  
.navi {
  max-height: 0;
}  
  

.navi li a {

padding: 20px;
  padding-top: 11px;
  padding-bottom: 11px;
border: 0;
border-bottom: 1px solid #A73308;
text-align: left;
color: #FFF;
background-color: 
  /*
  overflow: hidden;
  */

}


.navi li a:hover {


  color:#FFF;


}
.navi li a#active {
  background: #A73308;
color: #fff;
}


/* Mobipainikkeet */
#mobi {
position: absolute;
top: 140px;

  width: 100%;
   z-index: 99;
}

.menu-button, .call-button {
  float: left;
  display: block;
  padding: 1em;

  background-repeat: repeat-x;
  background-position: left bottom;
  background-color: #A73308;
  font-size: 16px;
  color: #FFF;
  cursor: pointer;
  border-bottom: 1px solid #D18A51;
  border-top: 1px solid #D18A51; 
  width: 50%;
  text-align: center;
  border-right: 1px solid #D18A51; 
  
  white-space:nowrap;
}

.menu-button a, .call-button a {
  color: #FFF;
  font-weight: bold;
  text-decoration: none;
}


/* Lomakkeet */
.feedback {
width: 100%;
}
.feedback div {
display: block;
width: 100%;
margin-bottom: 15px;
}

.feedback .row {
display: inline;
width: 100%;
}

.feedback .long_row {
display: block;
width: 100%;
}

.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;
}
}