/* 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: #00989a;
}
/* Rotor tops */
.flipdown.flipdown__theme-dark .rotor,
.flipdown.flipdown__theme-dark .rotor-top,
.flipdown.flipdown__theme-dark .rotor-leaf-front {
  color: white;
  background-color: #00989a;
}
/* Rotor bottoms */
.flipdown.flipdown__theme-dark .rotor-bottom,
.flipdown.flipdown__theme-dark .rotor-leaf-rear {
  color: white;
  background-color: #00989a;
}
/* Hinge */
.flipdown.flipdown__theme-dark .rotor:after {
  border-top: solid 1px #00989a;
}

/********** 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: #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: 56.732064vw;
    height: 16.732064vw;
}

.flipdown .rotor-group {
  position: relative;
  float: left;
  padding-right: 2.1961932650073206vw;
}

.flipdown .rotor-group:last-child {
  padding-right: 0;
}

.flipdown .rotor-group-heading:before {
  display: block;
  height: 2.1961932650073206vw;
  line-height: 2.1961932650073206vw;
  text-align: center;
}

.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:nth-child(n+2):nth-child(-n+3):before {
  content: '';
  position: absolute;
  bottom: 1.4641288433382138vw;
  left: 8.418740849194728vw;
  width: 0.7320644216691069vw;
  height: 0.7320644216691069vw;
  border-radius: 50%;
}

.flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):after {
  content: '';
  position: absolute;
  bottom: 3.6603221083455346vw;
  left: 8.418740849194728vw;
  width: 0.7320644216691069vw;
  height: 0.7320644216691069vw;
  border-radius: 50%;
}

.flipdown .rotor {
  position: relative;
  float: left;
  width: 3.6603221083455346vw;
  height: 5.856515373352855vw;
  margin: 0px 0.36603221083455345vw 0px 0px;
  border-radius: 0.29282576866764276vw;
  font-size: 4.685212298682284vw;
  text-align: center;
  perspective: 14.641288433382138vw;
}

.flipdown .rotor:last-child {
  margin-right: 0;
}

.flipdown .rotor-top,
.flipdown .rotor-bottom {
  overflow: hidden;
  position: absolute;
  width: 3.6603221083455346vw;
  height: 2.9282576866764276vw;
}

.flipdown .rotor-leaf {
  z-index: 1;
  position: absolute;
  width: 3.6603221083455346vw;
  height: 5.856515373352855vw;
  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: 3.6603221083455346vw;
  height: 2.9282576866764276vw;
  margin: 0;
  transform: rotateX(0deg);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.flipdown .rotor-leaf-front {
  line-height: 5.856515373352855vw;
  border-radius: 0.29282576866764276vw 0.29282576866764276vw 0px 0px;
}

.flipdown .rotor-leaf-rear {
  line-height: 0px;
  border-radius: 0px 0px 0.29282576866764276vw 0.29282576866764276vw;
  transform: rotateX(-180deg);
}

.flipdown .rotor-top {
  line-height: 5.856515373352855vw;
  border-radius: 0.29282576866764276vw 0.29282576866764276vw 0px 0px;
}

.flipdown .rotor-bottom {
  bottom: 0;
  line-height: 0px;
  border-radius: 0px 0px 0.29282576866764276vw 0.29282576866764276vw;
}

.flipdown .rotor:after {
  content: '';
  z-index: 2;
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 3.6603221083455346vw;
  height: 2.9282576866764276vw;
  border-radius: 0px 0px 0.29282576866764276vw 0.29282576866764276vw;
}

@media (max-width: 53.6603221083455346vw) {

  .flipdown {
    width: 22.840409956076133vw;
    height: 5.124450951683748vw;
  }

  .flipdown .rotor {
    font-size: 2.5768667642752567vw;
    margin-right: 0.21961932650073207vw;
  }

  .flipdown .rotor,
  .flipdown .rotor-leaf,
  .flipdown .rotor-leaf-front,
  .flipdown .rotor-leaf-rear,
  .flipdown .rotor-top,
  .flipdown .rotor-bottom,
  .flipdown .rotor:after {
    width: 2.1961932650073206vw;
  }

  .flipdown .rotor-group {
    padding-right: 1.4641288433382138vw;
  }

  .flipdown .rotor-group:last-child {
    padding-right: 0px;
  }

  .flipdown .rotor-group-heading:before {
    font-size: 0.8rem;
    height: 1.4641288433382138vw;
    line-height: 1.4641288433382138vw;
  }

  .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: 5.051244509516837vw;
  }

  .flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):before {
    bottom: 0.9516837481698389vw;
    height: 0.5856515373352855vw;
    width: 0.5856515373352855vw;
  }

  .flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):after {
    bottom: 2.12298682284041vw;
    height: 0.5856515373352855vw;
    width: 0.5856515373352855vw;
  }

  .flipdown .rotor-leaf-front,
  .flipdown .rotor-top {
    line-height: 3.6603221083455346vw;
  }

  .flipdown .rotor-leaf,
  .flipdown .rotor {
    height: 3.6603221083455346vw;
  }

  .flipdown .rotor-leaf-front,
  .flipdown .rotor-leaf-rear,
  .flipdown .rotor-top,
  .flipdown .rotor-bottom,
  .flipdown .rotor:after {
    height: 1.8301610541727673vw;
  }
}
