/* PNO pure-PHP helpers */
.pno-ad-popup {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.72);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.pno-ad-popup-box {
    position: relative;
    max-width: 520px;
    width: 100%;
}
.pno-ad-popup-box img,
.pno-ad-catfish img {
    width: 100%;
    display: block;
    border-radius: 4px;
}
.pno-ad-close {
    position: absolute;
    right: -8px;
    top: -8px;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: #111;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    z-index: 2;
}
.pno-ad-catfish {
    position: fixed;
    z-index: 99990;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: min(960px, 94vw);
}
.pno-tvc {
    position: absolute;
    inset: 0;
    z-index: 20;
    background: #000;
}
.pno-tvc video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.pno-tvc-link {
    position: absolute;
    inset: 0;
    z-index: 2;
}
.pno-tvc button {
    position: absolute;
    right: 14px;
    bottom: 42px;
    z-index: 3;
    border: 0;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 8px 12px;
    cursor: pointer;
}

#video-embed-container {
    position: relative;
    background: #000;
    width: 100%;
    min-height: 220px;
    aspect-ratio: 16 / 9;
}
#video-embed-container iframe,
#video-embed-container video {
    width: 100%;
    height: 100%;
    min-height: 220px;
    border: 0;
    display: block;
}
@media (min-width: 768px) {
    #video-embed-container,
    #video-embed-container iframe,
    #video-embed-container video {
        min-height: 480px;
    }
}

#result {
    margin-top: 20px;
    background-color: #333333;
    list-style-type: none;
    width: 400px;
    max-width: 90vw;
    position: absolute;
    top: 32px;
    z-index: 100;
    padding-left: 0;
    max-height: 420px;
    overflow-y: auto;
}
#result a {
    color: #ddd;
    text-decoration: none;
    display: block;
}
#form-search {
    position: relative;
}
.column {
    float: left;
    padding: 5px;
}
.left {
    text-align: center;
    width: 20%;
}
.right {
    width: 80%;
}
.rowsearch:after {
    content: "";
    display: table;
    clear: both;
}
.rowsearch:hover {
    background-color: #282525;
}

.pno-pagination {
    margin: 20px 0 28px;
    clear: both;
}
.pno-pagination a {
    display: inline-block;
    margin: 0 3px 8px;
    padding: 6px 12px;
    border: 1px solid #444;
    color: #ddd;
    text-decoration: none;
    border-radius: 2px;
}
.pno-pagination a.current,
.pno-pagination a:hover {
    background: #1e88e5;
    border-color: #1e88e5;
    color: #fff;
}

.streaming-server.active,
.streaming-server.btn.active {
    background-color: #1e88e5 !important;
    color: #fff !important;
    border-color: #1e88e5 !important;
}

.list-episodes {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.list-episodes li {
    display: inline-block;
}
.list-episodes a,
.list-episodes span {
    display: inline-block;
    min-width: 42px;
    padding: 6px 10px;
    text-align: center;
    background: #2a2a2a;
    color: #eee;
    border-radius: 3px;
    text-decoration: none;
}
.list-episodes span {
    background: #1e88e5;
}
.list-episodes a:hover {
    background: #3a3a3a;
}

.block_watch {
    margin-top: 12px;
    text-align: center;
}
.block_watch .btn_watch {
    display: block;
    width: 100%;
}

.navbar-brand img,
.navbar-brand span {
    max-width: 50px;
    height: auto;
    vertical-align: middle;
}
.navbar-brand span {
    max-width: none;
    font-size: 18px;
    line-height: 50px;
    color: #fff;
}

.pno-footer a {
    color: #9ecbff;
}

.latest-movie-img-container {
    width: 100%;
    min-height: 220px;
    background-color: #111;
}

.movie-container:after {
    content: "";
    display: table;
    clear: both;
}

.three-column-navbar {
    min-width: 280px;
    padding: 10px;
}
.three-column-navbar .menu-item a {
    display: block;
    padding: 4px 8px;
    color: #333;
    white-space: nowrap;
}
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover {
    background-color: transparent;
}
