@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: rgba(45, 80, 150, 0.9);
	height: auto;
	overflow:auto;
	min-height: 88px;
	margin: 0px;
	padding: 0px;
	}
.ylapalkki-container {
	width: 90%;
	max-width: 1180px;
	min-width: 280px;
	margin: 0 auto;
}
.logotd {
	margin: 0px;
}
.logoimg {
	margin: 0px;
}
.logobottom {
	width: 90%;
	float: left;
}
.ylapalkki-contact {
	height: 10px;
	float: right;
	display:flex;
	align-items:center;
	padding-top: 0px;
	padding-right: 20px;
	padding-bottom: 0px;
	padding-left: 0px;
}
.topcontact {
	height: 68px;
	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: #3959a0;
}
.nosto2 {
	background-color: #f68912;
}
.nosto3 {
	background-color: #b6aca1;
	margin-right: 0px;
}
.navipalkki {
	margin: 0px;
	padding: 0px;
	float: left;
	}
.navi-container {
	width: 90%;
	max-width: 1080px;
	min-width: 280px;
	margin: 0 auto;
}
.paakuva-container {
	width: 90%;
	max-width: 1180px;
	min-width: 280px;
	margin: 0 auto;
}
.container {
	width: 90%;
	max-width: 1180px;
	min-width: 280px;
	margin: 0 auto;
}
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: #142E4E; 	/* 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: #25538C;  /* 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: #18375C;
} /* 2. tason linkkien taustaväri hover */
.dropdown:hover .dropdown-content {
    display: block;
}

.paakuva {
	width: 100%;
	padding-bottom: 80px;
	padding-top: 0px;
}
.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: #CFA0A0;
}
.paakuvatekstityhja {
	font-size: 36px;
	font-weight: normal;
	padding: 30px;
}
header {
	background-color: #E6EEF9;
	padding-right: 15px;
	padding-left: 25px;
	padding-top: 3px;
	padding-bottom: 3px;
}
.header2 {
	background-color: #D5E2F4;
	padding-right: 15px;
	padding-left: 15px;
	padding-top: 3px;
	padding-bottom: 3px;
}
h1, h2, h3, h4 {
	font-family: 'Roboto', sans-serif;
	font-weight: 500;
	color: #25538C;
	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;
	font-weight: bold;
	}
h2 {
	font-size: 32px;
	font-weight: bold;
	}
h3 {
	font-size: 36px;
	font-weight: bold;
	color: #603e34;
	}
h4 {
	font-weight: bold;
	font-size: 36px;
	color: #FFF;
	}
.t	{
	line-height: 1.8;
	color: #25538C;
	}
.at {
	color: #FFF;
	line-height: 1.8;
}
.aots {
	color: #25538C;
	font-size: 24px;
	font-weight: bold;
	margin-top: 30px;
}
i	{
	line-height: 1.8;
	color: #113366;
	}
.rt {
	line-height: 1.0;
}
.copyt {
	color: #F9F9F9;
	font-size: 16px;
}
a img { 
	border: none;
}
a:link {
	color:#25538C;
	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: #25538C;
}
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: #25538C;
	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;
	clear: both;
}
.pikkulogo {
	padding-top: 4px;
	padding-bottom: 0px;
	padding-right: 14px;
	float: left;
	}
.content {
	padding: 5%;
	padding-top: 50px;
	width: 50%; /* normisivuilla 50 */
	float: left;
	background-color: #fff;
	min-height: 500px;
	margin-bottom: 25px;
}
.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;
}
.right {
	float: left;
	width: 31%; /* normisivuilla 31 */
	padding-right: 3%;
	padding-left: 3%;
	background-color: #FFF; /* oikean palstan taustaväri */
	margin-left: 3%;
	padding-top: 50px;
	padding-bottom: 50px;
	background-repeat: repeat-x;
	margin-bottom: 25px;
}
#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: #8BA3BB;
	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: #fff;
	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: #d8d2c4;
	display: table;
	width: 90%;
	margin-top: 25px;
	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: #25538C;
}
.linkkipalkinlinkki:visited {
	color: #FFF;
}
.alapalkki {
	width: 95%;
	padding-top: 0px;
	padding-left: 5%;
	margin-top: 0px;
	padding-bottom: 20px;
	/*opacity: 0.9; */ 				/* Jos alapalkin taustaväri halutaan läpinäkyväksi */
	/* background-color: #333; */ 	/* Alapalkin taustaväri */
	background-image: url(../i/bottom_bg.jpg);
	background-position: 0px 60px;
	background-repeat: no-repeat;
}
.alapalkki-container {
    display: flex;
	width: 100%;
	max-width: 1600px;
	min-height: 200px;
    clear: both;
	height: auto;
	margin: 0 auto;
	padding-top: 20px;
}
.alapalkki-alasivut {
	width: 54%;
	height: auto;
	display: flex;
	flex-flow: row wrap;
	float: left;
	max-width: 1200px;
	min-width: 480px;
	margin: 0;
	padding-top: 50px;
}
.alapalkki-navitd {
	min-width: 190px;
	max-width: 300px;
	padding: 10px;
	margin-bottom: 10px;
}
.alapalkki-yhteystiedot {
	width: 30%;
	max-width: 400px;
	min-width: 240px;
	min-height: 100px;
	margin-top: 20px;
	padding-left: 120px;
	padding-top: 10px;
	background-image: url(../i/kirjekuori_bottom.png);
	background-repeat: no-repeat;
}
.bottom-copy {
	width: 100%;
	text-align: right;
	height: 30px;
	padding-top: 10px;
	padding-right: 0px;
	padding-bottom: 10px;
	padding-left: 0px;
	background-image: url(../i/bottom_bg.jpg);
	background-color: rgba(0, 0, 0, 0.8);
	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;
}
.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;
}
.tilauslomaketaulu1 {
	margin: 0px;
	padding: 0px;
}
.palautelomaketaulu {
	width: 100%;
	max-width: 1600px;
	float: left;
	}
.palautelomakekentat {
	width: 90%;
	max-width: 400px;
	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: 100%;
	border: 1px solid #cfc8b9;
	margin: 2px 8px 13px 3px;
	background-color: #efece4;
	padding: 10px;
	color: #605233;
}
.textfield90p { /*Huom! käytössä YP:n puolella*/
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	width: 90%;
	border: 1px solid #cfc8b9;
	margin: 2px 8px 7px 3px;
	background-color: #F5F5F5;
	padding: 10px;
	color: #605233;
}
.textfield30 {
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	width: 30px;
	border: 1px solid #cfc8b9;
	margin: 2px 8px 7px 3px;
	background-color: #efece4;
	padding: 10px;
	color: #605233;
}
.button {
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	background-color: #887d62;
	height: 36px;
	width: 120px;
	border-width: 0px;
	border-style: none;
	color: #FFF;
	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;
}
h1 {
	font-size: 32px;
	}
h2 {
	font-size: 28px;
	}
.right {	
	width: 33%;
	padding-right: 2%;
	padding-left: 2%;
	margin-left: 3%;
}
}
@media screen and (max-width: 980px) {
.ylapalkki-container {
	width: 80%;
	margin: 0;
}
.logoimg {
	width: 75%;
}
a.nosto:link {
	font-size: 26px;
	line-height: 26px;
}
a.nosto:hover {
	font-size: 30px;
}
li a, .dropbtn {
	padding-top: 30px;
	padding-right: 20px;
	padding-bottom: 30px;
	padding-left: 20px;
}
.content {
    width: 90%;
	min-height: 200px;
  }

.navikakkostaso {
	visibility: visible;
	height: auto;
}
.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 {
	  font-size: 28px;
}
h2 {
	  font-size: 24px;
}
h3 {
	  font-size: 36px;
}
.paakuva {
	padding-bottom: 80px;
	padding-top: 0px;
	}
.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: 50%;
	padding-left: 120px;
	max-width: 340px;
	min-width: 240px;
	background-position-x: 40px;
	background-position-y: 5px;
	background-size: 60px 60px;
}
@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: 60px;
	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;
}
h1 {
	font-size: 24px;
	}
h2 {
	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: 12px;
}
.paakuva {
	padding-top: 0px;
	padding-bottom: 20px;
}
.paakuvateksti, .paakuvatekstityhja {
	font-size: 24px;
	font-weight: normal;
	margin-right: 0px;
	text-shadow:none;
	padding: 20px;
}
.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: 50%;
	padding-left: 120px;
	max-width: 480px;
	min-width: 240px;
}
.alapalkki-navitd {
}
.dropdown-content {
	visibility: hidden;
}
.kakkostaso {
	visibility: visible;
	height: auto;
}
.copyt {
	color: #F9F9F9;
	font-size: 12px;
}
a.bottom2 {
	font-size: 14px;
}
} 
