@font-face {
    font-family: GOBOLD;
    src: url(/v3/view/font/Gobold.ttf);
}

@font-face {
    font-family: SQ;
    src: url(/v3/view/font/Square.ttf);
}

body {
    margin: 0;
    font-size: 0;
}

#timer {
    box-sizing: border-box;
    max-width: 465px;
    font-size: 0;
    position: fixed;
    background-color: white;
    z-index: 99999999999999;
    top: 20px;
    right: 50%;
    transform: translate(50%, 0);
    border: 1px solid red;
}

.timer--text {
    font-family: GOBOLD, "Times New Roman", sans-serif;
    font-size: 31px;
    margin-bottom: -12px;
    text-align: center;
}

.timer--open, .timer--close {
    color: #e10000;
    font-weight: bold;
    font-family: arial, sans-serif;
    font-size: 100px;
    display: inline-block;
    margin-top: -18px;
}

.timer--open {
    margin-right: 20px;
}

.timer--close {
    margin-left: 20px;
}

.timer--days, .timer--hrs, .timer--mins, .timer--secs {
    display: inline-block;
    vertical-align: top;
}

.timer--days--value, .timer--hrs--value, .timer--mins--value, .timer--secs--value {
    font-family: Tahoma, sans-serif;
    font-size: 63px;
    font-weight: 400;
}

.timer--semicolon {
    font-family: Arial, sans-serif;
    font-size: 63px;
    font-weight: 400;
    display: inline-block;
    vertical-align: top;
    margin: 0 4px;
}

.timer--days--text, .timer--hrs--text, .timer--mins--text, .timer--secs--text {
    color: #e10000;
    font-family: arial, sans-serif;
    font-weight: bold;
    font-size: 20px;
    text-align: center;
}

.timer--text--left {
    border-width: 1.5px;
    border-style: solid;
    display: inline-block;
    width: 55px;
    margin-right: 5px;
    vertical-align: middle;
}

.timer--text--right {
    border-width: 1.5px;
    border-style: solid;
    display: inline-block;
    width: 55px;
    margin-left: 5px;
    vertical-align: middle;
}

.timer--expired {
    background-color: #9d0000;
    opacity: 0.82;
    color: white;
    text-transform: uppercase;
    font-size: 27px;
    letter-spacing: 11px;
    font-family: SQ, "Times New Roman", sans-serif;
    text-align: center;
    width: 253px;
    right: 50%;
    transform: translateX(50%);
    top: 50px;
    position: absolute;
}

.timer-hidding {
    display: none;
}

@media (max-width: 490px) {
    #timer {
        width: 280px;
    }

    .timer--text {
        font-size: 18px;
        margin-bottom: -8px;
    }

    .timer--open, .timer--close {
        font-size: 60px;
        margin-right: 10px;
        margin-top: -8px;
    }

    .timer--close {
        margin-right: 0;
        margin-left: 10px;
    }

    .timer--days--value, .timer--hrs--value, .timer--mins--value, .timer--secs--value, .timer--semicolon {
        font-size: 37px;
    }

    .timer--days--text, .timer--hrs--text, .timer--mins--text, .timer--secs--text {
        font-size: 15px;
    }

    .timer--text--left, .timer--text--right {
        width: 30px;
    }

    .timer--expired {
        font-size: 19px;
        letter-spacing: 6px;
        width: 180px;
        top: 28px;
    }
}

.close_timer:hover {
    color: #e10000;
}

.close_timer {
    position: absolute;
    font-size: 25pt;
    font-family: tahoma, sans-serif;
    font-weight: bold;
    color: red;
    cursor: pointer;
    line-height: 30px;
    right: 0;
    top: -9px;
}