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

@media only screen and (min-width: 200px) and (max-width: 799px) {
	.tausta {
		width: 100%;
		padding-bottom: 15px;
	}
	.tekstialue {
		width: 98%;
		margin-left: auto;
		margin-right: auto;		
		border: 1px solid #000000;
		margin-top: 10px;
	}
	.banneri {
		width: 100%;
	}
	.tekstit {
		background-color: #5c5c5c;
		min-height: 500px;
		overflow: auto;
		padding: 20px;
	}
	.linkkipalkki_mobi {
		width: 100%;
		height: 90px;
		background-color: #cecece;
		margin-top: 5px;
		padding: 15px;
		background-image: url(kuvat/logo.png);
		background-position: top right;
		background-repeat: no-repeat;
		background-origin: content-box, content-box;
	}
	.dl-menuwrapper {
		padding-top: 7px;
	}
	.linkkipalkki {
		display: none;
	}
	.tekstipalkki {
		width: 100%;
		color: #fff;
	}
	.alapalkki {
		width: 100%;
	}
}

/* TABLETS PORTRAIT */
@media only screen and (min-width: 800px) and (max-width: 1029px) {
	.tausta {
		width: 100%;
		padding-bottom: 15px;
	}
	.tekstialue {
		width: 98%;
		margin-left: auto;
		margin-right: auto;		
		border: 1px solid #000000;
		margin-top: 10px;
	}
	.banneri {
		width: 100%;
	}
	.tekstit {
		background-color: #5c5c5c;
		min-height: 500px;
		overflow: auto;
		padding-right: 15px;
		padding-top: 15px;
		padding-bottom: 15px;
	}
	.linkkipalkki {
		width: 32%;
		float: left;
		background-color: #cecece;
		margin-top: 5px;
		margin-left: 10px;
		border: 1px solid #000000;
		padding: 15px;
		box-shadow: 5px 5px #000;
	}
	.linkkipalkki_mobi {
		display: none;
	}
	.tekstipalkki {
		width: 63%;
		float: right;
		color: #fff;
	}
	.alapalkki {
		width: 100%;
	}
}

/* TABLET LANDSCAPE / DESKTOP */
@media only screen and (min-width: 1030px) {
	.tausta {
		max-width: 2000px;
		margin-left: auto;
		margin-right: auto;
		background-image: url(kuvat/tausta.png);
		background-repeat: repeat-y;
		background-size: contain;
		background-position: top center;
		padding-bottom: 15px;
	}
	.tekstialue {
		width: 1002px;
		margin-left: auto;
		margin-right: auto;		
		border: 1px solid #000000;
		margin-top: 10px;
	}
	.banneri {
		width: 100%;
		height: 250px;
	}
	.tekstit {
		background-color: #5c5c5c;
		min-height: 500px;
		overflow: auto;
		padding-right: 15px;
		padding-top: 15px;
		padding-bottom: 15px;
	}
	.linkkipalkki {
		width: 250px;
		float: left;
		background-color: #cecece;
		margin-top: 5px;
		margin-left: 10px;
		border: 1px solid #000000;
		padding: 15px;
		box-shadow: 5px 5px #000;
	}
	.linkkipalkki_mobi {
		display: none;
	}
	.tekstipalkki {
		width: 680px;
		float: right;
		color: #fff;
	}
	.alapalkki {
		height: 116px;
		width: 100%;
	}
}

body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	font-family: 'Montserrat', sans-serif;
	color: #000;
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	background-color: #cccccc;
	line-height: 150%;
}
a:link {
	color: #fff;
	text-decoration: none;
}
a:visited {
	color: #fff;
	text-decoration: none;
}
a:hover {
	color: #fff;
	text-decoration: underline;
}
a:active {
	color: #fff;
	text-decoration: none;
}
.valkoinen a:link {
	color: #fff;
	text-decoration: underline;
}
.valkoinen a:visited {
	color: #fff;
	text-decoration: underline;
}
.valkoinen a:hover {
	color: #fff;
	text-decoration: underline;
}
.valkoinen a:active {
	color: #fff;
	text-decoration: underline;
}
.linkkipalkki a:link, .linkkipalkki_mobi a:link {
	color: #000;
	text-decoration: none;
}
.linkkipalkki a:visited, .linkkipalkki_mobi a:visited {
	color: #000;
	text-decoration: none;
}
.linkkipalkki a:hover, .linkkipalkki_mobi a:hover {
	color: #000;
	text-decoration: underline;
}
.linkkipalkki a:active, .linkkipalkki_mobi a:active {
	color: #000;
	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;
	height: 100% !important;
}
.tekstipalkki img, .banneri img, .alapalkki img {
	max-width:100% !important;
	height:auto;
	display:block;
	border: 0;
}
.center {
    padding-left: 50px;
	padding-top: 10px;
}
h1 {
	font-size: 135%;
	font-weight: bold;
}
h2 {
	font-size: 130%;
	font-weight: bold;
}
h3 {
	font-size: 125%;
	font-weight: bold;
}
h4 {
	font-size: 120%;
	font-weight: bold;
}
h5 {
	font-size: 110%;
	font-weight: bold;
}
h6 {
	font-size: 105%;
	font-weight: bold;
}

