.flipper {
  width: 100%;
  color: #333;
  display: block;
  font-size: 50px;
  line-height: 100%;
  padding: 0;
  margin: 0;
}

.flipper-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 22px;
}

.flipper.flipper-invisible {
  font-size: 0px !important;
}

.flipper-group {
  position: relative;
  white-space: nowrap;
  display: block;
  float: left;
  padding: 0;
  margin: 0;
}

.flipper-group label {
  font-family: 'OpenSans Bold';
  font-size: 16px;
  position: absolute;
  color: #9e9e9e;
  top: 100%;
  line-height: 1em;
  left: 50%;
  -webkit-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
  text-align: center;
  text-transform: uppercase;
  padding-top: .8em;
}

@media(max-width: 576px) {
  .flipper-group label {
    font-size: 3vw;
  }
}

.flipper-digit {
  font-family: 'OpenSans Bold';
  color: #fff;
  white-space: nowrap;
  position: relative;
  padding: 0;
  margin: 0;
  display: inline-block;
  float: left;
  height: 1.2em;
  box-shadow: 0 8px 8px -5px #333;
  overflow-y: hidden;
}

.flipper-digit span {
  font-size: 25%;
}

.flipper-delimiter {
  white-space: nowrap;
  display: block;
  float: left;
  padding: 0;
  margin: 0;
  color: #4f423b;
  min-width: .1em;
  white-space: nowrap;
  display: block;
  padding-top: 0.1em;
  padding-bottom: 0.1em;
  line-height: 1em;
}

.digit-face {
  display: block;
  visibility: hidden;
  position: relative;
  border-radius: 0.1em;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 8;
  padding-top: 0.1em;
  padding-bottom: 0.1em;
  padding-left: 0.1em;
  padding-right: 0.1em;
  box-sizing: border-box;
  text-align: center;
}

.digit-next {
  display: block;
  position: relative;
  border-radius: 0.1em;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 8;
  height: 1.2em;
  background: #4f423b;
  padding-top: 0.1em;
  padding-bottom: 0.1em;
  padding-left: 0.1em;
  padding-right: 0.1em;
  box-sizing: border-box;
  text-align: center;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.digit-top {
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  pointer-events: none;
  overflow: hidden;
  position: absolute;
  background: #4f423b;
  padding-top: 0.1em;
  padding-bottom: 0;
  padding-left: 0.1em;
  padding-right: 0.1em;
  border-top-left-radius: 0.1em;
  border-top-right-radius: 0.1em;
  box-sizing: border-box;
  text-align: center;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  transition: background 0s linear, -webkit-transform 0s linear;
  transition: transform 0s linear, background 0s linear;
  transition: transform 0s linear, background 0s linear, -webkit-transform 0s linear;
  -webkit-transform-origin: 0 0.6em 0 !important;
          transform-origin: 0 0.6em 0 !important;
  -webkit-transform-style: preserve-3d !important;
          transform-style: preserve-3d !important;
  z-index: 20;
}
.digit-top.r {
  transition: background 0.2s linear, -webkit-transform 0.2s linear;
  transition: transform 0.2s linear, background 0.2s linear;
  transition: transform 0.2s linear, background 0.2s linear, -webkit-transform 0.2s linear;
  -webkit-transform: rotateX(90deg);
          transform: rotateX(90deg);
  background: #cccccc;
}

.digit-top2 {
  visibility: hidden;
  position: absolute;
  height: 50%;
  left: 0;
  right: 0;
  background: #cccccc;
  transition: -webkit-transform 0.2s linear;
  transition: transform 0.2s linear;
  transition: transform 0.2s linear, -webkit-transform 0.2s linear;
  line-height: 0em !important;
  top: 50% !important;
  bottom: auto !important;
  padding-top: 0;
  padding-bottom: 0.1em;
  padding-left: 0.1em;
  padding-right: 0.1em;
  border-bottom-left-radius: 0.1em;
  border-bottom-right-radius: 0.1em;
  overflow: hidden;
  text-align: center;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  transition: background 0s linear, -webkit-transform 0s linear;
  transition: transform 0s linear, background 0s linear;
  transition: transform 0s linear, background 0s linear, -webkit-transform 0s linear;
  -webkit-transform: rotateX(-90deg);
          transform: rotateX(-90deg);
  -webkit-transform-style: preserve-3d !important;
          transform-style: preserve-3d !important;
  -webkit-transform-origin: 0 0 0 !important;
          transform-origin: 0 0 0 !important;
  z-index: 20;
}
.digit-top2.r {
  visibility: visible;
  transition: background 0.2s linear 0.2s, -webkit-transform 0.2s linear 0.2s;
  transition: transform 0.2s linear 0.2s, background 0.2s linear 0.2s;
  transition: transform 0.2s linear 0.2s, background 0.2s linear 0.2s, -webkit-transform 0.2s linear 0.2s;
  -webkit-transform: rotateX(0deg);
          transform: rotateX(0deg);
  background: #4f423b;
}

.digit-bottom {
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  pointer-events: none;
  position: absolute;
  overflow: hidden;
  background: #4f423b;
  height: 50%;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9;
  line-height: 0em;
  padding-top: 0;
  padding-bottom: 0.1em;
  padding-left: 0.1em;
  padding-right: 0.1em;
  border-bottom-left-radius: 0.1em;
  border-bottom-right-radius: 0.1em;
  box-sizing: border-box;
  text-align: center;
  transition: none;
}
.digit-bottom.r {
  transition: background 0.2s linear;
  background: #cccccc;
}

.flipper-digit:after {
  content: "";
  position: absolute;
  height: 2px;
  background: rgba(0, 0, 0, 0.5);
  top: 50%;
  display: block;
  z-index: 30;
  left: 0;
  right: 0;
}

.flipper-dark {
  color: #4f423b;
}
.flipper-dark .flipper-delimiter {
  color: #333;
}
.flipper-dark .digit-next {
  background: #333;
}
.flipper-dark .digit-top {
  background: #333;
}
.flipper-dark .digit-top.r {
  background: black;
}
.flipper-dark .digit-top2 {
  background: black;
}
.flipper-dark .digit-top2.r {
  background: #333;
}
.flipper-dark .digit-bottom {
  background: #333;
}

.flipper-dark-labels .flipper-group label {
  color: #333;
}

.limited {
  position: absolute;
  right: -3%;
}

@media(max-width: 1260px) {
  .limited {
    right: -4.5%;
  }
}

@media(max-width: 992px) {
  .flipper-container {
     width: 100%;
     display: flex;
     align-items: center;
     justify-content: center;
  }

  .limited {
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    z-index: 300;
  }
}


/********* timer ********/
.main-template {
  text-align: center;
  padding: 40px 0 80px 0;
}
.timer2 {
  padding: 10px 0 70px 0;
}
.countdown .time {
  border-radius: 0.5rem;
  box-shadow: 0 7px 9px 0 rgba(0, 0, 0, 0.5);
  display: inline-block;
  text-align: center;
  position: relative;
  height: 4rem;
  width: 4rem;
  margin: 0 .4rem;
  -webkit-perspective: 479px;
  -ms-perspective: 479px;
  -o-perspective: 479px;
  perspective: 479px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0); 
  font-weight: bold;}
  .countdown .time:before, .countdown .time:after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    margin-top: -.5rem;
    width: .5rem;
    height: 1rem;
    background: -webkit-linear-gradient(#9e3a3a, #b04e4e 20%, #b04e4e 40%, #9e3a3a, #b04e4e, #9e3a39);
    background: linear-gradient(#9e3a3a, #b04e4e 20%, #b04e4e 40%, #9e3a3a, #b04e4e, #9e3a39);
    box-shadow: 0 -1px 3px 0 rgba(0, 0, 0, 0.5), 0 2px 2px 0 white;
    border: 2px solid #000;
    z-index: 4; }
  .countdown .time:before {
    left: 0;
    border-left: none; }
  .countdown .time:after {
    right: 0;
    border-right: none; }

.countdown .count {
  font-family: sans-serif;
  font-size: 3em;
  background: #ad3036;
  background: -webkit-linear-gradient(#ad3036, #992b30);
  background: linear-gradient(#ad3036, #992b30);
  color: #ffffff;
  display: block;
  font-family: 'Oswald', sans-serif;
  line-height: 1.7;
  overflow: hidden;
  position: absolute;
  text-align: center;
  top: 0;
  width: 100%;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-transform-style: flat;
  transform-style: flat; }

.countdown .count.top {
  border-bottom: 2px solid black;
  box-shadow: inset 0 -2px 2px 0 rgba(0, 0, 0, 0.2);
  border-radius: .5rem .5rem 0 0;
  height: 50%;
  -webkit-transform-origin: 50% 100%;
  transform-origin: 50% 100%; }

.countdown .count.bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.4);
  border-radius: 0 0 .5rem .5rem;
  line-height: 0;
  height: 50%;
  top: 50%;
  -webkit-transform-origin: 50% 0;
  transform-origin: 50% 0; }

.countdown .label {
  color: #666765;
  display: block;
  position: absolute;
  bottom: -2.5rem;
  width: 100%; }

/* Animation start */
.countdown .count.curr.top {
  -webkit-transform: rotateX(0deg);
  transform: rotateX(0deg);
  z-index: 3; }

.countdown .count.next.bottom {
  -webkit-transform: rotateX(90deg);
  transform: rotateX(90deg);
  z-index: 2; }

/* Animation end */
.countdown .flip .count.curr.top {
  -webkit-transition: all 250ms ease-in-out;
  transition: all 250ms ease-in-out;
  -webkit-transform: rotateX(-90deg);
  transform: rotateX(-90deg); }

.countdown .flip .count.next.bottom {
  -webkit-transition: all 250ms ease-in-out 250ms;
  transition: all 250ms ease-in-out 250ms;
  -webkit-transform: rotateX(0deg);
  transform: rotateX(0deg); }

@media (min-width: 36em) {
  .countdown .time {
    height: 7rem;
    width: 8rem;
    margin: 0 .8rem;
     }
    .countdown .time:before, .countdown .time:after {
      margin-top: -1rem;
      width: 1rem;
      height: 2rem; }
  .countdown .count {
    font-size: 5em;
    line-height: 1.7; }
}

@media (min-width: 48em) {
  .countdown .count {
    line-height: 1.5; } 
}

@media (min-width: 62em) {
  .container-inner {
    width: 960px; }
  .countdown .time {
    height: 7rem;
    width: 8rem; }
  .countdown .count {
    font-size: 5em;
    line-height: 1.40; } 
}

@media (max-width: 47.99em) {
  .countdown {
    font-size: 0.81281rem; }
}
@media (max-width: 992px) and (min-width: 768px){ 
  .countdown {
    font-size: 15px; }
}
@media (min-width: 976px) and (max-width: 1182px){ 
  .countdown .count {
    font-size: 3em !important;
    line-height: 1.4 !important; }
}