.reading .reading-control .chapter-nav.scroll-to-fixed-fixed.scroll-up {
    visibility: visible !important;
    top: unset !important;
    bottom: 0px !important;
}

reading .reading-control .chapter-nav.scroll-to-fixed-fixed {
    background-color: rgba(255, 255, 255, 0.8);
}

.text-danger {
    color: red !important;
}

.text-success {
    color: #23a903 !important;
}

#comment_email,
.sort-comments {
    display: none;
}

/* Modal Content/Box */

.modal .modal-content {
    background-color: #fefefe;
    margin: 12% auto;
    /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    /* Could be more or less, depending on screen size */
}

/* The Close Button */

.modal .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.modal .close:hover,
.modal .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.dark .chapter a {
    color: #fff;
}

.dark .modal-content {
    background-color: #423e3e;
}

.h-auto,
.h-auto * {
    height: auto;
}

.h-auto {
    text-align: center;
}

.my-banner {
    text-align: center;
}

.my-banner * {
    max-width: 100%;
}

video {
    max-width: 100%;
}

.banner-ads {
    display: flex;
    flex-direction: column;
}

.banner-desktop.container img,
.banner-desktop-go88.container img,
.banner-desktop-yo88.container img,
.banner-desktop-gem.container img,
.banner-desktop-789.container img {
    width: 100%;
    aspect-ratio: 728 / 90;
}

.banner-desktop.container,
.banner-desktop-go88.container,
.banner-desktop-yo88.container,
.banner-desktop-gem.container,
.banner-desktop-789.container {
    max-width: 1030px
}

.textlink_home ul li a {
    border: solid 1px #f2f2f2;
    padding: 5px;
    white-space: nowrap;
    border-radius: 4px;
    color: #f2f2f2;
}

.textlink_home ul li {
    border-color: #f2f2f2;
    color: #f2f2f2;
}

.dark .textlink_home ul li {
    border-color: #303030;
    color: #303030;
}

.dark .textlink_home ul li a {
    border-color: #303030;
    color: #303030;
}

.textlink_home ul li {
    margin: 0;
    margin-right: 5px;
    line-height: 38px;
    list-style: none;
    display: inline-block;
}

.textlink_home ul {
    margin: 0;
    padding: 0;
}

.footer .link-footer ul li a,
.footer .link-footer ul li a:hover {
    color: #303030;
    border-color: #303030;
}

.footer .link-footer ul li {
    color: #303030;
    border-color: #303030;
}

#divcaptcha {
    width: 35%;
    display: inline-block;
    margin-right: 5px;
    margin-top: 5px;
    font-size: 18px;
    border-radius: 5px;
    border: 1px solid gainsboro;
    float: left;
    line-height: 30px;
    text-align: center;
    font-family: arial;
    color: #5fa6de;
    ;
    font-weight: bold;
}

.comment-info .regenerateCaptchaBtn {
    float: left;
    width: 32px;
    line-height: 30px;
    margin-top: 5px;
    border-radius: unset;
    background-color: #337ab7;
    border: none;
    color: white;
    text-decoration: none;
    cursor: pointer;
    border-radius: 5px;
    line-height: 32px;
    height: 32px;
}

#cpatchaTextBox {
    width: 35%;
    display: inline-block;
    margin-right: 5px;
    margin-top: 5px;
    font-size: 16px;
    margin-left: 5px;
    line-height: 29px;
    border-radius: 5px;
    border: 1px solid gainsboro;
}

.comment-wrapper .comment-info button {
    border-radius: 5px;
    line-height: 18px;
}

.cpatcha-warning {
    border-color: red !important;
}

.join-comment {
    border-top: 2px solid #721799 !important;
    color: #555;
    background-color: #fff;
    border: 1px solid #ddd;
    border-bottom-color: transparent;
    cursor: default;
    margin-right: 2px;
    line-height: 1.42857143;
    padding: 10px 15px;
    display: block;
    position: relative;
    text-decoration: none;
    cursor: pointer;
    margin-top: 10px;
    text-decoration: none !important;
}

.follow-link_a {
    white-space: nowrap;
    color: #d9534f;
    float: right;
}

.follow-url[style*="pointer-events: none"] {
    opacity: 0.5;
    cursor: not-allowed;
}

.darkBox ul li .point-total {
    font-size: 11px;
    border: 1px solid red;
    text-align: center;
    white-space: nowrap;
    display: inline-block;
    border-radius: 3px;
    padding: 1px 4px;
}

.avatar-wrap {
    height: auto !important;
    position: relative;
}

.avatar-wrap .point-total {
    display: block;
    white-space: nowrap;
    font-size: 10px;
    /* font-weight: 700; */
    text-align: center;
    border: 1px solid red;
}

.account-info .info-detail .forminput .avatar {
    width: 80px;
}

.text_link_iwin_club a {
    color: black;
}

.text_link_iwin_club a:hover {
    text-decoration: none;
}

.popup_report {
    display: none;
    position: absolute;
    top: -103px;
    right: 0;
    z-index: 1000;
}

.popup_report #popup_content:after {
    content: '';
    background-color: #000;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: .5;
}

.popup_report .popup_center_important {
    left: 50% !important;
    top: 50% !important;
    position: fixed !important;
    transform: translate(-50%, -50%) !important;
}

.popup_report .popup_content {
    width: 430px;
    padding: 15px 20px;
    left: 50%;
    top: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding-bottom: 25px;
}

.popup_report .popup_content h2 {
    font-size: 20px;
    text-align: center;
    margin: 10px 0 20px;
    font-weight: 600;
    text-transform: uppercase;
}

.popup_report ul {
    list-style: outside none none;
    padding: 0;
}

.popup_report .popup_content ul li {
    margin-bottom: 15px;
    position: relative;
}

.popup_report .popup_content ul li p {
    font-size: 14px;
    font-weight: 500;
    line-height: 30px;
}

.popup_report .popup_content ul li select {
    margin: 0;
    border: 1px solid #ccc;
    width: 100%;
    height: 49px;
    border-radius: 5px;
    padding: 0 15px;
    font-size: 15px;
    color: #354052;
    cursor: pointer;
}

.popup_report .popup_content ul li select:focus-visible {
    outline: none;
}

.popup_report .popup_content ul li p span.note {
    color: red;
}

.popup_report .popup_content ul li p span.empty_error {
    color: red;
    display: none;
}

.popup_report .popup_content ul li textarea {
    margin: 0;
    border: 1px solid #ccc;
    width: 100% !important;
    height: 49px;
    border-radius: 5px;
    padding: 5px 15px;
    font-size: 15px;
    color: #354052;
}

.popup_report .yes_no .no {
    background-color: #3f94d5;
}

.popup_report .yes_no button {
    padding: 0 10px;
    border: none;
    border-radius: 5px;
    line-height: 35px;
    color: #fff;
    font-size: 13px;
    min-width: 50px;
    cursor: pointer;
    margin-left: 5px;
    background-color: #f18121;
    font-weight: 600;
}

.popup_report .yes_no {
    float: right;
}

.popup_report textarea:focus,
button:focus {
    outline: none;
}

.report_success,
.report_fail {
    text-align: center;
    display: none;
}

.container_btn_ok {
    display: flex;
    justify-content: center;
    display: none;
}

.btn_ok {
    width: 100%;
    color: white;
    background: #5cb85c;
    outline: none;
    border: 0;
}

@media (max-width: 575px) {
    .popup_report .popup_content {
        width: 280px;
    }
}

.banner-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 768px) {
    .banner-container {
        flex-direction: column;
    }
    /* Special class for adcash banner only */
    .layout-banner-adcash {
        width: 100%;
        height: auto;
    }
}

.banner-adu {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 250px;
    overflow: hidden;
    border: 1px solid rgb(194, 194, 194, 0.6);
}

.layout-stable-300x250 {
    min-width: 300px;
    min-height: 250px;
}

.layout-stable-300x100 {
    min-width: 300px;
    min-height: 100px;
}

.show-sps {
    margin-top: 25px;
    position: relative;
    height: fit-content;
    width: fit-content;
    margin-inline: auto;
}

a.show-sps {
    display: inline-block;
}

.show-sps::after {
    content: var(--ads-text-sps);
    position: absolute;
    left: 0;
    top: -25px;
    height: 25px;
    width: 100%;
    font-size: 12px;
    font-weight: 500;
    align-items: center;
    color: white;
    background-color: #5d5d5d;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Customize Notification Box */

.notify_block.desktop {
    display: block !important;
}

.notify_block.mobile {
    display: none !important;
}

@media screen and (max-width: 768px) {
    .notify_block.desktop {
        display: none !important;
    }
    .notify_block.mobile {
        display: block !important;
    }
}

/* Facebook Customize Frame Box */

.facebook-frame-container {
    overflow: hidden;
    max-width: 100%;
}

.facebook-frame-container iframe {
    max-width: 100%;
}

/* Box auth NetTruyen Web Team */

.author-container {
    max-width: 100%;
    background: #394467;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin-top: 20px;
}

.author-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.author-name {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    color: rgb(198, 198, 198);
}

.author-description {
    font-size: 16px;
    color: rgb(198, 198, 198);
    margin: 10px 0;
    text-align: justify;
}

.author-links a {
    display: inline-block;
    margin-right: 10px;
    text-decoration: none;
    color: while;
}

.author-links a:hover {
    text-decoration: underline;
}

@media screen and (max-width:768px) {
    .author-avatar {
        width: 120px;
        height: 120px;
    }
    .author-name {
        font-size: 16px;
    }
    .author-links img {
        width: 40px !important;
        height: 40px !important;
    }
    p.author-description {
        font-size: 14px;
    }
}

#back-to-top {
    z-index: 100001;
}

/* Bottom text toggle */

#ctl00_bottomText.bottom-text-collapsed {
    max-height: 360px;
    overflow: hidden;
    position: relative;
}

#ctl00_bottomText.bottom-text-collapsed::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 96px;
    background: linear-gradient(180deg, rgba(233, 233, 233, 0), rgba(233, 233, 233, 1));
    pointer-events: none;
}

.bottom-text-toggle-container {
    text-align: center;
    margin: 1rem 0;
}

.bottom-text-toggle {
    margin-top: 0.75rem;
    background: none;
    border: none;
    color: #0457d6;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    font-size: 16px;
}

.bottom-text-toggle:hover {
    text-decoration: underline;
}

.bottom-text-toggle:focus-visible {
    outline: 2px solid #0457d6;
    outline-offset: 2px;
}