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

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

    .tausta {
        width: 100%;
        background-color: #fff;
    }
    .ylapalkki {
        background-color: #fff;
        position: relative;
        clear: both;
    }
    .linkit_mobi {
        right: 0;
        top: 0;
        font-weight: 120%;
        text-align: right;
        z-index: 1000 !important;
        position: absolute;
        padding-top: 20px;  
        padding-right: 30px;
    }
    .linkit {
        display: none;
    }
    .banneri {
        background-color: #fff;
        position: relative;
        right: 0;
        bottom: 0;
    }
    .banneri_ala {
        right: 0;
        bottom: 0;
        position: relative;
    }
    .banneri_yla {
        bottom: 0;
        right: 0;
        position: absolute;
    }
    .banneri_otsikko {
        display: none;
    }
    .teksti_valkoinen {
        min-height: 300px;      
        overflow: auto;
    }
    .teksti {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .alapalkki {
        background-image: url("kuvat/metsatausta2.jpg");
        background-color: #000;
        min-height: 300px;
        background-repeat: no-repeat;
        background-position: left top; 
        background-size: 100%;
        padding-top: 70px;
        padding-bottom: 20px;
        overflow: auto;
        color: #dedccf;
    }
    .alapalkki img:hover {
        opacity: 0.4;
        filter: alpha(opacity=40);
    }
    .vasen {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        padding-left: 25px;
    }
    .oikea {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        padding-left: 25px;
    }
    .sponsorit {
        clear: both;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        padding-top: 50px;
        padding-bottom: 30px;
    }
    .knp {
        width: 100%;
        text-align: center;
        padding-top: 30px;  
        padding-bottom: 150px;
        font-size: 70%;
    }
	
}

@media only screen and (min-width: 1000px) and (max-width: 1299px) {

    .tausta {
        width: 100%;
        background-color: #fff;
    }
    .ylapalkki {
        background-color: #fff;
        position: relative;
    }
    .linkit {
        right: 0;
        bottom: 0;
        font-weight: 120%;
        text-align: right;
        z-index: 1000 !important;
        position: absolute;
    }
    .linkit_mobi {
        display: none;
    }
    .banneri {
        background-color: #fff;
        position: relative;
        right: 0;
        bottom: 0;
    }
    .banneri_ala {
        right: 0;
        bottom: 0;
        position: relative;
    }
    .banneri_yla {
        bottom: 0;
        right: 0;
        position: absolute;
    }
    .banneri_otsikko {
        display: none;
        top: 50%;
        width: 100%;
        text-align: center;
        position: absolute;
        color: #fff;
        font-size: 200%;
    }
    .teksti_valkoinen {
        min-height: 340px;
        background-image: url("kuvat/tassut1.jpg");
        background-repeat: no-repeat;
        background-position: left top;   
        overflow: auto;
    }
    .teksti {
        width: 70%;
        margin-left: auto;
        margin-right: auto;
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .index {
        width: 70%;
        float: left;
        padding-left: 200px;
    }
    .alapalkki {
        background-image: url("kuvat/metsatausta2.jpg");
        background-color: #000;
        min-height: 300px;
        background-repeat: no-repeat;
        background-position: left top; 
        background-size: 100%;
        padding-top: 100px;
        padding-bottom: 20px;
        overflow: auto;
        color: #dedccf;
    }
    .alapalkki img:hover {
        opacity: 0.4;
        filter: alpha(opacity=40);
    }
    .vasen {
        width: 50%;
        float: left;
    }
    .oikea {
        width: 40%;
        float: right;
    }
    .sponsorit {
        clear: both;
        padding-top: 50px;
        padding-bottom: 30px;
    }
    .knp {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        text-align: right;
        padding-top: 30px;  
        padding-bottom: 50px;
        font-size: 70%;
    }
	
}

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

    .tausta {
        width: 1250px;
        margin-left: auto;
        margin-right: auto;
        background-color: #fff;
    }
    .ylapalkki {
        position: relative;
    }
    .linkit {
        right: 0;
        bottom: 0;
        font-weight: 120%;
        text-align: right;
        z-index: 1000 !important;
        position: absolute;
    }
    .linkit_mobi {
        display: none;
    }
    .banneri {
        position: relative;
        right: 0;
        bottom: 0;
    }
    .banneri_ala {
        right: 0;
        bottom: 0;
        position: relative;
    }
    .banneri_yla {
        bottom: 0;
        right: 0;
        position: absolute;
    }
    .banneri_otsikko {
        display: none;
        top: 50%;
        width: 100%;
        text-align: center;
        position: absolute;
        color: #fff;
        font-size: 200%;
    }
    .teksti_valkoinen {
        min-height: 340px;
        background-image: url("kuvat/tassut1.jpg");
        background-repeat: no-repeat;
        background-position: left top;   
        overflow: auto;
    }
    .teksti {
        width: 700px;
        margin-left: auto;
        margin-right: auto;
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .index {
        width: 70%;
        float: left;
        padding-left: 200px;
    }    
    .alapalkki {
        background-image: url("kuvat/metsatausta2.jpg");
        background-color: #000;
        min-height: 300px;
        background-repeat: no-repeat;
        background-position: left top; 
        background-size: 100%;
        padding-top: 100px;
        padding-bottom: 20px;
        overflow: auto;
        color: #dedccf;
    }
    .alapalkki img:hover {
        opacity: 0.4;
        filter: alpha(opacity=40);
    }
    .vasen {
        width: 50%;
        float: left;
    }
    .oikea {
        width: 40%;
        float: right;
    }
    .sponsorit {
        clear: both;
        padding-top: 50px;
        padding-bottom: 30px;
    }
    .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; */
    font-family: 'Jost', serif;
	font-size: 18px;
    -webkit-text-size-adjust: 100%;
	color: #000;
	background-color: #666666;
	margin: 0px;
}
html {
    scroll-behavior: smooth;
}
.valipalkki {
    height: 20px;
    background-color: #b3b3b3;
}
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;
}
.teksti_valkoinen a:link {
	color: #000;
	text-decoration: underline;
}
.teksti_valkoinen a:visited {
	color: #000;
	text-decoration: underline;
}
.teksti_valkoinen a:hover {
	color: #000;
	text-decoration: underline;
}
.teksti_valkoinen a:active {
	color: #000;
	text-decoration: underline;
}
.knp a:link {
	color: #fff;
	text-decoration: none;
}
.knp a:visited {
	color: #fff;
	text-decoration: none;
}
.knp a:hover {
	color: #fff;
	text-decoration: underline;
}
.knp a:active {
	color: #fff;
	text-decoration: none;
}
.alapalkki a:link {
	color: #fff;
	text-decoration: underline;
}
.alapalkki a:visited {
	color: #fff;
	text-decoration: underline;
}
.alapalkki a:hover {
	color: #fff;
	text-decoration: underline;
}
.alapalkki a:active {
	color: #fff;
	text-decoration: underline;
}
.sponsorit img {
    padding-right: 20px;
    padding-bottom: 20px;
}
img {
	max-width:100% !important;
	height:auto;
}
hr {
	display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #fff;
    margin: 1em 0;
    padding: 0; 
}
.avaalinkki {
	padding:0 10px;
	line-height:32px;
}
.avaalinkki2 {
	padding: 10px 15px 10px 15px;
	line-height: 32px;
    color: #fff;
}
.avaalinkki2 :hover {
    text-decoration:none;
    color: #ff000;
}
.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;
}
#huomio {
	background-color: #F66;
	padding: 2px;
	float: right;
}
#myBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 60px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: solid 1px white; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: #1a1714; /* Set a background color */
    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 */
}
#myBtn:hover {
    background-color: #555; /* Add a dark-grey background on hover */
}
#primary_nav_wrap {
    padding-left: 20px;
}
#primary_nav_wrap ul {
    list-style:none;
    position:relative;
    float:left;
    margin:0;
    padding:7px;
    text-align: left;
}
#primary_nav_wrap ul a {
    display:block;
    color:#000;
    text-decoration:none;
    line-height:32px;
    padding-top: 0;
    padding-right: 10px;
    padding-bottom: 0;
    padding-left: 5px;
}
#primary_nav_wrap ul li {
    position:relative;
    float:left;
    margin:0;
    padding:0;	
}
#primary_nav_wrap ul li:hover {
    text-decoration:underline;
}
#primary_nav_wrap ul ul li:hover {
    text-decoration:underline;
    color: #fff;
}
#primary_nav_wrap ul ul {
    display:none;
    position:absolute;
    top:100%;
    left:0;
    background:#b3302c;
    padding:0;	
}
#primary_nav_wrap ul ul li {
    float:none;
    width:200px;
    background:#b3302c;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    border-right-color: #FFF;
    border-bottom-color: #FFF;
    border-left-color: #FFF;
    z-index:1000;
}
#primary_nav_wrap ul ul a {
    line-height:120%;
    padding-top: 10px;
    padding-right: 15px;
    padding-bottom: 10px;
    padding-left: 15px;
    color: #fff;
}
#primary_nav_wrap ul ul ul {
    top:0;
    left:100%;
}
#primary_nav_wrap ul li:hover > ul {
    display:block;
}