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;}

p {
		font-family: calibri, tahoma, arial;
	}
	
img.responsive_img {
        max-width:100%;
    }
  
div.frame {
    width:100%;
    max-width: 3840px;
    margin:auto;
    background-color: #FFFFFF;
}
.kielivalinnat_mobiili
{
    display:none;
}

.ylaosa {
    max-width: 980px;
    margin:0 auto;
    background-color: #D2E593;
}

/*Hakuboksi*/
#tw-form{
font-family: Tahoma, Geneva, sans-serif;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border: #aaa 1px solid;
background: #DDDDDD;
background: -moz-linear-gradient(top, #C4C4C4 0%, #EAEAEA 0%, #D3D3D3 100%); /* firefox */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#C4C4C4), color-stop(0%,#EAEAEA), color-stop(100%,#D3D3D3)); /* webkit */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#C4C4C4', endColorstr='#D3D3D3',GradientType=0 ); /* ie */
width: 135px;
padding: 0 4px;
border-top-left-radius: 4px 4px;
border-top-right-radius: 4px 4px;
border-bottom-right-radius: 4px 4px;
border-bottom-left-radius: 4px 4px;
display:inline-block;
}

#tw-form #tw-input-text{
width: 100px;
border: 0;
background: #DDDDDD;
background: -moz-linear-gradient(top, #C4C4C4 0%, #EAEAEA 0%, #D3D3D3 100%); /* firefox */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#C4C4C4), color-stop(0%,#EAEAEA), color-stop(100%,#D3D3D3)); /* webkit */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#C4C4C4', endColorstr='#D3D3D3',GradientType=0 ); /* ie */
color: #777;
line-height: 100%;
font-size: 12px;
font-family: Tahoma, Geneva, sans-serif;
margin-top:3px;margin-bottom:3px;
height:15px;
}

#tw-form #tw-input-text:focus{
outline:none;
color:#333;
}

#tw-form #tw-input-submit{
background: url(images/search-zoom-icon.png) no-repeat 8px 5px;
border: 0;
float: right;
width: 22px;
z-index: 100;
cursor: pointer;
}

div.wrapper {
    max-width: 100%;
    margin: 0 auto;
    background-color: #FFFFFF;
    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:#E8E8E8;
  padding: 0.0cm 0.4cm;
  height:100%;
  margin:0 auto;
  max-width: 100%;
  text-align: center;
  font-family: calibri, tahoma, arial;
  }
  
/*Valikko*/
#nav {
        margin: 0 auto;
	padding: 0px 0px 0px 0px;
	line-height: 100%;
	background-color: #E8E8E8;
        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: 200px;
	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: 200px;
	top: 0px;
}
/* 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: 970px;
  padding-top:10px;
  padding-left:10px;
  padding-right:10px;
  padding-bottom:10px;
  background-color: #FFFFFF;
  vertical-align: top;
  margin:0 auto;
  min-height: 368px;
  text-align: left;
  font-size: 12pt;
  font-family: calibri, tahoma, arial;
  color:#464646;
}

.images {
	max-width:980px;
	margin:0 auto;
	padding-top:10px;
	text-align:center;
	background-color: #FFFFFF;
	overflow:auto;
	}
	
.item {width:32%;display:inline-block; }
.item img{ vertical-align:top;}

/** 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;
}