/*********************************************
 *
 *
 *              S - koko
 *
 *
 ********************************************/

@media all and  (max-width: 750px) {

.topbox1, .topbox1 * {

font-size: 14px;


}


.topbox1 {
position: absolute;
top: 190px;
width: 100%;

padding: 10px;
}

.topbox2 {
display: none;
}


body {

  background-repeat: no-repeat;
  background-position: left center;
  background-attachment: auto; 
  -webkit-background-size: auto;
  -moz-background-size: auto;
  -o-background-size: auto;
  background-size: auto;
}

.toparea {
height: 160px;
}
    .toppic, .toppic2 {
    background-color: transparent;

    }
    
#logotext {
position: absolute;
top: 60px;
left: 15px;
max-width: 90%;

-webkit-transition: all .2s ease-in-out;
-moz-transition: all .2s ease-in-out;
-ms-transition: all .2s ease-in-out;
transition: all .2s ease-in-out; 
font-size:50px;
}

.mainbg{
	background-color: #fff;
}

.bgtable {



top: 0px;

width: 100%;
background-color: transparent;
z-index: 1;

border: 1px solid #3D0603;
border-left: 0px;
border-right: 0px;



}

.outer {
display: table;

}


.content {
	background-image: url(../images/mainfade.png), url(../images/bodybg2.jpg);
background-size: auto, contain;
background-repeat:  repeat, no-repeat; 
padding: 1em;
display: table-header-group;
}
.content_text {
padding: 1em;
}



#etusivu .sidebar {
display: table-footer-group;
}

.footerdiv {
padding-bottom: 10px;
font-size: 15px;
}


.bottomlinks {
padding-bottom: 10px;
text-align: left;
float: none;
}



.bottomlinks .outlinks {
float: none;
}


.sidebar {
border-bottom: 0px;
}

/* Ylänavi */

.toplinks {

right: 5%;
}
/* Navigointi */

#navbg {
width: 100%;
z-index: 99;
position: absolute;
top: 50px;
}

.navi li {
position: relative;


}

.navi li a {
background-color: #cccccc;
background-image: url();
border: 1px solid #999;
font-size: 16px;
color: #000;
padding: 15px;
}
.navi li a#active{
background-color: #084e08;
color: #fff;
border: 1px solid #DAD1BC;
}
.navi .nuoli {
position: absolute;
z-index: 999;
top: 0;
right: 0;
width: 50px;
height: 50px;
display: inline-block;
text-align: center; 
}

.navi .nuoli:hover {
cursor: pointer; 
}

.navi .nuoli .navicon {
position: relative;
top: 1em;
font-size: 15px;
color: #001277; 
}




/* Alavalikko */

.subnavi {
display: none;
height: 0px;
}


.navi li ul {
width: 100%; 
}

.navi li ul li {
font-size: 100%;
position: relative;
overflow: hidden; 
margin: 0px;
}

.navi li ul.navi-show li {
overflow: visible; 
}

.navi li ul li a {
padding-top: 10px;
padding-bottom: 10px;
padding-left: 25px;
font-size: 15px;
color: #ffffff;
display: block;
background-color: #629B3F; 

}

.navi li ul li a:hover {
color: #ffffff;
background-color: #87B7E1;
}

.navi ul li ul li a {
background-color: #5197D3; 
}

.navi ul li ul li ul li a {
background-color: #87B7E1; 
}


  /* Mobipainikkeet */
  #mobi {

  width: 100%;
  }
  
  .menu-button, .call-button {
  float: left;
  display: block;
  padding: 8px;

  background-color: #084e08;
  
background-repeat:  repeat-x;
background-position: center center;
font-family: 'Abril Fatface', cursive;
font-weight: normal;
text-decoration: none;
font-size: 20px;
  color: #000;
  cursor: pointer;
background-repeat: repeat;
border-top: 0px solid #000000;
border-bottom: 0px solid #000000;
  border:1px solid #ccc;
  width: 33.33%;
  text-align: center;
  
  
  white-space:nowrap;
  }
  
  .menu-button a, .call-button a {
  color: #fff;
  text-decoration: none;
  }


}