
@font-face {
    font-family: "ITC Legacy Serif W01";
    src: url("../fonts/97c2c577-bf8e-4708-baff-001fd32f4d08.eot?#iefix");
    src: url("../fonts/97c2c577-bf8e-4708-baff-001fd32f4d08.eot?#iefix") format("eot"), url("../fonts/1aa4f478-0211-4879-a4e6-a0be4a43e71e.woff2") format("woff2"), url("../fonts/54a75543-b5b3-45e1-81aa-b1ad5b50a901.woff") format("woff"), url("../fonts/dfbf3526-722f-44ca-8fc1-5b07cb575fd0.ttf") format("truetype"), url("../fonts/4b98962c-8d65-43ea-a240-c89d3b801521.svg#4b98962c-8d65-43ea-a240-c89d3b801521") format("svg");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "ITC Legacy Serif W01";
    src: url("../fonts/b5f110df-dc07-4adc-866a-ec62f641ac54.eot?#iefix");
    src: url("../fonts/b5f110df-dc07-4adc-866a-ec62f641ac54.eot?#iefix") format("eot"), url("../fonts/1df5c56f-e7a0-44f6-8b60-45f5bbb438d0.woff2") format("woff2"), url("../fonts/5c11ea6e-da06-4fa6-b2b5-872a67579f4f.woff") format("woff"), url("../fonts/6103ef63-5116-480b-b304-6b5bb947cfee.ttf") format("truetype"), url("../fonts/18a4456b-29a7-49ae-85d5-60b89bbdf95d.svg#18a4456b-29a7-49ae-85d5-60b89bbdf95d") format("svg");
    font-weight: 300;
    font-style: italic;
}

body {
    background: #D82034;
}

.counter-wrapper {
    margin: 0 auto;
    width: 100%;
    text-align: center;
    display: block;
    padding: 2rem 0;
    font-family: 'ITC Legacy Serif W01', Helvetica, Arial, sans-serif;
    font-size: 19px;
}

.precounter,
.aftercounter {
    padding: 2rem 0;
    font-size: 45px;
    font-style: italic;
}

.counter {
    margin: 0 auto;
    display: inline-block;
}

.countDown_cont {
    /* font-family: Lato, Arial, Gadget, sans-serif; */
    font-size: 13px;
    display: inline-flex;
    color: #333
}

.countDown_interval_cont {
    display: flex;
    justify-content: space-around;
    width: auto
}

.countDown_interval_cont:nth-child(n+1):not(:last-child) {
    margin-right: 1em
}

.countDown_interval_basic_cont {
    display: flex;
    flex-direction: column
}

.countDown_interval_basic_cont_description {
    display: block;
    margin-top: 0.4em;
    padding-right: 13px;
    text-align: center;
    font-size: 1.8em;
    color: #fff;
    font-family: 'ITC Legacy Serif W01', Helvetica, Arial, sans-serif;
}

.countDown_digit_cont {
    perspective: 1.6em * 2;
    box-shadow: .1em .1em .1em rgba(0, 0, 0, .2);
    width: 1em;
    height: 1.6em;
    position: relative;
    line-height: 1.6em;
    font-size: 5em;
    font-weight: 700;
    border-radius: .08em
}

.countDown_digit_cont:nth-child(n+1):not(:last-child) {
    margin-right: .06em
}

.countDown_digit_last_placeholder,
.countDown_digit_new_placeholder {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50%;
    text-align: center;
    overflow: hidden
}

.countDown_digit_last_placeholder {
    bottom: 0;
    background: #fff;
    border-radius: 0 0 .08em .08em
}

.countDown_digit_last_placeholder_inner {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 50%;
    position: absolute
}

.countDown_digit_new_placeholder {
    top: 0;
    background: #f7f7f7;
    border-radius: .08em .08em 0 0
}

.countDown_digit_last_rotate,
.countDown_digit_new_rotate {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 50%;
    font-weight: 700;
    position: absolute;
    top: 0;
    overflow: hidden;
    animation-duration: .4s;
    animation-timing-function: linear;
    border-radius: .08em .08em 0 0;
    animation-fill-mode: forwards;
    transform-origin: 100% 100%
}

.countDown_digit_last_rotate:after,
.countDown_digit_new_rotate:after {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    border-bottom: .01em solid rgba(0, 0, 0, .1)
}

.countDown_digit_last_rotate {
    animation-name: countDown_flip_1;
    background: #f7f7f7
}

.countDown_digit_new_rotate {
    animation-name: countDown_flip_2;
    background: #fff
}

.countDown_digit_new_rotated {
    transform: rotateX(180deg);
    width: 100%;
    height: 100%
}

.countDown_digit_new_rotated_inner {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 50%;
    position: absolute
}

@keyframes countDown_flip_1 {
    0% {
        transform: rotateX(0);
        z-index: 1
    }

    100% {
        transform: rotateX(-180deg);
        z-index: 0
    }
}

@keyframes countDown_flip_2 {
    0% {
        transform: rotateX(0);
        z-index: 0
    }

    100% {
        transform: rotateX(-180deg);
        z-index: 1
    }
}
