html { height:100%;}
body {	background-color: #FFFFFF; color: #000000; font-family: calibri, tahoma, arial; font-size: 8pt; font-weight: normal; margin:auto;}

a:link {color: #071D46; font-family: calibri, tahoma, arial; text-decoration: underline; font-weight: normal;}
a:active {color: #071D46; font-family: calibri, tahoma, arial; text-decoration: underline; font-weight: normal;}
a:visited {color: #071D46; font-family: calibri, tahoma, arial; text-decoration: underline; font-weight: normal;}
a:hover {color: #071D46; font-family: calibri, tahoma, arial; text-decoration: none; font-weight: normal;}

img.responsive_img {
        max-width:100%;
    }
  
div.frame {
    width:100%;
    max-width: 3840px;
    margin:auto;
    background-color: #C1BDB2;
}
.kielivalinnat_mobiili
{
    display:none;
}
.ylaosa {
    max-width: 980px;
    margin:0 auto;
    background-color: #071D46;
}

div.wrapper {
    max-width: 100%;
    margin: 0 auto;
    background-color: #C1BDB2;
    vertical-align: top;
    width:100%;
}

#cssmenu {
    display:none;
    }    

.etusivun_tekstit {
    text-align: center;
    font-size:20px;
    padding-top:40px;
    font-family: calibri, tahoma, arial;
}   

#navi {
  background-color:#C1BDB2;
  padding: 0.0cm 0.4cm;
  height:100%;
  margin:0 auto;
  max-width: 980px;
  text-align: center;
  font-family: calibri, tahoma, arial;
  }
  
/*Valikko*/
#nav {
        margin: 0 auto;
	padding: 0px 0px 0px 0px;
	line-height: 100%;
	background-color: #C1BDB2;
        font-size: 13px;
        text-align: center;
        font-family: calibri, tahoma, arial;
}

#nav li {
	margin: 0 0px;
	padding: 10px 10px 10px;
	float: left;
	position: relative;
	list-style: none;
        text-align: left;   
}

/* main level link */
#nav a {
	font-weight: normal;
        font-family: calibri, tahoma, arial;
	color: #53514D;
	text-decoration: none;
	display: block;
	padding:  10px 8px;
	margin: 0;
        font-size: 14pt;
/*	-webkit-border-radius: 1.6em;
	-moz-border-radius: 1.6em;*/
	text-shadow: 0 0px 0px rgba(0, 0, 0, .3);
}

/* main level link hover */
#nav .current a, #nav li:hover > a {
	background:  #D0D0D0;
	color: #53514D;
}

/* sub levels link hover */
#nav ul li:hover a, #nav li:hover li a {
	border: none;
	color:  #53514D;
}

#nav ul a:hover {
	background: #D0D0D0 !important;
	color: #A07623 !important;   
}

/* level 2 list */
#nav ul {	
	background-color: #D0D0D0;
        text-align: left;
	display: none;
	margin: 0;
        padding:0px;
	width: 250px;
	position: absolute;
	top: 43px;
	left: 10px;
        border-top: 0px;
}

/* dropdown */
#nav li:hover > ul {
	display: block;
        z-index: 1;
        background-color: #D0D0D0;
}
#nav ul li {
	float: none;
	margin: 0;
	padding: 0;
}
#nav ul a {
	font-weight: normal;
        color: #53514D;
}
#nav ul li:hover {
	font-weight: normal;
        color: #A07623;
        background-color: #D0D0D0;
}
/* level 3+ list */
#nav ul ul {
	left: 181px;
	top: -3px;
}
/* rounded corners for first and last child */
#nav ul li:first-child > a {
/*	-webkit-border-top-left-radius: 9px;
	-moz-border-radius-topleft: 9px;
	-webkit-border-top-right-radius: 9px;
	-moz-border-radius-topright: 9px;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px; */
}
#nav ul li:last-child > a {
/*	-webkit-border-bottom-left-radius: 9px;
	-moz-border-radius-bottomleft: 9px;
	-webkit-border-bottom-right-radius: 9px;
	-moz-border-radius-bottomright: 9px;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;*/
}
/* clearfix */
#nav:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
#nav {
	display: inline-block;
}
html[xmlns] #nav {
	display: block;
}
* html #nav {
	height: 1%;
}

.sisalto {
  max-width: 950px;
  padding-top:10px;
  padding-left:5px;
  padding-right:5px;
  padding-bottom:0px;
  background-color: #C1BDB2;
  vertical-align: top;
  margin:0 auto;
  min-height: 368px;
  text-align: left;
  font-size: 14pt;
  font-family: calibri, tahoma, arial;
  color:#464646;
}

/** Mobile **/
@media only screen and (max-width: 600px), only screen and (max-device-width: 600px) {
    #navi {
        display:none;
    }
    #cssmenu {
        display: block;
    }
    .sisalto {
        font-size:12pt;
    }
    .kielivalinnat_mobiili
{
    display:block;
    float:right;
}
}

/** Tablet **/
@media only screen and (min-width : 601px) and (max-width : 1024px) {
    #navi {
        display:none;
    }
    #cssmenu {
        display: block;
    }
        .sisalto {
        font-size:12pt;
    }
    .kielivalinnat_mobiili
{
    display:block;
    float:right;
}
}


/** Tablet (landscape) **/
@media only screen and (min-device-width : 601px) and (max-device-width : 1024px) and (orientation : landscape) {
 
    #navi {
        display:none;
    }
    #cssmenu {
        display: block;
    }  
        .sisalto {
        font-size:12pt;
    }
    .kielivalinnat_mobiili
{
    display:block;
    float:right;
}
}

.yhteystiedot {
    font-family: calibri, tahoma, arial;
    font-size: 16px;
    color:#464646;
    text-align: center;
    padding-top: 20px; 
    vertical-align: top;
}