/*FLICK CLOCK - HEAVY MODIFICATIONS BY SO
==============================================================================*/
/*#region*/
.flip-clock-wrapper * {
  box-sizing: border-box;
  backface-visibility: hidden
}

.flip-clock-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;

  font-size: 64px;
  font-weight: 600;
  text-align: center;
  position: relative;

  width: 100%;
  max-width: 460px;
  height: 2.2em;
  margin: 0 auto;

  -webkit-user-select: none;
  /* background-color: seashell; */
}

.flip-clock-wrapper ul {
  position: relative;
  list-style: none;

  font-weight: inherit;
  font-family: inherit;
  font-size: inherit;
  
  line-height: 1;

  width: 1.2em;
  max-width: 55px;
  height: 1.2em;

  border-radius: 6px;

  margin: 5px;
  background: #000;
}


.flip-clock-wrapper ul li {
  z-index: 1;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  line-height: 1.25;
  text-decoration: none !important
}
.flip-clock-wrapper ul li:first-child {
  z-index: 2
}


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

.flip-clock-wrapper ul li a {
  display: block;
  height: 100%;
  -webkit-perspective: 200px;
  -moz-perspective: 200px;
  perspective: 200px;
  margin: 0 !important;
  overflow: visible !important;
  cursor: default !important;
}
.flip-clock-wrapper ul li a div {
  position: absolute;
  left: 0;
  z-index: 1;

  width: 100%;
  height: 50%;

  font-size: inherit;
  overflow: hidden;
  outline: 1px solid transparent;
}


.flip-clock-wrapper ul li a div .shadow {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.flip-clock-wrapper ul li a div.up {
  transform-origin: 50% 100%;
  top: 0;
}
.flip-clock-wrapper ul li a div.up:after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 5;
  width: 100%;
  height: 2px;
  margin-top: -2px;
  background-color: rgba(0, 0, 0, .4);
}
.flip-clock-wrapper ul li a div.down {
  transform-origin: 50% 0;
  bottom: 0;

  border-radius: 6px;
  border-top-left-radius: 0!important;
  border-top-right-radius: 0!important;
}
.flip-clock-wrapper ul li a div div.inn {
  position: absolute;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 200%;

  background-color: #333;
  border-radius: 5px;

  color: #ccc;
  text-shadow: 0 1px 2px #000;
  text-align: center;
  font-size: inherit;
  line-height: inherit;
}

.flip-clock-wrapper ul li a div.up div.inn {
  top: 0
}
.flip-clock-wrapper ul li a div.down div.inn {
  bottom: 0
}
.flip-clock-wrapper ul.play li.flip-clock-before {
  z-index: 3
}
.flip-clock-wrapper .flip {
  box-shadow: 0 2px 5px rgba(0, 0, 0, .7)
}
.flip-clock-wrapper ul.play li.flip-clock-active {
  -webkit-animation: asd 10ms .49s linear both;
  -moz-animation: asd 10ms .49s linear both;
  animation: asd 10ms .49s linear both;
  z-index: 5
}


/*DOTS AND LABELS*/
.flip-clock-divider {
  position: relative;
  font-size: inherit;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-top;

  width: .4em;
  height: 100%;

  /* background-color:lawngreen */
}
.flip-clock-divider:first-child {
  width: 0;
  padding-left: -.3em;
}


.flip-clock-divider .flip-clock-label {
  display: block;

  position: absolute;
  top: 0;
  left: 160%;
  
  font-size: 14px;
  font-weight: 300;

  width: 100%;
  min-width: 100px;

  color: #aaa;
  text-align: center;
  /* border-right: solid thin #000; */

  /* background-color: #fc0; */
}
.flip-clock-divider:first-child .flip-clock-label {
  left: 1em;
}

.flip-clock-dot {
  display: block;
  position: static;

  width: .15em;
  height: .15em;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(0, 0, 0, .5);
  background: #323434;

  margin: .1em auto;
}

/*☝ Because the main styles have a .top class with min-height*/
.flip-clock-dot.top {
  min-height: 0;
}




@keyframes asd {
  0% {
    z-index: 2
  }
  100% {
    z-index: 4
  }
}


@keyframes turn {
  0% {
    transform: rotateX(90deg)
  }
  100% {
    transform: rotateX(0)
  }
}


@keyframes turn2 {
  0% {
    transform: rotateX(0)
  }
  100% {
    transform: rotateX(-90deg)
  }
}


@keyframes show {
  0% {
    opacity: 0
  }
  100% {
    opacity: 1
  }
}


@keyframes hide {
  0% {
    opacity: 1
  }
  100% {
    opacity: 0
  }
}



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

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

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


.flip-clock-wrapper ul.play li.flip-clock-before .up .shadow {
  background: linear, to bottom, rgba(0, 0, 0, .1) 0, #000 100%;

  animation: show .5s linear both
}
.flip-clock-wrapper ul.play li.flip-clock-active .up .shadow {
  background: linear, to bottom, rgba(0, 0, 0, .1) 0, #000 100%;

  animation: hide .5s .3s linear both
}
.flip-clock-wrapper ul.play li.flip-clock-before .down .shadow {

  background: linear, to bottom, #000 0, rgba(0, 0, 0, .1) 100%;

  animation: show .5s linear both
}
.flip-clock-wrapper ul.play li.flip-clock-active .down .shadow {
  background: linear, to bottom, #000 0, rgba(0, 0, 0, .1) 100%;

  animation: hide .5s .2s linear both
}