
@media all and (min-width: 1100px) {

h1 {
font-size: 25px;
}
h2 {
font-size: 24px;
}
#logo {
width: 90%;
min-width: 190px;
}


body, td {
font-size: 1em;
}

  #bodybg {
  
  
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
    
  margin-top: 4%;
  }


    .bgtable {
/*    position: absolute;
    top: 10%;
    left: 16%;
    right: 0;
    bottom: 16%;*/
    width: 75%;
float: right;
    margin-top: 4%;
    background-color: transparent;

    z-index: 20;
    

    
    }
    
    #etusivu.bgtable
    {

    position: inherit;
    }
    

  .outer {
    display: block;
  }
  .main {
    display: block;
    width: 100%;
    max-width: auto;
  }
  .contact {
  display: table;
  width: 100%;

  }
  .main_60 {
  padding: 20px;
  display: table-cell;
  width: 60%;
  }
  
  .main_40 {
  padding: 20px;
  display: table-cell;
  width: 40%;
  }
  
  .sidebar {
    display: block;
    width: 100%;
  }


  
  .mainbg {
  margin-top: 0px;
  padding: 35px;
  padding-bottom: 0px;
    background: transparent;
    background-image:url('../images/fade2.png');
    background-repeat: repeat;  
  min-height: 550px;

  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  
  border-top: 2px solid #228b22;
  border-left: 2px solid #228b22;
  border-right: 2px solid #228b22;
  }
  

  
  .logot {
overflow: hidden;
  position: relative;
  float: right;
  width: 190px;
margin: 10px;
    min-height: 80px;
    
    margin: 55px;
    margin-top: -60px;
    
    background: #ffffff;


  text-decoration: none;
  font-weight: bold;
border: 2px solid #228b22;

border-radius: 6px;
  }
  
  .footerdiv {

  width: 100%;

  line-height: 25px;
  font-size: 16px;
  font-family: arial, sans-serif;
  

    background: transparent;
    background-image:url('../images/fade2.png');
    background-repeat: repeat;  
  border-top: 0px solid #000000;
    border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  padding: 15px;
  
  border-bottom: 2px solid #228b22;
  border-left: 2px solid #228b22;
  border-right: 2px solid #228b22;
  }


#map {
  height: 300px;
  max-width: 40%;
  min-width: 200px;

}


   /* Navigointi */
  
  
  #navbg {
  float: left;
  width: 25%;
    min-height: 650px;
  }


  .navi {
    overflow: visible;
    width: auto;
    padding-top: 0px;


  }
  
  .navi.opacity {
    opacity: 1;
  }
  


  .navi li a {
    font-size: 16px;
    font-family: arial, sans-serif;
    border-radius: 2px;

    max-width: 190px;
    margin-left: auto;
    margin-right: auto;
  }

  .navi li {
    position: relative;
    list-style: none;

    display: block;
   
    overflow: visible;
    margin: 10px;

  }

  .logot {
overflow: hidden;
  position: relative;

  width: 190px;
margin: 10px;
    min-height: 80px;
    
    margin: 55px;
    margin-top: 20px;
    
    background: #ffffff;


  text-decoration: none;
  font-weight: bold;
border: 2px solid #228b22;

border-radius: 6px;
  }


  .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; 
  }
  
}
