.countdown {
  position: relative;
  font-weight: 300;
  color: #FFFFFF;
  padding: 20px 15px;
  line-height: 140%;
  overflow: hidden;
  margin-bottom: 12px;
}
html.mobile-nav-open .countdown {
  display: none;
}
html.no-countdown .countdown {
  display: none !important;
}
html.hide-countdown .countdown .content .content,
html.hide-countdown .countdown .close {
  display: none;
}
html.hide-countdown .countdown {
  padding: 20px 15px;
}
html.hide-countdown .countdown .open {
  display: block;
}
form[action*='countdown-test'] .countdown {
  display: block !important;
}
@media screen and (min-width: 1080px) {
  .countdown .close,
  .countdown .open {
    font-size: 1em;
  }
}
.countdown:before {
  content: '';
  display: block;
  width: 10000px;
  height: 10000px;
  position: absolute;
  left: -5000px;
  top: -5000px;
  background-image: url(images/prozent.png);
  background-size: 70px 70px;
  opacity: 0.15;
  transform: rotate(0deg);
  animation-name: shiver;
  animation-duration: 400s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
  z-index: 5;
}
@keyframes shiver {
  0%,
  100% {
    transform: translate(1000px, 1000px) rotate(15deg);
  }
  50% {
    transform: translate(-1000px, -1000px) rotate(15deg);
  }
}
.countdown:after {
  content: '';
  display: block;
  background: #c93013;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}
@media screen and (min-width: 1080px) {
  .countdown {
    font-size: 1.2em;
    padding: 10px;
  }
}
.countdown .content_main {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 340px;
  max-width: 100%;
  margin: 10px auto 0 auto;
  z-index: 10;
  overflow: visible;
}
@media screen and (min-width: 640px) {
  .countdown .content_main {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
  }
}
.countdown .content_main:before {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: ;
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  opacity: 0.2;
}
@media screen and (min-width: 640px) {
  .countdown .content_main:before {
    display: none;
  }
}
.countdown .coupon {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  text-align: center;
  padding: 0 5px;
}
@media screen and (min-width: 640px) {
  .countdown .coupon {
    display: block;
    align-items: center;
    width: calc(50% - 200px);
    max-width: none;
  }
}
@media screen and (min-width: 1080px) {
  .countdown .coupon {
    width: calc(50% - 300px);
  }
}
.countdown .header {
  display: block;
  text-align: left;
  padding-right: 5px;
  max-width: 180px;
}
@media screen and (min-width: 640px) {
  .countdown .header {
    text-align: center;
    padding-right: 0;
    max-width: 100%;
  }
}
.countdown .title {
  display: block;
  font-size: 1.05em;
  line-height: 120%;
  font-weight: 300;
  margin-bottom: 5px;
}
@media screen and (min-width: 640px) {
  .countdown .title {
    font-size: 1.3em;
  }
}
.countdown .addtext {
  display: block;
  font-size: 0.9em;
  line-height: 130%;
}
.countdown .code {
  display: inline-block;
  color: #000000;
  background: #FFFFFF;
  font-size: 1.2em;
  line-height: 100%;
  font-weight: 300;
  letter-spacing: 0.01em;
  padding: 6px 8px;
  border-radius: 0;
}
@media screen and (min-width: 640px) {
  .countdown .code {
    margin-top: 10px;
    font-size: 1.35em;
  }
}
.countdown .counter {
  display: block;
  width: 600px;
  max-width: 100%;
  padding-bottom: 10px;
  order: -1;
}
@media screen and (min-width: 640px) {
  .countdown .counter {
    width: auto;
    padding: 0 30px;
    order: 0;
  }
}
.countdown .counter strong {
  display: block;
  font-weight: 300;
  font-size: 1.2em;
  line-height: 120%;
  text-align: center;
  margin: 20px 0 15px 0;
}
@media screen and (min-width: 640px) {
  .countdown .counter strong {
    font-size: 1.3em;
  }
}
.countdown .flipdown {
  font-weight: 400;
  max-width: 100%;
  margin: 0 auto;
  font-size: 0;
}
@media screen and (min-width: 1080px) {
  .countdown .flipdown {
    display: flex;
  }
}
.countdown .hide {
  display: none;
}
.countdown .rotor-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 25%;
  padding: 0;
  font-size: 0.85rem;
}
.countdown .rotor {
  display: block;
  font-size: 2.2em;
}
@media screen and (min-width: 1080px) {
  .countdown .rotor-group {
    font-size: 1rem;
  }
  .countdown .rotor {
    font-size: 2.8em;
  }
}
.countdown .rotor-group-heading {
  display: block;
  max-width: 100px;
  flex-basis: 100%;
  font-size: 0.8em;
  order: 1;
}
.countdown .rotor-group-heading:before {
  display: block;
  font-size: 0.7em;
  font-weight: 300;
  letter-spacing: 0.15em;
  line-height: 120%;
  text-transform: uppercase;
  color: #FFFFFF !important;
}
@media screen and (min-width: 640px) {
  .countdown .rotor-group-heading:before {
    font-size: 0.8em;
  }
}
.countdown .rotor-top,
.countdown .rotor-bottom,
.countdown .rotor-leaf figure {
  color: #000000 !important;
  background: #FFFFFF !important;
}
.countdown .rotor-top {
  display: block;
}
.countdown .rotor-bottom {
  display: block;
}
.countdown .info {
  display: block;
  width: 100%;
  margin: 0 auto;
  font-weight: 300;
  font-size: 0.9em;
  line-height: 130%;
  text-align: left;
  position: absolute;
  left: 0;
  top: -15px;
  right: 0;
  position: static;
  text-align: center;
  max-width: 300px;
  margin-top: 22px;
}
@media screen and (min-width: 640px) {
  .countdown .info {
    position: static;
    text-align: center;
    width: calc(50% - 200px);
    max-width: 300px;
  }
}
@media screen and (min-width: 1080px) {
  .countdown .info {
    width: calc(50% - 300px);
  }
}
.countdown .info .text {
  display: none;
  margin-bottom: 10px;
}
@media screen and (min-width: 640px) {
  .countdown .info .text {
    display: block;
  }
}
.countdown .info a {
  display: inline-block;
  color: #FFFFFF;
  font-weight: 300;
  text-decoration: underline;
  border: none;
}
.countdown .info a:after {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-top: 2px solid ;
  border-right: 2px solid ;
  transform: rotate(45deg);
  margin-left: 4px;
}
@media screen and (min-width: 640px) {
  .countdown .info a:after {
    width: 6px;
    height: 6px;
    margin-left: 8px;
  }
}
.countdown .close,
.countdown .open {
  font-weight: 300;
  letter-spacing: 0.02em;
  color: #FFFFFF !important;
  font-size: 0.7rem;
  line-height: 100%;
  position: absolute;
  top: 15px;
  right: 15px;
  text-decoration: underline;
  z-index: 15;
  border: none;
}
.countdown .open {
  display: none;
}
@media screen and (min-width: 640px) {
  .countdown .close,
  .countdown .open {
    font-size: 0.9em;
  }
}
.countdown .title:first-child {
  padding: 0;
}
/* THEMES */
/********** Theme: dark **********/
/* Font styles */
/* Rotor group headings */
.flipdown.flipdown__theme-dark .rotor-group-heading:before {
  color: #FFFFFF;
}
/* Delimeters */
.flipdown.flipdown__theme-dark .rotor-group:first-child:before,
.flipdown.flipdown__theme-dark .rotor-group:first-child:after,
.flipdown.flipdown__theme-dark .rotor-group:nth-child(n+2):nth-child(-n+3):before,
.flipdown.flipdown__theme-dark .rotor-group:nth-child(n+2):nth-child(-n+3):after {
  background-color: #FFFFFF;
}
/* Rotor tops */
.flipdown.flipdown__theme-dark .rotor,
.flipdown.flipdown__theme-dark .rotor-top,
.flipdown.flipdown__theme-dark .rotor-leaf-front {
  color: #FFFFFF;
  background-color: #996533;
}
/* Rotor bottoms */
.flipdown.flipdown__theme-dark .rotor-bottom,
.flipdown.flipdown__theme-dark .rotor-leaf-rear {
  color: #EFEFEF;
  background-color: #202020;
}
/* Hinge */
.flipdown.flipdown__theme-dark .rotor:after {
  border-top: solid 0px #FFFFFF;
}
/********** Theme: light **********/
/* Font styles */
.flipdown.flipdown__theme-light {
  font-weight: bold;
}
/* Rotor group headings */
.flipdown.flipdown__theme-light .rotor-group-heading:before {
  color: #EEEEEE;
}
/* Delimeters */
.flipdown.flipdown__theme-light .rotor-group:nth-child(n+2):nth-child(-n+3):before,
.flipdown.flipdown__theme-light .rotor-group:nth-child(n+2):nth-child(-n+3):after {
  background-color: #DDDDDD;
}
/* Rotor tops */
.flipdown.flipdown__theme-light .rotor,
.flipdown.flipdown__theme-light .rotor-top,
.flipdown.flipdown__theme-light .rotor-leaf-front {
  color: #222222;
  background-color: #DDDDDD;
}
/* Rotor bottoms */
.flipdown.flipdown__theme-light .rotor-bottom,
.flipdown.flipdown__theme-light .rotor-leaf-rear {
  color: #333333;
  background-color: #EEEEEE;
}
/* Hinge */
.flipdown.flipdown__theme-light .rotor:after {
  border-top: solid 1px #222222;
}
/* END OF THEMES */
.flipdown {
  overflow: visible;
  width: 510px;
  height: 110px;
}
.flipdown .rotor-group {
  position: relative;
  float: left;
}
.flipdown .rotor-group:last-child {
  padding-right: 0;
}
.flipdown .rotor-group-heading:before {
  display: block;
  height: 30px;
  line-height: 30px;
  text-align: center;
  margin-top: 5px;
}
.flipdown .rotor-group:nth-child(1) .rotor-group-heading:before {
  content: attr(data-before);
}
.flipdown .rotor-group:nth-child(1) .rotor-group-heading:before {
  content: 'Tage';
}
.flipdown .rotor-group:nth-child(2) .rotor-group-heading:before {
  content: 'Stunden';
}
.flipdown .rotor-group:nth-child(3) .rotor-group-heading:before {
  content: 'Minuten';
}
.flipdown .rotor-group:nth-child(4) .rotor-group-heading:before {
  content: 'Sekunden';
}
.flipdown .rotor-group:before,
.flipdown .rotor-group:after {
  display: none !important;
}
@media screen and (min-width: 1080px) {
  .flipdown .rotor-group:before,
  .flipdown .rotor-group:after {
    display: block !important;
  }
}
.flipdown .rotor-group:first-child:before,
.flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):before {
  content: '';
  position: absolute;
  bottom: 65px;
  left: 123px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.flipdown .rotor-group:first-child:after,
.flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):after {
  content: '';
  position: absolute;
  bottom: 85px;
  left: 123px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.flipdown .rotor {
  position: relative;
  float: left;
  width: 40px;
  height: 60px;
  margin: 0px 5px 0px 0px;
  border-radius: 0;
  font-size: 4rem;
  text-align: center;
  perspective: 200px;
}
.flipdown .rotor:last-child {
  margin-right: 0;
}
.flipdown .rotor-top,
.flipdown .rotor-bottom {
  overflow: hidden;
  position: absolute;
  width: 40px;
  height: 30px;
}
.flipdown .rotor-leaf {
  z-index: 1;
  position: absolute;
  width: 40px;
  height: 60px;
  transform-style: preserve-3d;
  transition: transform 0s;
}
.flipdown .rotor-leaf.flipped {
  transform: rotateX(-180deg);
  transition: all 0.5s ease-in-out;
}
.flipdown .rotor-leaf-front,
.flipdown .rotor-leaf-rear {
  overflow: hidden;
  position: absolute;
  width: 40px;
  height: 30px;
  margin: 0;
  transform: rotateX(0deg);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.flipdown .rotor-leaf-front {
  line-height: 60px;
}
.flipdown .rotor-leaf-rear {
  line-height: 0px;
  transform: rotateX(-180deg);
}
.flipdown .rotor-top {
  line-height: 60px;
}
.flipdown .rotor-bottom {
  bottom: 0;
  line-height: 0px;
}
.flipdown .rotor:after {
  content: '';
  z-index: 2;
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 40px;
  height: 30px;
}
@media (max-width: 1080px) {
  /*.flipdown {
       width: 312px;
       height: 70px;
     }*/
  .flipdown .rotor {
    font-size: 2.2rem;
    margin-right: 3px;
  }
  .flipdown .rotor,
  .flipdown .rotor-leaf,
  .flipdown .rotor-leaf-front,
  .flipdown .rotor-leaf-rear,
  .flipdown .rotor-top,
  .flipdown .rotor-bottom,
  .flipdown .rotor:after {
    width: 30px;
  }
  .flipdown .rotor-group:last-child {
    padding-right: 0px;
  }
  .flipdown .rotor-group-heading:before {
    font-size: 0.8rem;
    height: 20px;
    line-height: 20px;
  }
  .flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):before,
  .flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):after {
    left: 69px;
  }
  .flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):before {
    bottom: 13px;
    height: 8px;
    width: 8px;
  }
  .flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):after {
    bottom: 29px;
    height: 8px;
    width: 8px;
  }
  .flipdown .rotor-leaf-front,
  .flipdown .rotor-top {
    line-height: 50px;
  }
  .flipdown .rotor-leaf,
  .flipdown .rotor {
    height: 50px;
  }
  .flipdown .rotor-leaf-front,
  .flipdown .rotor-leaf-rear,
  .flipdown .rotor-top,
  .flipdown .rotor-bottom,
  .flipdown .rotor:after {
    height: 25px;
  }
}
