*, *::before, *::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
a{
    text-decoration: none;
    cursor: pointer;
}

ul{
    padding:0;
    list-style: none;
}

body{
    background: var(--primary-color);
}

.container {
    width: 100%;
}
.center {
    text-align: center;
    overflow: hidden;
}

/******************START CSS HEADER ***********************/
header .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    color: var(--color-bg-2);
    box-shadow: 0 0 3em rgba(0, 0, 0, .5);
}

#menu ul .sub-menu {
    display: none;
    position: absolute;
    flex-direction: column;
    align-items: flex-start;
    background: var(--secondary-color);
    flex-wrap: wrap;
    z-index: 11;
}

header .start {
    display: flex;
}

#menu ul {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo {
    margin: 10px 30px 10px 10px;
}

#menu li {
    height: 100%;
    margin-right: 30px;
}

#menu a {
    height: 100%;
    display: flex;
    align-items: center;
    color: inherit;
}

#menu a i {
    margin-right: 6px;
    font-size: 22px;
} 
#menu a:hover {
    color: var(--color-bg-1);
}

#search-toggler, #menu-toggler,#search-toggler .fa-times {
    display: none;
}
#menu li .sub-menu {
    margin: 0;
    padding: 10px 0 0 0;
}

#menu li .sub-menu a {
    padding: 10px 15px;
}

#menu .sub-menu li {
    height: auto;
}
#menu ul .has-sub:hover .sub-menu {
    display: flex;
}
#search .search-input {
    background: none;
    border: none;
    color: var(--primary-color);
    font-family: inherit;
    line-height: 3;
    border-radius: 4px;
    width: 240px;
    padding: 0 10px;
}

#search {
    display: flex;
    align-items: center;
}

#search:focus {
    outline: none;
}

#search .search-input:focus {
    outline: none;
}

#search form {
    background: var(--color-bg-2);
    border-radius: 4px;
}

#search button {
    background: none;
    border: none;
    font-size: 14px;
    padding-right: 9px;
}

#search button i {
    color: var(--primary-color);
}
input.search-input::placeholder {
    color: var(--primary-color);
}

#search-suggest a.item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 10px;
    border-bottom: solid 2px var(--primary-color)!important;
}

#search-suggest .poster {
    width: 40px;
}

#search-suggest .poster img {
    width: 100%;
    float: left;
}

#search-suggest .info {
    font-size: small;
    color: var(--color-bg-1);
    padding-left: 10px;
}

div#search-suggest {
    position: absolute;
    top: 58px;
    background: var(--secondary-color);
    z-index: 10;
}
.dot + .dot:before {
    content: "";
    width: 3px;
    height: 3px;
    border-radius: 50%;
    vertical-align: middle;
    background: #d1d1d1;
    margin-left: 5px;
    margin-right: 5px;
    display: inline-block;
}

#search-suggest .dot {
    color: var(--color-bg-2);
    font-size: smaller;
    font-weight: 600;
}

#search-suggest .meta {
    margin-top: 5px;
}

#search-suggest .name {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    max-width: 203px;
}

#search-suggest a.more {
    text-align: center;
    width: 100%;
    display: block;
    color: var(--color-bg-3);
    font-weight: bold;
    font-size: small;
    padding: 10px;
}

#search-suggest a.item:hover {
    box-shadow: inset 0px 0px 5px 0px var(--color-bg-2);
}

/*end header*************/
/*end header*************/
/*end header*************/

.aside-wrapper {
    padding: 0 2em;
    display: flex;
}

.sidebar {
    width: 300px;
    position: sticky;
    top: 0;
    height: 100%;
}

.main {
    width: calc(100% - 300px);
    margin-right: 2em;
}

.main .items {
    display: flex;
}

.main .items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.main .item {
    width: calc( 100%/7 - 7px);
    border: solid 1px var(--color-gray-light);
    position: relative;
}

.main .item img {
    max-width: 100%;
    display: block;
    float: left;
    height: 100%;
}

.version {
    padding: 5px 5px 0px;
    top: 5px;
    left: 5px;
    background-color: #0d1126d9;
    font-size: 12px;
    font-weight: bolder;
    position: absolute;
    z-index: 1;
    border-radius: 5px;
    color: #fff;
    letter-spacing: 1px;
}

a.ani.poster {
    display: block;
    height: 100%;
}

h2.title {
    color: var(--color-bg-1);
    margin-bottom: 15px;
}

.item .inner:before {
    /* content: "\f04b"; */
    font-family: "Font Awesome 5 Free";
    color: #fff;
    /* position: absolute; */
    /* margin-left: 50px; */
    /* background: red; */
}

a.name.d-title {
    position: absolute;
    bottom: 0;
    padding: 5px;
    font-size: small;
    color: var(--color-bg-1);
    left: 0;
    font-weight: 600;
    display: none;
}

.hover-wrap i {
    position: absolute;
    z-index: 1;
    left: calc(50% - 24px);
    top: calc(50% - 24px);
    bottom: auto;
    width: 3em;
    height: 3em;
    line-height: 3em;
    border-radius: 3em;
    /* left: 0; */
    /* top: 0; */
    /* right: 0; */
    /* bottom: 0; */
    background: #9a6cb9;
    text-align: center;
    box-shadow: 0 .5em 1em rgba(0, 0, 0, .5);
    color: #fff;
    transform: scale(0);
    opacity: 0;
    transition: .3s;
}

.hover-wrap {
    position: absolute;
    width: 100%;
    height: 100%;
    display: block;
    background: #252b4aa1;
    display: none;
    top: 0;
    left: 0;
}

.inner {
    position: relative;
    height: 100%;
}

.item:hover {}

.item:hover .hover-wrap {
    display: block;
}

.item:hover .d-title {
    display: block;
}
.item a.d-title {
    position: absolute;
    z-index: 1;
    display: flex!important;
    align-items: flex-end;
    inset: 0;
    justify-content: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 63%, rgba(3, 3, 3, 0.77) 87%, rgba(0, 0, 0, 0.89) 100%);
    text-align: center;
}

.item:hover .hover-wrap i {
    opacity: 1;
    transform: scale(1);
}
a.all-view {
    background-color: #252B4A;
    color: #fff;
    padding: 13px 25px;
    border-radius: 4px;
    font-size: 12px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 6px;
    margin: 25px 0 40px;
}

.all-view i.fas.fa-play {
    font-size: 22px;
    color: var(--color-bg-2);
}

.head.with-more {
    margin: 20px 0;
    color: var(--color-bg-1);
}

span.tabs {
    /* margin-top: 10px; */
}

.head h3.title {
    margin-bottom: 15px;
}

span.tabs {
    display: table;
    width: 100%;
    /* flex-direction: row; */
    /* justify-content: space-around; */
}

span.tab {
    background: var(--color-bg-4);
    display: table-cell;
    padding: 10px;
    text-align: center;
    font-size: small;
    font-weight: bold;
    cursor: pointer;
}

span.tab.active {background: #ffd54d;color: var(--primary-color);/* text-align: center; */}

span.tab:hover {
    opacity: 0.7;
}

.tab-content.topv.items {
    display: flex;
    flex-direction: column;
    gap:10px;
}

.tab-content .item {
    width: 100%;
    border: none;
    display: flex;
    gap: 20px;
    color: var(--color-bg-1);
    font-weight: 500;
    /* background: #000000; */
}

.tab-content .poster span {
    width: 60px;
    height: 90px;
    display: inline-block;
    background-size: contain;
    border: solid 1px var(--color-bg-2);
}

.tab-content .meta {
    font-size: small;
    margin-top: 8px;
    color: var(--color-bg-2);
}

/*begin CSS FOOOTER*/
/*begin CSS FOOOTER*/
/*begin CSS FOOOTER*/
/*begin CSS FOOOTER*/

footer {
    background: #02061b;
    margin-top: 50px;
    padding: 3em 2em;
    color: var(--color-bg-1);
    font-size: small;
    line-height: 20px;
}

.container.bl1 {
    display: flex;
    gap: 40px;
}

.right-col {
    display: flex;
    align-items: center;
    gap: 10px;
}

.right-col img {
    width: 24px;
    /* height: auto; */
    height: 24px;
}

footer p.heading {
    font-size: smaller;
    font-style: italic;
    opacity: 0.7;
}


/*begin CSS watch movie*/
/*begin CSS watch movie*/
/*begin CSS watch movie*/
/*begin CSS watch movie*/
body:not(.homepage) header {
    margin-bottom: 2em;
}

#player-wrapper {
    width: 100%;
    padding-bottom: 56%;
    position: relative;
    margin-bottom:25px;
}

#player-wrapper .player-frame {
    width: 100%;
    height: 100%;
    position: absolute
}

#player-wrapper #player {
    width: 100%;
    height: 100%;
    background: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    border: solid 8px var(--color-bg-2);
    overflow: hidden;
}

#player-wrapper #player .backdrop {
    background-size: contain;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    filter: blur(30px);
}

#player-wrapper #player .backdrop:before {
    background: rgba(0, 0, 0, .2);
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 2
}

#player-wrapper #player .message {
    display: block;
    z-index: 2
}

#player-wrapper #player .play {
    display: block;
    cursor: pointer;
    color: #FFBF47;
    transition: all .2s;
    z-index: 2;
    position: absolute;
}

#player-wrapper #player .play i {
    font-size: 5rem;
    font-weight: 900;
    text-shadow: 0px 3px 15px #000;
}

#player-wrapper #player .play:hover {
    transform: scale(1.2)
}
img.thumb-bg {
    height: 100%;
    z-index: 2;
    opacity: 0.5;
}
#player-controls {
    background: #325474;
    display: flex;
    font-size: .9rem;
    color: #d1d1d1;
    justify-content: space-between
}

#player-controls .ctrl {
    float: left;
    display: inline-block;
    padding: 8px;
    cursor: pointer;
    transition: all .2s
}

#player-controls .ctrl:hover {
    color: #e2e2e2
}

#servers {
    display: flex;
    align-items: stretch
}

#servers .tip {
    width: 30%;
    font-size: .9rem;
    text-align: center;
    background: #141414;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #d1d1d1
}

#servers .types {
    flex-grow: 1;
    padding: 5px;
    background: #1e1e1e
}

#servers .types .type {
    display: flex;
    padding: 10px;
    align-items: center
}

#servers .types .type + .type {
    border-top: 1px dashed #252525
}

#servers .types .type label {
    margin: 0;
    min-width: 60px
}

#servers .types .type .servers a {
    display: inline-block;
    background: #252525;
    padding: 5px 10px;
    color: #d1d1d1;
    margin: 2px 0;
    cursor: pointer
}

#servers .types .type .servers a.active,
#servers .types .type .servers a:hover {
    background: var(--primary-color);
    color: #222
}

#episodes {
    margin-top: 15px;
    margin-bottom: 30px
}

#episodes .ep-filters {
    display: flex;
    margin-left: -1px;
    margin-right: -1px;
    margin-bottom: 10px
}

#episodes .ep-filters > div {
    margin: 0 1px;
    float: left
}

#episodes .ep-filters > div .btn {
    width: 100%;
    border-radius: 0
}

#episodes .ep-filters > div .form-control {
    border-radius: 0;
    border-color: var(--primary-color);
    color: var(--primary-color)
}

#episodes .dropdown-item {
    cursor: pointer
}

#episodes ul.episodes {
    display: flex !important;
    gap: 8px;
    flex-wrap: wrap;
}

#episodes ul.episodes li {
    min-width: 5.5555555556%;
    float: left;
    padding: 2px
}

#episodes ul.episodes li a {
    display: block;
    text-align: center;
    padding: 7px 12px 5px;
    width: 100%;
    color: var(--color-bg-1);
    background: #252B4A;
    white-space: nowrap;
    font-size: x-small;
    font-weight: 500;
}

#episodes ul.episodes li a:hover {
    background: #396ea1;
    color: #fff
}

#episodes ul.episodes li a:visited {
    background: #815a00;
    color: #bbb
}

#episodes ul.episodes li a.highlight {
    outline: 1px solid var(--primary-color);
    color: var(--primary-color)
}

#episodes ul.episodes li a.active {
    background: var(--color-bg-4);
    color: var(--color-bg-1);
}

#episodes ul.episodes li a img {
    max-width: 150px;
}
.server-list {
    display: flex;
    color: var(--color-bg-2);
    gap: 8px;
    flex-wrap: wrap;
}

.server-item {
    display: flex;
    flex-direction: row-reverse;
    border: solid 2px #252b4a;
    padding: 5px 10px;
    font-size: smaller;
    font-weight: bold;
    cursor: pointer;
}
.server-name {
    margin-left: 6px;
}

.server-item.active,.server-item:hover {
    background: var(--color-bg-4);
    color: var(--color-bg-1);
    border-color: var(--color-bg-4);
}
.alert-player {
    background: #ffd54d;
    padding: 10px 10px 6px;
    font-size: small;
    font-weight: bold;
    margin-bottom: 15px;
    display: none;
}
section#w-info {
    display: flex;
    gap: 30px;
    color: var(--color-bg-1);
    line-height: 1.5;
}

#w-info .poster img {
    max-width: 220px;
    border: solid 1px var(--color-gray-light);
}

.content p {
    margin-bottom: 15px;
    font-size: small;
}

.list-genres{
    margin-bottom:15px; 
}
.list-genres a {
    background: var(--color-gray-light);
    font-size: x-small;
    color: inherit;
    padding: 4px 10px;
    border-radius: 20px;
    margin-right: 5px;
}
.meta span {
    color: var(--color-bg-2);
    font-weight: 500;
}
.meta {
    font-size: small;
}
.genre-list ul {
    flex-wrap: wrap;
    display: flex;
    width: 100%;
    box-shadow: 0 0 3em rgb(0 0 0 / 85%);
    padding: 15px 20px;
    border-radius: 4px;
    text-align: center;
    margin: 20px 0;
    gap: 10px;
}
.genre-list a {
    text-transform: lowercase;
    padding: 5px 10px;
    display: block;
    background: var(--color-gray-light);
    border-radius: 3px;
    color: var(--color-bg-1);
    font-size: small;
}

h1.title {
    color: var(--color-bg-1);
}
.genre-list a:hover, .genre-list a.active {
    background: #ffd54d;
    color: var(--primary-color);
    font-weight: bold;
}

.pagination {
    display: flex;
    margin-top: 30px;
    justify-content: center;
}

.page-link {
    position: relative;
    display: block;
    padding: .5rem .8rem;
    margin-left: -1px;
    line-height: 1.25;
    color: var(--color-bg-1);
    background-color: var(--color-gray-light);
    border: 1px solid #252525
}

.page-link:hover {
    z-index: 2;
    color: #222;
    text-decoration: none;
    background-color: var(--color-bg-4);
    border-color: var(--color-bg-4);
}

.page-link:focus {
    z-index: 3;
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(254, 200, 72, .25)
}

.page-item:first-child .page-link {
    margin-left: 0;
    border-top-left-radius: .25rem;
    border-bottom-left-radius: .25rem
}

.page-item:last-child .page-link {
    border-top-right-radius: .25rem;
    border-bottom-right-radius: .25rem
}

.page-item.active .page-link {
    z-index: 3;
    color: #222;
    background-color: var(--color-bg-4);
    border-color: var(--color-bg-4);
}

.page-item.disabled .page-link {
    color: #d1d1d1;
    pointer-events: none;
    cursor: auto;
    background-color: #1e1e1e;
    border-color: #1e1e1e
}
.no-results {
    color: var(--color-bg-1);
    text-align: center;
    line-height: 1.5;
}



/*******************BEGIN MOBILE CSS ***************/
@media only screen and (max-width: 1400px) {
    #menu li {
        margin-right: 20px;
    }

    #menu a {
        font-size: small;
    }

    .logo {
        margin-right: 20px;
    }

    #search .search-input {
        max-width: 200px;
    }
}
@media only screen and (max-width: 1200px) {
    .main .item {
        width: calc(100%/4 - 6px);
    }

    .logo img {
        width: 150px;
        height: auto;
    }

    #menu a i {
        display: none;
    }

    #menu a {
        font-size: smaller;
        font-weight: 500;
    }

    #menu li {
        margin-right: 20px;
    }
    .main .item img {
        height: auto;
    }
}
@media only screen and (max-width: 1000px) {
    .main .item {
        width: calc(100%/3 - 6px);
    }
    div#search-suggest {
        width: 100%;
    }
    #search.show-menu {
        position: absolute;
        width: calc(100% - 65px);
        left: 0;
        background: #0d1126;
        height: 59px;
        display: flex;
        justify-content: flex-end;
        padding-left: 8px;
    }

    #search .search-input {
        width: calc(100% - 40px);
        max-width: 100%;
    }

    #search form {
        width: 100%;
        padding: 10p;
    }

    #search, #menu,#search-toggler.show-close .fa-search {
        display: none;
    }
    #search-toggler.show-close .fa-times{
        display: block;
    }
    #search-toggler, #menu-toggler {
        display: flex;
        font-size: x-large;
        align-items: center;
        padding: 0 20px;
    }

    .logo {
        margin: 8px;
    }

    #search-toggler {
        height: 100%;
    }

    .logo img {
        height: 38px;
        width: auto;
    }

    #menu {
        position: absolute;
        top: 59px;
        left: 0;
        background: var(--primary-color);
        width: 100%;
        z-index: 12;
    }

    #menu ul {
        flex-wrap: wrap;
        flex-direction: column;
    }

    #menu a {
        margin: 12px;
    }
    #menu a i {
        display: block;
    }
    #menu li {
        margin: 0;
        width: 100%;
        border-bottom: solid 1px var(--color-bg-2);
    }
    

}

@media only screen and (max-width: 767px) {

    section#w-info {
        margin-top: 20px;
        flex-direction: column;
        align-items: center;
    }
    .aside-wrapper {
        padding: 0 1em;
        display: block;
    }

    .main {
        width: 100%;
    }

    .sidebar {
        width: 100%;
        position: initial;
    }

    .main .item {
        width: calc(100%/2 - 0.5em);
    }

    .main .items {
        gap: 1em;
    }
}