#flipCounterWrapper {
    font-family: 'Open Sans', sans-serif;
    font-size: 6em;
    line-height: 1.462;
    font-weight: 500;
    color: #6bb0c6;
    text-align: center;
}

#flipCounter {
    display: inline-block;
    position: relative;
    background-color: #2e8da9;
    border-radius: .123em;
    color: #fff;
    line-height: 1;
    padding: .277em;
    vertical-align: bottom;
    margin-left: .108em;
}

.flipCounterFrame {
    position: relative;
    display: inline-block;
    height: 1.08em;
    width: .8em;
    border-radius: .123em;
    margin: 0 .0385em;
    background-color: #89cddc;
    overflow: hidden;
    vertical-align: middle;
}

.flipCounterFrame:before {
    content: '';
    position: absolute;
    top: .0154em;
    left: 0;
    width: 100%;
    height: .54em;
    background-color: #6bb0c6;
    z-index: 0;
    border-top-left-radius: .1385em;
    border-top-right-radius: .1385em;
}

.flipCounterFrame:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: .54em;
    background-color: #5FA3B8;
    z-index: 0;
}

.flipCounterDigit {
    position: relative;
    z-index: 1;
    line-height: 1;
}

.flipCounterDigit:before {
    content: '';
    position: absolute;
    top: -.17em;
    bottom: 0;
    left: 100%;
    height: .0155em;
    width: 300%;
    margin: auto;
    background-color: #5FA3B8;
    box-sizing: border-box;
    z-index: 2;
}

.flipCounterDigit:after {
    content: '';
    position: absolute;
    top: .05em;
    bottom: 0;
    left: -100%;
    height: .0155em;
    width: 300%;
    margin: auto;
    background-color: #85cde5;
    box-sizing: border-box;
    z-index: 2;
}

/* 767px */
@media (max-width: 47.9375em) {
    #flipCounterWrapper {
        font-size: 3.5em;
    }
}

/* 374px */
@media (max-width: 23.375em) {
    #flipCounterWrapper {
        font-size: 2.7em !important;
    }
}
