@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300&display=swap');
@font-face {
	font-family: 'Open Sans', sans-serif;
  	font-weight: 400;
}
html {
	min-width: 320px;
	}
.ylapalkki {
	background-color: rgba(0, 0, 0, 0.8);
	height: auto;
	overflow:auto;
	min-height: 90px;
	margin: 0px;
	padding: 0px;
	}
.ylapalkki-container {
	width: 80%;
	max-width: 1280px;
	min-width: 280px;
	margin: 0 auto;
}
.logotd {
	margin: 0px;
}
.logoimg {
	margin: 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: #F5CD00;
}
.nosto2 {
	background-color: #C53837;
}
.nosto3 {
	background-color: #585858;
	margin-right: 0px;
}
.navipalkki {
	margin: 0px;
	padding: 0px;
	float: left;
	}
.navi-container {
	width: 90%;
	max-width: 1280px;
	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: #F5CD00;
}
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.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: #FFF;
	padding: 10px 20px;
	text-decoration: none;
	display: block;
	text-align: left;
}
.dropdown-content a:hover {
	background-color: #000;
} /* 2. tason linkkien taustaväri hover */
.dropdown:hover .dropdown-content {
    display: block;
}

.paakuva {
	width: 100%;
	padding-bottom: 80px;
	padding-top: 0px;
	text-align: center;
}
.paakuvateksti {
	text-align: center;
	color: #FFF;
	font-size: 36px;
	font-weight: bolder;
	background-color: rgba(0,0,0,0.3);
	padding: 30px;
}
.paakuvateksti2 {
	color: #F5CD00;
}
.paakuvatekstityhja {
	font-size: 36px;
	font-weight: normal;
	padding: 30px;
}
header {
	background-color: #333;
	padding-right: 15px;
	padding-left: 15px;
	padding-top: 3px;
	padding-bottom: 3px;
}
.header2 {
	background-color: #333;
	padding-right: 15px;
	padding-left: 15px;
	padding-top: 3px;
	padding-bottom: 3px;
}
h1, h2, h3, h4 {
	font-family: 'Open Sans', sans-serif;
	font-weight: 500;
	color: #FFF;
	margin-top: 10px;
	margin-bottom: 10px;
	padding-right: 0px;
	padding-left: 0px;
}
pre {
	font-family: 'Open Sans', sans-serif;
	color: #666;
	font-size: 16px;
}
p {
	margin-top: 0px;
	margin-bottom: 0px;
}
h1 {
	font-size: 42px;
	}
h2 {
	font-size: 24px;
	color: #930;
	font-weight: bold;
	}
h3 {
	font-size: 20px;
	}
h4 {
	font-weight: bold;
	font-size: 20px;
	color: #C00;
	}
.t	{
	line-height: 1.8;
	}
.at {
	color: #FFF;
	line-height: 1.8;
}
.aots {
	color: #FFF;
	font-size: 24px;
	font-weight: bold;
	margin-top: 30px;
}
.copyt {
	color: #F9F9F9;
}
a img { 
	border: none;
}
a:link {
	color:#0082C8;
	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: #0082C8;
}
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: #333;
	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;
}
.vali { clear: both; }
.pikkulogo {
	padding-top: 4px;
	padding-bottom: 0px;
	padding-right: 14px;
	float: left;
	}
.content {
	padding: 5%;
	padding-top: 50px;
	width: 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%;
	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;
}
#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: #933;
	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: #000;
	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;
}
.linkkipalkinlinkkidiv {
	width: 33%;
	min-width: 300px;
	display: table-cell;
	float:left;
	text-align: center;
}
.linkkipalkinlinkki:link {
	color: #FFF;
	text-decoration: none;
}
.linkkipalkinlinkki:hover {
	color: #AAE3FF;
}
.linkkipalkinlinkki:visited {
	color: #FFF;
}
/* Mainosbannerit */
.banneri1, .banneri2, .banneri3, .banneri4, .banneri5, .banneri6, .banneri7, .banneri8, .banneri9, .banneri10 {
 width: 250px;
 height: 100px;
 display: inline-block;
 overflow:hidden;
}
.banneri1 {
 background:transparent url('../kuvat/banneri_1_a.gif') center top no-repeat;
}
.banneri1:hover {
   background-image: url('../i/banneri_1_b.gif');
}
.banneri2 {
 background:transparent url('../kuvat/banneri_2_a.gif') center top no-repeat;
}
.banneri2:hover {
   background-image: url('../i/banneri_2_b.gif');
}
.banneri3 {
 background:transparent url('../kuvat/banneri_3_a.gif') center top no-repeat;
}
.banneri3:hover {
   background-image: url('../i/banneri_3_b.gif');
}
.banneri4 {
 background:transparent url('../kuvat/banneri_4_a.gif') center top no-repeat;
}
.banneri4:hover {
   background-image: url('../i/banneri_4_b.gif');
}
.banneri5 {
 background:transparent url('../kuvat/banneri_5_a.gif') center top no-repeat;
}
.banneri5:hover {
   background-image: url('../i/banneri_5_b.gif');
}
.banneri6 {
 background:transparent url('../kuvat/banneri_6_a.gif') center top no-repeat;
}
.banneri6:hover {
   background-image: url('../i/banneri_6_b.gif');
}
.banneri7 {
 background:transparent url('../kuvat/banneri_7_a.gif') center top no-repeat;
}
.banneri7:hover {
   background-image: url('../i/banneri_7_b.gif');
}
.banneri8 {
 background:transparent url('../kuvat/banneri_8_a.gif') center top no-repeat;
}
.banneri8:hover {
   background-image: url('../i/banneri_8_b.gif');
}
.banneri9 {
 background:transparent url('../kuvat/banneri_9_a.gif') center top no-repeat;
}
.banneri9:hover {
   background-image: url('../i/banneri_9_b.gif');
}
.banneri10 {
 background:transparent url('../kuvat/banneri_10_a.gif') center top no-repeat;
}
.banneri10:hover {
   background-image: url('../i/banneri_10_b.gif');
}
/* Mainosbannerit päättyy */

.alapalkki {
	width: 100%;
	padding-top: 0px;
	padding-bottom: 20px;
	opacity: 0.9;
	background-color: #111;
}
.alapalkki-container {
    display: flex;
	width: 100%;
	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: 30px;
	padding-top: 10px;
	padding-right: 0px;
	padding-bottom: 10px;
	padding-left: 0px;
	background-color: #242424;
	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;
}
/* etusivun urheilijoiden kuvakollaasi */
.imageeffect {
  position: relative;
  width: 25%;
  min-width: 100px;
  background-color: #000;
  float: left;
}
.imageimageeffect {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: .5s ease;
  backface-visibility: hidden;
}
.middleimageeffect {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}
.imageeffect:hover .imageimageeffect {
  opacity: 0.3;
}
.imageeffect:hover .middleimageeffect {
  opacity: 1;
}
.textimageeffect {
  background-color: #000;
  color: white;
  font-size: 24px;
  padding: 18px;
}
/* Kuvakollaasi päättyy */ 

.palautelomaketaulu {
	width: 80%;
	max-width: 400px;
	}
.lomaketaulu {
	width: 90%;
	max-width: 550px;
	}
.textfield, .textarea {
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	width: 96%;
	border: 1px solid #333;
	margin: 2px;
	background-color: #EEE;
	padding: 2px;
	color: #333;
}
.button {
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	background-color: #333;
	height: 35px;
	width: 120px;
	border-width: 0px;
	border-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) {	
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-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: 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, h2, h3 {
	  font-size: 18px;
}
.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 {
    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) {
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 {
	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;
}
h1, h2, h3 {
	  font-size: 18px;
}
.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: 100%;
	padding-left: 0;
	max-width: 480px;
	min-width: 340px;
}
.alapalkki-navitd {
}
.dropdown-content {
	visibility: hidden;
}
.kakkostaso {
	visibility: visible;
	height: auto;
}
.copyt {
	color: #F9F9F9;
	font-size: 12px;
}
a.bottom2 {
	font-size: 14px;
}
} 
