/************ Premium Countdown ************/
/*******************************************/
.premium-countdown {
  -js-display: flex;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  text-align: center;
}

.countdown-row {
  display: block;
  text-align: center;
}

.countdown .countdown-section {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 15px;
  -js-display: inline-flex;
  display: -ms-inline-flexbox;
  display: -webkit-inline-flex;
  display: inline-flex;
  -ms-flex-align: center;
       -webkit-align-items: center;
          align-items: center;
}

.countdown .countdown-section:last-child {
  margin-left: 0;
}

.countdown span.countdown-amount {
  font-size: 70px;
  line-height: 1;
  padding: 40px;
}

.countdown .pre_time-mid {
  display: block;
}

.premium-countdown-separator-yes .countdown_separator {
  display: block;
  margin: 0 50px;
  font-size: 30px;
}

.premium-countdown-separator-yes .countdown-row .countdown-section:last-child .countdown_separator,
.premium-countdown-separator-yes .premium-countdown-block:last-child .countdown_separator {
  display: none;
}

/**
* Digit and unit styles
*/
.side .countdown-section .countdown-period {
  vertical-align: bottom;
}

.countdown .countdown-section .countdown-period {
  font-size: 17px;
  line-height: 3em;
}

.side .countdown-section .countdown-amount,
.side .countdown-section .countdown-period {
  display: inline-block;
}

.side .countdown-section .countdown-amount {
  margin-left: 5px;
}

.down .countdown-section .countdown-amount,
.down .countdown-section .countdown-period {
  display: block;
}

/**
* Flip Layout
*/
.premium-countdown-flip .premium-countdown-block {
  text-align: center;
  -js-display: inline-flex;
  display: -ms-inline-flexbox;
  display: -webkit-inline-flex;
  display: inline-flex;
  -ms-flex-align: center;
       -webkit-align-items: center;
          align-items: center;
}

.premium-countdown-flip .premium-countdown-block:last-child {
  margin-left: 0;
}

.premium-countdown-flip .premium-countdown-label {
  overflow: hidden;
  color: #1a1a1a;
  text-transform: uppercase;
}

.premium-countdown-flip .premium-countdown-figure {
  position: relative;
  height: 110px;
  width: 100px;
  line-height: 107px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.2), inset -2px 4px 0 0 rgba(255, 255, 255, 0.08);
}

.premium-countdown-flip .premium-countdown-figure:last-child {
  margin-left: 0;
}

.premium-countdown-flip .premium-countdown-figure>span {
  position: absolute;
  right: 0;
  left: 0;
  margin: auto;
  font-weight: 700;
}

.premium-countdown-flip .premium-countdown-figure .top {
  z-index: 3;
  -ms-transform-origin: 50% 100%;
      -webkit-transform-origin: 50% 100%;
          transform-origin: 50% 100%;
  -webkit-transform: perspective(200px);
          transform: perspective(200px);
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}

.premium-countdown-flip .premium-countdown-figure .bottom {
  z-index: 1;
}

.premium-countdown-flip .premium-countdown-figure .bottom::before {
  content: "";
  position: absolute;
  display: block;
  top: 0;
  right: 0;
  width: 100%;
  height: 50%;
  background-color: rgba(0, 0, 0, 0.02);
}

.premium-countdown-flip .premium-countdown-figure .top-back {
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  z-index: 4;
  bottom: 0;
  -ms-transform-origin: 50% 0;
      -webkit-transform-origin: 50% 0;
          transform-origin: 50% 0;
  -webkit-transform: perspective(200px) rotateX(180deg);
          transform: perspective(200px) rotateX(180deg);
}

.premium-countdown-flip .premium-countdown-figure .top-back span {
  position: absolute;
  top: -100%;
  right: 0;
  left: 0;
  margin: auto;
}

.premium-countdown-flip .premium-countdown-figure .bottom-back {
  z-index: 2;
  top: 0;
}

.premium-countdown-flip .premium-countdown-figure .bottom-back span {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  margin: auto;
}

.premium-countdown-flip .premium-countdown-figure .top,
.premium-countdown-flip .premium-countdown-figure .bottom-back,
.premium-countdown-flip .premium-countdown-figure .top-back {
  height: 50%;
  overflow: hidden;
  background-color: #f7f7f7;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}

.premium-countdown-flip .premium-countdown-figure .top-back {
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
}

.premium-countdown-flip .premium-countdown-figure .top::after,
.premium-countdown-flip .premium-countdown-figure .bottom-back::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.side .premium-countdown-figure,
.side .premium-countdown-label {
  display: inline-block;
}

.side .premium-countdown-figure {
  margin-left: 5px;
}

.down .premium-countdown-figure,
.down .premium-countdown-label {
  display: block;
}

.down .premium-countdown-label {
  width: 100%;
}