
@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;
    

    
    }
    


  .outer {
    display: block;
  }
  .main {
    display: block;
    width: 100%;
    max-width: auto;
  }
  .contact {
  display: table;
  width: 100%;

  }
  .main_60 {
  padding-right: 40px;
  display: table-cell;
  width: 60%;
  vertical-align: top;
  }

  .main_50 {
  padding-right: 40px;
  display: table-cell;
  width: 50%;
    vertical-align: top;
  }
 
  .main_40 {
  padding-right: 40px;
  display: table-cell;
  width: 40%;
  vertical-align: top;
  }

  .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: 5px;
border-top-right-radius: 5px;
  
  border-top: 2px solid #0071BB;
  border-left: 2px solid #0071BB;
  border-right: 2px solid #0071BB;
  }
  

  

  .footerdiv {

  width: 100%;

  line-height: 25px;
  font-size: 16px;
  font-family: arial, sans-serif;
  

    background: #0071BB;
    /*background-image:url('../images/fade2.png');
    background-repeat: repeat;*/  
  border-top: 0px solid #000000;

  padding: 5px;
  
  border-bottom: 2px solid #0071BB;
  border-left: 2px solid #0071BB;
  border-right: 2px solid #0071BB;
  
  border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
  }


#map {
  height: 300px;
  max-width: 100%;
  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_short {
display: none;
}

  .logot_tall {
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 #0071BB;

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; 
  }
  
}
