/*********************************************
*
*
*              L - koko
*
*
********************************************/

@media all and (min-width: 1100px) {

body, td { 										

font-size:15px;

}


h1 {
font-size: 25px;
}



.logot {
position: absolute;
top: 5px;
right: 10px;
}

.logot a {
display: block;

height: 65px;
width: 65px;
margin: 2px;
}

.logot a#facebook {
background-image: url('../images/logot/65px/facebook.png');
}
.logot a#ekukka {
background-image: url('../images/logot/65px/ekukka.png');
}

.toppic {





position: absolute;
right: 50%;
top: 0px;
margin-right: -550px;
min-height: 110px;
height:220px;

width: 1100px;

z-index: 99;
border: 3px solid #FFFFFF;
border-top: 0px;

-moz-border-radius-bottomright: 10px;
border-bottom-right-radius: 10px;

-moz-border-radius-bottomleft: 10px;
border-bottom-left-radius: 10px;

box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.toppic2 {





height: 150px;

width: 1080px;
margin-left: 10px;
margin-right: 10px;

border: 0px solid #efefef;
z-index: 10;
text-align: left;


}

.logot_big {
color: #ffffff;
width: 400px;
float: right;
margin: 0px;
margin-top: 45px;

}
.logot_small {
display: none;
}



.bgtable {

position: absolute;
right: 50%;
top: 410px;
margin-right: -550px;
min-height: 110px;


width: 1100px;
background-color: transparent;
z-index: 99;
}

.mainbg {
margin-top: 0px;
padding: 0px;

box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);

-moz-border-radius: 10px;
border-radius: 10px;

margin-top: 0px;
padding: 3px;

}




.content {

display: table-cell;
min-height: 350px;
padding: 4em;
padding-left: 3em;
padding-top: 1em;
padding-bottom: 10px;
line-height: 23px;

max-width: 100%;
width: 900px;

}
.content_text {


margin: 25px;
}


.sidebar {

padding: 0em;


vertical-align: top;
display: table-cell;

text-align: right;

width: 350px;
height: 530px;

}

.toparea {
  height: 450px;
  /* Pieni kuva
  width: 1100px;
  -moz-border-radius-bottomright: 10px;
  border-bottom-right-radius: 10px;
  -moz-border-radius-bottomleft: 10px;
  border-bottom-left-radius: 10px;
  */
  background-repeat:  no-repeat;
  background-position: center center;
  
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  
  border-bottom: 2px solid #000;
}




#logotext {
max-height: 140px;
margin-top: 5px;
margin-left: 50px;
margin-right: auto;
}




#logopic {
display: block;
position: absolute;
max-width: 214px;
top: 2px;
right:50%;
margin-right:-600px;

}


.main_header {
display: block;

padding-top: 15px;
padding-left: 20px;
padding-bottom: 0px;
}

.footerdiv {
padding-left: 50px; 
margin-left: 0px;
margin-right: 0px;

-moz-border-radius-bottomleft: 10px;
border-bottom-left-radius: 10px;

-moz-border-radius-bottomright: 10px;
border-bottom-right-radius: 10px;

}


/* Taulukkorakenne */

.outer {

display: table;
width: 100%;
border-spacing: 20px;


}

.inner {
width: 50%;
display: table-cell;
}

.inner2 {
width: 40%;
display: table-cell;
}


.inner3 {
width: 20%;
display: table-cell;
}
.outer div {
vertical-align: top;
}

.main {
vertical-align: top;
display: table-cell;
width: 100%;
max-width: 100%;
/*
-moz-box-shadow: 0px 0px 9px #ADA9A9;
-webkit-box-shadow: 0px 0px 9px #ADA9A9;
box-shadow: 0px 0px 9px #ADA9A9;
*/


}




.main_65 {

display: table-cell;
width: 65%;
vertical-align: top;
}


.main_55 {

display: table-cell;
width: 55%;
}
.main_45 {
padding-right: 20px;
display: table-cell;
width: 45%;

}

.main_50 {
padding-right: 20px;
display: table-cell;
width: 50%;

}



/* Navigointi */


    #navbg {
      height: 50px;
   width: 99%;
    margin-left: 30px;
    margin-right: 30px;


    }


  .navi {
    overflow: visible;
    width: auto;
    
  }
  
  .navi.opacity {
    opacity: 1;
  }
  


  .navi li a {
   font-size: 19px;
border:0px solid #3859C0;
background-color: transparent;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
margin-top: 5px;
  border-radius: 5px;
  }

  .navi li {
    position: relative;
    list-style: none;
    float: left;
    display: block;
   
    overflow: visible;
    margin: 0px;
   

  }
  
  .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; 
  }
  
  /***********/
  


/* Mobipainikkeet */
#mobi {
display: none;
}

/* Muut */
.mainbg img {
max-width: 100%;
width: auto;
}

#map {
height: 250px;
}



#contpic {

  height: 450px;

-moz-border-radius-bottomright: 20px;
border-bottom-right-radius: 20px;
-moz-border-radius-bottomleft: 20px;
border-bottom-left-radius: 20px;
}

#contpic div {


  min-height: 450px;

}

.feedback {
width: 650px;
}
}