/*!
 * Ovoo-Movie & Video Steaming CMS
 * Author: Abdul Mannan/Spa Green Creative
 =============*/
.btn-fb {
    color: #fff;
    background-color: #4267b2;
    border-color: #4267B3;
}
.btn-fb:active, .btn-fb:hover {
    background: #3B5CA0;
    color: #fff;
}

.btn-gplus {
    color: #fff;
    background-color: #E93F2E;
    border-color: #b72213;
}
.btn-gplus:active, .btn-gplus:hover {
    background: #b72213;
    color: #fff;
}

.video_quality, .total_episodes{
    position: absolute;
    top: 5px;
    left:5px;
    z-index: 111;
}
.label-primary {
    background-color: #673ab7;
}

/* =========================================================================
   Native-lazy thumbnail layout (overrides legacy styles.css fixed-height
   rules that load AFTER this file). Uses aspect-ratio for clean landscape
   framing without depending on styles.css:2789 height:250px.
   ========================================================================= */
.latest-movie-img-container {
    position: relative !important;
    display: block !important;
    width: 100%;
    max-width: 100%;
    height: auto !important;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background-color: #1a1a1a;
    background-size: cover;
    border-radius: 5px;
}
/* Progressive fallback for pre-2021 browsers without aspect-ratio support */
@supports not (aspect-ratio: 1 / 1) {
    .latest-movie-img-container { padding-top: 150%; }
    .latest-movie-img-container > .movie-img { position: absolute; inset: 0; }
}
.latest-movie-img-container > img.latest-movie-thumb {
    position: absolute !important;
    top: 0; left: 0; right: 0; bottom: 0;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center center;
    z-index: 0;
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
}
.latest-movie-img-container > .movie-img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.latest-movie-img-container > .movie-img > * { pointer-events: auto; }
/* Kill the legacy responsive height overrides in styles.css:2801-2816 */
@media screen and (max-width: 1199px) {
    .latest-movie-img-container { height: auto !important; }
}
@media screen and (max-width: 990px) {
    .latest-movie-img-container { height: auto !important; }
}
@media screen and (max-width: 767px) {
    .latest-movie-img-container { height: auto !important; }
}

/* =========================================================================
   Video player stability and indexing support.
   Reserves 16:9 space via padding-top (universally supported) so the
   following episode-list carousel can never flow up and overlap the
   player when aspect-ratio fails to compute or videojs hydration is late.
   aspect-ratio is layered on as a progressive enhancement.
   ========================================================================= */
.movie-payer.primary-video-player,
.primary-video-player {
    position: relative;
    z-index: 2;
    display: block;
    margin-bottom: 20px;
    isolation: isolate;
}

.movie-payer.primary-video-player::after,
.primary-video-player::after {
    content: "";
    display: table;
    clear: both;
}

.video-player-shell {
    position: relative;
    display: block;
    width: 100%;
    height: 0;
    padding-top: 56.25%;
    overflow: hidden;
    background: #000;
}

@supports (aspect-ratio: 16 / 9) {
    .video-player-shell {
        height: auto;
        padding-top: 0;
        aspect-ratio: 16 / 9;
    }
}

.video-player-shell > .video-js,
.video-player-shell .video-js,
.video-player-shell .vjs-tech,
.video-player-shell #video-id,
.video-player-shell .fluid_video_wrapper,
.video-player-shell .video-embed-container,
.video-player-shell iframe,
.video-player-shell video,
.video-player-shell object,
.video-player-shell embed {
    position: absolute;
    top: 0;
    left: 0;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    border: 0;
}

.video-player-shell .vjs-16-9 {
    padding-top: 0 !important;
}

/* Guarantee season/episode rows stay in document flow below the player. */
.movie-payer + .row,
.primary-video-player ~ .row {
    clear: both;
    position: relative;
    z-index: 1;
}

/* Owl carousel nav buttons use top:-63px to sit above the strip;
   add top breathing room to the season wrapper so they don't collide
   with the player bottom edge. */
.primary-video-player ~ .row .latest-movie.movie-opt {
    margin-top: 15px;
}


/* Keep landing-page artwork within the mobile viewport. */
.search_container img {
	max-width: 100%;
	height: auto;
}

/* Watch page desktop side ad placement fixes */
#movie-details .watch-player-row {
    margin-left: 0;
    margin-right: 0;
    margin-top: 12px;
    align-items: flex-start;
}

#movie-details .watch-player-column,
#movie-details .watch-sidebar-col {
    overflow: visible;
}

.watch-sidebar-col {
    text-align: center;
}

.watch-sidebar-ad-slot {
    margin: 0 auto;
    width: 160px;
    min-height: 600px;
    max-width: 100%;
    padding: 0;
    z-index: 6;
}

@media (max-width: 991px) {
    #movie-details .watch-sidebar-col {
        display: none !important;
    }
}
