/* THEMES */
:root {
    --theme-color: #F1643E;
    --title-color: #1A1A1A;
    --body-color: #878D97;
    --smoke-color: #EFF1F5;
    --secondary-color: #EEF2FB;
    --black-color: #000000;
    --white-color: #ffffff;
    --yellow-color: #fec624;
    --success-color: #28a745;
    --error-color: #dc3545;
    --border-color: #E0E0E0;
    --title-font: "Poppins", sans-serif;
    --body-font: "Inter", sans-serif;
    --icon-font: "Font Awesome 5 Pro";
    --main-container: 1220px;
    --container-gutters: 30px;
    --section-space: 120px;
    --section-space-mobile: 80px;
    --section-title-space: 80px;
    --ripple-ani-duration: 5s;
}
/********** Theme: dark **********/
/* Font styles */
.flipdown.flipdown__theme-dark {
    font-family: sans-serif;
    font-weight: bold;
    column-gap: 35px;
}
    /* Rotor group headings */
    .flipdown.flipdown__theme-dark .rotor-group-heading:before {
        color: #fff;
    }
    /* 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: #474761;
    }
    /* Rotor tops */
    .flipdown.flipdown__theme-dark .rotor,
    .flipdown.flipdown__theme-dark .rotor-top,
    .flipdown.flipdown__theme-dark .rotor-leaf-front {
        color: #fff;
        /*background-color: #000;*/
    }
    /* Rotor bottoms */
    .flipdown.flipdown__theme-dark .rotor-bottom,
    .flipdown.flipdown__theme-dark .rotor-leaf-rear {
        color: #EFEFEF;
        background-color: #000;
    }
    /* Hinge */
    .flipdown.flipdown__theme-dark .rotor:after {
        /*border-top: solid 1px #151515;*/
    }

.rotor-group-heading {
    font-size: 19px;
    margin-bottom: 8px;
}
/********** 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: #212E48;
    }
    /* 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: 100%;
    /* height: 150px;*/
}

    .flipdown .rotor-group {
        padding: 20px;
        border: 1px solid #fff;
        border-radius:20px;
    }

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

    .flipdown .rotor-group-heading:before {
        display: block;
        height: 19px;
        line-height: 23px;
        text-align: center;
        /*text-transform: uppercase;*/
        /*font-weight: 700;*/
        font-family: var(--title-font);
    }

    .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: 8px;
        left: 83px;
        width: 7px;
        height: 7px;
        border-radius: 50%;
        display: none;
    }

    .flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):after {
        display: none;
        content: '';
        position: absolute;
        bottom: 23px;
        left: 83px;
        width: 7px;
        height: 7px;
        border-radius: 50%;
    }

    .flipdown .rotor {
        position: relative;
        float: left;
        width: 58px;
        height: 110px;
        margin: 0px 2px 0px 0px;
        border-radius: 0;
        font-size: 6rem;
        text-align: center;
        perspective: 200px;
    }

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

    .flipdown .rotor-top,
    .flipdown .rotor-bottom {
        overflow: hidden;
        position: absolute;
        width: 35px;
        height: 20px;
        display: none;
    }

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

    .flipdown .rotor-leaf-front {
        line-height: 110px;
        /* border-radius: 16px; */
        /* background-color: #000; */
    }

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

    .flipdown .rotor-top {
        line-height: 40px;
        border-radius: 4px 4px 0px 0px;
    }

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

    .flipdown .rotor:after {
        content: '';
        z-index: 2;
        position: absolute;
        bottom: 0px;
        left: 0px;
        width: 35px;
        height: 20px;
        height: 20px;
        border-radius: 0px 0px 4px 4px;
    }

@media (max-width: 550px) {

    .flipdown {
        width: 350px;
        height: 80px;
    }

        .flipdown .rotor {
            font-size: 1.8rem;
            margin-right: 0px;
            font-weight:700;
        }

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

        .flipdown .rotor-group {
            padding-right: 6px;
        }

            .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;
            display: none
        }

        .flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):before {
            bottom: 13px;
            height: 8px;
            width: 8px;
            display: none
        }

        .flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):after {
            bottom: 29px;
            height: 8px;
            width: 8px;
            display: none
        }

        .flipdown .rotor-leaf-front,
        .flipdown .rotor-top {
            line-height: 35px;
        }

        .flipdown .rotor-leaf,
        .flipdown .rotor {
            height: 35px;
        }

            .flipdown .rotor-leaf-front,
            .flipdown .rotor-leaf-rear,
            .flipdown .rotor-top,
            .flipdown .rotor-bottom,
            .flipdown .rotor:after {
                /* height: 25px;*/
            }

        .flipdown.flipdown__theme-dark {
            font-family: sans-serif;
            font-weight:normal;
            column-gap: 10px;
        }
        .flipdown .rotor-group{
            padding:10px;
            border-radius:8px;
        }
}
