/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v7.0.29,
* Autoprefixer: v9.7.6
* Browsers: last 4 version
*/
/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v7.0.29,
* Autoprefixer: v9.7.6
* Browsers: last 4 version
*/
/* Full screen setup paulig*/
* {
  font-family: "Neutraface 2 Text Book", "arial", sans-serif !important;
}

#game {
  transition: transform 0.1s;
  overflow: visible;
  top: 60px;
}

body.gamebody {
  background: #f5f4f2 url(assets/tausta_full.jpg) no-repeat;
  background-size: cover;
}

@media (max-width: 830px) {
  body.gamebody {
    background: #f5f4f2 url(assets/tausta.jpg) no-repeat !important;
  }
}

div.game div.choose-racer {
  bottom: 0px !important;
}

@media (max-width: 830px) {
  div.game div.choose-racer div.racer-variant {
    transform: scale(1.8);
    transform-origin: bottom;
  }
}

div.game div.racer-variant {
  background-size: auto 100% !important;
  background-position: center bottom !important;
  width: 62px !important;
}

div.game .step-2 div.racer-variant {
  transition: all .2s ease-in-out;
  transform-origin: bottom;
}

div.game .step-2 div.racer-variant:hover {
  transform: scale(1.2);
}

@media (max-width: 830px) {
  div.game .step-2 div.racer-variant {
    margin-left: 25px;
    margin-right: 25px;
  }
}

.racer-variant-1 {
  background: url(assets/mocca.png) no-repeat !important;
  height: 42px !important;
}

.racer-variant-2 {
  background: url(assets/coldbrew.png) no-repeat !important;
  height: 67px !important;
}

.racer-variant-3 {
  background: url(assets/espresso.png) no-repeat !important;
  height: 33px !important;
}

.racer-variant-4 {
  background: url(assets/raidat.png) no-repeat !important;
  height: 52px !important;
}

div.game .step-3 .racer-variant-1 {
  margin-top: -24px !important;
  margin-left: -30px !important;
}

div.game .step-3 .racer-variant-2 {
  margin-left: -30px !important;
}

div.game .step-3 .racer-variant-3 {
  margin-top: -15px !important;
  margin-left: -30px !important;
}

div.game .step-3 .racer-variant-4 {
  margin-top: -35px !important;
  margin-left: -30px !important;
}

.bg-stack, #game {
  background: transparent !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
}

div.board-small {
  background: #fff !important;
  border: 2px solid #777;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
}

div.board-small:before {
  background: white;
  display: block;
  content: " ";
  width: 50px;
  /* Width of Shadow */
  height: 50px;
  /* Height of #one */
  position: absolute;
  left: 0;
  /* 0 - Width of Shadow */
  top: 0;
  z-index: 2;
}

div.board-small span {
  z-index: 3;
  position: absolute;
  font-family: "Mirador", "arial", sans-serif !important;
  width: 50px !important;
  height: 50px;
  text-align: center;
  margin: 0 !important;
  top: -3px;
  color: #555;
}

div.board-small.x:before {
  content: '\2717';
  text-align: center;
  font-size: 35px;
  line-height: 50px;
  color: #555;
}

div.board-small.x2:before {
  content: "x2";
  text-align: center;
  font-size: 25px;
  line-height: 50px;
  font-family: "Neutraface 2 Text Bold", "arial", sans-serif;
  color: #555;
}

@media (max-width: 830px) {
  div.card-stack {
    top: 672px !important;
    transform: scale(2);
    left: 136px !important;
  }
}

div.card-stack div, div.card-stack div.card-question {
  box-sizing: border-box;
  border-radius: 20px;
  background-color: #009878;
  overflow: visible;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
  background: #009878 url(assets/icon_pondering_1.png) center no-repeat;
  background-size: 45px auto;
}

div.card-stack:not(.active) {
  opacity: 0.3;
}

div.board div.dice {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

div.board div.dice div {
  background: #000;
  border-radius: 15px;
}

@media (max-width: 830px) {
  div.board div.dice {
    transform: scale(2) !important;
    top: 775px !important;
    right: 145px !important;
    left: auto !important;
  }
}

div.board div.dice:not(.needsrolling) {
  opacity: 0.5;
}

div.game div.board div.racer-variant {
  z-index: 3;
}

div.board-start {
  background: none;
}

div.board-finish {
  position: absolute;
  top: 330px !important;
  left: 468px !important;
  background: url(assets/heart.png) center center no-repeat;
  width: 176px;
  height: 156px;
  background-size: cover;
}

div.game div.logo3 {
  background-image: none !important;
}

div.game div.score {
  right: 17px !important;
  left: auto !important;
  top: 37px !important;
  font-family: "Neutraface 2 Text Bold", "arial", sans-serif;
  background: url(assets/pikkusydan.png) no-repeat;
  background-size: auto 100%;
  padding: 0 !important;
  margin: 0 !important;
  padding-right: 20px !important;
  height: 15px !important;
  width: 40px !important;
  text-align: left !important;
  padding-left: 26px !important;
  line-height: 11px;
  color: #000 !important;
}

div.game div.progressbar {
  right: 100px !important;
  left: auto !important;
  top: 32px !important;
  font-family: "Neutraface 2 Text Bold", "arial", sans-serif;
  background: url(assets/icon_pondering_1.png) no-repeat;
  background-size: auto 100%;
  padding: 0 !important;
  margin: 0 !important;
  padding-right: 20px !important;
  height: 22px !important;
  width: 64px !important;
  text-align: left !important;
  padding-left: 26px !important;
  line-height: 19px;
  color: #000 !important;
}

div.game .question-block-wrapper {
  width: 80%;
  /* margin-left: 10px; */
  /* margin-top: 41px; */
  margin: 55px auto;
}

div.game .question-block-wrapper .question-block:after {
  width: 50px;
  height: 62px;
  position: absolute;
  content: " ";
  background: url(assets/icon_pondering_1.png) no-repeat;
  z-index: 1;
  right: -25px;
  top: 21px;
  background-size: 100%;
}

div.game .question-block-wrapper > div.question-block-wrapper-inner {
  top: 90px;
  height: 375px;
  color: black;
  display: block;
  background-image: none !important;
  background: #fff;
  border: 5px solid #000;
  height: 360px;
  width: 600px !important;
  padding: 0 !important;
  margin: 0 auto !important;
  left: 58px;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.7);
}

@media (max-width: 830px) {
  div.game .question-block-wrapper > div.question-block-wrapper-inner {
    height: 900px !important;
  }
}

div.game .question-block-wrapper > div.question-block-wrapper-inner > div > div {
  width: auto;
  padding: 20px;
  font-family: "Neutraface 2 Text Bold", "arial", sans-serif !important;
  text-align: center;
  font-size: 22px;
}

@media (max-width: 830px) {
  div.game .question-block-wrapper > div.question-block-wrapper-inner > div > div {
    font-size: 26px !important;
  }
}

div.game .question-choose-wrapper {
  left: 50% !important;
  margin-left: -225px !important;
  top: 200px !important;
  width: 450px !important;
  position: absolute !important;
}

div.game .question-choose-wrapper .question-choose .variant {
  height: auto !important;
  background: #fff !important;
  box-shadow: none !important;
  background-image: none !important;
  border-radius: 0 !important;
  width: 450px !important;
}

div.game .question-choose-wrapper .question-choose .variant:hover {
  background: #f5f5f5 !important;
}

div.game .question-choose-wrapper .question-choose .variant div.table {
  border: 3px solid #000;
  box-sizing: border-box;
}

div.game .question-choose-wrapper .question-choose .variant div.table > div {
  font-family: "Neutraface 2 Text Bold", "arial", sans-serif !important;
  text-align: center;
  font-size: 24px;
}

@media (max-width: 830px) {
  div.game .question-choose-wrapper .question-choose .variant div.table > div {
    font-size: 26px !important;
  }
}

div.game.step-4 div.question-block-wrapper-bg {
  background-color: transparent !important;
}

div.game .question-answered-block-wrapper {
  border: none;
  height: 297px !important;
  color: black !important;
  width: 599px !important;
  height: 230px !important;
  background-image: none !important;
  top: 232px !important;
  background: #f0f0f0 !important;
  left: 53px !important;
}

div.game .question-answered-block-wrapper > div > div {
  margin: 30px 60px;
}

div.game .question-answered-block-wrapper > div > div > div {
  text-align: center;
  font-size: 22px;
  line-height: 1.25;
}

@media (max-width: 830px) {
  div.game .question-answered-block-wrapper > div > div > div {
    font-size: 26px !important;
  }
}

div.game a.button {
  background: #fff !important;
  box-shadow: none !important;
  -moz-box-shadow: none !important;
  -webkit-box-shadow: none !important;
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
  -moz-border-radius: 0 !important;
  border: 3px solid #000 !important;
}

div.game a.button:hover {
  background: #f5f5f5 !important;
  color: #000 !important;
}

div.game #step4continuebutton {
  left: 50% !important;
  margin-left: -100px !important;
  top: 390px !important;
  position: absolute !important;
  width: 200px;
  padding: 0;
}

.paulig_logo {
  width: 120px;
  height: auto;
}

@media (max-width: 830px) {
  .paulig_logo {
    width: 80px;
  }
}

.footer-message {
  display: block !important;
  color: #000;
  height: 80px;
  bottom: -100px;
  width: 100%;
  left: 0;
  text-align: center;
  line-height: 80px;
  position: absolute;
  font-size: 12px;
}

@media (max-width: 830px) {
  .footer-message {
    display: none !important;
  }
}

div.step-2-description > div.description {
  text-align: center;
  max-height: auto !important;
  overflow: visible !important;
}

div.step-2-description > div.description h1 {
  font-family: "Neutraface 2 Text Bold", "arial", sans-serif !important;
  margin-top: 1em;
  font-size: 1.5em !important;
  padding-bottom: 0 !important;
}

@media (max-width: 830px) {
  div.step-2-description > div.description > div {
    font-size: 2em !important;
  }
}

div.step-2 .logo2 {
  background-image: none !important;
  font-size: 50px;
  margin-top: 20px;
  text-align: center;
  font-family: "Mirador", "arial", sans-serif !important;
}

@media (max-width: 830px) {
  div.step-2 .logo2 {
    height: 600px !important;
    top: 832px !important;
  }
}

div.step-2 .step-2-description {
  background-color: #fff !important;
  border: 3px solid #000 !important;
  background-image: none !important;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.2) !important;
  margin: 5px;
}

@media (max-width: 830px) {
  div.step-2 .step-2-description {
    height: 683px !important;
  }
}

.pavut {
  position: absolute;
  width: 50px;
  top: 145px;
  left: 229px;
}

.logo3 h1 {
  text-align: center;
  font-family: "Mirador", "arial", sans-serif !important;
  font-size: 33px;
}

.nameRoleEnter {
  background: #fff;
  border-radius: 0;
  border: 3px solid #000;
  height: 220px;
}

.nameRoleEnter .registrationHeader p {
  position: static;
  color: #000;
  font-size: 20px;
  top: 10px;
  height: 100%;
  line-height: 37px;
  text-align: center;
}

.nameRoleEnter .registrationHeader img {
  display: none;
}

@media (max-width: 830px) {
  .nameRoleEnter {
    transform: scale(1.7) !important;
    height: 350px !important;
  }
}

#submitButton, .confirm-data-correct, .confirm-data-wrong {
  background-image: none;
  background: #fff;
  box-shadow: none;
  border: 2px solid #000;
  font-size: 18px;
  border-radius: 0;
}

#submitButton:hover, .confirm-data-correct:hover, .confirm-data-wrong:hover {
  background-image: none;
  background: #f5f5f5;
  box-shadow: none;
  border: 2px solid #000;
  color: #000;
}

input#subscribeEnter {
  display: inline-block;
  margin-left: 30px;
}

.tietosuoja {
  display: block;
  margin: 10px 0 20px 30px;
}

.nameRoleEnter input[type=email], .nameRoleEnter input[type=text] {
  position: relative;
  border-radius: 0;
  box-shadow: none;
  font-size: 16px;
}

@media (max-width: 830px) {
  .nameRoleEnter input[type=email], .nameRoleEnter input[type=text] {
    display: block;
    font-size: 40px;
    width: 420px;
    transform: scale(0.7);
    transform-origin: left;
    height: 50px !important;
  }
}

.enterNamePopup, .enterEmailPopup {
  display: none !important;
}

.redborder {
  border: 2px solid red !important;
  box-sizing: border-box;
}

.confirm-data-field {
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  width: 410px;
  height: 232px;
  top: 24% !important;
  position: absolute;
  z-index: 99990;
  left: 0px;
  right: 0px;
  margin: auto;
  border: 3px solid #000;
}

.confirm-data-field p, .confirm-data-field h4 {
  color: #000;
}

.confirm-data-field h4 {
  font-family: "Neutraface 2 Text Bold", "arial", sans-serif !important;
}

@media (max-width: 830px) {
  .confirm-data-field {
    transform: scale(1.8) !important;
    height: 350px !important;
  }
}

div.card-stack.active div.marker, div.board div.dice.needsrolling div.marker {
  position: absolute;
  background: url(assets/637-touch.png) 0 0 no-repeat;
  width: 101px;
  height: 50px;
  display: block !important;
  top: 35px;
  left: 35px;
  background-size: cover;
}

div.game div.logo1 {
  font-size: 80px;
  width: 480px !important;
  text-align: center;
  font-family: "Mirador", "arial", sans-serif !important;
  background-image: none !important;
  color: #000 !important;
  top: 200px !important;
  left: 50% !important;
  margin-left: -240px;
}

.step-1 center {
  padding: 0 !important;
}

@media (max-width: 830px) {
  .step-1 {
    transform: scale(1.3) !important;
  }
}

div.game #step1continuebutton {
  top: 330px !important;
  display: none;
}

div.marker {
  visibility: hidden !important;
}

.needsrolling, .game:not(.step-4) .active {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-name: flash;
  animation-name: flash;
}

@-webkit-keyframes flash {
  from,
  50%,
  to {
    opacity: 1;
  }
  25%,
  75% {
    opacity: 0;
  }
}

@keyframes flash {
  from,
  50%,
  to {
    opacity: 1;
  }
  25%,
  75% {
    opacity: 0;
  }
}

.flash {
  -webkit-animation-name: flash;
  animation-name: flash;
}

.scoreTable {
  position: absolute;
  z-index: 99;
  background: #fff;
  opacity: 50;
  width: 100%;
  height: 425px;
  border-radius: 0;
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.3);
  max-width: 625px;
  left: 0px;
  right: 0px;
  margin: auto;
  top: -30px;
  border: 3px solid #000;
  max-height: unset;
  box-sizing: border-box;
}

.scoreTable table tbody tr td {
  color: #000;
  font-size: 22px;
}

.scoreTable table tbody tr:nth-child(1) td {
  color: #000;
  font-weight: bold;
}

.scoreTable table tbody tr td img {
  padding-right: 10px;
  display: none;
}

div.game #step5replaybutton {
  left: 214px !important;
  top: 501px !important;
  position: absolute;
  width: 180px;
}

.back_to_paulig {
  position: absolute;
  left: 20px;
  top: 20px;
  font-size: 17px;
  font-weight: bold;
}

.back_to_paulig a {
  text-decoration: none;
  color: #000;
}

.back_to_paulig a:hover {
  text-decoration: underline;
}

.back_to_paulig p {
  margin-top: 15px;
}

@media (max-width: 830px) {
  .back_to_paulig {
    font-size: 25px;
  }
}
