/* THEMES */

/********** Theme: light **********/
/* Font styles */
.ftb-countdown-timer.flipdown__theme-light {

}
/* Rotor group headings */
.ftb-countdown-timer.flipdown__theme-light .rotor-group-heading:before {
  color: #4285f4;
  font-weight: bold;
  font-size: 11px;
}
/* Delimeters */
.ftb-countdown-timer.flipdown__theme-light .rotor-group:nth-child(n+2):nth-child(-n+3):before,
.ftb-countdown-timer.flipdown__theme-light .rotor-group:nth-child(n+2):nth-child(-n+3):after {
}
/* Rotor tops */
.ftb-countdown-timer.flipdown__theme-light .rotor,
.ftb-countdown-timer.flipdown__theme-light .rotor-top,
.ftb-countdown-timer.flipdown__theme-light .rotor-leaf-front {
  color: #FFFFFF;
  background-color: #a546f2;
}
/* Rotor bottoms */
.ftb-countdown-timer.flipdown__theme-light .rotor-bottom,
.ftb-countdown-timer.flipdown__theme-light .rotor-leaf-rear {
  color: #debbfa;
  background-color: #a546f2;
}
/* Hinge */
.ftb-countdown-timer.flipdown__theme-light .rotor:after {

}

/* END OF THEMES */

.ftb-countdown-timer .rotor-group {
  position: relative;
  float: left;
  padding-right: 30px;
}

.ftb-countdown-timer .rotor-group:last-child {
  padding-right: 0;
}

.ftb-countdown-timer .rotor-group-heading:before {
  display: block;
  height: 30px;
  line-height: 30px;
  text-align: center;
}

.ftb-countdown-timer .rotor-group:nth-child(1) .rotor-group-heading:before {
  content: attr(data-before);
}

.ftb-countdown-timer .rotor-group:nth-child(2) .rotor-group-heading:before {
  content: attr(data-before);
}

.ftb-countdown-timer .rotor-group:nth-child(3) .rotor-group-heading:before {
  content: attr(data-before);
}

.ftb-countdown-timer .rotor-group:nth-child(4) .rotor-group-heading:before {
  content: attr(data-before);
}

.ftb-countdown-timer .rotor-group:nth-child(n+2):nth-child(-n+3):before {
  content: '';
  position: absolute;
  bottom: 20px;
  left: 115px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.ftb-countdown-timer .rotor-group:nth-child(n+2):nth-child(-n+3):after {
  content: '';
  position: absolute;
  bottom: 50px;
  left: 115px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.ftb-countdown-timer .rotor {
  position: relative;
  float: left;
  width: 50px;
  height: 80px;
  border-radius: 6px;
  font-size: 4rem;
  text-align: center;
  perspective: 200px;
}

.ftb-countdown-timer .rotor:last-child {
  margin-right: 0;
}

.ftb-countdown-timer .rotor-top,
.ftb-countdown-timer .rotor-bottom {
  overflow: hidden;
  position: absolute;
  width: 50px;
  height: 40px;
}

.ftb-countdown-timer .rotor-leaf {
  z-index: 1;
  position: absolute;
  width: 50px;
  height: 80px;
  transform-style: preserve-3d;
  transition: transform 0s;
}

.ftb-countdown-timer .rotor-leaf.flipped {
  transform: rotateX(-180deg);
  transition: all 0.5s ease-in-out;
}

.ftb-countdown-timer .rotor-leaf-front,
.ftb-countdown-timer .rotor-leaf-rear {
  overflow: hidden;
  position: absolute;
  width: 50px;
  height: 40px;
  margin: 0;
  transform: rotateX(0deg);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.ftb-countdown-timer .rotor-leaf-front {
  line-height: 80px;
  border-radius: 6px 6px 0px 0px;
}

.ftb-countdown-timer .rotor-leaf-rear {
  line-height: 0px;
  border-radius: 0px 0px 6px 6px;
  transform: rotateX(-180deg);
}

.ftb-countdown-timer .rotor-top {
  line-height: 80px;
  border-radius: 6px 6px 0px 0px;
}

.ftb-countdown-timer .rotor-bottom {
  bottom: 0;
  line-height: 0px;
  border-radius: 0px 0px 6px 6px;
}

.ftb-countdown-timer .rotor:after {
  content: '';
  z-index: 2;
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 50px;
  height: 40px;
  border-radius: 0px 0px 6px 6px;
}




/* responsive */

.game-widget.game-countdown-timer {
  display: flex;
  justify-content: center;
}

.ftb-countdown-timer {
  position: absolute;
  width: calc(100% - 15px);
  max-width: 350px;
  height: 85px;
  margin-top: -100px;
  border: 1px solid #a546f2;
  background-color: #f9ebf7;
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 3px 3px 5px rgb(0 0 0 / 30%);
}

.ftb-countdown-timer .rotor {
  font-size: 2.2rem;
}
.ftb-countdown-timer .rotor:first-child {
  margin-right: 3px;
}

.ftb-countdown-timer .rotor,
.ftb-countdown-timer .rotor-leaf,
.ftb-countdown-timer .rotor-leaf-front,
.ftb-countdown-timer .rotor-leaf-rear,
.ftb-countdown-timer .rotor-top,
.ftb-countdown-timer .rotor-bottom,
.ftb-countdown-timer .rotor:after {
  width: 30px;
}

.ftb-countdown-timer .rotor-group {
  padding-right: 20px;
}

.ftb-countdown-timer .rotor-group:last-child {
  padding-right: 0;
}

.ftb-countdown-timer .rotor-group-heading:before {
  font-size: 0.8rem;
  height: 20px;
  line-height: 20px;
}

.ftb-countdown-timer .rotor-group:nth-child(n+2):nth-child(-n+3):before,
.ftb-countdown-timer .rotor-group:nth-child(n+2):nth-child(-n+3):after {
  left: 69px;
}

.ftb-countdown-timer .rotor-group:nth-child(n+2):nth-child(-n+3):before {
  bottom: 13px;
  height: 8px;
  width: 8px;
}

.ftb-countdown-timer .rotor-group:nth-child(n+2):nth-child(-n+3):after {
  bottom: 29px;
  height: 8px;
  width: 8px;
}

.ftb-countdown-timer .rotor-leaf-front,
.ftb-countdown-timer .rotor-top {
  line-height: 50px;
}

.ftb-countdown-timer .rotor-leaf,
.ftb-countdown-timer .rotor {
  height: 50px;
}

.ftb-countdown-timer .rotor-leaf-front,
.ftb-countdown-timer .rotor-leaf-rear,
.ftb-countdown-timer .rotor-top,
.ftb-countdown-timer .rotor-bottom,
.ftb-countdown-timer .rotor:after {
  height: 25px;
}

@media (max-width: 1200px) {
  .ftb-countdown-timer {
    position:relative;
    margin-bottom: 15px;
    margin-top: 0px;
  }
}