.flipdown.flipdown__theme-dark {
    font-family: sans-serif;
    font-weight: bold;
}
.text{
    text-align: center;
    font-size: 2.5vw;
    margin: 2vw 0;
}

/* 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: #333;
}
/* Rotor tops */
.flipdown.flipdown__theme-dark .rotor,
.flipdown.flipdown__theme-dark .rotor-top,
.flipdown.flipdown__theme-dark .rotor-leaf-front {
    color: #FFFFFF;
    background-color: #333;

}
/* Rotor bottoms */
.flipdown.flipdown__theme-dark .rotor-bottom,
.flipdown.flipdown__theme-dark .rotor-leaf-rear {
    color: #EFEFEF;
    background-color: #333;
}
/* Hinge */
.flipdown.flipdown__theme-dark .rotor:after {
    border-top: solid 1px rgba(0, 0, 0, 0.30);
}

/********** 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 */

#countdown{
    text-align: center;
}
.flipdown {
    overflow: visible;
    display: inline-block;
    padding: 2vw;
}

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

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

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



.flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):before {
    content: '';
    position: absolute;
    bottom: 3vw;
    left: 17.8vw;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

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

.flipdown .rotor {
    display: none;
    position: relative;
    float: left;
    width: .71em;
    height: 1.2em;
    margin: 0px 0.5vw 0px 0px;
    border-radius: 4px;
    font-size: 10vw;
    text-align: center;
    text-shadow: 0 1px 2px #000;
    /*perspective: 200px;*/
    perspective: 20vw;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);


    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.34);
    box-shadow: 1px 2px 7px rgba(97, 97, 97, 0.43);

}
.flipdown.flipdown__theme-dark .rotor,
.flipdown.flipdown__theme-dark .rotor-top,
.flipdown.flipdown__theme-dark .rotor-leaf-front,
.flipdown.flipdown__theme-dark .rotor-bottom,
.flipdown.flipdown__theme-dark .rotor-leaf-rear{
    color: #ccc;
}

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

.flipdown .rotor-top,
.flipdown .rotor-bottom {
    overflow: hidden;
    position: absolute;
    width: 7vw;
    height: 6vw;
    z-index: 1;
}


.flipdown .rotor-leaf {
    z-index: 1;
    position: absolute;
    width: .71em;
    height: 1.2em;
    transform-style: preserve-3d;
    transition: transform 0s;
    /*backface-visibility: hidden;*/
}

.flipdown .rotor-leaf.flipped {
    animation: anim 1s linear forwards infinite;
}

.flipdown .rotor-bottom-shadow{
    background-image: linear-gradient(to top, rgba(0,0,0,0), rgba(0,0,0, 1));
    background-repeat: no-repeat;
    opacity: 1;
    background-position: top;
    width: 100%;
    height: 50%;
    visibility: hidden;
    position: absolute;
    bottom: 0;
    z-index: 1;
}

.flipdown .rotor-top-shadow {
    width: 100%;
    height: 50%;
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0, 1));
    background-repeat: no-repeat;
    opacity: 0;
    background-position: bottom;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    position: absolute;
    visibility: hidden;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    z-index: 1;
}
.flipdown .active{
    visibility: visible;
    -moz-backface-visibility: hidden;
    animation: shadows2 0.5s  linear infinite;
}

.flipdown .bottom-active{
    visibility: visible;
    animation: shadows 1s  linear infinite;
}

.flipdown .fadeout{
    animation: fadeout 1s linear infinite;
}

@keyframes fadeout {
    0%{
        opacity: 0.3;
    }
    100%{
        opacity: 1;
        transition: opacity 1s linear;
    }
}


@keyframes shadows {
    0%{
        opacity: 0;
    }
    40%{
        opacity: 0;
    }
    70%{
        opacity: 1;
        transition: opacity 1s ease-in-out;
    }
    100%{
        opacity: 1;
    }

}

@keyframes shadows2 {
    0%{
        opacity: 0;
    }
    70%{
        opacity: 1;
        transition: opacity 1s ease-in-out;
    }
    100%{
        opacity: 1;
    }
}



@keyframes anim {
    0% {
        z-index: 2;
        transform: rotateX(0deg);
    }
    50%{
        z-index: 4;
        transform: rotateX(-90deg);
    }

    100% {
        z-index: 4;
        transform: rotateX(-180deg);
    }
}



.flipdown .rotor-leaf-front,
.flipdown .rotor-leaf-rear {
    overflow: hidden;
    position: absolute;
    width: 7vw;
    height: 6vw;
    margin: 0;
    transform: rotateX(0deg);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.flipdown .rotor-leaf-front {
    line-height: 1.2em;
    border-radius: 4px 4px 0px 0px;
}


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

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

.flipdown .rotor-bottom {
    bottom: 0;
    line-height: 0px;
    border-radius: 0px 0px 4px 4px;
}
@-moz-document url-prefix(){
    .flipdown .rotor-leaf-front,.flipdown .rotor-top {
        line-height: 1.36;

    }
    .flipdown .rotor-bottom,.flipdown .rotor-leaf-rear{
        line-height: 0.15;
    }
}

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


@media (max-width: 590px) {
    .flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):before,
    .flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):after{
        width: 8px;
        height: 8px;
    }
}
@media (max-width: 500px) {
    .flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):before,
    .flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):after{
        width: 5px;
        height: 5px;
    }
}


#light-thesssme{
}


.flipdown.flipdown__theme-dark .rotor-group-heading:before {
    color: #e4f1f7;
    text-transform: uppercase;
}
.days-before::before,.hours-before::before,.minutes-before::before,.seconds-before::before{
    content: attr(data-before);
    font-size: 1.9vw;
    font-weight: 400;
}
.flipdown.flipdown__theme-dark .rotor,
.flipdown.flipdown__theme-dark .rotor-top,
.flipdown.flipdown__theme-dark .rotor-leaf-front,
.flipdown.flipdown__theme-dark .rotor-bottom,
.flipdown.flipdown__theme-dark .rotor-leaf-rear,.light-theme{
    color: #49ff96;
    background-color: #031325;
}

/*circles style*/
.circle-green{stroke:  #031325}
.js_lw_timer_show {fill: #49ff96}
.time_units {fill: #e4f1f7} /*replace with $_GET['tunits_color']*/
