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

@media only screen and (min-width: 200px) and (max-width: 799px) {
	.sisalto {
		width: 90%;
		margin-left: auto;
		margin-right: auto;
	}
	.ylapalkki {
		width: 100%;
		text-align: center;
		color: #F0F8FF;
		padding-top: 10px;
		padding-bottom: 10px;
		font-size: 3.5vw;
	}
	.ylapalkki {display: none;}.banneri {margin-top: 10px;}	
	.banneri {
		width: 100%;
		text-align: center;
	}
	.linkkipalkki {
		width: 100%;
		height: 60px;
		color: #fff;
		padding-top: 5px;
		padding-bottom: 5px;
		font-size: 120%;
	}
	.ylapalkki_linkit {
		display: none;
	}
	.ylapalkki_logo {
		display: none;
	}
	.tekstit {
		min-height: 300px;
		overflow: auto;
		background-color: #000000;
		padding-top: 15px;
		padding-bottom: 15px;
	}
	.alapalkki {
		width: 100%;
		min-height: 80px;
		text-align: center;
		color: #F0F8FF;
		padding-top: 15px;
		padding-bottom: 15px;
        overflow: auto;
	}
	.knp {
		width: 100%;
		height: 100px;
		font-size: 80%;
		text-align: right;
		background-color: #000000;
		color: #F0F8FF;
		padding-top: 30px;
	}	
}

@media only screen and (min-width: 800px) and (max-width: 1139px) {
	.sisalto {
		width: 95%;
		margin-left: auto;
		margin-right: auto;
	}
	.ylapalkki {
		width: 100%;
		height: 100px;
		text-align: center;
		color: #F0F8FF;
		padding-top: 5px;
		font-size: 200%;
	}
	.ylapalkki {display: none;}.banneri {margin-top: 10px;}	
	.banneri {
		width: 100%;
		text-align: center;
	}
	.linkkipalkki {
		width: 100%;
		min-height: 100px;
		color: #fff;
		padding-top: 20px;
		font-size: 120%;
	}
	.ylapalkki_linkit {
		float: left;
		width: 85%;
	}
	.ylapalkki_logo {
		float: right;
		padding-top: 13px;
		width: 110px;
	}
	.ylapalkki_linkit_mobi {
		display: none;
	}
	.tekstit {
		min-height: 400px;
		overflow: auto;
		background-color: #000000;
		padding-top: 15px;
		padding-bottom: 15px;
	}
	.alapalkki {
		width: 100%;
		height: 100px;
		text-align: center;
		color: #F0F8FF;
		padding-top: 25px;
	}
	.knp {
		width: 100%;
		height: 100px;
		font-size: 80%;
		text-align: right;
		background-color: #000000;
		color: #F0F8FF;
		padding-top: 30px;
	}	
}

@media only screen and (min-width: 1140px) and (max-width: 1939px) {
	.sisalto {
		width: 1100px;
		margin-left: auto;
		margin-right: auto;
	}
	.ylapalkki {
		width: 100%;
		height: 100px;
		text-align: center;
		color: #F0F8FF;
		padding-top: 5px;
		font-size: 200%;
	}
	.ylapalkki {display: none;}.banneri {margin-top: 10px;}	
	.banneri {
		width: 100%;
		text-align: center; 
	}
	.linkkipalkki {
		width: 100%;
		height: 100px;
		color: #fff;
		padding-top: 25px;
		font-size: 120%;
	}
	.ylapalkki_linkit {
		float: left;
	}
	.ylapalkki_logo {
		float: right;
		padding-top: 13px;
		width: 110px;
	}
	.ylapalkki_linkit_mobi {
		display: none;
	}
	.tekstit {
		clear: both;
        min-height: 400px;
		overflow: auto;
		background-color: #000000;
		padding-top: 15px;
		padding-bottom: 15px;
	}
	.alapalkki {
		width: 100%;
		height: 100px;
		text-align: center;
		color: #F0F8FF;
		padding-top: 25px;
	}
	.knp {
		width: 100%;
		height: 100px;
		font-size: 80%;
		text-align: right;
		background-color: #000000;
		color: #F0F8FF;
		padding-top: 30px;
	}
}

@media only screen and (min-width: 1940px) {
	.sisalto {
		width: 1100px;
		margin-left: auto;
		margin-right: auto;
	}
	.ylapalkki {
		width: 100%;
		height: 100px;
		text-align: center;
		color: #F0F8FF;
		padding-top: 5px;
		font-size: 200%;
	}
	.banneri {
		width: 1920px;
		margin-left: auto;
		margin-right: auto;
		text-align: center; 
	}
	.ylapalkki {display: none;}.banneri {margin-top: 10px;}	
	.linkkipalkki {
		width: 100%;
		height: 100px;
		color: #fff;
		padding-top: 25px;
		font-size: 120%;
	}
	.ylapalkki_linkit {
		float: left;
	}
	.ylapalkki_logo {
		float: right;
		padding-top: 13px;
		width: 110px;
	}
	.ylapalkki_linkit_mobi {
		display: none;
	}
	.tekstit {
		clear: both;
        min-height: 400px;
		overflow: auto;
		background-color: #000000;
		padding-top: 15px;
		padding-bottom: 15px;
	}
	.alapalkki {
		width: 100%;
		height: 100px;
		text-align: center;
		color: #F0F8FF;
		padding-top: 25px;
	}
	.knp {
		width: 100%;
		height: 100px;
		font-size: 80%;
		text-align: right;
		background-color: #000000;
		color: #F0F8FF;
		padding-top: 30px;
	}
}

body {
	margin: 0px;
	font-family: 'Montserrat', sans-serif;
	color: #F0F8FF;
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	background-color: #000000;
	line-height: 150%;
}
a:link {
	color: #F0F8FF;
	text-decoration: underline;
}
a:visited {
	color: #F0F8FF;
	text-decoration: underline;
}
a:hover {
	color: #F0F8FF;
	text-decoration: underline;
}
a:active {
	color: #F0F8FF;
	text-decoration: underline;
}
.ylapalkki_linkit_mobi a:link {
	color: #000;
	text-decoration: none;
}
.ylapalkki_linkit_mobi a:visited {
	color: #000;
	text-decoration: none;
}
.ylapalkki_linkit_mobi a:hover {
	color: #000;
	text-decoration: none;
}
.ylapalkki_linkit_mobi a:active {
	color: #000;
	text-decoration: none;
}
.tekstit a:link {
	color: #F0F8FF;
	text-decoration: underline;
}
.tekstit a:visited {
	color: #F0F8FF;
	text-decoration: underline;
}
.tekstit a:hover {
	color: #F0F8FF;
	text-decoration: underline;
}
.tekstit a:active {
	color: #F0F8FF;
	text-decoration: underline;
}
.knp a:link {
	color: #F0F8FF;
	text-decoration: none;
}
.knp a:visited {
	color: #F0F8FF;
	text-decoration: none;
}
.knp a:hover {
	color: #F0F8FF;
	text-decoration: underline;
}
.knp a:active {
	color: #F0F8FF;
	text-decoration: none;
}
img {
	max-width:100% !important;
	height:auto;
}
#piiloon {
	color: #FF0004;
	font-size: 85%;
}
.lomake_kirj {
	font-size: 80%;
	color: #333;
}
.lomake_virhe {
	background-color: #F0ABAD;
	font-family: 'Montserrat', sans-serif;
	color: #000;
	font-size: 100%;
}
.lomake {
	background-color: #fff;
	font-family: 'Montserrat', sans-serif;
	color: #000;
	font-size: 100%;
}
hr {
	display: block;
    height: 1px;
    border: 0;
    border-top: 1px 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;
}
#myBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 110px; /* 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 */
}