body,
html {
    background-color: #02080f;
}
#header {
    background: #333333;
}
.main-menu {
    background: #2d2d2d;
}
.main-menu .menu-item.active > a,
.main-menu .menu-item a:hover {
    color: #c58560;
}
.title-box .tophot,
.right-content .block .caption {
    color: #da966e;
}
.main-menu .menu-item .sub-menu {
    background-color: #2d2d2d;
}
.list-films .item .icon-play,
.list-films .label-quality {
    background: #522e75;
}
.list-films .label-quality:after {
    border-left: 10px solid #522e75;
}
#film_hot .item .label,
#film_related .item .label,
.film-new .item .label {
    background: #a3765d;
    border-bottom: 2px solid #96674f;
}
.list-films.film-new .item .name {
    background: #181818;
}
.list-film li:nth-child(even) {
    background: rgb(24 24 24);
}
.title-box .tab.active,
.title-box .tab:hover {
    color: #da966e;
    border-bottom: 2px solid #907863;
}
.most-view .list-film .item .number-rank {
    background: #c58560;
}
.breadcrumbs {
    background: #181818;
}
#page-info .blockbody .title {
    color: #ff9658;
}
.btn-download-link {
}
.btn-stream-link {
}
.dinfo .film-status {
}
#page-info .latest-episode > a:hover,
.list-episode > a:hover,
.list-episode > a.current,
ul.server-backup li span.active,
ul.server-backup li span:hover {
    background: #c58560;
}

#player-video .details .name h1 a,
#player-video .details .name span {
    color: #da966e;
}
.film-note {
    border: 1px solid #e8a568;
    background: #181818;
}
#player-video .bottom-content {
    background: #181818;
}
.mp-tips {
    color: #fff;
}
#suggestions ul.autocomplete-list li span,
#suggestions ul.autocomplete-list li strong,
#suggestions ul.autocomplete-list li.last a {
    color: #da966e;
}
.most-view .list-film .item a:hover,
.list-film .film-item-ver .name a:hover {
    color: #da966e;
}
.most-view .tabs .tab:hover {
    background: #333;
}
#footer {
    color: #848484;
    background: #2d2d2d;
}
#footer .info {
    background: #353535;
}


@media (min-width: 250px) and (max-width: 979px) {
    #header .logo {
        display: block;
        text-align: center;
    }
    #header .logo img {
        width: 120px;
        height: 30px !important;
        margin-bottom: 0 !important;
    }
}

.server-episode-block {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #da843d;
}

#banner {
    display: flex;
    justify-content: center;
    padding: 0 8px;
    box-sizing: border-box;
}

#banner a {
    display: block;
    width: min(100%, 728px);
}

#banner img {
    display: block;
    width: 100%;
    max-width: 728px;
    height: auto;
    margin: 0 auto;
}

#catfish {
    position: fixed !important;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    display: flex;
    justify-content: center;
    padding: 0 8px;
    box-sizing: border-box;
}

#container-ads {
    width: min(100%, 728px);
    text-align: center;
    overflow: visible;
}

#container-ads > div[style*="position:fixed"] {
    position: static !important;
    width: 100% !important;
    text-align: center !important;
}

#hide_catfish {
    margin-bottom: 4px;
}

#hide_catfish a {
    font-size: 12px;
    font-weight: 700;
    padding: 3px 6px;
    color: #fff;
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.7);
    border: 0.1px solid #fff;
}

#catfish_content img {
    display: block;
    width: 100% !important;
    max-width: 728px;
    height: auto !important;
    margin: 0 auto;
}

@media only screen and (max-width: 767px) {
    #footer {
        padding-bottom: 16px;
    }
}

@media only screen and (min-width: 768px) {
    #container-ads {
        width: min(45vw, 728px);
    }
}

@media only screen and (min-width: 992px) {
    #container-ads {
        width: min(35vw, 728px);
    }
}

@media (max-width: 979px) {
    .list-films.film-new .item,
    .list-films.film-related .item,
    #page-info #film_related .item {
        height: auto !important;
    }

    .list-films .item .img-film,
    .list-films.film-hot .item .img-film,
    .list-films.film-related .item .img-film,
    #page-info #film_related .item .img-film {
        display: block;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 160 / 214;
        object-fit: cover;
    }

    #film_hot .owl-item,
    #film_hot .owl-item .item {
        height: auto !important;
    }

    #film_hot .item .img-film,
    #film_hot .owl-item .item .img-film {
        display: block;
        width: 100%;
        height: auto !important;
        aspect-ratio: 175 / 214;
        object-fit: cover;
    }

    .list-films .item .label,
    #film_hot .item .label {
        max-width: calc(100% - 8px);
        box-sizing: border-box;
        white-space: normal;
        overflow-wrap: anywhere;
    }
}

/* Keep footer below floated movie/detail blocks on mobile Safari. */
.main-holder::after,
#content::after {
    content: '';
    display: block;
    clear: both;
}

#footer {
    clear: both;
    position: relative;
    z-index: 1;
}

/* Keep desktop sidebar beside the main movie content. */
@media (min-width: 980px) {
    .main-holder > .left-content {
        margin-right: 0;
    }
}
