/* * { cursor: pointer !important; } */
/* * { cursor: url(../images/pointer.png), auto !important;  } */
/* #reg-modal * { cursor: initial !important; } */
button, input[type=submit] { cursor: pointer; }
body {
/*  font-family: "Signika", sans-serif; */
  font-family: "Open Sans", sans-serif;
  font-size: 1em;
}

/* General */
.dt { display: none; }
.mob { display: inline; }
* {
  margin: 0;
  padding: 0;
}

img {
  height: auto;
  max-width: 100%;
}

#hd-game-wrap {
  visibility: hidden;
}

.winner-container {
  display: none;
}

input.form-control, select.form-control {
  border: 1px solid #00AEEF;
}

.pad-0 {
  padding-left: 0;
  padding-right: 0;
}

@media screen and (min-width: 992px) {
  .dt { display: inline; }
  .mob { display: none; }
}

/* Layout */
/*
.blur {
  filter: blur(7px);
}
*/
.hd-game-wrap {
  position: relative;
  z-index: 0;
  height: 100vh;
  width: 100%;
  background: url(../images/bg-mob.jpg) center bottom 30px no-repeat;
  background-size: cover;
}

.hd-game-wrap.bg-winner {
  background: url(../images/bg-mob.jpg) center bottom 85px no-repeat;
  background-size: cover;
}

.hd-easter-img-wrap {
  cursor: pointer;
  border: 10px solid red;
}

.hd-top-area {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 20px;
}

.hd-star-lang-wrap {
  display: flex;
}

.hd-logo-wrap,
.hd-info-area {
  position: relative;
  z-index: 200;
}

.hd-logo-wrap img {
  height: auto;
  width: 100%;
  max-width: 85px;
}

.hdc-ga-translator-wrap select {
  
}

#hdc-ga-translator select {
  font-size: 16px;
  height: 40px;
  font-weight: bold;
  cursor: pointer;
}

.hd-masthead-wrap {
  position: relative;
  z-index: 0;
  top: -95px;
  text-align: center;
  margin: auto;
}

.hd-easter-foo {
  position: fixed;
  z-index: 200;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: white;
}

.foo-container-logos-wrap {
  justify-content: space-evenly;
  align-items: center;
}

.foo-container-logos-wrap .row {
  align-items: center;
}

.foo-brand img {
  display: block;
  padding: 15px 5px;
  width: auto;
  margin: auto;
}

@media screen and (min-width: 992px) {
  .hd-logo-wrap img {
    max-width: 120px;
  }

  .pad-left-0-dt { 
    padding-left: 0 !important; 
  }
  .pad-right-0-dt { 
    padding-right: 0 !important; 
  }

  .hd-game-wrap {
    background: url(../images/bg.jpg?v=2) center bottom 30px no-repeat;
    background-size: cover;
  }

  .hd-game-wrap.bg-winner {
    background: url(../images/winner/bg-winner.jpg?v=2) center bottom 65px no-repeat;
    background-size: cover;
  }
}

@media screen and (max-width: 992px) {
  .hd-game-wrap {
    min-height: 800px; /* Adding scroll if needed to the game with decorations */
  }
}

/* /Layout */


/* Main game area */
/* XMAS LOGO */
.xmas-logo-wrap {
  position: relative;
}

.xmas-logo-wrap img.xmas-logo {
  mix-blend-mode: screen;
  position: absolute;
  top: 0;
  left: 0;
}

.xmas-logo-wrap img.xmas-logo.xmas-logo-1 {
  position: relative;
}

@media screen and (max-width: 991px) {
  .xmas-logo-wrap {
    margin: 0 auto;
    max-width: 70%;
  }

  .foo-brand img {
    padding: 10px 0;
  }

}

@media screen and (max-width: 768px) {
  .pad-left-0-mob { 
    padding-left: 0 !important; 
  }
  .pad-right-0-mob { 
    padding-right: 0 !important; 
  }

  .hd-top-area {
    padding-bottom: 5px;
  }

}

@media screen and (max-width: 480px) {
  .hd-easter-foo-logos-wrap .hd-easter-foo-logo img {
    max-width: 60%;
  }
}


/* Blinks */
@keyframes blinkingbag {
  0% {  opacity: -2; }
  20% {  opacity: 2; }
  70% {  opacity: 2; }
  80% {  opacity: -2; }
  95% {  opacity: 2; }
  100% {  opacity: 2; }
}

@keyframes blinkingstars {
  0% {  opacity: 2; }
  35% {  opacity: -2; }
  80% {  opacity: 2; }
  100% {  opacity: 2; }
}

@keyframes blinkingcar {
  0% {  opacity: 2; }
  45% {  opacity: -2; }
  70% {  opacity: 2; }
  100% {  opacity: 2; }
}

.char.gifts.blinking-bag,
.char.gifts.blinking-stars,
.char.gifts.blinking-car {
  position: absolute;
  top: 0;
  left: 0;
  mix-blend-mode: screen;
}

.blinking-stars {
  mix-blend-mode: screen;
  animation: blinkingstars 3s infinite;
}

.blinking-bag {
  mix-blend-mode: screen;
  animation: blinkingbag 2s infinite;
}

.blinking-car {
  mix-blend-mode: screen;
  animation: blinkingcar 3s infinite;
}

.blinking-car-0 {
  animation-delay: 0s;
}

.blinking-car-1 {
  animation-delay: 0.5s;
}

.blinking-car-2 {
  animation-delay: 1s;
}

.blinking-car-3 {
  animation-delay: 1.5s;
}

/* Characters */
.characters-wrap {
  text-align: center;
  margin: auto;
}

@media screen and (max-width: 768px) {
  .characters-wrap {
    margin-bottom: 600px;
  }
}


.characters-layer-1,
.characters-layer-2,
.characters-layer-3,
.characters-layer-4 {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
}

.char-wrap {
  position: relative;
  display: block;
}

.characters-layer-1 .char-wrap {
  max-width: 25%;
}

.characters-layer-3 .char-wrap {
  max-width: 40%;
}
.characters-layer-3 .char-wrap.char-off-granny {
  max-width: 38%;
}

.characters-layer-3 .char-wrap.char-off-millie {
  max-width: 19%;
}

.characters-layer-2 {
  top: 90px;
}
.characters-layer-3 {
  top: 160px;
}

.characters-layer-4 {
  top: 230px;
}

.char-cta {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 101;
  cursor: pointer !important;
}

@media screen and (min-width: 768px) {
  .characters-layer-2 {
    top: 90px;
  }
  .characters-layer-3 {
    top: 220px;
  }

  .characters-layer-4 {
    top: 320px;
  }
}


.char-off-joey { left: 20px; top: 20px; }
.char-off-joey  a.char-cta { right: 28px; }
.char-off-didi { left: -35px; top: -50px; }
.char-off-joey img { z-index: 0; }
.char-off-didi img { z-index: -1; position: relative; }
.char-off-didi  a.char-cta { left: 50px; }
.char-off-ollie { left: 0; top: -80px; }
.char-off-ollie a.char-cta { left: 40px; right: 25px; }
.char-off-nat { left: -20px; top: -50px; }
.char-off-nat a.char-cta { left: 15px; right: 30px; }
.characters-layer-2 {  margin-top: -125px; left: 40px; }

.char-off-granny { left: 30px; top: -55px; }
.char-off-granny a.char-cta { left: 30px; right: 40px; }
.char-off-millie { left: -10px; top: -80px; }
.char-off-millie img.scale-char { position:relative; top: 30px; }
.char-off-ted { left: -50px; top: -30px; }
.char-off-ted  a.char-cta { left: 50px; bottom: 120px; }


@media screen and (min-width: 1820px) {
  .game-container { /* large screens width */
    width: 1200px;
    max-width: 1200px;
    position: relative;
    left: -60px;
    top: 30px;
  }

}

/* Winner screen */
.winner-cnt-wrap {
  color: white;
  position: relative;
  z-index: 1;
}

.winner-ttl {
  font-size: 26px;
  line-height: 1.3em;
  font-weight: 700;
  margin: 10px auto 15px auto;
}

.winner-cnt {
  font-weight: 600;
  margin: auto;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.4em;
}

.winner-hh {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.3em;
}

.xmas-popup-cont.xmas-popup-winner {
  align-items: center;
}

.xmas-popup-winner .form-ttl {
  font-size: 40px;
}

.xmas-popup-winner .form-teaser {
  font-size: 26px;
  font-weight: 400;
}

.xmas-popup-winner .form-teaser strong {
  font-weight: 600;
}


.winner-cnt-share {
  margin-top: 10px;
  color: #FFE600;
}

.winner-share-cta-wrap {
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-direction: row;
  margin: 30px auto 150px auto;
}

.winner-share-cta {
  background: #00AEEF;
  border-radius: 8px;
  margin: 0 12px;
  font-size: 30px;
  color: white;
  padding: 6px;
  text-decoration: none;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.winner-share-cta:hover,
.winner-share-cta:active,
.winner-share-cta:focus {
  text-decoration: none;
  background: black;
  color: white;
}

.winner-rainbow-wrap.active {
  display: contents;
}

.winner-rainbow-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  display: none;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  z-index: 1;
}

.winner-rainbow-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
/*  clip-path: inset(0 100% 0 0); */
  clip-path: inset(0 0 0 100%);
  animation: winnerStars 1s ease-out forwards;
  mix-blend-mode: screen;
  position: absolute;
  top: 0;
  left: 0;
}

/* Keyframe animation to "reveal" the image by expanding the mask */
@keyframes winnerStars {
  0% {
/*    clip-path: inset(0 100% 0 0); /* Start fully hidden */
    clip-path: inset(0 0 0 100%); /* Start fully hidden */
  }
  100% {
    clip-path: inset(0 0 0 0); /* Reveal entire image */
  }
}

.winning-blinking-1 {
  mix-blend-mode: screen;
  animation: blinkingWinnerStar 4.5112s infinite;
}


.winning-blinking-2 {
  mix-blend-mode: screen;
  animation: blinkingWinnerStar 1.471s infinite;
}

.winning-blinking-3 {
  mix-blend-mode: screen;
  animation: blinkingWinnerStar 3.113s infinite;
}


@keyframes blinkingWinnerStar {
  0% {  opacity: 2; }
  50% {  opacity: -2; }
  100% {  opacity: 2; }
}

@media screen and (min-width: 1200px) {
  .xmas-logo-wrap {
    margin: -30px 40px 0 40px;
  }
}


@media screen and (min-width: 1024px) {
  .winner-container .xmas-logo-wrap {
    margin-top: -50px;
  }

  .winner-ttl {
    font-size: 44px;
  }
  .winner-cnt {
    font-size: 24px;
  }

  .winner-hh {
    font-size: 40px;
  }

  .winner-share-cta-wrap {
    margin-bottom: 300px;
  }

  .xmas-popup-winner .form-ttl {
    font-size: 50px;
  }

  .xmas-popup-winner .form-teaser {
    font-size: 40px;
  }

  .winner-share-cta {
    font-size: 32px;
    width: 50px;
    height: 50px;
  }

  .winner-car-wrap .winner-car {
    position: relative;
    top: -20px;
    left: 20px;
  }

  .foo-brand-hde img {
    max-width: 160px;
  }

  .foo-brand-hds img {
    max-width: 155px;
  }
}

@media screen and (max-width: 1024px) {
  .winner-car-wrap .winner-car {
    margin-top: 20px;
    margin-bottom: 110px;
  }
}

@media screen and (max-width: 480px) {
  .winner-cnt {
    max-width: 310px;
  }
}

/* Winner popup */
.xmas-popup-winner .xmas-popup-ttl-wrap {
  margin: 30px auto;
}

/* Uncle Ted */
.uncle-ted-note-wrap {
  display: none;
}
/* .uncle-ted-note.active { */
.uncle-ted-note {
  position: absolute;
  color: black;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: url("../images/uncle-ted-note-mob.png") center center no-repeat;
  left: -54px;
  top: -85px;
  height: 130px;
  width: 180px;
  background-size: cover;
  font-size: 18px;
  line-height: 1.2em;
  font-weight: bold;
  font-style: italic;
}
.uncle-ted-note label {
  position: relative;
  top: -9px;
}
@media screen and (min-width: 1200px) {
/*  .uncle-ted-note.active { */
  .uncle-ted-note {
    left: 200px;
    top: -85px;
    height: 135px;
    width: 200px;
    background: url("../images/uncle-ted-note.png") center center no-repeat;
    background-size: cover;
  }

  .uncle-ted-note label {
    position: relative;
    top: -7px;
  }

}
