@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Quicksand');
@font-face {
	font-family: 'Quicksand', 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: #333;
	border-top-width: 1px;
	border-top-style: dotted;
	border-top-color: #333;
	background-color: #353535;
	padding-right: 15px;
	padding-left: 15px;
}
h1, h2, h3 {
	font-family: 'Quicksand', sans-serif;
	font-weight: 500;
	color: #FFF;
	margin-top: 10px;
	margin-bottom: 10px;
	padding-right: 0px;
	padding-left: 0px;
}
pre {
	font-family: 'Quicksand', sans-serif;
	color: #666;
	font-size: 16px;
}
p {
	margin-top: 0px;
	margin-bottom: 0px;
	 
}
h1 {
	font-size: 42px;
	}
h2 {
	font-size: 24px;
	color: #3c75aa;
	}
.t	{
	line-height: 1.8;
	}
.at {
	color: #FFF;
	line-height: 1.8;
}
.aots {
	color: #FFF;
	font-size: 24px;
	font-weight: bold;
	margin-top: 30px;
}
.blogots {
	color: #333;
	font-size: 48px;
	font-weight: bold;
	line-height: 80px;
}

.copyt {
	color: #F9F9F9;
}
a img { 
	border: none;
}
a:link {
	color:#3384bc;
	text-decoration: underline;
	-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: #3384bc;
}
a:hover, a:active, a:focus {
	text-decoration: none;
	opacity: 0.7;
    filter: alpha(opacity=70);
}
a.navi:link, a.navi:visited {
	color:#353535;
	font-size: 24px;
	text-decoration: none;
	-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:hover, a.navi:active, a.navi:focus {
	color: #999;
	opacity: 0.7;
	filter: alpha(opacity=70);
}
a.bottom:link, a.bottom:visited {
	color:#FFF;
	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;
}
a.bottom:hover, a.bottom:active, a.bottom:focus {
	color:#CCC;
	opacity: 0.3;
	filter: alpha(opacity=30);
}
a.bottom2:link, a.bottom2:visited {
	color:#FFF;
	text-decoration: none;
}
a.bottom2:active, a.bottom2:hover, a.bottom2:focus {
	color: #CCC;
}
.ylapalkki0 {
	background-color: #353535;
	height: 80px;
	margin: 0px;
	padding: 0px;
	}
.ylapalkki {
	background-color: #FFF;
	margin: 0px;
	padding: 0px;
	}
.container {
	width: 90%;
	max-width: 1180px;
	min-width: 280px;
	margin: 0 auto;
}
.containernavi {
	width: 90%;
	max-width: 1180px;
	min-width: 280px;
	margin: 0 auto;
}
.lippunavi {
	text-align: right;
	float: right;
}

.vali { clear: both; }
ul {
	list-style-type: none;
	padding: 0;
	overflow: hidden;
}
li {
    float: left;
}
li.lippuli {
    float: right;
}
li a, .dropbtn {
	display: inline-block;
	color: white;
	text-align: center;
	text-decoration: none;
	padding: 24px;
}
li a.lippuli {
	padding: 26px;
}
li a:hover, .dropdown:hover .dropbtn {
	background-color: #CCC;
}
li.dropdown {
    display: inline-block;
}
.dropdown-content {
	display: none;
	position: absolute;
	/*background-image: url(../i/navi2_bg.png);*/
    background-color: rgba(0,0,0,0.3);  /* 2. tason linkkien taustaväri */
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}
.dropdown-content a {
	color: #FFF;
	padding: 10px 20px;
	text-decoration: none;
	display: block;
	text-align: left;
}
.dropdown-content a:hover {
	background-color: #666
} /* 2. tason linkkien taustaväri hover */
.dropdown:hover .dropdown-content {
    display: block;
}
.navibottom {
	min-width: 190px;
	max-width: 300px;
	padding: 10px;
	margin-bottom: 10px;
	vertical-align: top;
	text-align: left;
	display: table-cell;
	float: left;
	min-height: 120px;
}
.paakuva {
	width: 100%;
	padding-bottom: 150px;
	padding-top: 150px;
	color: #FFF;
	text-align: right;
}
.paakuvaimg {
	max-width: 1030px;
	width: 100%;
}
.paakuvateksti {
	text-align: right;
	color: #FFF;
	font-size: 36px;
	font-weight: normal;
	background-image: url(../i/paakuvateksti_bg.png);
	padding: 30px;
}
.paakuvateksti2 {
	color: #F93;
}
.logoimg {
	margin-top: 0px;
	margin-bottom: 0px;
}
.logo {
	float: left;
	margin: 0px;
}
.topcontactpalkki {
	height: 70px;
	float: right;
	display:flex;
	align-items:center;
	padding: 5px;
}
.topcontact {
	height: 60px;
	float: left;
	margin: auto;
	font-size: 18px;
	font-weight: bold;
	color: #FFF;
	display:flex;
	align-items:center;
	padding: 5px;
}
.pikkulogo {
	padding-top: 4px;
	padding-bottom: 0px;
	padding-right: 14px;
	float: left;
	}
.content {
	padding: 5%;
	width: 90%;
	float: left;
	background-color: #FFF;
	min-height: 200px;
	margin-bottom: 25px;
}
.right {
	float: left;
	width: 31%;
	padding-right: 3%;
	padding-left: 3%;
	background-color: #FFF;
	margin-left: 3%;
	padding-top: 50px;
	padding-bottom: 50px;
	background-repeat: repeat-x;
	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;
	background-color: #FFF;
}
#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: #CCC;
	color: white;
}
.kuvake {
	float: left;
	display: table-cell;
	text-align: center;
	padding: 20px;
}
.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;
}
.kuvakeimg:hover {
	width: 100%;
    -moz-box-shadow: 3px 3px 5px #999;
    -webkit-box-shadow: 3px 3px 5px #999;
        box-shadow: 3px 3px 5px #999;
    border: solid 3px #FFF;
	border-radius: 6px;
}
.yhteystietopalsta {
	float: left;
	display: table-cell;
	text-align: center;
	padding: 10px;
	min-width:300px;
	min-height:300px;
}
.bottom0 {
	width: 100%;
	padding-top: 0px;
	padding-bottom: 20px;
	opacity: 0.9;
	background-color: #333;
}
.bottom1 {
	width: 100%;
	max-width: 1200px;
	min-height: 100px;
	margin: 0 auto;
}
.bottom12 {
	display:table-cell;
	width: 66%;
	max-width: 800px;
	min-width: 540px;
	min-height: 100px;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 0;
	padding-left: 3%;
	padding-top: 10px;
	vertical-align: top;
}
.bottom13 {
	display:table-cell;
	width: 34%;
	max-width: 500px;
	min-width: 360px;
	min-height: 100px;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 0;
	padding-top: 10px;
	vertical-align: top;
}

.bottom22 {
	width: 100%;
	text-align: right;
	height: 32px;
	padding-top: 10px;
	padding-right: 0px;
	padding-bottom: 10px;
	padding-left: 0px;
	background-color: #353535;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #000;
	background-image: url(../i/bottom_bg.gif);
}
/* Sponssikuvat */
.spons1 {
 width: 250px;
 height: 100px;
 display: inline-block;
 background:transparent url('../i/luotettava_kumppani_a.gif') center top no-repeat;
}
.spons1:hover {
   background-image: url('../i/luotettava_kumppani_b.gif');
}
.spons2 {
 width: 250px;
 height: 100px;
 display: inline-block;
 background:transparent url('../i/aa_logo_a.gif') center top no-repeat;
}
.spons2:hover {
   background-image: url('../i/aa_logo_b.gif');
}
.spons3 {
 width: 250px;
 height: 100px;
 display: inline-block;
 background:transparent url('../i/hseq_a.gif') center top no-repeat;
}
.spons3:hover {
   background-image: url('../i/hseq_b.gif');
}

/* Logokaruselli alkaa */
div#wn {
	position:relative;
	width:100%;
	height:80px;
	overflow:hidden;
	}
div#inner1 {
    white-space:nowrap;
    }
div#inner1 img {
    padding-right:4px;
    }
/* Logokaruselli loppuu */
.yhteystiedot-ala {
	vertical-align: top;
	text-align: left;
	display: table-cell;
	float: left;
	padding-top: 10px;
	padding-right: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
}
.yhteystiedot-ala-taulu td {
	padding-right: 30px;
}

.footer {
	background-color: #FFF;
	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-radius: 6px;
    -moz-box-shadow: 1px 1px 5px #eee;
    -webkit-box-shadow: 1px 1px 5px #eee;
        box-shadow: 1px 1px 5px #eee;
}
a:hover img.imgleft {
	-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-radius: 6px;
    -moz-box-shadow: 1px 1px 5px #eee;
    -webkit-box-shadow: 1px 1px 5px #eee;
        box-shadow: 1px 1px 5px #eee;
}
a:hover img.imgright {
    -moz-box-shadow: 1px 1px 5px #999;
    -webkit-box-shadow: 1px 1px 5px #999;
        box-shadow: 1px 1px 5px #999;
}
.palautelomaketaulu {
	width: 100%;
	max-width: 300px;
	}
.textfield {
	font-family: 'Quicksand', sans-serif;
	font-size: 16px;
	width: 96%;
	border: 1px solid #CCC;
	margin: 2px;
	background-color: #FFF;
	padding: 2px;
	color: #333;
}
.textarea {
	font-family: 'Quicksand', sans-serif;
	font-size: 16px;
	width: 96%;
	border: 1px solid #CCC;
	margin: 2px;
	background-color: #FFF;
	padding: 2px;
	color: #333;
}
.button {
	font-family: 'Quicksand', sans-serif;
	font-size: 16px;
	background-color: #353535;
	height: 35px;
	width: 120px;
	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;
	}
@media screen {
  .thumbnail-gallery-left {
	display: table;
	border-collapse: collapse;
	float: left;
	margin-right: 10px;
	margin-bottom: 5px;
	margin-top: 10px;
  }
  .thumbnail-gallery-left > div {
	display: table-row;
	margin-right: 5px;
  }
  .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: 10px;
	margin-bottom: 5px;
	margin-top: 10px;
  }
  .thumbnail-gallery-right > div {
    display: table-row;
  }
  .thumbnail-gallery-right .thumbnail {
	display: table-cell;
	padding-left: 10px;
	text-align: center;
  }
}
@media screen and (max-width: 1200px) {
.right {	
	width: 33%;
	padding-right: 2%;
	padding-left: 2%;
	margin-left: 3%;
}
}
@media screen and (max-width: 980px) {
li a, .dropbtn {
	padding-top: 10px;
	padding-right: 20px;
	padding-bottom: 10px;
	padding-left: 20px;
}
.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 {
	  font-size: 18px;
}
.paakuva {
	padding-bottom: 100px;
	padding-top: 100px;
	}
.paakuvateksti {
	font-size: 30px;
	font-weight: normal;
}
.bottom12 {
	width: 40%;
	max-width: 500px;
	min-width: 260px;
	padding-left: 4%;
}
.bottom13 {
	width: 60%;
	min-width: 360px;
}
.navibottom {
	min-width: 260px;
	max-width: 300px;
	padding: 10px;
	margin-bottom: 10px;
	vertical-align: top;
	text-align: left;
	display: table-cell;
	float: left;
	min-height: 10px; 
}
@media screen and (max-width: 640px) {
li {
    float: none;
}
li a, .dropbtn {
	padding-top: 9px;
	padding-right: 80px;
	padding-bottom: 9px;
	padding-left: 20px;
}
li a.lippuli {
	padding-top: 10px;
	padding-right: 24px;
	padding-bottom: 10px;
}
a.navi:link, a.navi:visited, a.navi:hover, a.navi:active, a.navi:focus{
	font-size: 20px;
}
.container {
	width: 94%;
	min-width: 260px;
}
.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;
}
.tuoteikkuna {
	font-size: 11px;
}
h1, h2, h3 {
	  font-size: 18px;
}
.paakuva {
	padding-top: 30px;
	padding-bottom: 30px;
}
.paakuvateksti {
	font-size: 24px;
	font-weight: normal;
	margin-right: 0px;
	text-shadow:none;
	padding: 20px;
}
.yhteystietopalsta {
	min-width:300px;
	min-height:auto;
}
.navibottom {
	min-width: 260px;
	max-width: 300px;
	padding: 5px;
	padding-left: 15px;
	margin-bottom: 10px;
	vertical-align: top;
	text-align: left;
	display: table-cell;
	float: left;
	min-height: 10px; 
}
.dropdown-content {
	visibility: hidden;
}
.kakkostaso {
	visibility: visible;
	height: auto;
}
.bottom12 {
	display: table-row;
	width: 100%;
	max-width: 300px;
	min-width: 200px;
	margin-left: 20px;
	padding-left: 20px;
}
.copyt {
	color: #F9F9F9;
	font-size: 12px;
}
a.bottom2 {
	font-size: 12px;
}
} 
