/* vtrStickyBanner.css */

/* alap: rejtve, JS nyitja */
#vtr-sticky-banner {
    display: none;
}

/* közös */
.vtr-sticky-banner {
    position: fixed;
    z-index: 999999;
    pointer-events: none;
    text-align: center;
}

.vtr-sticky-banner__inner {
    position: relative;
    pointer-events: auto;
    background: #fff;
    box-shadow: 0 -2px 8px rgba(0,0,0,.15);
    border-radius: 4px 4px 0 0;
}

.vtr-sticky-banner__slot {
    display: inline-block;
    width: auto;
    overflow: hidden;
    line-height: 0;
}

.vtr-sticky-banner__label {
    position: absolute;
    top: -18px;
    right: 32px;
    padding: 0 6px;
    font-size: 11px;
    line-height: 16px;
    background: #ff5a00;
    color: #fff;
    border-radius: 2px;
    white-space: nowrap;
}

.vtr-sticky-banner__close {
    position: absolute;
    top: -20px;
    right: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: none;
    background: #ff5a00;
    color: #fff;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}

.vtr-sticky-banner--closable .vtr-sticky-banner__close {
    opacity: 1;
    pointer-events: auto;
}

/* ---------------------------
   MOBIL/TABLET: 320x50, alul, középre
   --------------------------- */
@media (max-width: 768px) {
    .vtr-sticky-banner {
        left: 0;
        right: 0;
        bottom: 0;
        padding: 8px 0;
        line-height: 0;
    }

    .vtr-sticky-banner__inner {
        display: inline-block;
        max-width: 320px;
        width: auto;
        overflow: visible;
        line-height: 0;
    }

    .vtr-sticky-banner__slot {
        max-height: 50px;
        height: auto;
    }
}

/* ---------------------------
   DESKTOP: 970x90 (728x90 is), alul, középre
   --------------------------- */
@media (min-width: 769px) {
    .vtr-sticky-banner {
        left: 0;
        right: 0;
        bottom: 0;
        padding: 8px 0;
    }

    .vtr-sticky-banner__inner {
        display: inline-block;
        max-width: 970px;
        width: auto;
        overflow: visible;
        line-height: 0;
    }

    .vtr-sticky-banner__slot {
        max-height: 90px;
        height: auto;
    }
}
