/* Reset */
.king-addons-flip-clock-wrapper * {
  box-sizing: border-box;
  backface-visibility: hidden;
}

.king-addons-flip-clock-wrapper a {
  cursor: pointer;
  text-decoration: none;
  color: #ccc;
}

.king-addons-flip-clock-wrapper a:hover {
  color: #fff;
}

.king-addons-flip-clock-wrapper ul {
  list-style: none;
}

.king-addons-flip-clock-wrapper.clearfix:before,
.king-addons-flip-clock-wrapper.clearfix:after {
  display: table;
  content: " ";
}

.king-addons-flip-clock-wrapper.clearfix:after {
  clear: both;
}

.king-addons-flip-clock-wrapper.clearfix {
  *zoom: 1;
}

/* Main */
.king-addons-flip-clock-wrapper {
  font: normal 11px "Helvetica Neue", Helvetica, sans-serif;
  user-select: none;
}

.king-addons-flip-clock-meridium {
  font-size: 36px !important;
  background: none !important;
  box-shadow: 0 0 0 !important;
}

.king-addons-flip-clock-meridium a {
  color: #313333;
}

.king-addons-flip-clock-wrapper {
  position: relative;
  width: 100%;
  margin: 1em;
  text-align: center;
}

.king-addons-flip-clock-wrapper:before,
.king-addons-flip-clock-wrapper:after {
  display: table;
  content: " ";
}

.king-addons-flip-clock-wrapper:after {
  clear: both;
}

.king-addons-flip-clock-wrapper ul {
  font-size: 80px;
  font-weight: bold;
  line-height: 87px;
  position: relative;
  float: left;
  width: 60px;
  height: 90px;
  margin: 5px;
  border-radius: 6px;
}

.king-addons-flip-clock-wrapper ul li {
  line-height: 87px;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-decoration: none !important;
  margin: 0;
  list-style-position: unset;
}

.king-addons-flip-clock-wrapper ul li:first-child {
  z-index: 2;
}

.king-addons-flip-clock-wrapper ul li a {
  display: block;
  overflow: visible !important;
  height: 100%;
  margin: 0 !important;
  cursor: default !important;
  perspective: 200px;
}

.king-addons-flip-clock-wrapper ul li a div {
  font-size: 80px;
  position: absolute;
  z-index: 1;
  left: 0;
  overflow: hidden;
  width: 100%;
  height: 50%;
  outline: 1px solid transparent;
}

.king-addons-flip-clock-wrapper ul li a div .shadow {
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 100%;
}

.king-addons-flip-clock-wrapper ul li a div.up {
  top: 0;
  transform-origin: 50% 100%;
}

.king-addons-flip-clock-wrapper ul li a div.up:after {
  position: absolute;
  z-index: 5;
  top: 44px;
  left: 0;
  width: 100%;
  height: 3px;
  content: "";
  background-color: rgba(0, 0, 0, 0.4);
}

.king-addons-flip-clock-wrapper ul li a div.down {
  bottom: 0;
  transform-origin: 50% 0;
  border-bottom-right-radius: 6px;
  border-bottom-left-radius: 6px;
}

.king-addons-flip-clock-wrapper ul li a div div.inn {
  font-size: 70px;
  position: absolute;
  z-index: 1;
  left: 0;
  width: 100%;
  height: 200%;
  text-align: center;
  color: #ccc;
  border-radius: 6px;
  background-color: #333;
}

.king-addons-flip-clock-wrapper ul li a div.up div.inn {
  top: 0;
}

.king-addons-flip-clock-wrapper ul li a div.down div.inn {
  bottom: 0;
}

/* PLAY */
.king-addons-flip-clock-wrapper ul.king-addons-flip-play li.king-addons-flip-clock-before {
  z-index: 3;
}

.king-addons-flip-clock-wrapper .king-addons-flip {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
}

.king-addons-flip-clock-wrapper ul.king-addons-flip-play li.king-addons-flip-clock-active {
  z-index: 5;
  animation: king-addons-flip-countdown-animation-asd 0.01s 0.49s linear both;
}

.king-addons-flip-clock-divider {
  position: relative;
  display: inline-block;
  float: left;
  width: 20px;
  height: 100px;
}

.king-addons-flip-clock-divider:first-child {
  width: 0;
}

.king-addons-flip-clock-dot {
  position: absolute;
  left: 5px;
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #323434;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.king-addons-flip-clock-divider .king-addons-flip-clock-label {
  position: absolute;
  top: -1.5em;
  right: -86px;
  color: black;
  text-shadow: none;
}

.king-addons-flip-clock-divider.minutes .king-addons-flip-clock-label {
  right: -88px;
}

.king-addons-flip-clock-divider.seconds .king-addons-flip-clock-label {
  right: -91px;
}

.king-addons-flip-clock-dot.top {
  top: 30px;
}

.king-addons-flip-clock-dot.bottom {
  bottom: 30px;
}

/* Animations */
@keyframes king-addons-flip-countdown-animation-asd {
  0% {
    z-index: 2;
  }

  100% {
    z-index: 4;
  }
}

.king-addons-flip-clock-wrapper ul.king-addons-flip-play li.king-addons-flip-clock-active .down {
  z-index: 2;
  animation: king-addons-flip-countdown-animation-turn 0.5s 0.5s linear both;
}

@keyframes king-addons-flip-countdown-animation-turn {
  0% {
    transform: rotateX(90deg);
  }

  100% {
    transform: rotateX(0deg);
  }
}

.king-addons-flip-clock-wrapper ul.king-addons-flip-play li.king-addons-flip-clock-before .up {
  z-index: 2;
  animation: king-addons-flip-countdown-animation-turn2 0.5s linear both;
}

@keyframes king-addons-flip-countdown-animation-turn2 {
  0% {
    transform: rotateX(0deg);
  }

  100% {
    transform: rotateX(-90deg);
  }
}

.king-addons-flip-clock-wrapper ul li.king-addons-flip-clock-active {
  z-index: 3;
}

/* SHADOW */
.king-addons-flip-clock-wrapper ul.king-addons-flip-play li.king-addons-flip-clock-before .up .shadow,
.king-addons-flip-clock-wrapper ul.king-addons-flip-play li.king-addons-flip-clock-active .up .shadow {
  animation: king-addons-flip-countdown-animation-show 0.5s linear both;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, black 100%);
}

.king-addons-flip-clock-wrapper ul.king-addons-flip-play li.king-addons-flip-clock-active .up .shadow {
  animation: king-addons-flip-countdown-animation-hide 0.5s 0.3s linear both;
}

/*DOWN*/
.king-addons-flip-clock-wrapper ul.king-addons-flip-play li.king-addons-flip-clock-before .down .shadow,
.king-addons-flip-clock-wrapper ul.king-addons-flip-play li.king-addons-flip-clock-active .down .shadow {
  animation: king-addons-flip-countdown-animation-show 0.5s linear both;
  background: linear-gradient(to bottom, black 0%, rgba(0, 0, 0, 0.1) 100%);
}

.king-addons-flip-clock-wrapper ul.king-addons-flip-play li.king-addons-flip-clock-active .down .shadow {
  animation: king-addons-flip-countdown-animation-hide 0.5s 0.2s linear both;
}

@keyframes king-addons-flip-countdown-animation-show {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes king-addons-flip-countdown-animation-hide {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}