﻿
.list-chapter .table-list-chapter thead tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.list-chapter .table-list-chapter tbody {
    display: block;
    background-color: white;
    max-height: 200px;
    overflow-y: auto;
}

.link-the-loai a {
    text-decoration : none;
}
.list-chapter .table-list-chapter tbody tr th a:hover {
     color: #e3470c;
}
.custom-scroll::-webkit-scrollbar {
    width: 5px;
    /* Chiều rộng của thanh cuộn */
}
.custom-scroll::-webkit-scrollbar-thumb {
    background-color: #9e9e9e;
    /* Màu sắc của phần thumb */
    border-radius: 8px;
    /* Độ cong của góc */
    border: 0px;
    /* Biên của phần thumb */
}
.custom-scroll::-webkit-scrollbar-track {
    background-color: transparent;
    /* Màu nền của thanh cuộn */
}

.scrollable::-webkit-scrollbar {
    width: 5px;
    /* Chiều rộng của thanh cuộn */
}

.scrollable::-webkit-scrollbar-thumb {
    background-color: #9e9e9e;
    /* Màu sắc của phần thumb */
    border-radius: 8px;
    /* Độ cong của góc */
    border: 0px;
    /* Biên của phần thumb */
}

.scrollable::-webkit-scrollbar-track {
    background-color: transparent;
    /* Màu nền của thanh cuộn */
}

.detail-content {
    background-color: white;
}


.table-comic {
    --bs-table-bg: transparent;
}

    .table-comic th {
        text-wrap: nowrap;
        font-weight: 600;
    }

.text-new-update {
    text-align: center;
    text-transform: uppercase;
    padding: 10px;
}

.list-unstyled {
    overflow: auto;
    height: 400px;
    border-top: 3px solid #e3470c;
}

    .list-unstyled li {
        list-style: none;
        margin: 0;
        padding: 10px 0;
    }

        .list-unstyled li .thumb {
            overflow: hidden;
            width: 70px;
            height: 60px;
            float: left;
            margin-right: 10px;
            position: relative;
        }

            .list-unstyled li .thumb .lazy {
                width: 100%;
            }

            .list-unstyled li .thumb .center {
                position: absolute;
                left: 50%;
                top: 50%;
                transform: translate(-50%, -50%);
            }

        .list-unstyled li .title {
            font-size: 14px;
            font-weight: 400;
            margin: 0;
            margin-bottom: 5px;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }

                .list-unstyled li .title a:hover {
                    color: #e3470c;
                }

@media (max-width: 991.98px) {
    .manga-pos {
        flex-direction: column;
    }

        .manga-pos div {
            width: 100% !important;
        }

        .manga-pos .manga-name {
            text-align: center;
            margin-top: 10px;
        }
}

.list-chapter .table-list-chapter thead tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}

    .list-chapter .table-list-chapter thead tr th {
        font-weight: 500;
        text-align: center;
    }

        .list-chapter .table-list-chapter thead tr th:first-child {
            text-align: start;
            padding-left: 1rem;
        }

.list-chapter .table-list-chapter tbody {
    display: block;
    background-color: white;
    max-height: 200px;
    overflow-y: auto;
}

    .list-chapter .table-list-chapter tbody tr {
        display: table;
        width: 100%;
        table-layout: fixed;
    }

        .list-chapter .table-list-chapter tbody tr td {
            text-align: center;
        }

            .list-chapter .table-list-chapter tbody tr th:first-child {
                padding-left: 1rem;
            }

            .list-chapter .table-list-chapter tbody tr th a {
                text-decoration: none;
                color: black;
            }

                .list-chapter .table-list-chapter tbody tr th a:hover {
                    color: #e3470c;
                }

.detail-content {
    background-color: white;
}

    .detail-content a {
        color: #e3470c;
        text-decoration: none;
    }

.table-comic {
    --bs-table-bg: transparent;
}

    .table-comic th {
        text-wrap: nowrap;
        font-weight: 600;
    }

.text-new-update {
    text-align: center;
    text-transform: uppercase;
    padding: 10px;
}

.list-unstyled {
    overflow: auto;
    height: 400px;
    border-top: 3px solid #e3470c;
}

    .list-unstyled li {
        list-style: none;
        margin: 0;
        padding: 10px 0;
    }

        .list-unstyled li .thumb {
            overflow: hidden;
            width: 70px;
            height: 60px;
            float: left;
            margin-right: 10px;
            position: relative;
        }

            .list-unstyled li .thumb .lazy {
                width: 100%;
            }

            .list-unstyled li .thumb .center {
                position: absolute;
                left: 50%;
                top: 50%;
                transform: translate(-50%, -50%);
            }

        .list-unstyled li .title {
            font-size: 14px;
            font-weight: 400;
            margin: 0;
            margin-bottom: 5px;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }

            .list-unstyled li .title a {
                text-decoration: none;
                color: black;
            }

                .list-unstyled li .title a:hover {
                    color: #e3470c;
                }
.info-comic {
    display : flex;
}

@media (max-width: 991.98px) {
    .manga-pos {
        flex-direction: column;
    }

        .manga-pos div {
            width: 100% !important;
        }

        .manga-pos .manga-name {
            text-align: center;
            margin-top: 10px;
        }
}

.chapter-nav a {
    margin: 0px 5px;
}

.chapter-nav .prev {
    background-image: linear-gradient(to right, #006bc2af, #006bc26c);
    padding: 1px 5px;
    border-radius: 3px 0px 0px 3px;
}

.chapter-nav .next {
    background-image: linear-gradient(to right, #006bc2af, #006bc26c);
    padding: 1px 5px;
    border-radius: 0px 3px 3px 0px;
}

.reading-detail {
    overflow: initial;
    padding: 0;
    text-align: justify;
    border-radius: 5px;
    text-align: center;
}

    .reading-detail img {
        min-height: 35px;
        color: #fff;
        border-color: #000;
        border-image: initial;
        border-style: none;
        border-width: medium;
        height: auto;
        margin-bottom: 0;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
        width: auto;
        z-index: 999;
        position: relative;
    }
 .items .item-mg figcaption h3 {
    font-size: 16px;
    margin-left: 5px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
 .shortened {
            overflow: hidden; /* Ẩn phần dư thừa của nội dung */
        }

 .chapter-bottom-nav a {
    margin: 0px 5px;
}

.chapter-bottom-nav .prev {
    background-image: linear-gradient(to right, #006bc2af, #006bc26c);
    padding: 6px 12px;
    border-radius: 4px;
}

.chapter-bottom-nav .next {
    background-image: linear-gradient(to right, #006bc2af, #006bc26c);
    padding: 6px 12px;
    border-radius: 4px;
}

.fixed-nav {
    position: fixed !important;
    top: 0px !important;
    left: 0px;
    right: 0px;
    width: 100%;
    background-color: #fff; /* Thay màu nền tùy ý */
    z-index: 1000 !important; /* Đảm bảo hiển thị phía trên các phần khác trên trang */
    padding: 10px; /* Thêm padding nếu cần */
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* Thêm shadow cho phần điều hướng */
}

.fixed-nav {
    transition: top .2s ease-in-out;
    -webkit-transition: top .2s ease-in-out;
    -moz-transition: top .2s ease-in-out;
    -o-transition: top .2s ease-in-out;
}