.counter-group {
    /*margin: 5px auto;*/
    display: inline-block;
}

    .counter-group:before,
    .counter-group:after {
        content: " ";
        display: table;
    }

    .counter-group:after {
        clear: both;
    }

.counter-block {
    float: left;
    margin: 0 10px;
}

    .counter-block .counter {
        position: relative;
        width: 50px;
        height: 39px;
        overflow: hidden;
        /*top:-54px;*/
        /*font-family: Iceberg, sans-serif;*/
    }

        .counter-block .counter .number {
            padding: 1%;
            width: 46%;
            height: 98%;
            background-color: #222;
            color: #fefefe;
            position: absolute;
            font-size: 33px;
            line-height: 42px;
            top: -10000px;
            text-align: center;
            border-radius: 5px;
        }

            .counter-block .counter .number.tens {
                left: 0;
            }

            .counter-block .counter .number.units {
                left: 50%;
            }

            .counter-block .counter .number.hundreds {
                display: none;
            }

            .counter-block .counter .number.show {
                top: 0;
                z-index: 2;
            }

            .counter-block .counter .number.hidden-down {
                top: 100%;
            }

            .counter-block .counter .number.hidden-up {
                top: -100%;
                z-index: 100;
            }

        .counter-block .counter.with-hundreds {
            width: 300px;
        }

            .counter-block .counter.with-hundreds .number {
                width: 30.66%;
            }

                .counter-block .counter.with-hundreds .number.tens {
                    left: 33.33%;
                }

                .counter-block .counter.with-hundreds .number.units {
                    left: 66.66%;
                }

                .counter-block .counter.with-hundreds .number.hundreds {
                    display: block;
                    left: 0;
                }

    .counter-block .counter-caption {
        font-size: 150%;
        color: white;
        text-align: center;
    }

@media (max-width: 992px) {
    .counter-group {
        /*margin: 10px auto;*/
    }

    .counter-block {
        margin-right: 10px;
    }

        .counter-block .counter {
            width: 65px;
            height: 40px;
            overflow: hidden;
            /*font-weight: 700;*/
        }

            .counter-block .counter .number {
                font-size: 30px;
                line-height: 45px;
            }

            .counter-block .counter.with-hundreds {
                width: 180px;
            }

        .counter-block .counter-caption {
            font-size: 100%;
        }
}

@media (max-width: 768px) {
    .counter-group {
        /*margin: 0 auto;*/
    }

    .counter-block {
        margin-right: 8px;
    }

        .counter-block .counter {
            width: 50px;
            height: 30px;
        }

            .counter-block .counter .number {
                font-size: 30px;
                line-height: 35px;
            }

            .counter-block .counter.with-hundreds {
                width: 144px;
            }

        .counter-block .counter-caption {
            font-size: 85%;
        }
}

@media (max-width: 480px) {
    .counter-block .counter {
        width: 45px;
        height: 20px;
    }

        .counter-block .counter .number {
            font-size: 12px;
            line-height: 20px;
        }

        .counter-block .counter.with-hundreds {
            width: 91px;
        }

    .counter-block .counter-caption {
        font-size: 70%;
    }
}


.TimerColon {
    float: left;
    color: #fff;
    text-shadow: 0 0 5px #000;
    font-size: 2vw;
}
