@media (min-width: 1600px) {
    body.reading-page {
        padding-left: 232px;
    }
    .reading-page.full {
        padding-left: 80px;
    }
    .reading-header {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        width: 232px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transition: .2s;
        z-index: 10;
    }
    .reading-page.full .reading-header {
        width: 80px;
        animation-delay: 1s;
        justify-content: flex-end;
    }
    .reading-page.full .reading-header .top,
    .reading-page.full .reading-header .bottom>div {
        display: none;
    }
    .reading-header .optionManga .dropdown-menu {
        top: unset !important;
        left: 0 !important;
        bottom: 134% !important;
    }
    .r-comment .icon {
        font-size: 30px;
        background: transparent;
    }
}

@media (min-width: 1200px) {
    #header .form-search input {
        background: #1B2A38 !important;
        border-color: #1B2A38 !important;
        color: #fff !important;
    }
}

@media (max-width: 1599px) {
    body.sticky-header {
        padding-top: 64px;
    }
    body.reading-page.sticky-header {
        padding-top: 73px;
    }
    body.sticky-header .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 999;
    }
    .reading-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 32px;
        border-bottom: 1px solid #3D4A56;
        backdrop-filter: blur(4px);
        z-index: 1000;
        position: relative;
    }
    .reading-header .top {
        display: flex;
        align-items: center;
    }
    .reading-header .top hr {
        width: 1px;
        height: 38px;
        margin: 0 32px;
    }
    .reading-header #back-button {
        margin-right: 10px;
    }
    .r-name {
        max-width: 200px;
    }
    .manga-name {
        margin: 0;
    }
    .reading-header button.toggle-view {
        display: none;
    }
    .bottom {
        flex-direction: row;
        gap: 18px;
    }
    .bottom .r-save {
        order: -1;
    }
    .r-save .optionManga .dropdown-menu {
        top: 134% !important;
        left: 0 !important;
        width: 150px;
    }
    .bottom a .flex-grow-1 {
        display: none;
    }
    .tool-setting {
        top: 72px;
        left: 0;
    }
    .read_tool.show {
        border-bottom: 1px solid #3D4A56;
        backdrop-filter: blur(4px);
    }
    .tool-setting .container {
        max-width: 100%;
        padding: 0;
    }
    .r-navigation {
        display: flex;
        margin-left: 48px;
        gap: 16px;
    }
    .r-navigation .search-select {
        margin: 0;
    }
    #dd-chapters .dropdown-toggle {
        width: 278px;
    }
    #form-search-chap {
        margin: 0 16px;
        position: relative;
        opacity: 1;
        width: auto;
        padding: 0;
        pointer-events: all;
    }
    #form-search-chap input {
        border-radius: 8px;
    }
    .style-horizontal {
        height: calc(100vh - 73px);
    }
    #dd-chapters .dropdown {
        position: static;
    }
    .dropdown-toggle ion-icon {
        font-size: 20px;
        vertical-align: middle;
        color: #697780;
    }
    #dd-chapters .list-chap {
        margin-top: 8px;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    }
    .search-select .dropdown-menu {
        top: 85% !important;
        border-radius: 0;
        background: #101820;
    }
    .type-select .dropdown-menu {
        border-radius: 8px;
        top: 105% !important;
    }
}

@media (max-width: 1400px) {
    .main-header {
        gap: 20px;
    }
    .main-menu {
        gap: 0;
    }
    .main-menu>li>a {
        min-width: unset;
        padding: 20px;
    }
    .main-menu>li>a:hover,
    .main-menu>li>a:focus,
    .main-menu>li.active>a {
        color: #fff;
    }
    #top-follow .nav-tabs .nav-link {
        padding-left: 0;
        padding-right: 0;
    }
    .status ul {
        display: flex;
    }
    #top-follow {
        padding-left: 0;
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }
    .container-sm {
        padding-right: 20px;
        padding-left: 20px;
        max-width: 100%;
    }
    .homepage .header {
        margin: 0;
    }
    .main-header {
        padding: 8px 0;
        gap: 16px;
    }
    .login-link a.btn {
        padding: 0;
        gap: 0;
        background: transparent;
        border: 0;
    }
    .login-link a.btn span {
        display: none;
    }
    .btn ion-icon {
        font-size: 32px;
    }
    #manga-slider {
        padding-left: 0;
        padding-right: 0;
    }
    .bg-topmain {
        padding-top: 0;
    }
    .sl-wrapper {
        border-radius: 0;
    }
    .sl-content {
        height: 400px;
    }
    .sl-info {
        left: 30px;
    }
    .sl-info h3 {
        font-size: 30px;
        line-height: 1.3;
    }
    .sl-bottom {
        margin-top: 15px;
        gap: 16px;
    }
    .sl-bottom a {
        min-width: unset;
        line-height: 36px;
        padding: 0 12px;
    }
    .nav-account {
        padding: 0;
        gap: 20px;
    }
    .nav-account .notifications {
        color: #fff;
        font-size: 32px;
        margin: 0;
    }
    .header .dropdown-menu {
        right: 0 !important;
        left: auto !important;
        top: 105% !important;
        border-radius: 8px;
    }
    .header .dropdown-menu::after,
    .header .dropdown-menu::before {
        display: none;
    }
    .header .form-search {
        position: absolute;
        width: 100%;
        padding: 0 16px;
        background-color: #101820;
        left: 0;
        top: 0;
        opacity: 0;
        pointer-events: none;
    }
    .i-filter {
        top: 37%;
        right: 24px;
    }
    .header .form-search.active-mobile {
        top: 99%;
        opacity: 1;
        pointer-events: all;
    }
    .header .form-search input {
        width: 100%;
        margin-bottom: 16px;
    }
    .header .form-search input:focus {
        background-color: #1B2A38;
        border-color: #1B2A38;
        outline: 0;
    }
    .header #form-search>ion-icon {
        left: 30px;
        top: 38%;
    }
    .reading-header .top {
        gap: 16px;
    }
    .reading-header .top hr {
        display: none;
    }
    .r-navigation {
        margin: 0;
    }
    .breadcrumb {
        margin: 25px 0;
    }
    #footer {
        padding: 32px 16px;
        color: #fff;
    }
    .f-left,
    .social-link a,
    .f-menu a {
        color: #fff;
    }
    .f-menu a:hover,
    .f-menu li.active a {
        color: #fff;
        text-decoration: underline;
    }
    #dd-chapters .dropdown-toggle {
        width: 200px;
    }
    .list-vol {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
    .genre-content {
        margin-bottom: 16px;
    }
    .nabu-fill {
        position: static;
        transform: none;
    }
    .list-cats {
        -webkit-line-clamp: 1;
    }
    .sort-comments .btn ion-icon {
        font-size: 20px;
    }
    .main-info {
        padding: 30px 20px;
    }
    .col-image {
        margin-right: 15px;
    }
}

@media (max-width: 991px) {
    .sl-info {
        width: 450px;
    }
    .sl-wrapper .m-img {
        right: 40px;
        width: 270px;
    }
    .p-thumb img {
        max-width: 150px;
        height: auto !important;
    }
    #manga-comment {
        padding-top: 0;
    }
    #footer {
        text-align: center;
    }
    .f-left {
        flex-direction: column-reverse;
        margin-top: 8px;
        margin-bottom: 30px;
        gap: 30px;
    }
    .f-menu li {
        display: inline-block;
    }
    .f-menu li:nth-child(4) {
        grid-column-start: 1;
        grid-column-end: 3;
        order: 2;
    }
    .main-info {
        padding: 30px;
    }
    .col-image {
        margin: 0 0 24px;
        text-align: center;
    }
    .title-detail {
        text-align: center;
        font-size: 20px;
        line-height: 28px;
    }
    .read-action {
        justify-content: center;
    }
    .right-info {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .main-images .sc-btn {
        border: 0;
        position: relative;
        transform: none;
        max-width: 100%;
        text-align: center;
        padding: 0;
    }
    .reading-page .rating {
        margin-top: 30px;
    }
    .style-horizontal .main-images .loaded {
        width: 100%;
    }
    .list-manga,
    #search-result .list-manga {
        grid-template-columns: 1fr 1fr;
    }
    .style-horizontal .main-images .loaded img {
        position: relative;
    }
    .navi-chap.bottom {
        position: fixed;
        bottom: -100%;
        width: 100%;
        left: 0;
        border-radius: 0;
        margin: 0;
        transition: .2s;
    }
    body.sticky-header .navi-chap.bottom {
        bottom: 0;
    }
    .navi-chap.bottom button {
        padding: 10px 20px;
    }
}

@media (max-width: 767px) {
    #main-content section {
        padding-bottom: 25px;
    }
    .sl-content {
        height: 200px;
    }
    .sl-info {
        left: 16px;
        max-width: 100%;
    }
    .i-thumb,
    #manga-trend .m-name {
        margin: 0 0 4px;
    }
    .title,
    .m-title,
    .other-genres h4 {
        margin-bottom: 16px;
        font-size: 16px;
        line-height: 20px;
    }
    .swiper-button-prev,
    .swiper-button-next {
        top: -25px;
    }
    .main-info {
        padding: 0;
        background: transparent !important;
    }
    .right-info {
        display: block;
    }
    .detail-toggle,
    .right-info .list-info {
        margin-top: 16px;
    }
    .read-action .manga-save {
        background: #1B2A38;
    }
    .rating {
        margin: 28px auto 0;
        padding: 16px;
        background: #1B2A38;
        border: 0;
        border-bottom: 2px solid #20BB5B;
    }
    .main-info:not(.show) .col-main-info .m-cats,
    .main-info:not(.show) .col-main-info .sort-des,
    .main-info:not(.show) .right-info .list-info {
        display: none;
    }
    .nav-tabs .nav-link {
        font-size: 14px;
        text-transform: initial;
        padding: 15px;
    }
    .reading-header {
        padding: 16px;
    }
    .nabu-page {
        font-size: 16px;
    }
    .main-images {
        margin-left: -16px !important;
        margin-right: -16px !important;
    }
    .bottom .r-save {
        display: none;
    }
    .search-list {
        padding-top: 0;
    }
    .search-select {
        grid-template-columns: 1fr;
    }
    .search-list button {
        width: 100%;
        justify-content: center;
    }
    #search-result .top-result {
        margin: 0;
    }
    #search-result .title {
        display: flex;
        gap: 8px;
        align-items: center;
    }
    .num-result {
        font-size: 12px;
        font-weight: 500;
        padding: 6px 8px;
        border-radius: 40px;
        border: 1px solid #3D4A56;
        margin: 0;
    }
    .user-page {
        justify-content: space-between;
    }
    .list-chapters .nav-tabs {
        display: flex;
    }
    .lightmode .read-action .optionManga .manga-save {
        background: #eee;
    }
    .read_tool {
        display: block !important;
        padding: 16px;
    }
    .setting-select {
        flex-direction: column;
        gap: 16px;
    }
    .setting-select .dropdown {
        max-width: max-content;
    }
    .setting-select .dropdown-menu {
        border-radius: 8px;
        left: 100% !important;
        top: 100% !important;
    }
    .setting-select .dropdown-menu::before,
    .setting-select .dropdown-menu::after {
        display: none;
    }
    .alphabet-list a {
        width: 50px;
    }
    .list-manga {
        grid-template-columns: 1fr;
    }
    .top-list {
        gap: 12px;
    }
    .top-list>* {
        flex: 1;
        max-width: 50%;
    }
    #search-chapter input {
        width: auto;
    }
    .m-share {
        justify-content: center;
    }
    .read-action .optionManga .dropdown-menu {
        left: auto !important;
        right: 0 !important;
    }
    .style-horizontal .main-images .i-left::before,
    .style-horizontal .main-images .i-right::before {
        display: none;
    }
}

@media (max-width: 576px) {
    .sl-wrapper .m-img {
        right: -20%;
    }
    #menuAccount img {
        width: 30px;
    }
    .reading-page .options a {
        padding: 8px 5px;
    }
    .sl-des p {
        display: none;
    }
    .list-manga,
    #search-result .list-manga {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .comment-wrapper {
        margin: 0;
        padding: 10px 8px;
    }
    .cmt-profile {
        margin: 0;
    }
    .cmt-profile img {
        width: 40px;
        height: 40px;
        margin-right: 8px;
    }
    .comment-wrapper>div+div {
        margin-top: 8px;
    }
    #list-manga .m-title {
        margin-bottom: 24px;
        display: block;
    }
    #list-manga .m-sort {
        margin-top: 24px;
    }
    .SumoSelect {
        width: 100%;
    }
    .SumoSelect>.CaptionCont {
        background: #1B2A38;
        border-radius: 8px;
        padding: 14px 16px;
        color: #fff;
        font-weight: 400;
    }
    .navi-chap.bottom {
        gap: 10px;
    }
    .reading-page .rating {
        max-width: 100%;
    }
    #dd-chapters .dropdown-toggle {
        display: block;
        padding: 7px;
        width: 110px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: center;
    }
    .user-page {
        flex-direction: column;
    }
    .avatar-user {
        align-items: center;
        margin-bottom: 25px;
    }
    .avatar-user img {
        width: 120px;
    }
    .p-content .m-name a {
        font-size: 16px;
        line-height: 20px;
    }
    .list-chaps li:nth-child(3) {
        display: none;
    }
    .p-content .m-name,
    .p-content .list-cats {
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .modal-dialog {
        width: calc(100% - 24px);
        margin: auto 12px;
    }
    .SumoSelect.open>.optWrapper {
        top: 100% !important;
        width: 100%;
    }
    .SumoSelect>.optWrapper>.options {
        width: 100%;
    }
    .SumoSelect>.optWrapper>.options::before,
    .SumoSelect>.optWrapper>.options::after {
        display: none;
    }
    .reading-header .top,
    .r-navigation {
        gap: 8px;
    }
    .reading-header .top .logo img {
        width: 32px;
        height: 32px;
    }
    .r-navigation .search-select .SumoSelect>.CaptionCont>span {
        padding: 0;
    }
    .bottom {
        gap: 20px;
    }
    .bottom .icon {
        background-color: transparent;
        width: auto;
        font-size: 20px;
    }
    #dd-chapters .list-chap {
        grid-template-columns: 1fr 1fr;
    }
    .list-vol {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 500px) {
    .list-vol {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 400px) {
    .row>*,
    .container,
    .container-fluid,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        padding-left: 8px;
        padding-right: 8px;
    }
    .sl-info h3 {
        font-size: 18px;
    }
    .p-content {
        padding: 15px;
    }
    .rating {
        padding: 5px !important;
    }
    .vote-rate .options {
        gap: 8px;
    }
    .bottom {
        gap: 12px;
    }
    .options a {
        padding: 10px 5px;
    }
    .main-images {
        margin-left: -8px !important;
        margin-right: -8px !important;
    }
    .navi-chap.bottom button,
    .nabu-page {
        font-size: 14px;
    }
    .sl-wrapper .m-img {
        right: -30%;
    }
}

@media (max-width: 320px) {
    #dd-chapters .dropdown-toggle,
    .r-navigation .search-select .SumoSelect>.CaptionCont {
        padding: 7px;
    }
    .reading-header {
        padding: 16px 8px;
    }
    .p-thumb img {
        width: 80px;
    }
    #footer {
        padding: 20px 0;
    }
    .sl-bottom {
        flex-direction: column;
        gap: 8px;
    }
}