/*********************************************
 *
 *
 *              M - koko
 *
 *
 ********************************************/

@media all and (min-width: 750px) and (max-width: 1099px) {

body, td { 										

font-size:15px;

}


.logot {
position: absolute;
top:30px;
right: 0;
text-align: left;
}

.logot a#facebook {
cursor: pointer;
display: block;
float: right;
height: 45px;
width: 45px;
margin: 2px;
}

.logot a#facebook {
background-image: url('../images/logot/45px/facebook.png');
}
.logot a#instagram {
background-image: url('../images/logot/45px/instagram.png');
}
.logot a#youtube {
background-image: url('../images/logot/45px/youtube.png');
}

.logot div {

margin-top: 20px;

}


.toparea {
height: 350px;
background-position: left -30px;

}

    .main {
    display: block;
    width: 100%;
    max-width: auto;
    min-height: 250px;
    }
    
    .contact {
    display: table;
    width: 100%;
    }
    
 
.toppic {
position: absolute;

top: 0px;

height: 290px;


top: 0px;

min-height: 110px;

width: 100%;
z-index: 99;
text-align: center;

}


.toppic2 {


height:10px;

width: 100%;

z-index: 10;




}


.picdiv {
height: 250px;
width: 100%;


  border-top: 2px solid #000;
background-repeat: no-repeat;
background-position: center center;

-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;


}



.bgtable {

position: absolute;
right: 0;
top:170px;



width: 100%;
background-color: transparent;
z-index: 99;
}

#etusivu .bgtable {
position: relative;
top: 0;
}


.mainbg {
margin-top: 0px;
padding: 10px;

padding-left: 30px;
padding-right: 30px;
}




#logotext {
position: absolute;
top: 0px;
left: 0;
right: 0;
max-height: 130px;
margin: 0;
margin-left: auto;
margin-right: auto;
}





  

/* Taulukkorakenne */

.outer2 {

display: table;
width: 100%;
border-spacing: 20px;


}

.inner {
display: table-cell;
}


.inner2 {
width: 50%;
display: table-cell;
}
.inner3
{
border: 1px solid red;
width: 100%;
}

.outer div {
vertical-align: top;
}

.main {
vertical-align: top;
display: table-cell;
width: 100%;
max-width: 75%;


}




.main_55 {

display: table-cell;
width: 55%;
}
.main_45 {
padding-left: 20px;
display: table-cell;
width: 45%;
}

.main_50 {
display: block;
width: 100%;
}

.footerdiv {

font-size: 15px;
padding-bottom: 10px;
}


/* Navigointi */


#navbg {
height:25px;
max-width: 100%;

margin-top: 145px;

margin-left: auto;
margin-right: auto;
}


  .navi {
    overflow: visible;
    width: auto;
    
  }
  
  .navi.opacity {
    opacity: 1;
  }
  



  .navi li a {
    background-color: transparent;

 
    font-size: 17px;
    z-index: 15;
    padding: 0px;
    padding-left: 10px;
        padding-right: 10px;
    margin: 0px;



    

  }

  .navi li {
    position: relative;
    list-style: none;
    float: left;
    display: block;
   
    overflow: visible;
    margin: 0px;
    height: 20px;


    
  }
  
  
   /*.navi  li~li { border-left: 1px solid #A6A6B2; }*/
  

  .navi li > ul {
    position: absolute;
    top: auto;
    left: 0; 
  }
  
  .navi li > ul li {
    width: 100%;
  }
  
  .navi li ul li > ul {
    margin-left: 100%;
    top: 0; 
  }
  .navi li ul li a {
    border-bottom: none; 
    border-radius: 0px;
  }
  .navi li ul.open {
    display: block;
    opacity: 1;
    visibility: visible;
    z-index: 1; 
  }
  .navi li ul.open li {
    overflow: visible;
    max-height: 100px; 
  }
  .navi li ul.open ul.open {
    margin-left: 100%;
    top: 0; 
  }
  
    #mobi {
    display: none; 
    }

/* Alavalikko */


.subnavi {
position: absolute;
display: block;
white-space: nowrap;
overflow: visible;


opacity: 1;

background-color: #ffffff;
background-image: url('../images/subnavi.png');
background-repeat: repeat-x; 
background-position: left bottom;
border: 1px solid #51a517;

border-left: 0px;
border-right: 0px;


-moz-box-shadow: 0px 0px 5px rgba(00, 00, 00, 0.25);
-webkit-box-shadow: 0px 0px 5px rgba(00, 00, 00, 0.25);
box-shadow: 0px 0px 5px rgba(00, 00, 00, 0.25);    


width: 100%;
height: 40px;


-webkit-transition: all .1s ease-in-out;
-moz-transition: all .1s ease-in-out;
-ms-transition: all .1s ease-in-out;
transition: all .1s ease-in-out; 
padding-top: 0px;
padding-bottom: 10px;
padding-left: 20px;


z-index: 1;
top: 115px;


}

.subnavi .navi-show {


}

.navi li ul {
position: absolute;
display: block;
white-space: nowrap;
overflow: visible;


opacity: 1;
/*
background-color: #ffffff;
background-image: url('../images/subnavi.png');
background-repeat: repeat-x;
background-position: left bottom;
border: 1px solid #efefef;

-moz-border-radius-bottomright: 90px;
border-bottom-right-radius: 90px;
-moz-border-radius-bottomleft: 20px;
border-bottom-left-radius: 20px;


-moz-box-shadow: 0px 0px 5px rgba(00, 00, 00, 0.25);
-webkit-box-shadow: 0px 0px 5px rgba(00, 00, 00, 0.25);
box-shadow: 0px 0px 5px rgba(00, 00, 00, 0.25);

*/





-webkit-transition: all .1s ease-in-out;
-moz-transition: all .1s ease-in-out;
-ms-transition: all .1s ease-in-out;
transition: all .1s ease-in-out;
padding-top: 0px;
padding-bottom: 10px;
padding-left: 20px;


z-index: 1;
top: 33px;



}

.navi li ul li {
position: relative;
list-style: none;
float: left;

overflow: visible;


}



.navi li ul.navi-show li {
overflow: visible;

}

.navi li ul li a {
margin-top: 0px;

display: block;
background: transparent;
font-size: 15px;
color: #3C8200;

text-shadow: 0px 0px 4px #ffffff;
padding-top: 10px;
padding-left: 10px;
padding-right: 10px;

line-height: 25px;
}


.navi  ul li a {
border-left: 0px solid #efefef;
}

.navi  ul li~li a {
background-image: url('../images/subnavline.png');
background-repeat: no-repeat;
background-position: left 15px;
border-left: 0px solid #cccccc;
}

.navi li ul li a:hover {
color: #000000;

background-color: transparent;
}

.navi ul li ul li a {
background-color: transparent;
}

.navi ul li ul li ul li a {
background-color: transparent;
}

  
/* Muut */

  .mainbg img {
  max-width: 100%;
  width: auto;
  }
  

#contpic {

  height: 450px;


}

#contpic div {


  min-height: 450px;

}

#map {
background-color: #efefef;
height: 250px;
width: 500px;



}
}
