/*********************************************
 *
 *
 *              S - koko
 *
 *
 ********************************************/

@media all and  (max-width: 716px) {

body { 															/* Sivuston tausta */


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;
background-color: #f9f9f9;
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: 10%;


  
  width: 100%;
  max-height: 120px;
  max-width: 440px;
 left: 0px;
}


    .bgtable {
    position: absolute;
    top: 140px;
    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%;


  font-size: 16px;
  font-family: arial, sans-serif;
  
margin-top: 20px;
  

  border-top: 0px solid #000000;

  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 {
background-color: #bc201e;
padding: 20px;
  padding-top: 21px;
  padding-bottom: 21px;
border: 0;
border-bottom: 1px solid #ffffff;
text-align: left;
color: #ffffff;
  /*
  overflow: hidden;
  */

}


.navi li a:hover {

  background: #bc201e;
  color:#000;


}
.navi li a#active {
  background: #fff;
color: #000;
}


/* Mobipainikkeet */
#mobi {
position: absolute;
top: 140px;

  width: 100%;
   z-index: 99;
}

.menu-button, .call-button {
  float: left;
  display: block;
  padding: 1em;
    font-family: 'Bree Serif', serif;
  background-color: #bc201e;
  font-size: 16px;
  color: #fff;
  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: #fff;
  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;
}
}