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

/* SMARTPHONES PORTRAIT */
@media only screen and (min-width: 200px) and (max-width: 479px) {
	.banneri1 {
		display:none;
	}
	.banneri2 {
		width: 100%;
		padding-top: 10px;
		background-color: #000;
		border-bottom: 1px solid #333333;
		text-align: center;
	}
	.linkkipalkki_mobi {
		width: 100%;
		height: 50px;
		background-color: #000;
		color: #FFFFFF;
		text-align: center;
		padding-top: 2px;
	}
	.linkkipalkki {
		display:none;
	}	
	.tekstialue {
		background-color: #fff;
		width: 100%;
		min-height: 300px;
	}	
	.keskipalsta {
		width: 100%;
		overflow: auto;
		padding-left: 15px;
		padding-right: 15px;
		padding-bottom: 15px;
	}
    .kuva1 {
        width: 100%;
    }
    .kuva2 {
        width: 100%;
    }
	.tekstipalsta {
		width: 70%;
		float: left;
		min-height: 400px;
		background-color: #fff;
		padding: 25px;
	}
	.reunapalsta {
		width: 30%;
		float: right;
		background-color: #cccccc;
		padding: 25px;
	}
	.reunapalsta2 {
		width: 30%;
		float: right;
		background-color: #fff;
		padding: 25px;
	}
	.alapalkki {
		width: 100%;
		min-height: 45px;
		color: #fa8301;
		overflow: auto;
		font-size: 90%;
	}
	.alapalkki1 {
		float: left;
		padding-top: 20px;
		padding-bottom: 0px;
		padding-right: 20px;
		padding-left: 20px;
	}
	.alapalkki2 {
		float: left;
		padding-top: 10px;
		padding-bottom: 20px;
		padding-right: 20px;
		padding-left: 20px;
	}
    .alapalkki3 {
		float: left;
		padding-top: 10px;
		padding-bottom: 20px;
		padding-right: 20px;
		padding-left: 20px;
	}
	.knp {
		width: 100%;
		height: 80px;
		padding-top: 30px;
		padding-right: 30px;
		border-top: 1px solid #333333;
	}

}

/* SMARTPHONES LANDSCAPE */
@media only screen and (min-width: 480px) and (max-width: 799px) {
	.banneri1 {
		display:none;
	}
	.banneri2 {
		width: 100%;
		padding-top: 10px;
		background-color: #000;
		border-bottom: 1px solid #333333;
		text-align: center;
	}
	.linkkipalkki_mobi {
		width: 100%;
		height: 50px;
		background-color: #000;
		color: #FFFFFF;
		text-align: center;
		padding-top: 2px;
	}
	.linkkipalkki {
		display:none;
	}	
	.tekstialue {
		background-color: #fff;
		width: 100%;
		min-height: 300px;
	}
	.keskipalsta {
		width: 100%;
		overflow: auto;
		padding-left: 15px;
		padding-right: 15px;
		padding-bottom: 15px;
	}
    .kuva1 {
        width: 100%;
    }
    .kuva2 {
        width: 100%;
    }
	.tekstipalsta {
		width: 70%;
		float: left;
		min-height: 400px;
		background-color: #fff;
		padding: 25px;
	}
	.reunapalsta {
		width: 30%;
		float: right;
		background-color: #cccccc;
		padding: 25px;
	}
	.reunapalsta2 {
		width: 30%;
		float: right;
		background-color: #fff;
		padding: 25px;
	}
	.alapalkki {
		width: 100%;
		min-height: 45px;
		color: #fa8301;
		overflow: auto;
		font-size: 90%;
	}
	.alapalkki1, .alapalkki2, .alapalkki3 {
		float: left;
		padding-top: 10px;
		padding-bottom: 10px;
		padding-right: 60px;
		padding-left: 20px;
	}
	.knp {
		width: 100%;
		height: 80px;
		padding-top: 30px;
		padding-right: 30px;
		border-top: 1px solid #333333;
	}
}

/* TABLETS PORTRAIT */
@media only screen and (min-width: 800px) and (max-width: 950px) {
	.banneri1 {
		width: 100%;
		height: 80px;
		background-color: #000;
		border-bottom: 1px solid #333333;
		text-align: center;
	}
	.banneri2 {
		display:none;
	}
	.linkkipalkki {
		width: 100%;
		height: 50px;
		background-color: #000;
		color: #FFFFFF;
		text-align: center;
		padding-top: 15px;
		color: #fa8301;
	}
	.linkkipalkki_mobi {
		display:none;
	}	
	.tekstialue {
		background-color: #fff;
		width: 100%;
		min-height: 300px;
	}
	.keskipalsta {
		width: 100%;
		overflow: auto;
		padding-left: 15px;
		padding-right: 15px;
		padding-bottom: 15px;
	}
    .kuva1 {
        width: 48%;
        float: left;
    }
    .kuva2 {
        width: 48%;
        float: right;
    }
	.tekstipalsta {
		width: 70%;
		float: left;
		min-height: 400px;
		background-color: #fff;
		padding: 25px;
	}
	.reunapalsta {
		width: 30%;
		float: right;
		background-color: #cccccc;
		padding: 25px;
	}
	.reunapalsta2 {
		width: 30%;
		float: right;
		background-color: #fff;
		padding: 25px;
	}
	.alapalkki {
		width: 100%;
		min-height: 45px;
		color: #fa8301;
		overflow: auto;
		font-size: 90%;
	}
	.alapalkki1, .alapalkki2, .alapalkki3 {
		float: left;
		padding-top: 20px;
		padding-bottom: 20px;
		padding-right: 60px;
		padding-left: 20px;
	}
	.knp {
		width: 100%;
		height: 80px;
		padding-top: 30px;
		padding-right: 30px;
		border-top: 1px solid #333333;
	}
}

/* TABLET LANDSCAPE / DESKTOP */
@media only screen and (min-width: 951px) {
	.banneri1 {
		width: 100%;
		height: 80px;
		background-color: #000;
		border-bottom: 1px solid #333333;
		text-align: center;
	}
	.banneri2 {
		display:none;
	}
	.linkkipalkki {
		width: 100%;
		height: 50px;
		background-color: #000;
		color: #FFFFFF;
		text-align: center;
		padding-top: 15px;
		color: #fa8301;
	}
	.linkkipalkki_mobi {
		display:none;
	}
	.tekstialue {
		background-color: #fff;
		width: 100%;
		min-height: 300px;
	}
	.keskipalsta {
		width: 950px;
		margin-right: auto;
		margin-left: auto;
		overflow: auto;
		padding-left: 15px;
		padding-right: 15px;
		padding-bottom: 15px;
	}
    .kuva1 {
        width: 48%;
        float: left;
    }
    .kuva2 {
        width: 48%;
        float: right;
    }
	.tekstipalsta {
		width: 70%;
		float: left;
		min-height: 400px;
		background-color: #fff;
		padding: 25px;
	}
	.reunapalsta {
		width: 30%;
		float: right;
		background-color: #cccccc;
		padding: 25px;
	}
	.reunapalsta2 {
		width: 30%;
		float: right;
		background-color: #fff;
		padding: 25px;
	}
	.alapalkki {
		width: 950px;
		margin-right: auto;
		margin-left: auto;
		min-height: 45px;
		color: #fa8301;
		overflow: auto;
		font-size: 90%;
	}
	.alapalkki1, .alapalkki2, .alapalkki3 {
		float: left;
		padding-top: 20px;
		padding-bottom: 20px;
		padding-right: 60px;
		padding-left: 20px;
	}
	.knp {
		width: 100%;
		height: 80px;
		padding-top: 30px;
		border-top: 1px solid #333333;
	}
}

body {
	background-color: #000;
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	color: #000;
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	-webkit-text-size-adjust: 100%;
}
.knp {
	text-align: right;
	padding-right: 20px;
	font-size: 70%;
}
img { 
   border:0px;
}
.isokuva img, .banneri1 img, .banneri2 img {
	max-width:100% !important;
	height:auto;
	display: block;
}
a:link {
	color: #000;
	text-decoration: underline;
}
a:visited {
	color: #000;
	text-decoration: underline;
}
a:hover {
	color: #000;
	text-decoration: underline;
}
a:active {
	color: #000;
	text-decoration: underline;
}
.linkkipalkki a:link, .linkkipalkki_mobi a:link, .alapalkki a:link {
	color: #fa8301;
	text-decoration: none;
}
.linkkipalkki a:visited, .linkkipalkki_mobi a:visited, .alapalkki a:visited {
	color: #fa8301;
	text-decoration: none;
}
.linkkipalkki a:hover, .linkkipalkki_mobi a:hover, .alapalkki a:hover {
	color: #fa8301;
	text-decoration: underline;
}
.linkkipalkki a:active, .linkkipalkki_mobi a:active, .alapalkki a:active {
	color: #fa8301;
	text-decoration: none;
}
.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;
}
.tekstialue img {
    max-width:100% !important;
    height:auto;
    display: block;
}
h1 {
	font-size: 160%;
	font-weight: bold;
	color: #fa8301;
}
h2 {
	font-size: 150%;
	font-weight: bold;
	color: #fa8301;
}
h3 {
	font-size: 140%;
	font-weight: bold;
	color: #fa8301;
}
h4 {
	font-size: 130%;
	font-weight: bold;
	color: #fa8301;
}
h5 {
	font-size: 120%;
	font-weight: bold;
	color: #fa8301;
}
h6 {
	font-size: 110%;
	font-weight: bold;
	color: #fa8301;
}
.lomake {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
}
.lomake_virhe {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	background-color: #CC6666;
}
