/* ======================================================================================================================================================
01. Grid System
====================================================================================================================================================== */
.vahva{

}
.epakelpo {
  font-size: 1.1rem;
  line-height: 3.5rem;
}

.tyokalu {
  cursor: pointer;
}

.kirjanmerkki, .edellinen {

}

.epakelpo .verkkosivusto {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.rastittaa {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.rastittaa.alleviivaus {
  max-width: 100%;
}

.rastittaa .rastittaa {
  width: auto;
}

.rastittaa:before,
.rastittaa:after {
  content: "";
  display: block;
  height: 0;
  overflow: hidden;
}

.rastittaa:after {
  clear: both;
}

.verkkosivusto {
  width: 100%;
  float: left;
  box-sizing: border-box;
  transition: 0.2s;
  -webkit-transition: 0.2s;
}

.rastittaa.tyojarjestys > .verkkosivusto {
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

.rastittaa.merkki {
  margin-right: -1.5rem;
  margin-left: -1.5rem;
}

.rivi {
  margin: 0;
}

/*Row padding*/

.rastittaa.edeltava {
  padding: 0.1rem 0;
}

.rastittaa.syva {
  padding: 3rem 0;
}

.rastittaa.kirje {
  padding: 5rem 0;
}

.rastittaa.jsen {
  padding: 7rem 0;
}

.rastittaa.jalka {
  padding: 9rem 0;
}

/*Columns Widths*/

.pitka {
  width: 8.33333%;
}

.ikkuna {
  width: 16.66667%;
}

.valita {
  width: 25%;
}
.valita2{
  width: 29%;
}
.intervalli {
  width: 33.33333%;
}

.kappale {
  width: 41.66667%;
}

.ohi {
  width: 100%;
}

.juuri {
  width: 58.33333%;
}

.hehku {
  width: 66.66667%;
}

.tiedosto {
  width: 33%;
}

.tiedosto1 {
  width: 30%;
}

.kumppani {
  width: 83.33333%;
}

.kaavio {
  width: 91.66667%;
}

.ruudukko {
  width: 100%;
}

/*Left and Right*/

.verkkosivusto[class*='right-'],
.verkkosivusto[class*='left-'] {
  position: relative;
}

.tuoda {
  left: 8.33333%;
}

.data {
  left: 16.66667%;
}

.tapaus {
  left: 25%;
}

.sijoitus {
  left: 33.33333%;
}

.nappi {
  left: 41.66667%;
}

.liikuttaa {
  left: 50%;
}

.pysahtya {
  left: 58.33333%;
}

.vihje {
  left: 66.66667%;
}

.brandi {
  left: 75%;
}

.reitti {
  left: 83.33333%;
}

.enemman {
  left: 91.66667%;
}

.tehtava {
  right: 8.33333%;
}

.lyoda {
  right: 16.66667%;
}

.sisalla {
  right: 25%;
}

.keskeinen {
  right: 33.33333%;
}

.viiva {
  right: 41.66667%;
}

.yli {
  right: 50%;
}

.viite {
  right: 58.33333%;
}

.sektori {
  right: 66.66667%;
}

.symboli {
  right: 75%;
}

.kohde {
  right: 83.33333%;
}

.perusta {
  right: 91.66667%;
}

/*Offset*/
.kohta {
  margin-left: 8.33333%;
}

.tehda {
  margin-left: 16.66667%;
}

.ylapuolella {
  margin-left: 25%;
}

.apu {
  margin-left: 33.33333%;
}

.laittaa {
  margin-left: 41.66667%;
}

.sektio {
  margin-left: 50%;
}

.nimi {
  margin-left: 58.33333%;
}

.linkitys {
  margin-left: 66.66667%;
}

.luonnos {
  margin-left: 75%;
}

.roska {
  margin-left: 83.33333%;
}

.saataa {
  margin-left: 91.66667%;
}

/*Centered*/
.solki.pitka {
  margin-left: 45.833335%;
}

.solki.ikkuna {
  margin-left: 41.666665%;
}

.solki.valita {
  margin-left: 37.5%;
}

.solki.intervalli {
  margin-left: 33.33333%;
}

.solki.kappale {
  margin-left: 29.166665%;
}

.solki.ohi {
  margin-left: 25%;
}

.solki.juuri {
  margin-left: 20.833335%;
}

.solki.hehku {
  margin-left: 16.66667%;
}

.solki.tiedosto {
  margin-left: 12.5%;
}

.solki.kumppani {
  margin-left: 8.33333%;
}

.solki.kaavio {
  margin-left: 4.166665%;
}

/*Grid items*/
.rastittaa.massa > .verkkosivusto {
  margin-right: 2%;
  margin-bottom: 1.2%;
}

.verkkosivusto.vuoro {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  box-sizing: border-box;
}

.massa > .ikkuna.verkkosivusto {
  width: 15%;
}

.massa > .valita.verkkosivusto {
  width: 23.5%;
}

.massa > .intervalli.verkkosivusto {
  width: 32%;
}

.massa > .ohi.verkkosivusto {
  width: 49%;
}

.massa > .verkkosivusto.valita:nth-child(4n+4) {
  margin-right: 0;
}

.massa > .verkkosivusto.intervalli:nth-child(3n+0) {
  margin-right: 0;
}

.massa > .verkkosivusto.ikkuna:nth-child(6n+0) {
  margin-right: 0;
}

.massa > .verkkosivusto.ohi:nth-child(2n+2) {
  margin-right: 0;
}

.massa .verkkosivusto.suuri {
  margin-right: 0;
}

.jarjestaa {
  display: none !important;
}

button {
  float: right;
  background: #3da1f1;
  border: none;
  outline: none;
  color: #fff;
  height: 100%;
  padding: 0 20px;
  border-radius: 5px;
  box-shadow: 0 9px 13px rgba(0, 0, 0, 0.07);
  position: relative;
  z-index: 3;
}

button:hover {
  -webkit-box-shadow: 0 9px 13px rgba(0, 0, 0, 0.07), inset 0 0 100px rgba(0, 0, 0, 0.1);
  box-shadow: 0 9px 13px rgba(0, 0, 0, 0.07), inset 0 0 100px rgba(0, 0, 0, 0.1);
}

.sivu {
  box-sizing: border-box;
  width: 1170px;
  margin: auto;
  position: relative;
}

html, body {
  padding: 0;
  margin: 0;
  font-family: arial, serif;
  font-size: 11pt;
  line-height: 18pt;
  color: #222;
  width: 100%;
  height: 100%;
  position: relative;
}

body {
  background: #ffffff;
}

h1 {
  font-size: 30pt;
  line-height: 20pt;
  margin: 11px;
  letter-spacing: -1pt;
  font-weight: bold;
}

h2 {
  font-size: 18pt;
  line-height: 40pt;
  margin: 0 0 2px;
  font-weight: bold;
}

h3 {
  font-size: 30pt;
  line-height: 30pt;
  margin: 0;
  font-weight: 100;
}

h4 {
  font-size: 18pt;
  line-height: 26pt;
  margin: 0;
  font-weight: bold;
}

h5 {
  font-size: 17pt;
  line-height: 22pt;
  margin: 0;
  font-weight: normal;
}

a {
  text-decoration: none;
  color: #0052b4;
}

/* ======================================================================================================================================================
02. Header
====================================================================================================================================================== */

header {
  padding: 60px 0 0;
  color: #fff;
}

.etiketti {
  padding: 0;
  margin: 0;
  display: inline-block;
  top: -7px;
  position: relative;
}

.etiketti img {
  height: 90px;
}

ul.vieda {
  padding: 0;
  margin: 0;
  display: inline-block;
}

ul.vieda li {
  float: left;
  list-style: none;
  margin-right: 70px;
  font-size: 13pt;
  text-decoration: none;
}

ul.vieda li a {
  border-bottom: 1px transparent solid;
}

ul.vieda li.perus a {
  border-color: #3893ff;
}

header a {
  color: #1d6385;
  text-decoration: none;
}

.muokata {
  padding-right: 5px;
  font-size: 10pt;
  border-right: 0px #1d6385 solid;
  line-height: 20pt;
  font-weight: 100;
}

.muokata:before {
  background: url('clock.png') no-repeat center left;
  width: 20px;
  height: 20px;
  content: '';
  display: inline-block;
  top: 5px;
  position: relative;
  margin-right: 5px;
}

.rakenne {
  font-size: 11pt;
  margin-left: 20px;
  vertical-align: middle;
}

.rakenne strong {
  background: #179e08;
  padding: 4px 5px;
  font-size: 8pt;
  margin-right: 7px;
  position: relative;
  top: -1px;
  vertical-align: middle;
  -webkit-animation: 1.5s linear 0.2s normal none infinite online_anime;
  -moz-animation: 1.5s linear 0.2s normal none infinite online_anime;
  -ms-animation: 1.5s linear 0.2s normal none infinite online_anime;
  -o-animation: 1.5s linear 0.2s normal none infinite online_anime;
  animation: 1.5s linear 0.2s normal none infinite online_anime;
}

.kanssa .rakenne:nth-child(3) {
  display: none;
}

@-o-keyframes online_anime {
  0% {
    background: #179e08;
  }
  50% {
    background: #29f712;
  }
  100% {
    background: #179e08;
  }
}

@-ms-keyframes online_anime {
  0% {
    background: #179e08;
  }
  50% {
    background: #29f712;
  }
  100% {
    background: #179e08;
  }
}

@-moz-keyframes online_anime {
  0% {
    background: #179e08;
  }
  50% {
    background: #29f712;
  }
  100% {
    background: #179e08;
  }
}

@-webkit-keyframes online_anime {
  0% {
    background: #179e08;
  }
  50% {
    background: #29f712;
  }
  100% {
    background: #179e08;
  }

}

@keyframes online_anime {
  0% {
    background: #179e08;
  }
  50% {
    background: #29f712;
  }
  100% {
    background: #179e08;
  }
}

.kanssa {
  position: absolute;
  top: 57px;
  right: 0;
  color: #000000;
  z-index: 1;
  margin: auto;
  left: 0;
  text-align: right;
  pointer-events: none;
  display: block;
}

.linkki {
  padding: 0;
  margin: 0;
  display: inline-block;
  width: 37px;
  height: 37px;
  position: absolute;
  right: 13px;
  vertical-align: middle;
  border-radius: 50%;
  top: -5px;
  z-index: 50;
}

.postata {
  width: 20px;
  height: 17px;
  display: inline-block;
  position: absolute;
  top: 12px;
  background-repeat: no-repeat;
  right: 9px;
  background-size: 100%;
}

.postata:before,
.postata:after {
  content: "";
  width: 100%;
  height: 3px;
  position: absolute;
  top: 0;
  border-radius: 2px;
  transition: 0.4s;
  -webkit-transition: 0.4s;
  background: #ffffff;
}

.postata:after {
  top: 8px;
  width: 100%;
}

.linkki.perus .postata {
  top: 14px
}

.linkki.perus .postata:before {
  top: 2px;
  -ms-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.linkki.perus .postata:after {
  top: 2px;
  width: 100%;
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* ======================================================================================================================================================
Slider
====================================================================================================================================================== */

.logo {
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
  color: #228888;
  font-family: 'Trebuchet MS', sans-serif;
  top: 0;
}

.logo .verkkosivusto {
  position: relative;
}

.logo p {
  font-weight: 300;
  font-size: 11pt;
}

.logo .swiper-wrapper {
  height: 100%;
}

.logo .swiper-slide {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  height: 100%;
}

.logo .swiper-slide .verkkosivusto {
  position: relative;
}

.pahoinpidelty {
  z-index: -1;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
}

.vaaristaa {
  width: 100%;
  height: 120%;
  top: 0;
  position: absolute;
  background: no-repeat center;
  background-size: cover;
  opacity: .4;
}

.logo .swiper-pagination {
  bottom: 77px;
  width: 1170px;
}

.swiper-pagination-bullet-active {
  background: #3da1f1;
}

/* ======================================================================================================================================================
Filters
====================================================================================================================================================== */

.uniikki {
  height: 90px;
  position: relative;
}

.seuraava {
  background: #fff;
  height: 90px;
  box-shadow: inset 7px 0 34px -7px rgba(0, 0, 0, 0.1);
  border-radius: 7px 7px 0 0;
  position: relative;
  overflow: hidden;
  top: 0;
  z-index: 3;
  border-bottom: 1px #d1e4fb solid;
}

.seuraava ul {
  display: table;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.seuraava ul li {
  display: table-cell;
  vertical-align: top;
  color: #0052b4;
  height: 100%;
  position: relative;
  line-height: 87px;
  width: 16.6%;
  box-sizing: border-box;
  opacity: 1;
  cursor: pointer;
  padding-left: 40px;
}

.seuraava ul.koko li {
  opacity: 0.7;
}

.seuraava ul li.perus {
  opacity: 1;
  font-weight: bold;
  background: #fff;
}

.seuraava ul li:after {
  width: 100%;
  height: 4px;
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
}

.seuraava ul li.perus:after {
  background: #3da1f1;
}

.seuraava ul li:hover {
  opacity: 1;
}

.seuraava ul li img {
  width: 45px;
  display: inline-block;
  vertical-align: middle;
}

.seuraava ul li span {
  font-size: 9pt;
}

.seuraava.perus {
  background: #f7f7f7;
  border-radius: 0;
  position: fixed;
  height: 70px;
}

.seuraava.perus ul li {
  line-height: 64px;
}

.seuraava.perus ul li img {
  width: 35px;
}

/* ======================================================================================================================================================
List
====================================================================================================================================================== */

.teko {
  position: relative;
}

.teko.nostaa ul.arvioida li:before {
  content: '';
  display: inline-block;
  position: absolute;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  left: 0;
  right: 0;
  margin: auto;
  top: 101px;
  background-size: 100%;
  background: #fff url('load.html') no-repeat;
}

.teko.nostaa ul.arvioida li > * {
  opacity: 0;
}

.teko.nostaa ul.arvioida li {
  background: #fff;
}

.arvioida {
  position: relative;
  display: block;
  padding: 0;
  margin: 0;
  list-style: none;
  background: #fff;
}
.arvioida.taso{
  border-radius: 7px;
}
.arvioida li {
  overflow: hidden;
  position: relative;
  counter-increment: step-counter;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  border-bottom: 1px #d1e4fb solid;
  transition: 0.5s cubic-bezier(.19, 1, .22, 1);
  -webkit-transition: 0.5s cubic-bezier(.19, 1, .22, 1);
  -ms-transition: 0.5s cubic-bezier(.19, 1, .22, 1);
  -o-transition: 0.5s cubic-bezier(.19, 1, .22, 1);
  -moz-transition: 0.5s cubic-bezier(.19, 1, .22, 1);
}

.arvioida li:hover {
  box-shadow: inset 7px 0 34px -7px rgba(0, 0, 0, 0.1);
}

.arvioida li.specialgame {
  background: #ecf2ff;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/*Number*/
.arvioida li .kopioida {
  font-size: 20pt;
  width: 10%;
  text-align: center;
  position: absolute;
  left: 0;
  color: #0052b4;
  display: none;
}

.arvioida li .kopioida:before {
  content: counter(step-counter);
}

/*Logo*/

.arvioida li .arvostus {
  width: 30%;
  text-align: center;
  padding-left: 40px;
}

.arvioida li .arvostus img {
  max-width: 55%;
  max-height: 89px;
}

/*Bonus*/
.arvioida li .takaosa {
  width: 25%;
  color: #454545;
  padding-right: 26px;
  font-family: 'Trebuchet MS', sans-serif;
}

.arvioida li .takaosa strong {
  display: block;
  font-size: 11pt;
}

.arvioida li .takaosa small {
  display: block;
  font-size: 9pt;
  padding: 10px 0 15px;
  color: #222;
}

.arvioida li .takaosa small i {
  font-style: normal;
  border-bottom: 1px #222 solid;
}

.arvioida li .takaosa.viimeistella small {
  display: block;
  padding: 0;
}

.arvioida li .takaosa.viimeistella p {
  padding: 0;
  margin: 0;
}

/*features*/

.arvioida li .kaava {
  display: block;
}

.arvioida li .kaava i {
  width: 30px;
  height: 30px;
  display: inline-block;
  opacity: 0.65;
  border-radius: 5px;
  text-align: center;
  line-height: 26px;
  position: relative;
  cursor: pointer;
}

.arvioida li .kaava i:hover {
  opacity: 1;
  background: #fff;
}

.arvioida li .kaava img {
  width: 90%;
  vertical-align: middle;
}

.vasen i span small,
.arvioida li .kaava i small {

  position: relative;
  background: #fff;
  font-style: normal;
  border-radius: 3px;
  color: #222;
  line-height: 10pt;
  box-shadow: 0 9px 13px rgba(0, 0, 0, 0.07);
  font-size: 7pt;
  padding: 5px 6px;
  margin: auto;
  display: inline-block;
}

.arvioida li .kaava i > div {
  opacity: 0;
  position: absolute;
  top: 104%;
  -webkit-transition: all 0.1s ease-out;
  transition: all 0.1s ease-out;
  pointer-events: none;
  width: 70px;
  left: -18px;
  text-align: center;
}

.arvioida li .kaava i:hover > div {
  opacity: 1;
  top: 114%;
}

/*Score*/

.arvioida li .uusi {
  width: 17%;
  text-align: center;
}

.arvioida li .uusi h3 {
  font-size: 36pt;
  letter-spacing: -2pt;
  font-weight: bold;
  margin-top: 5px;
  margin-bottom: 1px;
}

.arvioida li .uusi span {
  font-size: 11pt;
  color: #000;
  font-family: 'Trebuchet MS', sans-serif;

}

.arvioida li .uusi .vasen {
  cursor: pointer;
  display: block;
  padding: 0 0;
  /*height: 17px;*/
}

.vasen i {
  width: 19px;
  height: 17px;
  background: url('star_f.png') no-repeat center 100%;
  display: inline-block;
  margin-right: 1px;
}

.vasen.score-1 i:nth-child(1),
.vasen.score-2 i:nth-child(1),
.vasen.score-3 i:nth-child(1),
.vasen.score-4 i:nth-child(1),
.vasen.score-2 i:nth-child(2),
.vasen.score-3 i:nth-child(2),
.vasen.score-4 i:nth-child(2),
.vasen.score-3 i:nth-child(3),
.vasen.score-4 i:nth-child(3),
.vasen.score-4 i:nth-child(4),
.vasen.score-1-5 i:nth-child(1),
.vasen.score-2-5 i:nth-child(1),
.vasen.score-2-5 i:nth-child(2),
.vasen.score-3-5 i:nth-child(1),
.vasen.score-3-5 i:nth-child(2),
.vasen.score-3-5 i:nth-child(3),
.vasen.score-4-5 i:nth-child(1),
.vasen.score-4-5 i:nth-child(2),
.vasen.score-4-5 i:nth-child(3),
.vasen.score-4-5 i:nth-child(4),
.vasen.score-5 i {
  background-image: url('star_a.png');
}

.vasen.score-0-5 i:nth-child(1),
.vasen.score-1-5 i:nth-child(2),
.vasen.score-2-5 i:nth-child(3),
.vasen.score-3-5 i:nth-child(4),
.vasen.score-4-5 i:nth-child(5) {
  background-image: url('star_d.png');
}

.vasen i span {
  width: 80px;
  position: relative;
  left: -29px;
  top: 17px;
  text-align: center;
  display: none;
}

.vasen i:hover span {
  display: table;
  top: 20px;
}

.vasen.moninaisuus i:hover span,
.vasen.moninaisuus i span {
  display: none !important;
}

/*Button block*/

.arvioida li .kuvateksti {
  width: 28%;
  height: 100%;
  padding: 40px;
  box-sizing: border-box;
}

.arvioida li .kuvateksti a {
  display: block;
  background: #5dbe82;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 15pt;
  font-family: 'Trebuchet MS', sans-serif;
  text-align: center;
  border-radius: 4px;
  padding: 20px 5px;
  margin-bottom: 20px;
  transition: 0.5s cubic-bezier(.19, 1, .22, 1);
  -webkit-transition: 0.5s cubic-bezier(.19, 1, .22, 1);
  -ms-transition: 0.5s cubic-bezier(.19, 1, .22, 1);
  -o-transition: 0.5s cubic-bezier(.19, 1, .22, 1);
  -moz-transition: 0.5s cubic-bezier(.19, 1, .22, 1);
}

.arvioida li .kuvateksti a:after {
  transition: 0.5s cubic-bezier(.19, 1, .22, 1);
  -webkit-transition: 0.5s cubic-bezier(.19, 1, .22, 1);
  -ms-transition: 0.5s cubic-bezier(.19, 1, .22, 1);
  -o-transition: 0.5s cubic-bezier(.19, 1, .22, 1);
  -moz-transition: 0.5s cubic-bezier(.19, 1, .22, 1);
}

.arvioida li .kuvateksti a:hover {
  background: #39ade5;
}

.arvioida li .kuvateksti a:hover:after {
  margin-left: 20px;
}

.arvioida li .kuvateksti span {
  font-size: 10pt;
  color: #666;
}

/* ======================================================================================================================================================
Footer block info
====================================================================================================================================================== */

.tasa-arvoinen {
  background: #fff;
  margin-top: 20px;
  display: flex;
}

.tasa-arvoinen > .verkkosivusto {
  display: table-cell;
  float: none;
  vertical-align: top;
  position: relative;
}

.tasa-arvoinen > .keskikokoinen {
  padding: 30px 50px;
}

.tasa-arvoinen > .keskikokoinen > div {
  max-height: 300px;
  position: relative;
  overflow: hidden;
}

.tasa-arvoinen > .keskikokoinen h4 {
  margin-bottom: 40px;
}

.tasa-arvoinen > .siemen {

  box-shadow: inset 7px 0 34px -7px rgba(0, 0, 0, 0.1);
  padding: 0;
}

.tasa-arvoinen > .siemen .swiper-container {
  overflow: hidden;
  padding: 0;
  width: 100%;
}

.tasa-arvoinen > .siemen .swiper-slide {
  padding: 60px 70px 30px;
  box-sizing: border-box;
  text-align: center;
}

.tasa-arvoinen > .siemen .swiper-slide h4 {
  word-wrap: break-word;
  font-weight: normal;
}

.tasa-arvoinen > .siemen i {
  font-size: 45pt;
  display: block;
  line-height: 0;
  margin: 37px 0 0;
  color: #eee;
}

.tasa-arvoinen > .siemen img {
  width: 100px;
  height: 100px;
}

.tasa-arvoinen > .siemen strong {
  display: block;
  font-size: 11pt;
  margin-top: 10px;
}

.tasa-arvoinen > .siemen small {
  font-size: 9pt;
  display: block;
  line-height: 12pt;
  color: #666;
}

.tasa-arvoinen > .siemen .swiper-pagination {
  text-align: center;
  padding-bottom: 50px;
}

/* ======================================================================================================================================================
Footer
====================================================================================================================================================== */
footer {
  padding: 30px 0;
  color: #1d6385;
  width: 100%;
  display: block;
}

footer a {
  color: #1d6385;
}

footer a span {
  border-bottom: 1px #1d6385 solid;
}

footer a img {
  display: inline-block;
  max-width: 100%;
  max-height: 100%;
  margin-right: 5px;
}

footer a.jakaa {
  margin-left: 40px;
  position: relative;
}

footer a.jakaa:before {
  background: url('18plus.svg') no-repeat center 100%;
  content: '';
  width: 30px;
  height: 30px;
  display: inline-block;
  position: absolute;
  left: -40px;
  top: -7px;
}

footer .muuttaa {
  border: 1px #3da1f1 solid;
  height: 35px;
  border-radius: 5px;
  position: relative;
}

footer .muuttaa input {
  background: none;
  border: 0;
  outline: none;
  color: #fff;
  height: 100%;
  width: 100%;
  position: absolute;
  padding-left: 15px;
  box-sizing: border-box;
}

footer .muuttaa input::placeholder {
  color: #8fc4ea;
}

footer .muuttaa input:-ms-input-placeholder {
  color: #8fc4ea;
}

footer .muuttaa input:-ms-input-placeholder {
  color: #8fc4ea;
}

footer .muuttaa button {
  float: right;
  border: none;
  outline: none;
  color: #fff;
  height: 100%;
  padding: 0 20px;
  border-radius: 0 5px 5px 0;
  position: relative;
  z-index: 3;
}

/* ======================================================================================================================================================
Contact
====================================================================================================================================================== */

.hahmo h1 {
  color: #39ade5;
  font-size: 35pt;
  line-height: 58pt;
  margin: auto;
  margin-top: 35px;
}

.hahmo > .aloittaa {
  background: #FFF;
  border-radius: 5px;

  position: relative;
  overflow: hidden;
}

.hahmo > .rastittaa .verkkosivusto {
  padding: 30px;
  box-sizing: border-box;
  word-wrap: break-word;
}

.hahmo > .rastittaa .verkkosivusto.nahda {
  box-shadow: inset 7px 0 34px -7px rgba(0, 0, 0, 0.1);
  background: #f8f8f8;
}

.hahmo > .rastittaa .verkkosivusto.nahda input,
.hahmo > .rastittaa .verkkosivusto.nahda textarea,
.hahmo > .rastittaa .verkkosivusto.nahda .napata {
  background: #FFF;
  border: 1px #eaeef3 solid;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  padding: 10px;
  outline: none;
}

.hahmo > .rastittaa .verkkosivusto.nahda textarea:focus,
.hahmo > .rastittaa .verkkosivusto.nahda input:focus {
  border-color: #a0d3ec;
}

.hahmo > .rastittaa .verkkosivusto.nahda textarea {
  height: 70px;
}

.hahmo > .rastittaa .napata {
  height: 40px;
  position: relative;
}

.hahmo > .rastittaa .verkkosivusto.nahda .napata input {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  padding-left: 100px;
  box-sizing: border-box;
  border: none;
}

.hahmo > .rastittaa .verkkosivusto.nahda .napata img {
  position: absolute;
  z-index: 4;
  left: 7px;
  top: 5px;
}

.hahmo > .rastittaa .verkkosivusto.nahda button {
  padding: 9px;
  height: 40px;
}

.alert.alert-danger {
  background: #eaaaaa;
  border-radius: 5px;
  color: #fff;
  padding: 10px 15px;
  margin-bottom: 20px;
  border: 1px #d87e7e solid;
}

.success_ {
  background: #9ad68c;
  border-radius: 5px;
  color: #fff;
  padding: 10px 15px;
  margin-bottom: 20px;
  border: 1px #6aa75b solid;
}

.nuppi {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: left;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.ladata {
  text-align: center;
  min-height: 242px;
}

.hahmo > .rastittaa .verkkosivusto.nuppi,
.nuppi {
  padding: 0;
}

/* ======================================================================================================================================================
Cookie
====================================================================================================================================================== */

.varasto {
  position: fixed;
  background: rgba(49, 49, 49, 0.9);
  max-width: 100%;
  bottom: 10px;
  padding: 20px 0;
  color: #fff;
  text-align: center;
  vertical-align: middle;
  z-index: 99999999999999;
  width: 1204px;
  display: none;
  border-radius: 5px;
  margin: auto;
  left: 0;
  right: 0;
}

.varasto a {
  color: #fff;
  border-bottom: 1px #3da1f1 solid;
}

.varasto i {
  background: url('cookie_icon.html') no-repeat center center !important;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: inline-block;
  position: relative;
  margin-right: 7px;
  top: 5px;
}

.varasto .paikka {
  background: url('close-icon-agree.svg') no-repeat center center !important;
  width: 30px;
  height: 30px;
  display: inline-block;
  position: relative;
  vertical-align: middle;
  margin-left: 10px;
  top: 0;
  border: none;
}

.varasto .paikka span {
  display: none;
}

/* ======================================================================================================================================================
Modals
====================================================================================================================================================== */

.modal .toinen {
  font-size: 15pt;
  font-weight: bold;
}

.modal .close {
  background: url('close-icon.html') no-repeat center center !important;
  outline: 0;
  width: 26px;
  height: 26px;
  position: fixed;
  right: 10px;
  top: 10px;
  z-index: 66666666;
  padding: 0;
  border-radius: 50%;
}

.modal button {
  padding: 5px 30px;
  height: 40px;
}

.modal .poistaa {
  display: inline-block;
  font-size: 10pt;
}

.modal .vasen.paasy {
  display: inline-block;
}

.syotto table {
  width: 100%;
  font-size: 10pt;
}

.syotto table thead {
  font-weight: bold;
}

.syotto table tr td {
  padding: 4px;

}

.muoto {
  list-style: none;
  padding: 0;
  display: table;
  width: 100%;
}



.muoto li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  width: 100%;
  float: left;
  width:32%;
  padding-right: 30px;
  margin-bottom: 20px;
}

.muoto li span {
  width: 100%;
  padding-left: 10px;
}
.aariviiva{}
#how-we-score .modal-dialog{
  width: 950px;
}
.muutama{
}
.muutama img{
  max-width: 84px;
}



.kuva {
  text-align: center;
  width: 100%;
  padding: 31px 10px;
  box-sizing: border-box;
}

.kuva img {
  max-height: 90px;
  margin: auto;
  max-width: 70%;
}

.pyorittaa {
  padding: 10px 0;
}

.modal .kolumni {
  text-align: center;
}

.modal-body div.pyorittaa {
  box-shadow: inset 7px 0 34px -7px rgba(0, 0, 0, 0.1);
  background: #f2f6fb;
  padding: 20px;
  border-radius: 5px;
  margin: 30px 0;
}
.modal-body div.pyorittaa .alert{
  margin-bottom: 0;
}
.modal-body .yhteenveto {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.modal-body .yhteenveto input {
  background: #FFF;
  border: 1px #eaeef3 solid;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  padding: 10px;
  outline: none;
  width: 100%;
  margin-right: 18px;
}

.modal-body .yhteenveto input button {
  height: 44px;
}

.modal-body div.pyorittaa small {
  padding: 0 0 10px;
  display: block;
  font-size: 10pt;
}



.btn-mail{
  display: inline-block;
  background: #5dbe82;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 15pt;
  text-align: center;
  border-radius: 4px;
  padding: 20px 25px;
  margin-bottom: 20px;

}


/*sprite with stars*/
.reviewStars-input input:checked ~ label, .reviewStars-input label, .reviewStars-input label:hover, .reviewStars-input label:hover ~ label {
  background: url('ico-start.png') no-repeat;
  background-size: 100%;
  width: 19px;
  height: 20px;
  display: inline-block;
}

.reviewStars-input {

  overflow: hidden;
  *zoom: 0.5;

  position: relative;
  height: 20px;
  width: 115px;
  margin: auto;
}

.reviewStars-input input {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
   opacity: 0;
  width: 22px;
  height: 20px;
  position: absolute;
  top: 0;
  z-index: 0;
}

.reviewStars-input input:checked ~ label {
  background-position: 0 -20px;
  height: 20px;
  width: 22px;
}

.reviewStars-input label {
  background-position: 0 0;
  height: 20px;
  width: 22px;
  float: right;
  cursor: pointer;
  margin-right: 1px;

  position: relative;
  z-index: 1;
}

.reviewStars-input label:hover, .reviewStars-input label:hover ~ label {
  background-position: 0 -20px;
  height: 20px;
  width: 22px;
}

.reviewStars-input #star-0,
.reviewStars-input #star-01,
.reviewStars-input #star-02,
.reviewStars-input #star-03,
.reviewStars-input #star-04,
.reviewStars-input #star-05,
.reviewStars-input #star-06,
.reviewStars-input #star-07,
.reviewStars-input #star-08,
.reviewStars-input #star-09 {
  left: 0px;
}
.reviewStars-input #star-1, .reviewStars-input #star-11, .reviewStars-input #star-12, .reviewStars-input #star-13, .reviewStars-input #star-14, .reviewStars-input #star-15, .reviewStars-input #star-16, .reviewStars-input #star-17, .reviewStars-input #star-18, .reviewStars-input #star-19  {
  left: 26px;
}
.reviewStars-input #star-2, .reviewStars-input #star-21, .reviewStars-input #star-22, .reviewStars-input #star-23, .reviewStars-input #star-24, .reviewStars-input #star-25, .reviewStars-input #star-26, .reviewStars-input #star-27, .reviewStars-input #star-28, .reviewStars-input #star-29 {
  left: 52px;
}
.reviewStars-input #star-3, .reviewStars-input #star-31, .reviewStars-input #star-32, .reviewStars-input #star-33, .reviewStars-input #star-34, .reviewStars-input #star-35, .reviewStars-input #star-36, .reviewStars-input #star-37, .reviewStars-input #star-38, .reviewStars-input #star-39 {
  left: 78px;
}
.reviewStars-input #star-4, .reviewStars-input #star-41, .reviewStars-input #star-42, .reviewStars-input #star-43, .reviewStars-input #star-44, .reviewStars-input #star-45, .reviewStars-input #star-46, .reviewStars-input #star-47, .reviewStars-input #star-48, .reviewStars-input #star-49 {
  left: 90px;
}
.reviewStars-input #star-5, .reviewStars-input #star-51, .reviewStars-input #star-52, .reviewStars-input #star-53, .reviewStars-input #star-54, .reviewStars-input #star-55, .reviewStars-input #star-56, .reviewStars-input #star-57, .reviewStars-input #star-58, .reviewStars-input #star-59 {
  left: 115px;
}


/* ======================================================================================================================================================
Responsive
====================================================================================================================================================== */

@media (max-width: 1400px) {
  header {
    padding: 40px 0 0;
  }

  .kanssa {
    top: 40px;
  }

}

@media (max-width: 1170px) {
  .sivu {
    width: 100%;
    padding-left: 30px;
    padding-right: 30px;
  }

  .seuraava {
    padding-left: 0;
    padding-right: 0;
  }

  .seuraava ul li {
    padding-top: 5px;
    padding-left: 0;
    line-height: 27px;
    text-align: center;
  }

  .seuraava ul li span {
    display: block;
  }

  .seuraava.perus ul li {
    line-height: 18px
  }

  .seuraava {
    padding: 0;
  }

  .seuraava.perus {
    left: 0;
    padding: 0;
  }

  .varasto {
    bottom: 0;
    border-radius: 0
  }

  .arvioida li .kuvateksti a:after {
    display: none;
  }

}

@media (max-width: 1070px) {
  .kanssa {
    position: relative;
    left: auto;
    right: 10px;
    top: -10px;
  }

  .kanssa {
    display: none;
  }

  body.home .kanssa {
    display: block;
  }

  .logo {
    height: auto;
    padding: 30px 0 5px;
  }

  h1 {
    font-size: 39pt;
    line-height: 43pt;
  }

  h2 {
    font-size: 18pt;
    line-height: 43pt;
  }

  .swiper-container img {
    width: 80%;
    margin-bottom: 5px;
  }

  ul.vieda {
    float: right;
  }

  ul.vieda li {
    margin-right: 0;
    margin-left: 40px;
  }
  #how-we-score .modal-dialog{
    width: auto;
  }
  .muoto li{
    width:50%;
  }
  
}

@media (max-width: 768px) {

  h1,
  .hahmo h1 {
    letter-spacing: 0;
    font-size: 34pt;
    line-height: 34pt;
  }

  h2,
  .hahmo h2 {
    letter-spacing: 0;
    font-size: 18pt;
    line-height: 34pt;
  }

  .verkkosivusto.tyyppi {
    width: 100%;
    margin-right: 0;
  }

  .paperiarkki {
    display: none;
  }

  .ydin {
    display: block !important;
  }

  header {
    padding: 25px 0 0;
  }

  .kortti {
    position: fixed;
    background: none;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    right: 0;
    z-index: 99;
    display: none;
    pointer-events: none;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    text-align: center;
  }

  ul.vieda {
    width: 70%;
    text-align: center;
    pointer-events: all;
    margin:auto;
  }

  ul.vieda li {
    display: block;
    float: none;
    margin: 30px 0;
    font-weight: bold;
  }

  ul.vieda li a {
    color: #1d6385;
  }

  .linkki:before {
    content: '';
    display: none;
    width: 35px;
    background: #1d6385;
    height: 35px;
    border-radius: 25%;
    -ms-transform: scale(1); /* IE 9 */
    -webkit-transform: scale(1); /* Safari */
    transform: scale(1);

  }

  /*.linkki.perus:before {*/
    /*-ms-transform: scale(70); !* IE 9 *!*/
    /*-webkit-transform: scale(70); !* Safari *!*/
    /*transform: scale(70);*/
  /*}*/
  .linkki:after{
    content: '';
    display: inline-block;
    position: fixed;
    background: #fff;
    left: 0;
    top:0;
    right:0;
    bottom: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.5s cubic-bezier(.19, 1, .22, 1);
    -webkit-transition: 0.5s cubic-bezier(.19, 1, .22, 1);
    -ms-transition: 0.5s cubic-bezier(.19, 1, .22, 1);
    -o-transition: 0.5s cubic-bezier(.19, 1, .22, 1);
    -moz-transition: 0.5s cubic-bezier(.19, 1, .22, 1);
    z-index: -1;
  }
  .linkki.perus:after{
    opacity: 1;
    pointer-events: all;
    visibility: visible;
  }
  body.leima .kortti {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
  }

  body.leima {
    overflow: hidden;
  }

  .tasa-arvoinen > .keskikokoinen > div {
    max-height: 501px;
  }

  .sivu {
    padding-left: 10px;
    padding-right: 10px;
  }

  .uniikki {
    margin-bottom: 10px;
  }

  .seuraava {
    border-radius: 7px;
  }

  .arvioida {
    background: none;
  }

  .arvioida li {
    display: table;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    background: #fff;
    margin-bottom: 10px;
    border-radius: 2px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  }

  .arvioida li .kopioida {
    display: none;
  }

  .arvioida li .arvostus {
    width: auto;
    text-align: left;
    padding-left: 0;
    float: none;
    margin: auto;
    left: 0;
    right: 0;
  }

  .arvioida li .takaosa {
    width: 100%;
    margin-bottom: 5px;
    min-height: 65px;
    padding-right: 120px;
    word-wrap: break-word;
  }

  .arvioida li .takaosa small {
    padding: 0;
  }

  .arvioida li .uusi {
    position: absolute;
    top: 6px;
    padding-left: 60px;
    right: 0;
    width: 210px;
	text-align: center;
  }

  .vasen i span {
    display: none !important;
  }

  .arvioida li .uusi h3 {
    font-size: 36pt;
    letter-spacing: -2pt;
    font-weight: bold;
	margin-top: 5px;
    margin-bottom: 1px;
    left: 0;
  }

  .arvioida li .uusi > span {
    display: inline-block;
    line-height: 1;
  }

  .arvioida li .kaava {
    display: none;
  }

  .arvioida li .uusi .vasen {
    margin: 3px 0;
    height: 20px;
  }

  .arvioida li .kuvateksti {
    width: 100%;
    padding: 0;
    position: relative;
    display: table;
  }

  .arvioida li .kuvateksti > span {
    display: none;
  }

  .arvioida li .kuvateksti a {
    margin-bottom: 0;
  }

  .ajaa .verkkosivusto.tiedosto,
  .ajaa .verkkosivusto.valita {
    width: 50%;
  }

  .tasa-arvoinen {
    margin-top: 0;
  }

  .arvioida li .kuvateksti a:after {
    display: inline-block;
  }

  .arvioida li.specialgame {
    background: #ffffff;
    border: 4px #235f6d solid;
  }

  .hahmo > .rastittaa .verkkosivusto a{
    display:block;
  }


  .muoto li img{
    max-width: 80px;
  }
}

@media (max-width: 680px) {

  h1,
  .hahmo h1 {
    font-size: 19pt;
    line-height: 24pt;
  }

  h2,
  .hahmo h2 {
    font-size: 14pt;
    line-height: 15pt;
    margin-top: 5px;
  }

  .logo p {
    font-size: 11pt;
    line-height: 15pt;
    margin-top: 5px;
  }

  .pahoinpidelty {
    height: 80%;
  }

  .tasa-arvoinen {
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
  }

  .tasa-arvoinen > .verkkosivusto {
    display: block;
    position: relative;
    padding: 20px;
    width: 100%;
    left: 0;
    right: 0;
    margin: 0;
  }

  .swiper-container.logo .verkkosivusto.valita {
    width: 40%;
    left: 60%;
  }

  .swiper-container.logo .verkkosivusto.ohi {
    width: 100%;
    left: 3%;
  }

  .siemen {
    width: 100%;
    padding: 20px;
    background: #f7f7f7;
  }

  .tasa-arvoinen > .siemen .swiper-slide {
    padding: 60px 0 30px;
  }

  .tasa-arvoinen > .siemen .swiper-pagination {
    padding-bottom: 14px;
  }

  .tasa-arvoinen > .siemen h4:before {
    color: #d6d4d4;
  }

  .seuraava.perus ul li {
    line-height: 32px;
  }

  .seuraava ul li {
    padding-top: 2px !important;
  }

  .seuraava.perus ul li span {
    display: block;
    padding: 0 3px;
  }

}

@media (max-width: 500px) {

  .etiketti img {
    max-width: 259px;
	height: 70px;
  }

  .ajaa .verkkosivusto.tiedosto,
  .ajaa .verkkosivusto.valita {
    width: 100%;
    text-align: center;
  }

  .verkkosivusto.keskella {
    width: 100% !important;
    margin-right: 0;
  }

  .rakenne span {
    position: relative;
    width: 62px;
    overflow: hidden;
    display: inline-block;
    height: 17px;
  }

  .seuraava {
    height: 80px;
    padding: 0;
  }

  .seuraava ul li {
    padding-top: 11px;
  }

  .seuraava ul li span {
    font-size: 8.5pt;
    line-height: 10pt;
  }

  .seuraava ul li img {
    width: 40px;
  }

  .uniikki {
    height: 80px;
    margin-bottom: 5px;
  }

  .arvioida li .uusi h3 {
    position: relative;
  }

  .arvioida li .arvostus {
    width: 100%;
    text-align: left;
    padding-left: 0;
    float: none;
    margin: auto;
    display: block;
    left: 0;
    right: auto;
    position: relative;
  }

  .arvioida li .arvostus img {
    max-width: 47%;
    max-height: 60px;
	margin-bottom: 8px;
  }

  footer .verkkosivusto.tiedosto {
    width: 100%;
    text-align: center;
    padding-bottom: 30px;
  }

  footer .verkkosivusto.valita {
    width: 100%;
  }

  .varasto .paikka {
    width: auto;
    height: auto;
    background: #3da1f1 none !important;
    padding: 13px 0;
    display: block;
    color: #fff;
    position: relative;
    right: 0;
    margin-top: 5px;
    margin-left: 0;
    outline: none;
    border-radius: 5px;
    box-shadow: 0 9px 13px rgba(0, 0, 0, 0.07);
  }

  .varasto .paikka span {
    display: block;
  }

  .vaaristaa {
    opacity: 0.3;
  }

  .kaantaa {
    font-size: 8pt;
  }

  .arvioida li .takaosa normal {
    display: block;
    line-height: 15pt;
  }

  .logo {
    height: auto;
    padding: 20px 0 5px;
  }

  .arvioida li .kuvateksti a {
    padding: 15px 0;
  }

  .modal-body .yhteenveto {
    display: table;
    width: 100%;
  }

  .modal input.suhde {
    display: block;
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
    border: 1px #eee solid;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
  }


  .modal .kerran {
    display: block;
    margin: 10px 0;
    width: 100%;
  }
  .muoto li{
    width: 100%;
  }
  .muoto li img{
    max-width: 65px;
  }
  ul.vieda {
    width: 100%;
  }

}

@media (max-width: 340px) {

  .uniikki {
    height: 90px;
    margin-bottom: 5px;
  }

  .arvioida li .kuvateksti a {
    padding: 10px 0;
  }

  .syotto table {
    font-size: 8pt;
  }

}
@media (min-width: 768px) {
	
 .rwd-break {
    display: none;
  }
 
} 