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

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

    .tausta {
        width: 100%;
    }
    .sisalto {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    .ylapalkki {
        height: 100px;
        width: 100%;
    }
    .banneri {
        padding-top: 10px;
        padding-bottom: 10px;
        border-top: solid 1px black;
    }
    .linkkialue {
        float: right;
    }
    .linkit {        
        display: none;
    }
    .linkit_mobi {        
        right: 0;
        top: 0;
        font-weight: 120%;
        text-align: right;
        z-index: 1000 !important;
        position: absolute;
        padding-top: 40px;  
        padding-right: 50px;
    }
    .teksti {
        min-height: 500px;
        background-color: #fff;  
        overflow: auto;
        padding-top: 50px;
        padding-bottom: 50px;
    } 
    .alapalkki {
        background-color: #004aad;
        min-height: 150px;
        padding-top: 50px;
        padding-bottom: 50px;
        color: #fff;    
        font-size: 85%;
        overflow: auto;
    }
    .vasen {
        width: 100%;
        float: left;
        padding-bottom: 20px;
    }
    .oikea {
        width: 100%;
        float: left;
        padding-bottom: 20px;
    }
    .vasen60 {
        width: 100%;
        float: left;
        padding-bottom: 20px;
    }
    .oikea40 {
        width: 100%;
        float: left;
        padding-bottom: 20px;
    }
    .knp {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        text-align: right;
        padding-top: 30px;  
        padding-bottom: 50px;
        padding-right: 100px;
        font-size: 70%;
    }	
    
}

@media only screen and (min-width: 945px) and (max-width: 1099px) {

    .tausta {
        width: 100%;
    }
    .sisalto {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    .ylapalkki {
        height: 100px;
        width: 100%;
    }
    .banneri {
        padding-top: 10px;
        padding-bottom: 10px;
        border-top: solid 1px black;
    }
    .linkkialue {
        float: right;
    }
    .linkit {        
        padding-top: 50px;
        font-size: 80%;
    }
    .linkki {        
        padding-right: 25px;
        float: left;
    }
    .linkit_mobi {
        display: none;
    }
    .teksti {
        min-height: 500px;
        background-color: #fff;  
        overflow: auto;
        padding-top: 50px;
        padding-bottom: 50px;
    } 
    .alapalkki {
        background-color: #004aad;
        min-height: 150px;
        padding-top: 50px;
        padding-bottom: 50px;
        color: #fff;    
        font-size: 85%;
        overflow: auto;
    }
    .vasen {
        width: 45%;
        float: left;
        padding-bottom: 20px;
    }
    .oikea {
        width: 50%;
        float: right;
        padding-bottom: 20px;
    }
    .alas {
        padding-top: 115px;
    }
    .vasen60 {
        width: 60%;
        float: left;
        padding-bottom: 20px;
    }
    .oikea40 {
        width: 30%;
        float: right;
        padding-bottom: 20px;
    }
    .knp {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        text-align: right;
        padding-top: 30px;  
        padding-bottom: 50px;
        padding-right: 100px;
        font-size: 70%;
    }	
}

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

    .tausta {
        width: 100%;
    }
    .sisalto {
        width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }
    .ylapalkki {
        height: 100px;
        width: 100%;
    }
    .banneri {
        padding-top: 10px;
        padding-bottom: 10px;
        border-top: solid 1px black;
    }
    .linkkialue {
        width: 100%;
        text-align: center;
    }
    .linkit {        
        padding-top: 50px;
        font-size: 90%;
    }
    .linkki {        
        padding-right: 25px;
        float: left;
    }
    .linkit_mobi {
        display: none;
    }
    .teksti {
        min-height: 500px;
        background-color: #fff;  
        overflow: auto;
        padding-top: 50px;
        padding-bottom: 50px;
    } 
    .alapalkki {
        background-color: #004aad;
        min-height: 150px;
        padding-top: 50px;
        padding-bottom: 50px;
        color: #fff;    
        font-size: 85%;
        overflow: auto;
    }
    .vasen {
        width: 45%;
        float: left;
        padding-bottom: 20px;
    }
    .oikea {
        width: 50%;
        float: right;
        padding-bottom: 20px;
    }
    .alas {
        padding-top: 40px;
    }
    .vasen60 {
        width: 60%;
        float: left;
        padding-bottom: 20px;
    }
    .oikea40 {
        width: 30%;
        float: right;
        padding-bottom: 20px;
    }
    .knp {
        width: 1000px;
        margin-left: auto;
        margin-right: auto;
        text-align: right;
        padding-top: 30px;  
        padding-bottom: 50px;
        padding-right: 100px;
        font-size: 70%;
    }
}

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

    .tausta {
        width: 1920px;
        margin-left: auto;
        margin-right: auto;
    }
    .sisalto {
        width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }
    .ylapalkki {
        height: 100px;
        width: 100%;
    }
    .banneri {
        padding-top: 10px;
        padding-bottom: 10px;
        border-top: solid 1px black;
    }
    .linkkialue {
        width: 100%;
        text-align: center;
    }
    .linkit {        
        padding-top: 50px;
        font-size: 90%;
    }
    .linkki {        
        padding-right: 25px;
        float: left;
    }
    .linkit_mobi {
        display: none;
    }
    .teksti {
        min-height: 500px;
        background-color: #fff;  
        overflow: auto;
        padding-top: 50px;
        padding-bottom: 50px;
    } 
    .alapalkki {
        background-color: #004aad;
        min-height: 150px;
        padding-top: 50px;
        padding-bottom: 50px;
        color: #fff;    
        font-size: 85%;
        overflow: auto;
    }
    .vasen {
        width: 45%;
        float: left;
        padding-bottom: 20px;
    }
    .oikea {
        width: 50%;
        float: right;
        padding-bottom: 20px;
    }
    .vasen60 {
        width: 60%;
        float: left;
        padding-bottom: 20px;
    }
    .oikea40 {
        width: 30%;
        float: right;
        padding-bottom: 20px;
    }
    .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, Arial, Helvetica, sans-serif;
	font-size: 16px;
    -webkit-text-size-adjust: 100%;
	color: #545454;
	background-color: #fff;
	margin: 0px;
    line-height: 150%;
}
html {
    scroll-behavior: smooth;
}
a:link {
	color: #000;
	text-decoration: none;
}
a:visited {
	color: #000;
	text-decoration: none;
}
a:hover {
	color: #48b4f3;
	text-decoration: underline;
}
a:active {
	color: #000;
	text-decoration: none;
}
.teksti a:link {
	color: #48b4f3;
	text-decoration: underline;
}
.teksti a:visited {
	color: #48b4f3;
	text-decoration: underline;
}
.teksti a:hover {
	color: #000;
	text-decoration: underline;
}
.teksti a:active {
	color: #48b4f3;
	text-decoration: underline;
}
img {
	max-width:100% !important;
	height:auto;
}
.sininen {
    color: #004aad;
}
.punainen {
    color: #94241d;
}
hr {
	display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #fff;
    margin: 1em 0;
    padding: 0; 
}
.lomake_virhe {
	background-color: #F0ABAD;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #000;
	font-size: 100%;
}
.lomake {
	background-color: #fff;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #000;
	font-size: 100%;
}
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;
}
.otsikko {
	color: #48b4f3;
    font-weight: bold;
}
.clear {
    clear: both;
}
.center {
    text-align: center;
}
.vali {
    height: 100px;
}
.vali2 {
    height: 20px;
}
.topMenu {
    position: fixed;
    bottom: 0;
    width: 20%;
    max-width: 100px;
    z-index: 2000;
    transition: all 1s;
    padding-bottom: 30px;
}
.hide {
    opacity:0;
    right:-100%;
}
.show {
    opacity:1;
    right:0;
}
.ajanvaraus {
    margin-top: 50px;
}
.ajanvaraus a:link, .ajanvaraus a:visited, .ajanvaraus a:active {
    background-color: #94241d;
    border: solid 1px white; /* Remove borders */
    outline: none; /* Remove outline */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    border-radius: 10px; /* Rounded corners */
    font-size: 18px; /* Increase font size */
    text-decoration: none;
}
.ajanvaraus a:hover {
	background-color: #cf3e35;
    border: solid 1px white; /* Remove borders */
    outline: none; /* Remove outline */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    border-radius: 10px; /* Rounded corners */
    font-size: 18px; /* Increase font size */
    text-decoration: none;
}