/*
Theme Name: AnimeH
Theme URI: https://yellowthemes.com/
Description: Yellow xTeam
Author: Yellow
Author URI: https://yellowthemes.com/
Version: 1
*/
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap");
@font-face {
    font-family: "Material Icons Round";
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/materialiconsround/v73/LDItaoyNOAY6Uewc665JcIzCKsKc_M9flwmPq_HTTw.woff2)
        format("woff2");
}

.material-icons-round {
    font-family: "Material Icons Round";
    font-weight: normal;
    font-style: normal;
    /* font-size: 24px; */
    line-height: 1;
    /* margin-right: 5px; */
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: "liga";
    -webkit-font-smoothing: antialiased;
  }
:root {
    --color-core: #55928c;
    --color-gray: #404040;
    --color-text: #cac9c9;
}
::-webkit-scrollbar {
    width: 10px;
    background-color: var(--color-gray);
}

::-webkit-scrollbar-thumb {
    background-color: var(--color-core);
}
::-moz-scrollbar {
    width: 10px;
    background-color: var(--color-gray);
}

::-moz-scrollbar-thumb {
    background-color: var(--color-core);
}
.bg-black{
    background-color: #000 !important;
}
.bg-green{
    background: #297275 !important;
}
.bg-yellow{
    background: #d4a30f !important;
}
.bg-red{
    background-color: #b73a3a !important;
}
.bg-brown{
    background-color: #795548 !important;
}
.bg-gray{
    background-color: #1d1c1c !important;
}
.color-red{
    color: #f98d8d !important;
}
.color-gray{
    color: #ccc !important;
}
h1{
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}
body{
    background-color: #000 !important;
    color: var(--color-text) !important;
    font-family: "Roboto", sans-serif !important;
    font-size: 14px !important;
    line-height: normal !important;
}
a{
    color: var(--color-text) !important;
    text-decoration: none !important;
}
.container{
    max-width: 1050px !important;
}
.bg-section{
    background: var(--color-gray);
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-sizing: border-box;
}


/* Header */
.navbar_{
    padding: 10px;
    position: relative;
    border-bottom: 1px solid #424242;
    background: #2d2d2d;
    align-items: center;
    display: flex;
}
.logo img{
    width: 200px;
}

.navbar_ .navsearch{
    margin: 0 10px;
    justify-content: center;
    display: flex;
    flex: 1;
}
.navbar_ form{
    border: 1px solid #404040;
    min-width: 250px;
    flex: 0.9;
    margin: 0;
}
.navbar_ .form-search-btn{
    font-size: 25px;
    margin: 0 !important;
    padding: 5px !important;
}
.navbar_ input, .navbar_ button{
    background-color: #000;
    padding: 9px 10px;
    color: #a7a7a7;
    border: 0;
    outline: none;
    box-shadow: none;
    border-color: transparent;
}
.navbar_ button svg{
    font-size: 14px;
}
.navitem_ a{
    padding: 7px 10px;
    margin: 3px;
    font-size: 20px;
    display: inline-flex;
    background-color: #000;
    border: 1px solid #404040;
}
.slide-title{
    position: absolute;
    z-index: 100;
    background: rgb(58 58 58 / 80%);
    background: linear-gradient(0deg, rgb(0 0 0 / 50%) 0%, rgb(25 25 25 / 50%) 28%, rgb(37 37 37 / 0%) 78%);
    bottom: 0;
    width: 100%;
    text-align: center;
    color: #fff;
    padding: 10px;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
    font-size: 16px;
}

.slide-episodes-latest{
    position: absolute;
    top: 3px;
    border-radius: 10%;
    padding: 3px 10px;
    left: 3px;
    background: #883636;
    font-weight: 700;
}
.owl-carousel .owl-item img {
    height: 270px;
}

.notice{
    color: #ccc;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 1px 1px 1px 1px #000;
}
.notice h1{
    font-size: 14px;
    font-weight: normal;
    margin: 0;
}
.custom-menu-frame{
    z-index: 2;
}
.custom-menu-title a{
    background: #1c1c1c;
    padding: 18px 10px;
    justify-content: center;
    align-items: center;
    display: flex;
    flex: 1;
    font-weight: 500;
}
.custom-menu-title{
    flex: 1;
    border-top: 2px solid #9c3737;
}
.custom-menu a:hover{
    background: #3e3e3e;
}
.custom-menu a{
    width: 20%;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #141414;
    font-size: 13px;
    background: #000000;
}
/* Main */
section{
    padding: 10px;
    background: #2d2d2d;
}
.section-title{
    background-color: #242525;
    margin: 10px 0;
    justify-content: space-between;
    align-items: center;
}
.section-title h2, .section-title h1{
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #a7a7a7 !important;
    padding: 0 20px;
    background-color: #000;
    display: inline-flex;
    align-items: center;
    position: relative;
    height: 40px;
    margin: 0;
}
.section-title h2:after, .section-title h1:after{
    border: 20px solid transparent;
    border-left-color: #000;
    content: "";
    position: absolute;
    left: 100%;
    top: 0;
}
.section-title .out-link{
    margin-right: 5px;
    font-weight: 500;
}
.section-title .out-link a{
    border: 1px solid #2f2f2f;
    padding: 5px 10px;
    background-color: #3a79af;
    font-weight: 500;
    font-size: 14px;
}
.section-title .out-link a:first-child{
    background-color: #b73a3a;
}
.movie-list{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.movie-item{
    width: 20%;
    margin-bottom: 5px;
    background: #000;
    padding: 5px;
    box-sizing: border-box;
    position: relative;
    border: 2px solid var(--color-gray);
}
.movie-item:hover{
    background: #000;
    opacity: 0.7;
}
.movie-item img{
    width: 100%;
    height: 235px;
    display: block;
}
.movie-name{
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 5px !important;
    padding: 3px 5px;
    text-align: center;
    color: #cc8d4c;
    font-weight: 700;
}
.episodes-latest{
    position: absolute;
    left: 5px;
    top: 5px;
    padding: 5px 10px;
    background-color: #383838;
    font-weight: 700;
    font-size: 14px;
    border-radius: 4px;
    border: 3px double #5a5a5a;
    letter-spacing: 1px;
}
/* PAGINATION */
.page-link{
    position: unset !important;
    padding: 7px 15px !important;
}
.page-item{
    
}
.page-item span{
    cursor: no-drop;
}
.page-item a, .page-item span{
    padding: 4.5px 15.5px;
    border-radius: 0 !important;
    border: 0 !important;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
}
.page-item a:hover, .page-item span{
    background-color: #4caf50!important;
    border: 0 !important;
    color: white !important; 
}
.page-item a{
    background-color: #585858 !important;
    border: 0 !important;
    color: white !important; 
}
.pagination{
    padding: 10px 0;
    margin: 0;
}
/* FOOTER */
footer{
    padding: 30px 10px;
    border-top: 1px solid #525151;
    background: #2d2d2d;
}
footer .footer-flex{
    justify-content: space-between;
}

/* SINGLE */
.single-title{
    padding: 10px;
    background: #3a3a3a;
    font-size: 17px;
    text-align: center;
    border-top: 2px solid #000;
}.single-info{
    display: flex;
    align-items: center;
    color: #fff;
    background: #191919;
    border-radius: 0 !important;
    padding: 10px;
    margin-bottom: 10px;
}
.single-thumb{
    width: 20%;
    padding: 5px;
    background: black;
}
.single-desc{
    margin-left: 10px;
    width: 80%;
}
.single-desc > div{
    display: flex;
    align-items: center;
    border-bottom: 1px solid #2f2f2f;
    border-top: 0;
    padding: 5px;
}
.single-desc > div:last-child{
    border-bottom: 0;
}
.single-desc > div > div{
    padding: 10px 5px;
}
.single-desc > div > div:first-child {
    flex: 0.2;
    color: #a7a7a7;
    font-weight: 700;
}
.single-desc > div > div:last-child {
    flex: 0.8;
    text-align: center;
    font-weight: 500;
    color: #a7a7a7;
}
.single-desc .single-desc-category{
    background: #313131;
    border-radius: 5px;
    padding: 5px;
    margin: 2px 2px;
    display: inline-flex;
    color: #ccc;
}
.single-icon:hover{
    opacity: 0.7;
}
.single-icon{
    background-color: #6b6a6a;
    display: inline-flex;
    border-radius: 5px;
    margin: 0 2px;
    padding: 10px;
    border-bottom: 3px solid #292929;
    cursor: pointer;
}
.single-icon1{
    background-color: #25867d;
    padding: 5px 15px;
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 35px;
}
.single-icon2{
    background-color: #369e69;
}
.single-icon3{
    background-color: rgb(125, 72, 72);
}
.single-icon4{
    background-color: #986a25;
}

.flex-1{
    flex: 1;
}
.list-episodes-content{
    display: flex;
    justify-content: space-between;
}
.list-episodes{
    flex: 0.29;
}
.list-episodes-frame{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-height: 300px;
    overflow: auto;
    overflow-x: hidden;
    padding-right: 10px;
}
.list-episodes-frame a h3, .single-child-list-episodes h3{
    font-size: 13px;
}
.list-episodes-frame a:hover{
    background-color: #bb6464 !important;
}
.list-episodes-frame a{
    background: #333232;
    text-align: center;
    padding: 10px 5px;
    border: 1px solid #4e4e4e;
    width: 25%;
    box-sizing: border-box;
}
.list-content{
    flex: 0.7;
}
.list-episodes-content h2{
    font-size: 16px;
    margin-bottom: 10px;
    border-bottom: 1px dashed #2f2f2f;
    padding-bottom: 10px;
}

.single-title-child{
    font-size: 16px;
    display: flex;
    align-items: center;
    margin-bottom: 10px !important;
    border-bottom: 1px dashed #2f2f2f;
    padding-bottom: 10px;
    color: #ffb970 !important;
}
.single-info-title-frame:after{
    border: 25px solid transparent;
    border-left-color: #000;
    border-bottom-color: #000;
    content: "";
    position: absolute;
    left: 100%;
    top: 0;
}
.single-info-title-frame, .single-info-btn-frame{
    font-size: 17px;
    font-weight: 500;
    position: relative;
    height: 50px;
}
.single-info-title{
    height: 50px;
    width: 112px;
}
.single-info-btn{
    height: 50px;
    width: 90px;
}
.single-info-btn a{
    padding: 5px;
    font-size: 21px;
}
.single-info-btn-frame:before{
    border: 25px solid transparent;
    border-right-color: #000;
    border-bottom-color: #000;
    content: "";
    position: absolute;
    right: 100%;
    top: 0;
}
.list-sv{
    margin: 10px;
}
.iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Tỉ lệ khung hình 16:9 (56.25% = 9/16*100) */
    height: 0;
    overflow: hidden;
    background: #000; /* Màu nền của khung chứa */
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.single-child-list-episodes a:hover{
    background-color: #ce6464;
}
.single-child-list-episodes a{
    background: #333232;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 5px;
    border: 1px solid #4e4e4e;
    font-size: 13px;
    width: 5%;
    box-sizing: border-box;
}
.single-child-list-episodes{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-height: 400px;
    overflow: auto;
    overflow-x: hidden;
    padding-right: 10px;
}

@media only screen and (max-width: 450px) {
    .slider{
        display: none;
    }
    .movie-item{
        width: 50%;
    }
    footer img{
        width: 150px !important;
    }
    .logo img{
        width: 150px !important;
    }
    .movie-item img {
        height: 190px !important;
    }
    .single-child-list-episodes a{
        width: 20%;
    }
}
@media only screen and (min-width: 450px) and (max-width: 650px) {
    .slider{
        display: none;
    }
    .movie-item{
        width: 33.33%;
    }
    footer img{
        width: 150px !important;
    }
    .logo img{
        width: 150px !important;
    }
    .movie-item img {
        height: 180px;
    }
    .single-child-list-episodes a{
        width: 11%;
    }
}
@media only screen and (min-width: 650px) and (max-width: 768px) {
    .slider{
        display: none;
    }
    .movie-item{
        width: 25%;
    }
    footer img{
        width: 150px !important;
    }
    .logo img{
        width: 150px !important;
    }
    .movie-item img {
        height: 180px;
    }
    .single-child-list-episodes a{
        width: 11%;
    }
}
@media only screen and (min-width: 768px) and (max-width: 1000px) {
    .owl-carousel .owl-item img {
        height: 230px;
    }
    .slider{
        display: block;
    }
    .movie-item{
        width: 20%;
    }
    .movie-item img {
        height: 180px;
    }
}
@media only screen and (max-width: 768px) {
    .single-desc > div{
        padding: 2px !important;
    }
    .single-desc > div > div{
        padding: 5px;
    }
    .single-desc > div > div:first-child {
        display: none !important;
    }
    .single-desc > div > div:last-child{
        flex: 1 !important;
    }
    .single-thumb{
        width: 30%;
    }
    .single-desc {
        width: 70%;
        font-size: 12px;
    }
    .list-episodes-content {
        display: block !important;
    }
    .list-episodes-frame {
        max-height: 100px !important;
    }
    .navbar_ .navsearch{
        display: none;
    }
    .navitem_{
        justify-content: end;
        flex: 1;
    }
    .navitem_ .search-btn{
        display: inline-flex !important;
    }
    .custom-menu a {
        width: 33.33%;
    }
    .navbar_{
        flex-direction: column;
    }
    .navbar_ .navsearch {
        margin: 5px 0;
    }
	img {
		width: 100%;
	}
}