@charset "utf-8";
/* CSS Document */

@media only screen and (min-width: 200px) and (max-width: 700px) {

    .tausta {
        width: 100%;
    }
    .linkit_mobi {        
        right: 0;
        top: 0;
        font-weight: 120%;
        text-align: right;
        z-index: 1000 !important;
        position: absolute;
        padding-top: 40px;  
        padding-right: 50px;
    }
    .ylapalkki {
        width: 100%;
        background-color: #fff;
    }
    .logo {
        /* display: none; */
        z-index: 1500 !important;
        position: absolute;
        top: 20px;
        left: 5%;
        color: #000;
    }
    .logo img {
        max-width: 100px;
    }
    .linkkialue {
        text-align: right;        
    }
    .linkit {     
        display: none;
    }
    .banneri {
        width: 100%;
        margin-bottom: -5px;
    }
    .laudanylaosa {
        height: 67px;
        background-image: url("kuvat/laudanylaosa.jpg");
    }
    .sisalto {
        min-height: 500px;
        overflow: auto;
        background-image: url("kuvat/taustalauta.jpg");
        background-size: auto;
        padding-bottom: 50px;
    } 
    .laatikot {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    .laatikko {
        width: 98%;
        max-width: 392px;
        margin-left: auto;
        margin-right: auto;
    }
    .laatikkoteksti {
        background-color: #fff;
        height: 280px;
        margin-top: -20px;
        text-align: center;
        padding-top: 20px;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 10px;
    }    
    .laatikkolinkki {
        background-color: #fff;
        height: 50px;
        text-align: center;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 10px;
    } 
    .tekstialue {
        width: 88%;
        min-height: 400px;
        margin-left: auto;
        margin-right: auto;
        background-color: #fff;
        padding: 25px;
        margin-top: 10px;
    }
    .alapalkki {
        background-color: #393024;
        min-height: 50px;
        padding-top: 25px;
        padding-bottom: 25px;
        color: #fff;    
        font-size: 85%;
        overflow: auto;
    }
    .alapalkki .vasen {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    .alapalkki .oikea {
        width: 88%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    .knp {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        padding-top: 30px;  
        padding-bottom: 50px;
        font-size: 70%;
    }
    
}

@media only screen and (min-width: 700px) and (max-width: 1100px) {

    .tausta {
        width: 100%;
    }
    .linkit_mobi {        
        right: 0;
        top: 0;
        font-weight: 120%;
        text-align: right;
        z-index: 1000 !important;
        position: absolute;
        padding-top: 40px;  
        padding-right: 50px;
    }
    .ylapalkki {
        width: 100%;
        background-color: #fff;
    }
    .logo {
        /* display: none; */
        z-index: 1500 !important;
        position: absolute;
        top: 20px;
        left: 5%;
        color: #000;
    }
    .logo img {
        max-width: 100px;
    }
    .linkkialue {
        text-align: right;        
    }
    .linkit {     
        display: none;
    }
    .banneri {
        width: 100%;
        margin-bottom: -5px;
    }
    .laudanylaosa {
        height: 67px;
        background-image: url("kuvat/laudanylaosa.jpg");
    }
    .sisalto {
        min-height: 500px;
        overflow: auto;
        background-image: url("kuvat/taustalauta.jpg");
        background-size: auto;
        padding-bottom: 50px;
    } 
    .laatikot {
        width: 97%;
        margin-left: auto;
        margin-right: auto;
    }
    .laatikko {
        width: 23%;
        float: left;
        margin-left: 1%;
        margin-right: 1%;
    }
    .laatikkoteksti {
        background-color: #fff;
        height: 350px;
        margin-top: -20px;
        text-align: center;
        padding-top: 20px;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 10px;
    }    
    .laatikkolinkki {
        background-color: #fff;
        height: 50px;
        text-align: center;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 10px;
    } 
    .tekstialue {
        width: 95%;
        min-height: 400px;
        margin-left: auto;
        margin-right: auto;
        background-color: #fff;
        padding: 25px;
        margin-top: 10px;
    }
    .alapalkki {
        background-color: #393024;
        min-height: 50px;
        padding-top: 25px;
        padding-bottom: 25px;
        color: #fff;    
        font-size: 85%;
        overflow: auto;
    }
    .alapalkki .vasen {
        width: 50%;
        float: left;
        text-align: right;
        padding-right: 50px;
        padding-top: 15px;
    }
    .alapalkki .oikea {
        width: 50%;
        float: right;
        text-align: left;
        padding-left: 50px;
    }
    .knp {
        width: 50%;
        margin-left: auto;
        margin-right: auto;
        text-align: right;
        padding-top: 30px;  
        padding-bottom: 50px;
        font-size: 70%;
    }
    
}

@media only screen and (min-width: 1100px) and (max-width: 1375px) {

    .tausta {
        width: 95%;
        margin-left: auto;
        margin-right: auto;
    }
    .ylapalkki {
        width: 100%;
        background-color: #fff;
    }
    .logo {
        /* display: none; */
        z-index: 1500 !important;
        position: absolute;
        top: 20px;
        left: 2%;
        color: #000;
    }
    .linkkialue {
        text-align: right;        
    }
    .linkit {     
        font-size: 120%;
        padding-top: 70px;
        padding-bottom: 20px;
        padding-right: 5px;
        font-family: Verdana, sans-serif;
        font-weight: 400;
        font-style: normal;
    }
    .linkit_mobi {
        display: none;
    }
    .banneri {
        width: 100%;
        margin-bottom: -5px;
    }
    .laudanylaosa {
        height: 67px;
        background-image: url("kuvat/laudanylaosa.jpg");
    }
    .sisalto {
        min-height: 500px;
        overflow: auto;
        background-image: url("kuvat/taustalauta.jpg");
        background-size: auto;
        padding-bottom: 50px;
    } 
    .laatikot {
        width: 95%;
        margin-left: auto;
        margin-right: auto;
    }
    .laatikko {
        width: 21%;
        float: left;
        margin-left: 2%;
        margin-right: 2%;
    }
    .laatikkoteksti {
        background-color: #fff;
        height: 280px;
        margin-top: -20px;
        text-align: center;
        padding-top: 20px;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 10px;
    }    
    .laatikkolinkki {
        background-color: #fff;
        height: 50px;
        text-align: center;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 10px;
    } 
    .tekstialue {
        width: 91%;
        min-height: 400px;
        margin-left: auto;
        margin-right: auto;
        background-color: #fff;
        padding: 25px;
        margin-top: 50px;
    }
    .alapalkki {
        background-color: #393024;
        min-height: 50px;
        padding-top: 25px;
        padding-bottom: 25px;
        color: #fff;    
        font-size: 85%;
        overflow: auto;
    }
    .alapalkki .vasen {
        width: 50%;
        float: left;
        text-align: right;
        padding-right: 50px;
        padding-top: 15px;
    }
    .alapalkki .oikea {
        width: 50%;
        float: right;
        text-align: left;
        padding-left: 50px;
    }
    .knp {
        width: 70%;
        margin-left: auto;
        margin-right: auto;
        text-align: right;
        padding-top: 30px;  
        padding-bottom: 50px;
        font-size: 70%;
    }
}

@media only screen and (min-width: 1375px) and (max-width: 1939px) {

    .tausta {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    .ylapalkki {
        width: 100%;
        background-color: #fff;
    }
    .logo {
        /* display: none; */
        z-index: 1500 !important;
        position: absolute;
        top: 20px;
        left: 5%;
        color: #000;
    }
    .linkkialue {
        text-align: right;        
    }
    .linkit {     
        font-size: 150%;
        padding-top: 70px;
        padding-bottom: 20px;
        padding-right: 20px;
        font-family: Verdana, sans-serif;
        font-weight: 400;
        font-style: normal;
    }
    .linkit_mobi {
        display: none;
    }
    .banneri {
        width: 100%;
        margin-bottom: -5px;
    }
    .laudanylaosa {
        height: 67px;
        background-image: url("kuvat/laudanylaosa.jpg");
    }
    .sisalto {
        min-height: 500px;
        overflow: auto;
        background-image: url("kuvat/taustalauta.jpg");
        background-size: auto;
        padding-bottom: 50px;
    } 
    .laatikot {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
    .laatikko {
        width: 21%;
        float: left;
        margin-left: 2%;
        margin-right: 2%;
    }
    .laatikkoteksti {
        background-color: #fff;
        height: 280px;
        margin-top: -20px;
        text-align: center;
        padding-top: 20px;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 10px;
    }    
    .laatikkolinkki {
        background-color: #fff;
        height: 50px;
        text-align: center;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 10px;
    } 
    .tekstialue {
        width: 77%;
        min-height: 400px;
        margin-left: auto;
        margin-right: auto;
        background-color: #fff;
        padding: 25px;
        margin-top: 50px;
    }
    .alapalkki {
        background-color: #393024;
        min-height: 50px;
        padding-top: 20px;
        padding-bottom: 25px;
        color: #fff;    
        font-size: 85%;
        overflow: auto;
    }
    .alapalkki .vasen {
        width: 50%;
        float: left;
        text-align: right;
        padding-right: 50px;
        padding-top: 15px;
    }
    .alapalkki .oikea {
        width: 50%;
        float: right;
        text-align: left;
        padding-left: 50px;
    }
    .knp {
        width: 1000px;
        margin-left: auto;
        margin-right: auto;
        text-align: right;
        padding-top: 30px;  
        padding-bottom: 50px;
        font-size: 70%;
    }
}

@media only screen and (min-width: 1940px) {

    .tausta {
        width: 1920px;
        margin-left: auto;
        margin-right: auto;
    }
    .ylapalkki {
        width: 100%;
        background-color: #fff;
    }
    .logo {
        /* display: none; */
        z-index: 1500 !important;
        position: absolute;
        top: 20px;
        left: 10%;
        color: #000;
    }
    .linkkialue {
        text-align: right;        
    }
    .linkit {     
        font-size: 150%;
        padding-top: 70px;
        padding-bottom: 20px;
        padding-right: 20px;
        font-family: Verdana, sans-serif;
        font-weight: 400;
        font-style: normal;
    }
    .linkit_mobi {
        display: none;
    }
    .banneri {
        width: 100%;
        margin-bottom: -5px;
    }
    .laudanylaosa {
        height: 67px;
        background-image: url("kuvat/laudanylaosa.jpg");
    }
    .sisalto {
        min-height: 500px;
        overflow: auto;
        background-image: url("kuvat/taustalauta.jpg");
        background-size: auto;
        padding-bottom: 50px;
    } 
    .laatikot {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
    .laatikko {
        width: 21%;
        float: left;
        margin-left: 2%;
        margin-right: 2%;
    }
    .laatikkoteksti {
        background-color: #fff;
        height: 280px;
        margin-top: -20px;
        text-align: center;
        padding-top: 20px;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 10px;
    }    
    .laatikkolinkki {
        background-color: #fff;
        height: 50px;
        text-align: center;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 10px;
    } 
    .tekstialue {
        width: 77%;
        min-height: 400px;
        margin-left: auto;
        margin-right: auto;
        background-color: #fff;
        padding: 25px;
        margin-top: 50px;
    }
    .alapalkki {
        background-color: #393024;
        min-height: 50px;
        padding-top: 25px;
        padding-bottom: 25px;
        color: #fff;    
        font-size: 85%;
        overflow: auto;
    }
    .alapalkki .vasen {
        width: 50%;
        float: left;
        text-align: right;
        padding-right: 50px;
        padding-top: 15px;
    }
    .alapalkki .oikea {
        width: 50%;
        float: right;
        text-align: left;
        padding-left: 50px;
    }
    .knp {
        width: 1000px;
        margin-left: auto;
        margin-right: auto;
        text-align: right;
        padding-top: 30px;  
        padding-bottom: 50px;
        font-size: 70%;
    }
}

body {
	font-family: Verdana, sans-serif;
    font-style: normal;
	font-size: 100%;
    -webkit-text-size-adjust: 100%;
	color: #000;
	background-color: #fff;
	margin: 0px;
    line-height: 110%;
}
html {
    scroll-behavior: smooth;
}
a:link {
	color: #000;
	text-decoration: none;
}
a:visited {
	color: #000;
	text-decoration: none;
}
a:hover {
	color: #000;
	text-decoration: underline;
}
a:active {
	color: #000;
	text-decoration: none;
}
.tekstialue a:link {
	color: #000;
	text-decoration: underline;
}
.tekstialue a:visited {
	color: #000;
	text-decoration: underline;
}
.tekstialue a:hover {
	color: #000;
	text-decoration: underline;
}
.tekstialue a:active {
	color: #000;
	text-decoration: underline;
}
.alapalkki a:link {
	color: #fff;
	text-decoration: none;
}
.alapalkki a:visited {
	color: #fff;
	text-decoration: none;
}
.alapalkki a:hover {
	color: #fff;
	text-decoration: underline;
}
.alapalkki a:active {
	color: #fff;
	text-decoration: none;
}
.banneri img, .laatikko img, .tekstialue img {
	max-width:100% !important;
	height:auto;
}
hr {
	display: block;
    height: 2px;
    border: 0;
    border-top: 2px solid #000;
    margin: 1em 0;
    padding: 0; 
}
h1 {
    font-size: 160%;
	font-weight: bold;
}
h2 {
    font-size: 150%;
	font-weight: bold;
}
h3 {
    font-size: 140%;
	font-weight: bold;
}
h4 {
	font-size: 130%;
	font-weight: bold;
}
h5 {
	font-size: 120%;
	font-weight: bold;
}
h6 {
	font-size: 110%;
	font-weight: bold;
}
.lomake_virhe {
    background-color: #F0ABAD;
    font-family: Verdana, sans-serif;
    color: #000;
    font-size: 100%;
}
.lomake {
    background-color: #fff;
    font-family: Verdana, sans-serif;
    color: #000;
    font-size: 100%;
}
.clear {
    clear: both;
    height: 20px;
}
.hide {
    opacity:0;
    right:-100%;
}
.show {
    opacity:1;
    right:0;
}
.topMenu {
    position: fixed;
    bottom: 0;
    width: 20%;
    max-width: 130px;
    z-index: 2000;
    transition: all 1s;
    padding-bottom: 30px;
}
.leveys {
    display: none;
    z-index: 1500 !important;
    position: absolute;
    top: 10px;
    left: 10px;
    color: #000;
}
.laatikkonappi a:link, .laatikkonappi a:visited, .laatikkonappi a:active {
    background-color: #aa8352;
    border: solid 1px white; /* Remove borders */
    outline: none; /* Remove outline */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding-top: 5px; /* Some padding */
    padding-bottom: 5px;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 15px; /* Increase font size */
    text-decoration: none;
}
.laatikkonappi a:hover {
	background-color: #393024;
    border: solid 1px white; /* Remove borders */
    outline: none; /* Remove outline */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding-top: 5px; /* Some padding */
    padding-bottom: 5px;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 15px; /* Increase font size */
    text-decoration: none;
}
.google-maps {
    position: relative;
    padding-bottom: 75%; /* This is the aspect ratio */
    height: 0;
    overflow: hidden;
}
.google-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
}