#CountDownContainer {
    overflow: hidden;
}

#CountDownContainer .countDown__cont {
    font-family: Lato, Arial, Gadget, sans-serif;
    font-size: 8px;
    display: flex;
    color: #fff;
}

#CountDownContainer .countDown__interval_cont {
    display: flex;
    justify-content: space-around;
    width: auto;
}

#CountDownContainer .countDown__interval_cont:nth-child(n+1):not(:last-child) {
    margin-right: 1em;
}

#CountDownContainer .countDown__interval_basic_cont {
    display: flex;
    flex-direction: column;
}

#CountDownContainer .countDown__interval_basic_cont_description {
    display: flex;
    margin-left: 0.3em;
    margin-top: 0.3em;
    font-size: 2em;
    font-weight: bold;
    color: #003777;
}

#CountDownContainer .countDown__digit_cont {
    perspective: 3.2em;
    box-shadow: 0.1em 0.1em 0.1em rgba(0, 0, 0, 0.2);
    width: 1em;
    height: 1.6em;
    position: relative;
    line-height: 1.6em;
    font-size: 5em;
    font-weight: bold;
}

#CountDownContainer .countDown__digit_cont:nth-child(n+1):not(:last-child) {
    margin-right: 0.05em;
}

#CountDownContainer .countDown__digit_last_placeholder,
#CountDownContainer .countDown__digit_new_placeholder {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50%;
    text-align: center;
    overflow: hidden;
}

#CountDownContainer .countDown__digit_last_placeholder {
    bottom: 0;
    background: #003777;
}

#CountDownContainer .countDown__digit_last_placeholder_inner {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 50%;
    position: absolute;
}

#CountDownContainer .countDown__digit_new_placeholder {
    top: 0;
    background: #003777;
}

#CountDownContainer .countDown__digit_last_rotate,
#CountDownContainer .countDown__digit_new_rotate {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 50%;
    font-weight: bold;
    position: absolute;
    top: 0;
    overflow: hidden;
    -webkit-animation-duration: 0.4s;
    animation-duration: 0.4s;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    transform-origin: 100% 100%;
}

#CountDownContainer .countDown__digit_last_rotate:after,
#CountDownContainer .countDown__digit_new_rotate:after {
    opacity: 0;
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    border-bottom: 0.01em solid rgba(0, 0, 0, 0.1);
}

#CountDownContainer .countDown__digit_last_rotate {
    -webkit-animation-name: countDown__flip_1;
    animation-name: countDown__flip_1;
    background: #003777;
}

#CountDownContainer .countDown__digit_new_rotate {
    -webkit-animation-name: countDown__flip_2;
    animation-name: countDown__flip_2;
    background: #003777;
}

#CountDownContainer .countDown__digit_new_rotated {
    transform: rotateX(180deg);
    width: 100%;
    height: 100%;
}

#CountDownContainer .countDown__digit_new_rotated_inner {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 50%;
    position: absolute;
}
#CountDownContainer .countDown__digit_cont:after
{
    content:"";
    width:90%;
    position:absolute;
    bottom:0;
    left:0;
    display:block;
    background:#003777;

}
@media only screen and (max-width: 768px) {
    #CountDownContainer .countDown__cont {
        font-size: 4px;
    }
    #CountDownContainer .countDown__interval_basic_cont_description
    {
        font-size:12px;
    }
}




@-webkit-keyframes countDown__flip_1 {
    0% {
        transform: rotateX(0deg);
        z-index: 1;
    }

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

@keyframes countDown__flip_1 {
    0% {
        transform: rotateX(0deg);
        z-index: 1;
    }

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

@-webkit-keyframes countDown__flip_2 {
    0% {
        transform: rotateX(0deg);
        z-index: 0;
    }

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

@keyframes countDown__flip_2 {
    0% {
        transform: rotateX(0deg);
        z-index: 0;
    }

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