/* =========================================================
   KART DÜZENİ

   Masaüstü:
   Dizi / Film = 6 kart
   Bölümler = 5 kart

   Mobil:
   Dizi / Film = 3 kart
   Bölümler = 1 kart
   ========================================================= */


/* =========================================================
   ANA KART ALANLARI
   ========================================================= */

.diziler,
.films,
.episodes {
    display: flex !important;
    flex-wrap: wrap !important;

    width: 100% !important;

    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;

    box-sizing: border-box !important;
}


/* =========================================================
   DİZİ / FİLM
   MASAÜSTÜ = 6 KART
   ========================================================= */

.diziler .list-series,
.films .list-series {
    flex: 0 0 calc(100% / 6) !important;

    width: calc(100% / 6) !important;
    max-width: calc(100% / 6) !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 5px !important;

    box-sizing: border-box !important;
}


/* =========================================================
   SON EKLENEN BÖLÜMLER
   MASAÜSTÜ = 5 KART
   ========================================================= */

.episodes .list-series,
.episodes .list-episodes {
    flex: 0 0 calc(100% / 5) !important;

    width: calc(100% / 5) !important;
    max-width: calc(100% / 5) !important;
    min-width: 0 !important;

    margin: 0 !important;

    box-sizing: border-box !important;
}


/* Bölüm kutusu */
.episodes .episode-box {
    width: 100% !important;

    margin-bottom: 10px !important;

    box-sizing: border-box !important;
}


/* =========================================================
   KARTLAR
   ========================================================= */

.diziler .episode-box,
.films .episode-box {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    box-sizing: border-box !important;
}


/* Poster */
.diziler .poster,
.films .poster,
.episodes .poster {
    width: 100%;
    max-width: 100%;

    box-sizing: border-box;
    overflow: hidden;
}


/* Poster resimleri */
.diziler .poster img,
.films .poster img,
.episodes .poster img {
    display: block;

    width: 100%;
    max-width: 100%;

    height: auto;

    object-fit: cover;
}


/* =========================================================
   ANA ARKA PLAN
   ========================================================= */

html,
body {
    background: rgb(16, 20, 34) !important;
}

body {
    margin: 0;
}


/* =========================================================
   ANA WRAP
   ========================================================= */

#wrap {
    background: rgb(16, 20, 34) !important;
    min-height: 100vh;
}


/* =========================================================
   HEADER
   ========================================================= */

#header,
.topnav {
    background: rgb(20, 25, 42) !important;
}


/* =========================================================
   FOOTER
   ========================================================= */

#footer {
    background: linear-gradient(
        to right,
        rgb(20, 25, 42) 45%,
        rgb(11, 15, 28) 100%
    );
}


/* =========================================================
   MENÜ YAZILARI
   ========================================================= */

.topnav a,
#alphabetical-category .alphabetical-category-link,
form.example button,
form.example input[type="text"]::placeholder {
    color: rgb(225, 232, 245);
}


/* =========================================================
   GÖRÜNÜM
   ========================================================= */

#gorunum {
    background: rgb(25, 34, 58);
}


/* =========================================================
   BÖLÜM HOVER
   ========================================================= */

.bolumust:hover {
    background: rgba(35, 65, 110, 0.45) !important;
}


/* =========================================================
   GENEL YAZILAR
   ========================================================= */

.tumunugor a,
.dizimeta {
    color: rgb(220, 228, 242) !important;
}

.tarih {
    color: rgb(175, 187, 208) !important;
}


/* =========================================================
   TÜRLER
   ========================================================= */

.genres {
    background: rgba(30, 45, 75, 0.55);
}

.genres:hover {
    background: rgb(34, 52, 88);
}


/* =========================================================
   AKTİF BUTON
   ========================================================= */

.btn.active {
    border-color: rgb(65, 130, 205);
}


/* =========================================================
   YORUM ALANLARI
   ========================================================= */

#respond,
.comment_send {
    background: rgba(24, 34, 58, 0.75);
    color: rgb(220, 228, 242);
}

#icerikcat {
    background: rgba(24, 34, 58, 0.70);
}

.comment_spoiler {
    background: rgba(18, 27, 48, 0.90);
    color: rgb(220, 228, 242);
}


/* =========================================================
   BUTONLAR
   ========================================================= */

.current_dil,
.ac-kapa,
.hatali,
.wl_add {
    background: rgba(30, 45, 75, 0.55);
}

.current_dil:hover,
.ac-kapa:hover,
.hatali:hover,
.wl_add:hover {
    background: rgb(35, 55, 92);
}


/* =========================================================
   İKİNCİL YAZILAR
   ========================================================= */

.lets_comment,
span.countcom,
.footerleft {
    color: rgb(135, 153, 185);
}


/* =========================================================
   LIKE / DISLIKE
   ========================================================= */

.pld-like-wrap,
.pld-dislike-wrap {
    background: rgb(24, 34, 58) !important;
}


/* =========================================================
   EPISODE HOVER
   ========================================================= */

.otherepisodes:hover,
#benzerli:hover {
    background: rgba(35, 65, 110, 0.40) !important;
}


/* =========================================================
   SCROLLBAR
   ========================================================= */

.ps-container > .ps-scrollbar-y-rail > .ps-scrollbar-y {
    background: rgb(55, 115, 180);
}


/* =========================================================
   SAYFALAMA
   ========================================================= */

a.page-numbers,
span.page-numbers {
    background: rgb(16, 20, 34);
}

span.page-numbers.current {
    background: rgb(38, 72, 120) !important;
}

.sayfalama > strong {
    background: rgb(38, 72, 120) !important;
}

.sayfalama > a {
    background: rgb(16, 20, 34) !important;
}


/* =========================================================
   GENEL BUTON YAZILARI
   ========================================================= */

.go,
.otherepisodes.current .wl_add,
.small-button {
    color: rgb(225, 232, 245) !important;
}

.otherepisodes.current,
.cat-title a {
    color: rgb(220, 228, 242);
}


/* =========================================================
   FILTER
   ========================================================= */

select.nameclass,
#filterseries input,
#category-button input:checked + span {
    background: rgb(24, 34, 58);
}


/* =========================================================
   BİLGİ ALANLARI
   ========================================================= */

#genel,
#bolumbilgi,
#alt {
    background: rgba(21, 31, 54, 0.88) !important;
}


/* =========================================================
   LAZY LOAD
   ========================================================= */

.lazy {
    background: rgb(16, 20, 34);
}


/* =========================================================
   NEXT / PREV
   ========================================================= */

.next-prev a {
    background: rgba(30, 45, 75, 0.40);
}


/* =========================================================
   KATEGORİ
   ========================================================= */

#category-button label span,
span.totalseries {
    color: rgb(145, 166, 200);
}


/* =========================================================
   BÖLÜM İSMİ
   ========================================================= */

.bolum-ismi,
.container .bolum-ismi {
    color: rgb(180, 197, 220);
}


/* =========================================================
   LİSTE BAŞLIĞI
   ========================================================= */

.listhead,
#datafetch {
    background: rgb(25, 34, 58);
}


/* =========================================================
   MAVİ VURGU
   ========================================================= */

.bd-purple {
    border-color: rgb(55, 130, 210) !important;
}


/* =========================================================
   TABLET + MOBİL
   ========================================================= */

@media screen and (max-width: 768px) {

    /* Dizi / Film = 3 kart */
    .diziler .list-series,
    .films .list-series {
        flex: 0 0 calc(100% / 3) !important;

        width: calc(100% / 3) !important;
        max-width: calc(100% / 3) !important;

        min-width: 0 !important;

        padding: 4px !important;
    }


    /* Son Eklenen Bölümler = 1 kart */
    .episodes .list-series,
    .episodes .list-episodes {
        flex: 0 0 100% !important;

        width: 100% !important;
        max-width: 100% !important;

        min-width: 0 !important;

        margin: 0 !important;
    }


    .episodes .episode-box {
        width: 100% !important;

        margin-bottom: 12px !important;

        box-sizing: border-box !important;
    }
}


/* =========================================================
   KÜÇÜK TELEFON
   DİZİ / FİLM YİNE 3 KART
   ========================================================= */

@media screen and (max-width: 480px) {

    .diziler .list-series,
    .films .list-series {
        flex: 0 0 calc(100% / 3) !important;

        width: calc(100% / 3) !important;
        max-width: calc(100% / 3) !important;

        padding: 3px !important;
    }
}