/*********************************************
 *
 *
 *              S - koko
 *
 *
 ********************************************/

@media all and  (max-width: 750px) {

    .toppic {
    background-color: transparent;
 
    }
    

body, td { 										
font-size: 15px;
line-height: 25px;
font-weight: bold;
}


h1 {
font-size: 25px;
}
h2 {
font-size: 20px;
}

.toppic2 {


background-color: transparent;
background-repeat: no-repeat;
background-position: center top;

height: 200px;

}


#logotext {

    }


.bgtable {




width: 100%;
background-color: transparent;
z-index: 1;

border: 0px solid #3D0603;



}

footerdiv div img {
max-width: 100%;
height: auto;
    transition: all 0.1s ease-in-out 0s;
}

.footerdiv div {
font-size: 15px;
font-weight: bold;
}

#etusivu .sidebar {
display: none;
}

.footerdiv {
padding-bottom: 10px;
}


.bottomlinks {
padding-bottom: 10px;
text-align: left;
float: none;
}



.bottomlinks .outlinks {
float: none;
}

.main_5 {


width: 100%;
border-top: 1px solid #999;
}



.main_50 {
margin-bottom: 20px;
}



.footerdiv {

}

/* Ylänavi */

.toplinks {

right: 5%;
}
/* Navigointi */

.navi li {
position: relative;

z-index: 999;
}

.navi li a {
background-color: #333333;
background-image: url();
border: 1px solid #000000;
z-index: 999;
font-size: 20px;
color: #fff;
}
.navi li a#active{
background-color: #404040;

border: 1px solid #000000;
}

.navi li a:hover {
border-bottom: 1px solid #999;
background-color: #666666;/*
background-image: url();

  border-left: 1px solid #386D18;
  border-top: 1px solid #386D18;
  border-bottom: 1px solid #386D18;*/
/*text-shadow: -1px 1px 1px rgb(0, 0, 0);*/
}


.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: transparent;

background-repeat:  repeat-x;
background-position: center center;

font-weight: bold;
text-decoration: none;
font-size: 15px;
  color: #ffffff;
  cursor: pointer;
background-image: url('../images/divbg3.png');
background-repeat: repeat;
border-top: 1px solid #000000;
border-bottom: 1px solid #000000;
  border: 1px solid #000000;
  width: 33.33%;
  text-align: center;
  
  
  white-space:nowrap;
  }
  
  .menu-button a, .call-button a {
  color: #ffffff;
  text-decoration: none;
  }


}