:root {
    --overlay-background-color: rgba(43, 51, 63, 0.7);
    /* --overlay-background-color: rgba(0, 0, 0, 0.75); */

}

body {
    margin: 0;
    padding: 0;
}

.vjs-theme-vivo.video-js .vjs-control-bar {
    background-color: var(--overlay-background-color);
}

.video-container {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    position: relative;
    overflow: hidden;
}

.vivo-tv-modal-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
}

.vivo-tv-modal-overlay-content-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.vivo-tv-modal .vivo-tv-modal-overlay .vivo-tv-modal-overlay-content {
    background-color: var(--overlay-background-color);
    padding: 50px;
    border-radius: 20px;
}

.vivo-tv-modal .vivo-tv-modal-overlay .vivo-tv-modal-overlay-content img {
    max-width: 400px;
    width: 100%;
    height: auto;
}

.vivo-tv-modal .vivo-tv-modal-overlay .vivo-tv-modal-overlay-content a {
    color: white;
    text-decoration: none;
}

.vivo-tv-modal .vivo-tv-modal-overlay .vivo-tv-modal-overlay-content a > img {
    color: white;
    text-decoration: none;
    max-width: 200px;
    width: 100%;
    height: auto;
}

.vivo-tv-modal-button-container {
    position: absolute;
    right: 2%;
    bottom: 5%;
    background-color: var(--overlay-background-color);
    border-radius: 5px;
    padding: 10px;
    max-width: 200px;
    width: 100%;
    font-weight: 900;
}

.button-enabled {
    cursor: pointer;
}

.button-disabled {
    cursor: not-allowed;
}

/* VIVO TICKER */
#vjs-vivo-ticker {
    position: absolute;
    top: 2%;
    left: 2%;
    width: 400px;
    background-color: var(--overlay-background-color);
    padding: 10px;
    border-radius: 5px;
}

#vjs-vivo-ticker .vjs-vivo-ticker-container {
    height: 12px;
}

#vjs-vivo-ticker a {
    font-weight: 900;
    font-size: 12px;
    color: white;
    text-decoration: none;
    display: inline-block;
    height: 12px;
}
/* VIVO TICKER */

/* VIVO CLOCK */
#vjs-vivo-clock {
    position: absolute;
    top: calc(2% + 40px);
    left: 2%;
    background-color: var(--overlay-background-color);
    padding: 10px;
    border-radius: 5px;
}

#vjs-vivo-clock span {
    font-weight: 900;
    font-size: 12px;
}

#vjs-vivo-clock span.separator {
    padding-left: 5px;
    padding-right: 5px;
}

#vjs-vivo-clock span#vivo-day {
    text-transform: uppercase;
}

#vjs-vivo-clock span#vivo-time {
    font-weight: 900;
}
/* VIVO CLOCK */

/* VIVO ADS */
#vjs-vivo-ads {
    position: absolute;
    bottom: 5%;
    left: 2%;
    width: 200px;
}

#vjs-vivo-ads .glide {
    width: 200px;
    background-color: var(--overlay-background-color);
    border-radius: 10px;
    padding: 10px;
    text-align: center;
}

#vjs-vivo-ads .glide .glide__slide img {
    width: 150px;
}
/* VIVO ADS */

/* VIVO LINK */
#vjs-vivo-link {
    position: absolute;
    bottom: 5%;
    right: calc(50% - 100px);
    width: 200px;
    background-color: var(--overlay-background-color);
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    text-transform: uppercase;
}

#vjs-vivo-link a {
    font-size: 12px;
    font-weight: 900;
    color: white;
    text-decoration: none;
    line-height: 20px;
}
/* VIVO LINK */

/* VIVO LOGO */
#vjs-vivo-logo {
    position: absolute;
    top: 2%;
    right: 2%;
    width: 300px;
    background-color: var(--overlay-background-color);
    padding: 20px;
    border-radius: 5px;
}

#vjs-vivo-logo img {
    max-width: 300px;
    width: 100%;
    height: auto;
}
/* VIVO LOGO */

/* VIVO WEATHER */
#vjs-vivo-buttons {
    position: absolute;
    bottom: calc(5%);
    right: 2%;
    text-align: center;
    text-transform: uppercase;
}
#vjs-vivo-buttons .vjs-vivo-buttons-container {
    display: flex;
    flex-direction: column;
}

#vjs-vivo-buttons .vjs-vivo-buttons-container a {
    width: 200px;
    background-color: var(--overlay-background-color);
    border-radius: 5px;
    padding: 10px;
    font-size: 12px;
    font-weight: 900;
    color: white;
    text-decoration: none;
    line-height: 20px;
    margin-top: 10px !important;
}
/* VIVO WEATHER */

@media (max-width: 768px) {
    #vjs-vivo-ticker,
    #vjs-vivo-clock,
    #vjs-vivo-ads,
    #vjs-vivo-link,
    #vjs-vivo-logo,
    #vjs-vivo-buttons {
        box-sizing: border-box;
    }

    .vivo-tv-modal .vivo-tv-modal-overlay .vivo-tv-modal-overlay-content {
        padding: 20px 16px;
        border-radius: 12px;
    }

    .vivo-tv-modal-button-container {
        left: 8px;
        right: 8px;
        bottom: 5%;
        width: auto;
        max-width: none;
    }

    #vjs-vivo-logo {
        top: 8px;
        left: 8px;
        right: 8px;
        width: auto;
        padding: 12px;
    }

    #vjs-vivo-logo img {
        display: block;
        max-width: 220px;
        margin: 0 auto;
    }

    #vjs-vivo-ticker {
        top: 72px;
        left: 8px;
        right: 8px;
        width: auto;
        padding: 8px;
    }

    #vjs-vivo-ticker .vjs-vivo-ticker-container,
    #vjs-vivo-ticker a {
        height: auto;
        line-height: 1.2;
    }

    #vjs-vivo-clock {
        top: 112px;
        left: 8px;
        padding: 8px;
    }

    #vjs-vivo-clock span {
        font-size: 11px;
    }

    #vjs-vivo-ads {
        bottom: calc(5% + 28px);
        left: 8px;
        width: 38vw;
        max-width: 160px;
    }

    #vjs-vivo-ads .glide {
        width: 100%;
        padding: 8px;
        border-radius: 8px;
    }

    #vjs-vivo-ads .glide .glide__slide img {
        width: 100%;
    }

    #vjs-vivo-link {
        bottom: 5%;
        left: 8px;
        right: 8px;
        width: auto;
        max-width: none;
        padding: 5px 8px;
        transform: none;
    }

    #vjs-vivo-link a {
        font-size: 8px;
        line-height: 12px;
    }

    #vjs-vivo-buttons {
        bottom: calc(5% + 28px);
        right: 8px;
        width: 40vw;
        max-width: 150px;
        max-height: 52vh;
        overflow-y: auto;
    }

    #vjs-vivo-buttons .vjs-vivo-buttons-container a {
        width: 100%;
        margin-top: 8px !important;
        padding: 5px 4px;
        font-size: 8px;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    #vjs-vivo-clock {
        top: 112px;
    }

    #vjs-vivo-buttons {
        width: 44vw;
        max-width: 145px;
        max-height: 48vh;
    }
}
