.flipdown{
    font-size: 12px;
}
.flipdown.flipdown__theme-dark {
    font-family: sans-serif;
    font-weight: bold
}

.flipdown.flipdown__theme-dark .rotor-group-heading:before {
    color: #000
}

.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
}

.flipdown.flipdown__theme-dark .rotor,
.flipdown.flipdown__theme-dark .rotor-top,
.flipdown.flipdown__theme-dark .rotor-leaf-front {
    color: #fff;
    background-color: #151515
}

.flipdown.flipdown__theme-dark .rotor-bottom,
.flipdown.flipdown__theme-dark .rotor-leaf-rear {
    color: #efefef;
    background-color: #202020
}

.flipdown.flipdown__theme-dark .rotor:after {
    border-top: solid 1px #151515
}

.flipdown.flipdown__theme-light {
    font-family: sans-serif;
    font-weight: bold
}

.flipdown.flipdown__theme-light .rotor-group-heading:before {
    color: #eee
}

.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: #ddd
}

.flipdown.flipdown__theme-light .rotor,
.flipdown.flipdown__theme-light .rotor-top,
.flipdown.flipdown__theme-light .rotor-leaf-front {
    color: #222;
    background-color: #ddd
}

.flipdown.flipdown__theme-light .rotor-bottom,
.flipdown.flipdown__theme-light .rotor-leaf-rear {
    color: #333;
    background-color: #eee
}

.flipdown.flipdown__theme-light .rotor:after {
    border-top: solid 1px #222
}

.flipdown {
    overflow: visible;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    height: 6.1667em;
}

.flipdown .rotor-group {
    position: relative;
    float: left;
    padding-right: 1.6667em
}

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

.flipdown .rotor-group-heading:before {
    display: block;
    height: 2.3333em;
    line-height: 2.3333em;
    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: 0.6667em;
    left: 4.75em;
    width: 0.3333em;
    height: 0.3333em;
    border-radius: 50%
}

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

.flipdown .rotor {
    position: relative;
    float: left;
    width: 0.7813em;
    height: 1.25em;
    margin: 0 0.0781em 0 0;
    border-radius: 0.0625em;
    font-size:2.5em;
    text-align: center;
    -webkit-perspective: 3.125em;
            perspective: 3.125em
}

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

.flipdown .rotor-top,
.flipdown .rotor-bottom {
    overflow: hidden;
    position: absolute;
    width: 0.7813em;
    height: 0.625em
}

.flipdown .rotor-leaf {
    z-index: 1;
    position: absolute;
    width: 0.7813em;
    height: 1.25em;
    -webkit-transform-style: preserve-3d;
            transform-style: preserve-3d;
    -webkit-transition: -webkit-transform 0s;
    transition: -webkit-transform 0s;
    -o-transition: transform 0s;
    transition: transform 0s;
    transition: transform 0s, -webkit-transform 0s
}

.flipdown .rotor-leaf.flipped {
    -webkit-transform: rotateX(-180deg);
            transform: rotateX(-180deg);
    -webkit-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out
}

.flipdown .rotor-leaf-front,
.flipdown .rotor-leaf-rear {
    overflow: hidden;
    position: absolute;
    width: 0.7813em;
    height: 0.625em;
    margin: 0;
    -webkit-transform: rotateX(0);
            transform: rotateX(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden
}

.flipdown .rotor-leaf-front {
    line-height: 1.25em;
    border-radius: 0.0625em 0.0625em 0 0
}

.flipdown .rotor-leaf-rear {
    line-height: 0;
    border-radius: 0 0 0.0625em 0.0625em;
    -webkit-transform: rotateX(-180deg);
            transform: rotateX(-180deg)
}

.flipdown .rotor-top {
    line-height: 1.25em;
    border-radius: 0.0625em 0.0625em 0 0
}

.flipdown .rotor-bottom {
    bottom: 0;
    line-height: 0;
    border-radius: 0 0 0.0625em 0.0625em
}

.flipdown .rotor:after {
    content: '';
    z-index: 2;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0.7813em;
    height: 0.625em;
    border-radius: 0 0 0.0625em 0.0625em
}

@media(max-width:1399.98px) {
    .flipdown {
        font-size: 8px;
    }
}
@media(max-width:767.98px) {
    .flipdown {
        font-size: 12px;
    }
}