/* THEMES */ /********** Theme: dark **********/ /* Font styles */
.flipdown.flipdown__theme-dark {
  font-family: sans-serif;
  font-weight: bold;
} /* Rotor group headings */
.flipdown.flipdown__theme-dark .rotor-group-heading:before {
  color: #000000;
} /* Delimeters */
.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: #151515;
} /* Rotor tops */
.flipdown.flipdown__theme-dark .rotor,
.flipdown.flipdown__theme-dark .rotor-top,
.flipdown.flipdown__theme-dark .rotor-leaf-front {
  color: #ffffff;
  background-color: #151515;
} /* 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 1px #151515;
} /********** Theme: light **********/ /* Font styles */
.flipdown.flipdown__theme-light {
  font-family: sans-serif;
  font-weight: bold;
} /* Rotor group headings */
.flipdown.flipdown__theme-light .rotor-group-heading:before {
  color: #1f1f1f;
} /* Delimeters */
.flipdown.flipdown__theme-light .rotor-group:before,
.flipdown.flipdown__theme-light .rotor-group:after {
  background-color: #eff3fe;
} /* Rotor tops */
.flipdown.flipdown__theme-light .rotor,
.flipdown.flipdown__theme-light .rotor-top,
.flipdown.flipdown__theme-light .rotor-leaf-front {
  color: #1f1f1f;
  background-color: #eff3fe;
} /* Rotor bottoms */
.flipdown.flipdown__theme-light .rotor-bottom,
.flipdown.flipdown__theme-light .rotor-leaf-rear {
  color: #1f1f1f;
  background-color: #eff3fe;
} /* Hinge */
.flipdown.flipdown__theme-light .rotor:before {
  border-bottom: solid 1px #ffffff;
}
.flipdown.flipdown__theme-light .rotor:after {
  border-top: solid 1px #ffffff;
} /* END OF THEMES */
.flipdown {
  overflow: visible;
  width: 510px;
  height: 110px;
}
.flipdown .rotor-group {
  position: relative;
  float: left;
  padding-right: 30px;
}
.flipdown .rotor-group:last-child {
  padding-right: 0;
}
.flipdown .rotor-group-heading:before {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  color: #1f1f1f;
  letter-spacing: 25%;
  text-align: center;
  text-transform: uppercase;
  margin-top: 0.75rem;
}
.flipdown .rotor-group:nth-child(1) .rotor-group-heading:before {
  content: attr(data-before);
}
.flipdown .rotor-group:nth-child(2) .rotor-group-heading:before {
  content: attr(data-before);
}
.flipdown .rotor-group:nth-child(3) .rotor-group-heading:before {
  content: attr(data-before);
}
.flipdown .rotor-group:nth-child(4) .rotor-group-heading:before {
  content: attr(data-before);
}
.flipdown .rotor-group::before {
  content: "";
  position: absolute;
  top: 32px;
  right: 13px;
  width: 4px;
  height: 4px;
}
.flipdown .rotor-group::after {
  content: "";
  position: absolute;
  top: 40px;
  right: 13px;
  width: 4px;
  height: 4px;
}
.flipdown .rotor {
  position: relative;
  float: left;
  width: 44px;
  height: 76px;
  margin: 0px 5px 0px 0px;
  border-radius: 4px;
  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: 44px;
  height: 38px;
}
.flipdown .rotor-leaf {
  z-index: 1;
  position: absolute;
  width: 44px;
  height: 76px;
  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: 44px;
  height: 38px;
  margin: 0;
  transform: rotateX(0deg);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.flipdown .rotor-leaf-front {
  line-height: 76px;
  border-radius: 6px 6px 0px 0px;
}
.flipdown .rotor-leaf-rear {
  line-height: 0px;
  border-radius: 0px 0px 6px 6px;
  transform: rotateX(-180deg);
}
.flipdown .rotor-top {
  line-height: 76px;
  border-radius: 6px 6px 0px 0px;
}
.flipdown .rotor-bottom {
  bottom: 0;
  line-height: 0px;
  border-radius: 0px 0px 6px 6px;
}
.flipdown .rotor:after {
  content: "";
  z-index: 2;
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 44px;
  height: 38px;
  border-radius: 0px 0px 4px 4px;
}
@media (max-width: 550px) {
  .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 {
    padding-right: 20px;
  }
  .flipdown .rotor-group:last-child {
    padding-right: 0px;
  }
  .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;
  }
}
.flipdown {
  border-radius: calc(0.75rem - 0.063rem);
  padding: 1.75rem 2.75rem;
  background-color: var(--white);
  width: fit-content !important;
  height: fit-content !important;
  display: flex;
}
.rotor-group {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
}
.rotor-group-inner {
  display: flex;
  gap: 4px;
}
.rotor-top,
.rotor-bottom,
.rotor-leaf-front,
.rotor-leaf-rear {
  font-family: "BebasNeue-Regular", sans-serif;
  font-size: 3.375rem;
  font-weight: 400;
  line-height: 1;
  color: #1f1f1f;
}
.rotor-group-heading::before {
  content: attr(data-before);
}
