/*********************************************
*
*
*              L - koko
*
*
********************************************/

@media all and (min-width: 1100px) {

.toppic {
position: absolute;
right: 50%;
margin-right: -550px;
min-height: 110px;
height: 140px;

width: 1100px;
background-color: transparent;
z-index: 99;
}

.toppic2 {
position: absolute;
right: 50%;
margin-right: -550px;
background-image: url('../images/topbg.png');
background-repeat: repeat-x;
background-position: left bottom;

background-color: #ffffff;


min-height: 110px;
height: 140px;

width: 1100px;

-moz-border-radius-bottomright: 10px;
border-bottom-right-radius: 10px;
-moz-border-radius-bottomleft: 10px;
border-bottom-left-radius: 10px;

-moz-box-shadow: 0px 0px 5px rgba(00, 00, 00, 0.5);
-webkit-box-shadow: 0px 0px 5px rgba(00, 00, 00, 0.5);
box-shadow: 0px 0px 5px rgba(00, 00, 00, 0.5);

border: 1px solid #efefef;
z-index: 10;
}

.mainbg {
margin-top: 20px;
padding: 0px;

border: 1px solid #efefef;

-moz-box-shadow: 0px 0px 5px rgba(00, 00, 00, 0.5);
-webkit-box-shadow: 0px 0px 5px rgba(00, 00, 00, 0.5);
box-shadow: 0px 0px 5px rgba(00, 00, 00, 0.5);

-moz-border-radius: 10px;
border-radius: 10px;
}

.content_text {
margin: 20px;
}

.toparea {
height: 500px;
/* 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-position: center bottom;
*/

}




#logotext {
max-height: 45px;
margin-top: 30px;
margin-left: 30px;
}


#logoname {
display: inline;
position: absolute;
top: 40px;
left: 50%;
margin-left: 300px;
color: #469600;
cursor: default;
font-size: 18px;
font-family: arial;
z-index: 14;
font-weight: bold;
}

#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;
}

/* Taulukkorakenne */

.outer {
display: table;
width: 100%;
}

.outer div {
vertical-align: top;
}

.main {
vertical-align: top;
display: table-cell;
width: 100%;
max-width: 75%;
}

.sidebar {
padding: 20px;
padding-right: 0px;
vertical-align: top;
display: table-cell;
background-image: url('../images/sidebg.png');
background-repeat: no-repeat;
background-position: left top;
white-space: nowrap;
}

.partners {
white-space: normal;
}


.contact {
display: table;
width: 100%;
}

.main_55 {

display: table-cell;
width: 55%;
}
.main_45 {
padding-left: 20px;
display: table-cell;
width: 45%;
}

.main_50 {
display: block;
width: 100%;
}




/* Ylänavi */

.toplinks {
position: absolute;
top: 44px;
right: 50%;
margin-right:-50px;

color:#666666;
text-align: right;
z-index: 14;
}

.toplinks .outlinks {
display: inline;
}

/* Navigointi */

#navbg {

margin-top: 20px;
width: 100%;


}

.navi {
white-space: nowrap;
margin-left: 30px;
margin-top: 100px;
overflow: visible;
width: auto;
width: 100%;
z-index: 15;
}

.navi.opacity {
opacity: 1;
}

.navi li a {

color: #134882;
padding: 0px;
padding-left: 0px;
border-bottom: none;
background-color: transparent;
font-size: 19px;
z-index: 23;
padding-left: 12px;
padding-right: 12px;
line-height: 40px;
border: 0px solid red;
z-index: 15;
}



.navi li~li a {
background-image: url('../images/topnavline.png');
background-repeat: no-repeat;
background-position: left 10px;
border-left: 0px solid #134882;
}

.navi li a#active {
color: #469600;
background-color: transparent;

}

.navi li a:hover {
color: #000000;
background-color: transparent;

}

.navi li {
float: left;
list-style: none;
padding: 0px;

overflow: visible;

}






.navi .nuoli {
position: relative;
z-index: 999;
top: -2px;
right: 0;
width: 50px;
height: 20px;
display: inline-block;
text-align: center;

}

.navi .nuoli:hover {
cursor: pointer;
}

.navi .nuoli .navicon {
position: relative;
top: 0;
font-size: 15px;
color: #4A8E0E;
}


/* 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;

-moz-border-radius-bottomright: 100px;
border-bottom-right-radius: 100px;
-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);    


right: 50%;
margin-right: -530px;
width: 1080px;
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: 135px;


}

.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: 0px;


z-index: 1;
top: 35px;



}

.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: 16px;
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;
}

/* Mobipainikkeet */
#mobi {
display: none;
}

/* Muut */
.mainbg img {
max-width: 100%;
width: auto;
}

#map {
height: 250px;
}



}