.vag-gate {
    box-sizing: border-box;
    clear: both;
    margin: 34px auto;
    max-width: 880px;
    padding: 0 18px;
    text-align: center;
    width: 100%;
}

.vag-gate *,
.vag-gate *::before,
.vag-gate *::after {
    box-sizing: border-box;
}

.vag-gate-top {
    margin-bottom: 34px;
    margin-top: 34px;
}

.vag-ad-slot {
    color: #001f4d;
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
    margin: 0 auto;
    max-width: 100%;
    min-height: 0;
    overflow: hidden;
    padding: 0;
    text-align: center;
}

.vag-ad-slot ins,
.vag-ad-slot iframe {
    max-width: 100%;
}

.vag-ad-slot-empty {
    display: none;
}

.vag-counter-card {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 18px auto;
    max-width: 825px;
    min-height: 0;
    padding: 0;
}

.vag-counter-label {
    display: none;
}

.vag-counter {
    background: transparent;
    border: 0;
    border-radius: 0;
    color: #001f4d;
    display: block;
    font-size: 23px;
    font-weight: 900;
    height: auto;
    line-height: 1.35;
    margin: 0 auto;
    max-width: 100%;
    padding: 0;
    text-align: center;
    width: auto;
    white-space: nowrap;
}

.vag-button {
    appearance: none;
    background: #16869a;
    border: 0;
    border-radius: 6px;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    font-size: 21px;
    font-weight: 800;
    justify-content: center;
    line-height: 1;
    margin: 8px auto 0;
    min-width: 150px;
    padding: 16px 34px;
    text-decoration: none;
    transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.vag-button:hover,
.vag-button:focus {
    background: #0f7385;
    box-shadow: 0 10px 20px rgba(22, 134, 154, 0.22);
    color: #ffffff;
    outline: none;
    transform: translateY(-1px);
}

.vag-progress-bar-container {
    background: rgb(243, 243, 243);
    border: 1px solid rgb(204, 204, 204);
    border-radius: 5px;
    margin: 0 auto;
    max-width: 600px;
    overflow: hidden;
    width: 100%;
}

.vag-progress-bar {
    background-color: rgb(76, 175, 80);
    border-radius: 5px;
    height: 20px;
    transition: width 900ms linear;
    width: 0;
}

.vag-final-next[hidden],
.vag-middle-next[hidden],
.vag-first-next[hidden],
.vag-gate[hidden],
.vag-counter[hidden],
.vag-progress-bar-container[hidden] {
    display: none !important;
}

@media (max-width: 640px) {
    .vag-gate {
        margin: 8px auto;
        padding: 0;
    }

    .vag-gate-top {
        margin-bottom: 8px;
        margin-top: 8px;
    }

    .vag-ad-slot {
        line-height: 1;
        margin: 0 auto;
        min-height: 0;
        padding: 0;
    }

    .vag-counter-card {
        border: 0;
        margin: 0 auto;
        min-height: 0;
        padding: 0;
    }

    .vag-counter-label {
        font-size: 17px;
    }

    .vag-counter {
        font-size: 18px;
        height: auto;
        white-space: normal;
        width: auto;
    }

    .vag-button {
        font-size: 18px;
        min-width: 128px;
        margin-top: 4px;
        padding: 14px 26px;
    }

    .vag-progress-bar-container {
        border: 0;
        margin: 0 auto;
    }
}
