/* DT */
.char-wrap {
  position: relative;
  z-index: 20;
}
.char-off {
  z-index: -1;
}

.char-on {
  z-index: 21;
}

.char-cta {
  z-index: 31;
  transition: all 0.12s linear;
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.char-cta:hover {

}

.char-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-end;
}

.char-not-gift {
  display: flex;
} 

.char-not-gift .char-not-1,
.char-not-gift .char-not-2 {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.char-not-gift .not-gift-bbl {
  display: none;
  position: absolute;
  top: -130px;
  left: 45px;
  height: 153px;
  width: 254px;
  background: url(../images/popup/bubble-white.png) 0 0 no-repeat;
  background-size: contain;
  text-align: center;
  margin: auto;
  padding: 31px 40px 0 0;
  font-size: 18px;
  font-weight: 600;
  color: #00AEEF;
}

.char-not-gift .char-not-cta-1,
.char-not-gift .char-not-cta-2 {
  top: 5px;
}

/* gifts positions */
.char-off-joe {
  right: 0;
  bottom: 0;
}

.char-cta.char-nat-cta {
  top: 10px;
  left: 10px;
  right: 10px;
}

.char-cta.char-nat-millie-cta, /* Hot fix for the situation when Nat is over Millie */
.char-cta.char-polly-millie-cta,
.char-rumpelstiltskin-fluffy-cta {
  display: none;
  bottom: 30px;
  left: 40px;
}

.char-cta.char-polly-millie-cta {
  left: 0;
  right: 60px;
}

.char-cta.char-rumpelstiltskin-fluffy-cta {
  left: -10px;
  right: 40px;
}

.char-cta.hide-hot-cta {
  display: none !important;
}

.char-cta.char-polly-cta {
  top: 20px;
  left: 15px;
  right: 25px;
}

.char-cta.char-millie-cta {
  top: -10px;
}

.char-cta.char-fluffy-cta {
  top:-10px;
  left: 25px;
  right: 10px;
}

.char-cta.char-rumpelstiltskin-cta {
  top: 10px;
  left: 8px;
  right: 13px;
}

.char-cta.char-joe-cta {
  right: 10px;
}

@media screen and (min-width: 1000px) {

  .char-cta.char-nat-cta {
    left: 20px;
  }


  .char-off-rumpelstiltskin {
    left: 30px;
    z-index: 22;
  }

  .char-off-fluffy {
    left: 80px;
    bottom: 15px;
  }

  .char-off-polly {
    left: 130px;
    bottom: 20px;
    z-index: 22;
  }
 
  .char-off.char-not-gift {
    position: absolute;
    z-index: 42;
    bottom: -20px;
  }

  .char-off-millie {
    left: 180px;
    bottom: 35px;
  }

  .char-off-nat {
    z-index: 21;
    left: 240px;
  }

  .char-off-granny {
    left: 370px;
    bottom: 60px;
    z-index: 19;
  }
}

@media screen and (min-width: 1100px) {
  .char-off-joe {
    right: 50px;
    bottom: 15px;
  }
}

@media screen and (min-width: 1000px) and (max-width: 1400px) {
  .char-off-granny {
    left: 270px;
    bottom: 40px;
  }
}

/* MOB FIX */
@media screen and (max-width: 1000px) {
  .chars-wrap {
    position: relative;
    bottom: 42px;
  }

  .char-off-nat {
    min-width: 100px;
    max-width: 175px;
  }

  .container-mob .char-off-nat-d {
    bottom: 40px;
  }

  .char-off-millie {
    min-width: 110px;
    max-width: 175px;
    top: -25px;
    left: -20px;
    z-index: 15;
  }

  .char-off-polly {
    min-width: 110px;
    max-width: 155px;
    left: -30px;
  }

  .char-not-gift {
    position: absolute;
    bottom: -10px;
    z-index: 22;
  }

  .char-off-fluffy {
    min-width: 110px;
    max-width: 155px;
    left: -25px;
    z-index: 19;
  }

  .char-off-rumpelstiltskin {
    min-width: 85px;
    max-width: 155px;
    bottom: -20px;
    left: -30px;
  }

  .char-off-joe {
    min-width: 110px;
    max-width: 155px;
    left: -50px;
    z-index: 15;
  }
}




@keyframes anichar {
  0% { transform: rotate(0deg); }
  11% { transform: rotate(10deg); }
  11.25% { transform: rotate(0deg); }
  11.5% { transform: rotate(-10deg); }

  11.75% { transform: rotate(13deg); }
  12% { transform: rotate(0deg); }
  12.25% { transform: rotate(-17deg); }

  12.5% { transform: rotate(5deg); }
  12.75% { transform: rotate(0deg); }
  13% { transform: rotate(-5deg); }

  13.25% { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}

.char-off-polly img {
  animation: anichar 14s infinite forwards;
  animation-delay: 6.4s;
}

.char-off-fluffy img {
  animation: anichar 24s infinite forwards;
  animation-delay: 12.75s;
}

.char-off-joe img {
  animation: anichar 16s infinite forwards;
  animation-delay: 17.21s;
}

.char-off-nat img {
  animation: anichar 12s infinite forwards;
  animation-delay: 7.3s;
}

.char-off-rumpelstiltskin img {
  animation: anichar 5s infinite forwards;
  animation-delay: 11.6s;
}

.char-off-millie img {
  animation: anichar 15s infinite forwards;
  animation-delay: 19.7s;
}

.char-off-polly .char-not-gift img,
.char-wrap img.char-off.scale-char {
  animation: none;
}

