@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@font-face {
	 font-family: 'Roboto', sans-serif;
}
html {
	min-width: 320px;
	}
.ylapalkki {
	background-color: #eb9c88;
	height: auto;
	overflow:auto;
	min-height: 88px;
	margin: 0px;
	padding: 0px;
	}
.ylapalkki-container {
	width: 80%;
	max-width: 1280px;
	min-width: 280px;
	margin: 0 auto;
}
.logotd {
	margin: 0px;
	background-image: url(../i/logotd_bg.png);
	background-repeat: no-repeat;
	text-align: right;
}
.logoimg {
	margin-top: 10px;
	margin-right: 50px;
	margin-bottom: 10px;
	margin-left: 50px;
}
.ylapalkki-contact {
	height: 10px;
	float: right;
	display:flex;
	align-items:center;
	padding-top: 3px;
	padding-right: 20px;
	padding-bottom: 0px;
	padding-left: 0px;
}
.topcontact {
	height: 70px;
	float: left;
	margin: auto;
	font-size: 18px;
	font-weight: bold;
	color: #FFF;
	display:flex;
	align-items:center;
	padding: 10px;
}
a.nosto:link {
	color:#FFF;
	text-decoration: none;
	font-size: 36px;
	-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: 36px;
}
a.nosto:visited {
	color: #FFF;
	text-decoration: none;
	font-size: 36px;
}
a.nosto:hover, a.nosto:active, a.nosto:focus {
	color: #CCC;
	text-decoration: none;
	font-size: 48px;
}
.nosto1, .nosto2, .nosto3 {
	text-align:center;
	width: 28%;
	max-height:150px;
	position: relative;
	padding-top: 20px;
	padding-bottom: 20px;
	background-size:cover;
	margin-bottom: 44px;
	margin-right: 8%;
	float: left;
	overflow:hidden;
}
.nosto1 {
	background-color: #fee4d5;
}
.nosto2 {
	background-color: #fef7ed;
}
.nosto3 {
	background-color: #2a6687;
	margin-right: 0px;
}
.navipalkki {
	margin: 0px;
	padding: 0px;
	float: left;
	}
.navi-container {
	width: 90%;
	max-width: 1180px;
	min-width: 280px;
	margin: 0 auto;
}
.paakuva-container {
	width: 100%;
	min-width: 280px;
	margin: 0 auto;
}
.container {
	width: 100%;
	max-width: 1680px;
	min-width: 280px;
	margin: 0 auto;
}
.content {
	padding: 0;
	width: 100%; /* normisivuilla 50 */
	float: left;
	background-color: #fef7ed;
	min-height: 100px;
}
/* Container for flexboxes */
section {
  display: -webkit-flex;
  display: flex;
}
/* Style the content */
article {
  -webkit-flex: 3;
  -ms-flex: 3;
  flex: 3;
  padding: 50px;
}
/* Responsive layout - makes the menu and the content (inside the section) sit on top of each other instead of next to each other */
@media (max-width: 800px) {
section {
    -webkit-flex-direction: column;
    flex-direction: column;
  }
article {
  padding: 30px;
}
}
ul, ol, dl { 
	padding: 0;
	margin: 0;
}
ul {
	list-style-type: none;
	padding: 0;
	overflow: hidden;
}
li {
    float: left;
}
li a, .dropbtn {
	display: inline-block;
	color: #FFF;
	text-align: center;
	text-decoration: none;
	padding: 30px;
}
li a:hover, .dropdown:hover .dropbtn {
	background-color: #cf7861; 	/* 1. tason linkkien taustaväri */
}
li.dropdown {
    display: inline-block;
}
.dropdown-content {
	display: none;
	position: absolute;
	/*background-image: url(../i/navi2_bg.png);*/
	background-color: rgba(200, 120, 33, 0.9);  /* 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: #a35d17;
} /* 2. tason linkkien taustaväri hover */
.dropdown:hover .dropdown-content {
    display: block;
}

.paakuva {
	width: 100%;
	padding-bottom: 280px;
	padding-top: 280px;
	text-align: center;
}
.paakuvateksti {
	text-align: right;
	color: #FFF;
	font-size: 48px;
	font-weight: bolder;
	/*background-color: rgba(0,0,0,0.3);*/ /* Pääkuvatekstin läpinäkyvä väri */
	padding: 30px;
	background-image: url(../i/paakuvateksti_bg.png);
	background-repeat: repeat-y;
	background-position: right;
}
.paakuvateksti2 {
	color: #d79428;
}
.paakuvatekstityhja {
	font-size: 36px;
	font-weight: normal;
	padding: 30px;
}
header {
	background-color: #2a6687;
	padding-right: 15px;
	padding-left: 15px;
	padding-top: 3px;
	padding-bottom: 3px;
}
.header2 {
	background-color: #4a2506;
	padding-right: 15px;
	padding-left: 15px;
	padding-top: 3px;
	padding-bottom: 3px;
}
h1 {
	font-family: 'Roboto', sans-serif;
	font-weight: 500;
	color: #fff;
	margin-top: 10px;
	margin-bottom: 10px;
	padding-right: 0px;
	padding-left: 0px;
}
pre {
	 font-family: 'Roboto', sans-serif;
	color: #666;
	font-size: 16px;
}
p {
	margin-top: 0px;
	margin-bottom: 0px;
}
h1 {
	font-size: 42px;
	}
h2 {
	font-size: 30px;
	color: #2a6687;
	font-weight: bold;
	}
h3 {
	font-size: 36px;
	font-weight: bold;
	color: #ffffff;
	}
h4 {
	font-weight: bold;
	font-size: 24px;
	color: #ffffff;
	}
.t	{
	line-height: 1.8;
	color: #2a6786;
	}
.at {
	color: #FFF;
	line-height: 1.8;
}
.aots {
	color: #FFF;
	font-size: 24px;
	font-weight: bold;
	margin-top: 30px;
}
.copyt {
	color: #F9F9F9;
	font-size: 16px;
}
a img { 
	border: none;
}
a:link {
	color:#F90;
	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: #F60;
}
a:hover, a:active, a:focus {
	text-decoration: none;
	opacity: 0.7;
    filter: alpha(opacity=70);
}
a.navi:link, a.navi:visited {
	color:#FFF;
	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: #CCC;
	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;
	line-height: 30px;
	text-decoration: none;
	border-bottom-width: 1px;
	border-bottom-color: #d28426;
	border-bottom-style: solid;
	padding: 5px;
}
a.bottom2:active, a.bottom2:hover, a.bottom2:focus {
	color: #000;
}
.vali {
	background-image: url(../i/bottom_0_bg.gif);
	text-align: center;
	margin: 0px;
	padding: 0px;
}
.pikkulogo {
	padding-top: 4px;
	padding-bottom: 0px;
	padding-right: 14px;
	float: left;
	}
.navikakkostaso {
	visibility: hidden;
	height: 0px;
}
.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;
}
.uutispalsta {
	border: 1px solid #EEE;
	margin: 0px;
	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: #fee4d5;}
#taulukko tr:hover {background-color: #efa893;}
#taulukko th {
	padding-top: 6px;
	padding-left: 6px;
	padding-bottom: 6px;
	text-align: left;
	background-color: #f0d0be;
	color: white;
}
.linkkipalkki {
	background-color: #CCC;
	display: table;
	width: 90%;
	text-align: center;
	margin-top: 25px;
	margin-bottom: 25px;
	padding-top: 40px;
	padding-left: 5%;
	padding-right: 5%;
	padding-bottom: 40px;
	clear: both;
}
.banneripalkki {
	background-color: #999;
	display: table;
	width: 90%;
	text-align: center;
	margin-top: 25px;
	margin-bottom: 25px;
	padding-top: 30px;
	padding-left: 5%;
	padding-right: 5%;
	padding-bottom: 30px;
	clear: both;
}
.palautepalkki {
	background-color: #fee4d5;
	display: table;
	width: 90%;
	margin-bottom: 0px;
	padding-top: 30px;
	padding-left: 5%;
	padding-right: 5%;
	padding-bottom: 30px;
	clear: both;
}
.linkkipalkinlinkkidiv {
	width: 33%;
	min-width: 300px;
	display: table-cell;
	float:left;
	text-align: center;
}
.linkkipalkinlinkki:link {
	color: #FFF;
	text-decoration: none;
}
.linkkipalkinlinkki:hover {
	color: #F60;
}
.linkkipalkinlinkki:visited {
	color: #FFF;
}
.alapalkki {
	width: 90%;
	padding-top: 0px;
	padding-left: 5%;
	padding-right: 5%;
	margin-top: 0px;
	padding-bottom: 20px;
	/*opacity: 0.9; */ 				/* Jos alapalkin taustaväri halutaan läpinäkyväksi */
	 background-color: #2a6786; */ 	/* Alapalkin taustaväri 
	/*background-image: url(../i/bottom_bg.jpg);*/
	border: 3px solid #F36;
}
.alapalkki-container {
    display: flex;
	width: 100%;
	max-width: 1600px;
	min-height: 200px;
    clear: both;
	height: auto;
	margin: 0 auto;
}
.alapalkki-alasivut {
    width: 42%;
    height: auto;
    /*display: flex;*/
    /*flex-flow: row wrap;*/
	float: left;
	max-width: 1200px;
	min-width: 280px;
	margin: 0;
	padding-top: 50px;
}
.alapalkki-navitd {
	min-width: 190px;
	max-width: 300px;
	padding: 10px;
	margin-bottom: 10px;
}
.alapalkki-yhteystiedot {
	width: 44%;
	max-width: 840px;
	min-width: 240px;
	min-height: 200px;
	margin-top: 20px;
	padding-left: 200px;
	padding-right: 0px;
	padding-top: 4px;
	background-image: url(../i/logo_alaosa.gif);
	background-repeat: no-repeat;
	text-align:right;
}
.yhteystiedot-ala {
	vertical-align: top;
	text-align: right;
	display: table-cell;
	float: right;
	padding: 10px;
}
.bottom-copy {
	width: 100%;
	text-align: right;
	height: 30px;
	padding-top: 10px;
	padding-right: 0px;
	padding-bottom: 10px;
	padding-left: 0px;
	background-color: #1d4c66;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #000;
}
.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: 1600px;
	float: left;
	}
.palautelomakekentat {
	width: 30%;
	max-width: 300px;
	min-width: 220px;
	float: left;
	font-size: 16px;
	line-height: 20px;
	}
.lomaketaulu {
	width: 90%;
	max-width: 550px;
	}
.textfield, .textarea {
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	width: 80%;
	border: 1px solid #cfc8b9;
	margin: 2px 8px 13px 8px;
	background-color: #fef7ed;
	padding: 10px;
	color: #995a47;
}
.button {
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	background-color: #efa893;
	height: 36px;
	width: 120px;
	border-width: 0px;
	border-style: none;
	color: #fef7ed;
	margin: 2px 8px;
	}
@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: 12px;
	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) {	
a.nosto:link {
	font-size: 32px;
	line-height: 32px;
}
a.nosto:hover {
	font-size: 36px;
}
}
@media screen and (max-width: 980px) {
.ylapalkki-container {
	width: 80%;
	margin: 0;
}
.topcontact {
	height: 25px;
	clear:both;
	display:table-row;
}
.topcontact img {
	width: 100%;
	height: 100%;
}
a.nosto:link {
	font-size: 26px;
	line-height: 26px;
}
a.nosto:hover {
	font-size: 30px;
}
li a, .dropbtn {
	padding-top: 10px;
	padding-right: 20px;
	padding-bottom: 10px;
	padding-left: 20px;
}
.content {
    width: 100%;
	min-height: 100px;
  }
.navikakkostaso {
	visibility: visible;
	height: auto;
}
h1, h2, h3 {
	  font-size: 18px;
}
.paakuva {
	padding-bottom: 140px;
	padding-top: 140px;
	}
.paakuvateksti, .paakuvatekstityhja {
	font-size: 30px;
	font-weight: normal;
}
.lomaketaulu {
	width: 90%;
	max-width: 500px;
	}
.linkkipalkinlinkkidiv {
	width: 50%;
}
.alapalkki-container {
	width: 90%;
	flex-flow: column wrap;
	}
.alapalkki-alasivut {
	width: 40%;
	padding-left: 4%;
	max-width: 600px;
	min-width: 400px;
}
.alapalkki-yhteystiedot {
	width: 80%;
	padding-left: 140px;
	max-width: 840px;
	min-width: 340px;
}
}
@media screen and (max-width: 640px) {
a.nosto:link {
	font-size: 18px;
	line-height: 18px;
}
a.nosto:hover {
	font-size: 22px;
}
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 {
	min-width: 340px;
}
.content {
	min-height: 100px;
}
article {
  padding: 10px;
}
.tuoteikkuna {
	font-size: 12px;
}
h1, h2, h3 {
	  font-size: 24px;
}
.paakuva {
	padding-top: 100px;
	padding-bottom: 100px;
}
.paakuvateksti, .paakuvatekstityhja {
	font-size: 24px;
	font-weight: normal;
	margin-right: 0px;
	text-shadow:none;
	padding: 20px;
}
.logoimg {
	width: 80%;
	height: 80%;
}
.lomaketaulu {
	width: 95%;
	max-width: 500px;
	}
.linkkipalkinlinkkidiv {
	width: 100%;
}
.alapalkki-container {
	max-width: 420px;
	}
.alapalkki-alasivut {
	width: 100%;
	padding-left: 0;
	min-width: 340px;
}
.alapalkki-yhteystiedot {
	width: 90%;
	padding-top: 180px;
	padding-left: 0px;
	max-width: 480px;
	min-width: 220px;
}
.dropdown-content {
	visibility: hidden;
}
.kakkostaso {
	visibility: visible;
	height: auto;
}
.copyt {
	color: #F9F9F9;
	font-size: 12px;
}
a.bottom2 {
	font-size: 14px;
}
.bottom-copy {
	height: 40px;
}
} 
