@charset "utf-8";
@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,700,700italic|Open+Sans+Condensed:700");
@font-face {
	font-family: 'Open Sans', sans-serif;
  	font-weight: 400;
}
html {
	min-width: 320px;
	}
ul, ol, dl { 
	padding: 0;
	margin: 0;
}
header {
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #999;
	border-top-width: 1px;
	border-top-style: dotted;
	border-top-color: #999;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Open Sans Condensed', sans-serif;
	font-weight: 500;
	color: #333;
	margin-top: 10px;
	margin-bottom: 10px;
	padding-right: 0px;
	padding-left: 0px;
}
p {
	margin-top: 0px;
	margin-bottom: 0px;
	 
}
h1 {
	font-size: 24px;
	}
h2 {
	font-size: 20px;
	}
h3 {
	font-size: 18px;
	}
.t	{
	line-height: 1.8;
	}
.at {
	color: #eee;
	line-height: 1.6;
}
.aots {
	color: #eee;
	font-size: 24px;
	font-weight: bold;
}
.copyt {
	color: #CCC;
}
a img { 
	border: none;
}
a:link {
	color:#333;
	text-decoration: underline;
	font-size: 16px;
	-o-transition: all 0.5s linear;
	-moz-transition: all 0.5s linear;
	-khtml-transition: all 0.5s linear;
	-webkit-transition: all 0.5s linear;
	-ms-transition: all 0.5s linear;
	transition: all 0.5s linear;
}
a:visited {
	color: #333;
	text-decoration: none;
	font-size: 16px;
}
a:hover, a:active, a:focus {
	text-decoration: none;
	font-size: 16px;
	opacity: 0.7;
    filter: alpha(opacity=70);
}
a.navi:link {
	color:#333;
	text-decoration: none;
	font-size: 18px;
	-o-transition: all 0.5s linear;
	-moz-transition: all 0.5s linear;
	-khtml-transition: all 0.5s linear;
	-webkit-transition: all 0.5s linear;
	-ms-transition: all 0.5s linear;
	transition: all 0.5s linear;
}
a.navi:visited {
	color: #333;
	text-decoration: none;
	font-size: 18px;
}
a.navi:hover, a.navi:active, a.navi:focus {
	color: #999;
	text-decoration: none;
	font-size: 18px;
	opacity: 0.7;
	filter: alpha(opacity=70);
}
a.navi2:link {
	color:#fff;
	text-decoration: none;
	font-size: 18px;
	-o-transition: all 0.5s linear;
	-moz-transition: all 0.5s linear;
	-khtml-transition: all 0.5s linear;
	-webkit-transition: all 0.5s linear;
	-ms-transition: all 0.5s linear;
	transition: all 0.5s linear;
}
a.navi2:visited {
	color: #fff;
	text-decoration: none;
	font-size: 18px;
}
a.navi2:hover, a.navi:active, a.navi:focus {
	color: #999;
	text-decoration: none;
	font-size: 18px;
	opacity: 0.7;
	filter: alpha(opacity=70);
}
a.bottom:link {
	color:#DDD;
	text-decoration: none;
	-o-transition: all 0.3s linear;
	-moz-transition: all 0.3s linear;
	-khtml-transition: all 0.3s linear;
	-webkit-transition: all 0.3s linear;
	-ms-transition: all 0.3s linear;
	transition: all 0.3s linear;
	font-size: 18px;
}
a.bottom:visited {
	color: #DDD;
	text-decoration: none;
	font-size: 18px;
}
a.bottom:hover, a.bottom:active, a.bottom:focus {
	text-decoration: none;
	opacity: 0.3;
	filter: alpha(opacity=30);
	font-size: 18px;
}
a.bottom2:link {
	color:#999;
	text-decoration: none;
}
a.bottom2:visited {
	color: #999;
	text-decoration: none;
}
a.bottom2:hover, a.bottom2:active, a.bottom2:focus {
	color: #999;
	text-decoration: none;
}
a.rightnavi1 {
	color: #333;
	text-decoration: none;
	font-size: 20px;
	line-height: 30px;
}
a.rightnavi1:visited {
	color: #333;
	text-decoration: none;
	font-size: 20px;
	line-height: 30px;
}
a.rightnavi1:hover, a.rightnavi1:active, a.rightnavi1:focus {
	text-decoration: none;
	font-size: 20px;
	opacity: 0.3;
	filter: alpha(opacity=30);
	line-height: 30px;
}
a.rightnavi {
	color: #333;
	text-decoration: none;
	line-height: 24px;
}
a.rightnavi:visited {
	color: #333;
	text-decoration: none;
	line-height: 24px;
}
a.rightnavi:hover, a.rightnavi:active, a.rightnavi:focus {
	color: #F90;
	text-decoration: none;
	opacity: 0.9;
	filter: alpha(opacity=90);
	line-height: 24px;
}
.ylapalkki {
	background-color: #fff;
	height: auto;
	overflow:auto;
	min-height: 70px;
	margin: 0px;
	padding: 0px;
	}
.ylapalkki-container {
	width: 96%;
	max-width: 1140px;
	min-width: 280px;
	margin: 0 auto;
}
.ylapalkki-contact {
	height: 70px;
	float: right;
	display:flex;
	align-items:center;
	padding: 0px;
}
.navipalkki {
	background-color: #fff;				/* navipalkin taustaväri */
	margin: 0px;
	padding: 0px;
	float: left;
	}
.container {
	width: 90%;
	max-width: 1180px;
	min-width: 280px;
	margin: 0 auto;
}
.vali { clear: both; }
ul {
	list-style-type: none;
	padding: 0;
	overflow: hidden;
}
li {
    float: left;
}
li a, .dropbtn {
	display: inline-block;
	color: white;
	text-align: center;
	text-decoration: none;
	padding-top: 24px;
	padding-right: 30px;
	padding-bottom: 24px;
	padding-left: 30px;
}
li a:hover, .dropdown:hover .dropbtn {
	background-color: #ebf3fb; /* 1. tason hover */
}
li.dropdown {
    display: inline-block;
}
.dropdown-content {
    display: none;
    position: absolute;
	/*background-image: url(../i/navi_bg.png);*/
    background-color: rgba(40,120,210,0.8);  /* 2. tason linkkien taustaväri */
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}
.dropdown-content a {
	color: white;
	text-decoration: none;
	display: block;
	text-align: left;
	padding-top: 8px;
	padding-right: 20px;
	padding-bottom: 8px;
	padding-left: 20px;
}
.dropdown-content a:hover {background-color: #267cd7} /* 2. tason linkkien taustaväri hover */
.dropdown:hover .dropdown-content {
    display: block;
}
a.nosto:link {
	color:#FFF;
	text-decoration: none;
	font-size: 30px;
	-o-transition: all 0.2s linear;
	-moz-transition: all 0.2s linear;
	-khtml-transition: all 0.2s linear;
	-webkit-transition: all 0.2s linear;
	-ms-transition: all 0.2s linear;
	transition: all 0.2s linear;
	line-height: 30px;
}
a.nosto:visited {
	color: #FFF;
	text-decoration: none;
	font-size: 30px;
}
a.nosto:hover, a.nosto:active, a.nosto:focus {
	color: #FFF;
	text-decoration: none;
	font-size: 36px;
}
.nosto1, .nosto2, .nosto3 {
	text-align:center;
	width: 28%;
	max-height:100px;
	position: relative;
	padding-top: 20px;
	padding-bottom: 20px;
	background-size:100%;
	background-repeat:no-repeat;
	margin-bottom: 44px;
	margin-right: 8%;
	float: left;
	overflow:hidden;
}
.nosto1 {
	/* background-color: #efdfd0; */
	background-color: rgba(0,0,0,0.5);
}
.nosto2 {
	/* background-color: #7b6e66; */
	background-color: rgba(0,0,0,0.5);
}
.nosto3 {
	/* background-color: #555233; */
	background-color: rgba(0,0,0,0.5);
	margin-right: 0px;
}
.paakuva {
	width: 100%;
	text-align: left;
	padding-left: 50px;
	padding-bottom: 50px;
	padding-top: 50px;
	color: #FFF;
}
.logo {
	margin-right: 50px;
	margin-top: 0px;
	margin-bottom: 10px;
	margin-left: 20px;
	float: right;
}
.paakuvateksti {
	text-align: left;
	color: #fff;
	font-size: 40px;
	font-weight: normal;
	text-shadow: -1px -1px #267cd7,2px 2px #267cd7;
	line-height: 40px;
	padding-top:10px;
}
.paakuvateksti2 {
	text-align: left;
	color: #fff;
	font-size: 24px;
	font-weight: normal;
	text-shadow: -1px -1px #267cd7,2px 2px #267cd7; 
}
.content {
	padding: 5%;
	width: 90%;
	float: left;
	background-color: #fff;
	min-height: 500px;
	background-image: url(../i/maintd_bg.png);
	background-repeat: repeat-x;
	background-position: top;
	margin-bottom: 25px;
}
.kakkostaso {
	visibility: hidden;
	height: 0px;
}
.uutispalsta {
	border: 1px solid #EEE;
	margin-top: 5px;
	margin-bottom: 5px;
	padding-top: 5px;
	padding-right: 10px;
	padding-bottom: 5px;
	padding-left: 10px;
}
#taulukko {
    border-collapse: collapse;
    width: 100%;
}
#taulukko td, #taulukko th {
    border: 1px solid #ddd;
    padding: 8px;
}
#taulukko tr:nth-child(even){background-color: #f3f3f3;}
#taulukko tr:hover {background-color: #ddd;}
#taulukko th {
    padding-top: 6px;
    padding-left: 6px;
    padding-bottom: 6px;
    text-align: left;
    background-color: #222;
    color: white;
}
.kuvake {
	float: left;
	display: table-cell;
	text-align: center;
	padding: 3px;
}
.kuvakeimg {
	width: 100%;
    -moz-box-shadow: 3px 3px 5px #CCC;
    -webkit-box-shadow: 3px 3px 5px #CCC;
        box-shadow: 3px 3px 5px #CCC;
    border: solid 3px #FFF;
	border-radius: 6px;
}
.right {
	float: left;
	width: 29%;
	padding-right: 3%;
	padding-left: 3%;
	background-color: #faf8f8;
	margin-left: 5%;
	padding-top: 50px;
	padding-bottom: 50px;
	background-image: url(../i/main_bg.gif);
	background-repeat: repeat-x;
	background-position: top;
	margin-bottom: 25px;
}
.palautelomaketaulu {
	width: 100%;
	max-width: 600px;
	}
.fb-div {
	width: 300px;
	float: left;
}
.alapalkki {
	width: 100%;
	padding-top: 0px;
	padding-bottom: 20px;
	opacity: 0.98;
	background-image: url(../i/bottom_bg.gif);
}
.alapalkki-container {
    display: flex;
	width: 90%;
	max-width: 1600px;
	min-height: 200px;
    clear: both;
	height: auto;
	margin: 0 auto;
}
.alapalkki-alasivut {
    width: 66%;
    height: auto;
    display: flex;
    flex-flow: row wrap;
	float: left;
	max-width: 1200px;
	min-width: 540px;
	margin: 0;
	padding-top: 10px;
}
.alapalkki-navitd {
	min-width: 190px;
	max-width: 300px;
	padding: 10px;
	margin-bottom: 10px;
}
.alapalkki-yhteystiedot {
	width: 30%;
	max-width: 500px;
	min-width: 360px;
	min-height: 100px;
	margin: 0;
	padding-top: 10px;
}
.bottom-copy {
	width: 100%;
	text-align: right;
	height: 26px;
	padding-top: 10px;
	padding-right: 0px;
	padding-bottom: 10px;
	padding-left: 0px;
	background-color: #111;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #000;
}
.yhteystiedot-ala {
	vertical-align: top;
	text-align: left;
	display: table-cell;
	float: left;
	padding: 10px;
}
.footer {
	text-align: center;
	margin-top: 50px;
	margin-bottom: 25px;
	padding-top: 10px;
	padding-right: 0;
	padding-bottom: 10px;
	padding-left: 0;
	clear: both;
}
.imgdivright {
	float: right;
	margin: 5px;
	max-width: 30%;
}
.imgleft {
	width: 100%;
	margin: 0px 20px 2px 0px;
    padding: 5px;
    border: solid 1px #E9E9E9;
	border-radius: 6px;
}
a:hover img.imgleft {
    border: solid 1px #CCC;
    -moz-box-shadow: 1px 1px 3px #CCC;
    -webkit-box-shadow: 1px 1px 3px #CCC;
        box-shadow: 1px 1px 3px #CCC;
}
.imgright {
	width: 100%;
	margin: 0px 0px 2px 0px;
    padding: 5px;
    border: solid 1px #E9E9E9;
	border-radius: 6px;
}
a:hover img.imgright {
    -moz-box-shadow: 1px 1px 5px #999;
    -webkit-box-shadow: 1px 1px 5px #999;
        box-shadow: 1px 1px 5px #999;
}
.textfield {
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	width: 220px;
	border: 1px solid #CCC;
	margin: 2px;
	background-color: #FFF;
	padding: 2px;
}
.textarea {
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	width: 220px;
	border: 1px solid #CCC;
	margin: 2px;
	background-color: #FFF;
	padding: 2px;
}
.button {
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	background-color: #23375C;
	height: 35px;
	width: 150px;
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	color: #FFF;
	}
.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
@media screen {
  .thumbnail-gallery-left {
	display: table;
	border-collapse: collapse;
	float: left;
	margin-right: 10px;
	margin-bottom: 15px;
	margin-top: 10px;
  }
  .thumbnail-gallery-left > div {
    display: table-row;
	margin-right: 10px;
  }
  .thumbnail-gallery-left .thumbnail {
	display: table-cell;
	padding-right: 10px;
	text-align: center;
  }
  .thumbnail-gallery-right {
	display: table;
	border-collapse: collapse;
	float: right;
	margin-right: 30px;
	margin-bottom: 15px;
	margin-top: 10px;
  }
  .thumbnail-gallery-right > div {
    display: table-row;
  }
  .thumbnail-gallery-right .thumbnail {
	display: table-cell;
	padding-left: 20px;
	text-align: center;
  }
}
@media screen and (max-width: 1200px) {
a.nosto:link {
	font-size: 32px;
	line-height: 32px;
}
a.nosto:hover {
	font-size: 36px;
}
.right {	
	width: 33%;
	padding-right: 2%;
	padding-left: 2%;
	margin-left: 3%;
}
}
@media screen and (max-width: 980px) {
.ylapalkki-contact {
	height: 45px;
}
.topcontact {
	height: 25px;
	clear:both;
	display:table-row;
}
.topcontact img {
	width: 100%;
	height: 100%;
}
li a, .dropbtn {
	padding-top: 24px;
	padding-right: 30px;
	padding-bottom: 24px;
	padding-left: 30px;
}
.logo {
	margin-right: 20px;
}
.logoimg {
	width: 100%;
	height: 100%;
	margin-bottom: 10px;
}
a.nosto:link {
	font-size: 22px;
	line-height: 22px;
}
a.nosto:hover {
	font-size: 24px;
}
.nosto1, .nosto2, .nosto3 {
	max-height:80px;
	padding-top: 10px;
	padding-bottom: 10px;
	margin-bottom: 10px;
}
.content {
    width: 90%;
	min-height: 200px;
}
.right {
    width: 90%;
	margin-top: 20px;
	margin-right: 0;   
	margin-left: 0;
	padding-top: 50px;
	padding-left: 5%;
	padding-right: 5%;
	padding-bottom: 20px;
}
h1, h2, h3, h4, h5, h6 {
	  font-size: 18px;
}
.paakuva {
	padding-left: 20px;
}
.paakuvateksti {
	font-size: 32px;
	font-weight: normal;
}
.alapalkki-container {
    flex-flow: column wrap;
	}
.alapalkki-alasivut {
	width: 95%;
	padding-left: 4%;
	max-width: 900px;
	min-width: 480px;
}
.alapalkki-yhteystiedot {
	width: 95%;
	padding-left: 4%;
	max-width: 900px;
	min-width: 480px;
}
@media screen and (max-width: 640px) {
.logo {
	margin-right: 30px;
	width: 50%;
	height: 50%;
}
.logoimg {
	width: 100%;
	height: 100%;
}
li a, .dropbtn {
	padding-top: 6px;
	padding-right: 20px;
	padding-bottom: 6px;
	padding-left: 20px;
}
.container {
	width: 94%;
	min-width: 260px;
	margin: 0 auto;
}
a.nosto:link {
	font-size: 18px;
	line-height: 18px;
}
a.nosto:hover {
	font-size: 22px;
}
.content {
	width: 90%;
	padding-top: 30px;
	margin-left: 0;
	margin-right: 0;
	margin-top: 20px;
	min-height: 100px;
}
.right {
    width: 90%;
	margin-left: 0px;  
	margin-right: 0;   
	margin-left: 0;
}
h1, h2, h3, h4, h5, h6 {
	  font-size: 18px;
}
.paakuva {
	padding-top: 30px;
	padding-bottom: 30px;
}
.paakuvateksti {
	font-size: 24px;
	line-height: 24px;
	font-weight: normal;
	margin-right: 0px;
	text-shadow:none;
}
.paakuvateksti2 {
	font-size: 18px;
	line-height: 14px;
}
.textfield {
	width: 150px;
}
.textarea {
	width: 150px;
}
.dropdown-content {
	visibility: hidden;
}
.kakkostaso {
	visibility: visible;
	height: auto;
}
.alapalkki-container {
	max-width: 420px;
	}
.alapalkki-alasivut {
	width: 100%;
	padding-left: 0;
	min-width: 340px;
}
.alapalkki-yhteystiedot {
	width: 100%;
	padding-left: 0;
	max-width: 480px;
	min-width: 340px;
}
.alapalkki-navitd {
}
} 
