@media (min-width: 768px) {
    .row.new_ver .col-sm-6 {
        width: 50%;
    }

    .row.new_ver .col-sm-4 {
        width: 33.33333333%;
    }

    .show_mobile{
        display: none;
    }

    .menuStick .col_nav_cat.stick_hover .hover_banner_menu,
    .no_banner .col_nav_cat.stick_hover .hover_banner_menu{
        top: 100%;
        visibility: visible;
        opacity: 1;
    }
}

@media (min-width: 992px) {
    .row.new_ver .col-md-9 {
        width: 75%;
    }

    .row.new_ver .col-md-4 {
        width: 33.33333333%;
    }

    .row.new_ver .col-md-3 {
        width: 25%;
    }

    #home-slide .item a {
        height: 350px;
    }
}

@media (min-width: 1200px) {
    .row.new_ver .col-lg-20 {
        width: 20%;
    }

    .row.new_ver .col-lg-3 {
        width: 25%;
    }

    .row.new_ver .col-lg-2 {
        width: 16.66666667%;
    }
}

@media (max-width: 1199px) {
    .col_account .nav-account .nav-login-text strong {
        display: none;
    }

    .col_account {
        width: 34px;
        padding: 0 !important;
    }

    .col_logo {
        width: 230px;
    }

    .col_app {
        width: 245px;
    }

    .col_cart {
        width: 61px;
    }

    .col_notify {
        width: 60px;
    }

    .col_search {
        width: calc(100% - 385px);
    }

    .col_account .nav-account .nav-login-text span{
        display: none;
    }

    .col_account .nav-account .nav-login-text i {
        margin: 0;
    }
    .sort_list a {
        padding: 8px;
    }

    .sort_list a {
        font-size: 13px;
    }
}

@media (max-width: 1023px) {
    .cp_search {
        width: 225px;
        font-size: 13px;
    }

    .sort_list {
        width: calc(100% - 225px);
    }
}

@media (max-width: 991px) {
    .col_banner_menu {
        display: none;
    }

    .col_banner_slider {
        width: 100%;
    }

    .col_nav_cat .title {
        font-size: 14px;
    }

    .col_nav_cat .title i {
        font-size: 18px;
        margin-right: 5px;
        transform: translateY(1px);
    }

    .col_nav_cat {
        width: 180px;
    }

    .col_nav_menu {
        width: calc(100% - 180px);
    }

    .header_sub_banner {
        padding-right: 0 !important;
    }

    .hover_banner_menu .col_banner_menu {
        display: block;
        padding: 0 !important;
    }

    .hover_banner_menu {
        width: 200px;
    }

    .show_menu_cate .hover_banner_menu {
        visibility: visible;
        opacity: 1;
        top: 100%;
    }

    .megamenu_sub_wrap {
        display: none;
    }

    #header {
        height: auto !important;
    }

    .nav-account-pop {
        right: -110px;
    }

    .sort_wrap {
        flex-wrap: wrap;
    }

    .sort_list {
        width: 100%;
        order: 2;
    }

    .cp_search {
        width: 100%;
        order: 1;
    }

    .docx-wrapper>section.docx {
        width: 100% !important;
        min-height: auto !important;
    }
}

@media (max-width: 830px) {
    .col_app {
        display: none;
    }
}

@media (max-width: 767px) {
    #search {
        display: none;
        position: fixed;
        top: 50px;
        left: 10px;
        right: 10px;
        z-index: 999;
    }

    .show_mobile_search #search {
        display: block;
    }

    .show_mobile_search .search_mobile i:before {
        content: "\f00d";
    }

    .show_mobile_search .search_mobile i {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 999;
        background: transparent;
        color: #fff;
        font-size: 22px;
    }

    .show_mobile_search .overlay{
        display: block;
    }

    .search_mobile {
        text-align: right;
    }

    .search_mobile i {
        width: 34px;
        height: 34px;
        background: #f2f2f2;
        border-radius: 50%;
        text-align: center;
        line-height: 34px;
        font-size: 19px;
        color: #8c8c8c;
        cursor: pointer;
    }

    .col_nav_cat .title {
        width: 40px;
        overflow: hidden;
    }

    .col_nav_cat .title i {
        font-size: 23px;
        margin: 0;
        transform: translateY(3px);
    }

    .col_nav_cat {
        width: 50px;
    }

    .col_nav_menu {
        width: calc(100% - 50px);
    }

    .sub_banner {
        max-width: 100%;
        display: flex;
        flex-wrap: wrap;
    }

    .sub_banner .item {
        width: 33.33%;
    }

    .sub_banner .item a {
        height: auto;
    }

    .sub_banner .item a img {
        position: initial;
        height: auto !important;
    }

    #home-slide .item {
        width: 100%;
    }

    .cp_category_wrap {
        width: 100%;
        margin-bottom: 10px;
    }

    .cp_entry_wrap {
        width: 100%;
    }

    .search_result .total {
        width: 100%;
        margin-bottom: 10px;
    }

    .search_result {
        justify-content: end;
    }

    .filter_body .widget_title .action {
        max-width: 150px;
    }

    .docx-wrapper>section.docx {
        padding: 20px !important;
    }
}

@media (max-width: 479px) {
    .header_menu .menu > li > a {
        font-size: 13px;
        text-transform: none;
    }

    .header_menu .menu > li {
        padding: 0 5px;
    }

    .cpa_grid .title h3 {
        font-size: 13px;
    }

    .cp_banner {
        padding-left: 15px;
        padding-right: 15px;
    }

    .cp_logo .thumb {
        width: 60px;
        height: 60px;
    }

    .cp_logo .cp_name {
        width: calc(100% - 60px);
        padding-left: 10px;
        font-size: 15px;
    }
    .header_top .logo span {
        display: none;
    }

    .header_top .col_logo {
        width: 76px;
    }

    .header_top .logo p {
        margin: 0;
    }

    .col_search {
        width: calc(100% - 235px);
    }

    table#cart-table {
        display: block !important;
        padding: 10px;
    }

    table#cart-table tr {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }

    table#cart-table tr td {
        display: inline-block;
    }

    table#cart-table tr.cpc-head td {
        display: none;
    }

    table#cart-table tr.cpc-head td.book {
        display: block;
        width: 100%;
    }

    table#cart-table>tbody>tr>td,
    table#cart-table>tbody>tr>th,
    table#cart-table>tfoot>tr>td,
    table#cart-table>tfoot>tr>th,
    table#cart-table>thead>tr>td,
    table#cart-table>thead>tr>th {
        white-space: normal;
        padding: 5px;
    }

    table#cart-table tr.cp-hb td {
        width: 100%;
    }

    table#cart-table tr td.book {
        width: calc(100% - 110px);
    }

    table#cart-table tr td.check-cell {
        width: 25px;
    }

    table#cart-table tr td.check-cell + td.book {
        width: 85px;
    }

    table#cart-table tr td:nth-child(7) {
        width: 25px;
    }

    table#cart-table tr td:nth-child(5) {
        width: 109px;
    }

    table#cart-table tr td:nth-child(4), table#cart-table tr td:nth-child(6) {
        width: calc(50% - 67px);
    }

    table.table_main tbody tr:nth-child(2n) {
        background: #f1f1f1 !important;
    }

    table#cart-table tr td .price {
        display: inline-block;
        width: auto;
    }

    .html_convert {
        padding: 30px 0;
    }

    .html_convert .head table p {
        padding: 0 !important;
        font-size: 13px;
    }

    .html_convert .head table tr + tr td p {
        font-size: 11px !important;
    }

    .html_convert .foot {
        width: 100%;
    }

    .docx-wrapper {
        padding: 0 !important;
        background: var(--main_color_bg) !important;
        margin: -10px;
    }

    .docx-wrapper>section.docx {
        margin-bottom: 20px;
    }

    .docx-wrapper>section.docx:last-child {
        margin: 0;
    }

    table#order-list {
        min-width: auto !important;
    }

    table#order-list thead {
        display: none;
    }

    table#order-list tr {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        padding: 10px 0;
    }

    table#order-list tr th, table#order-list tr td {
        display: block;
        max-width: 100%;
    }

    table#order-list tr td:nth-child(1) {
        width: 50%;
        order: 1;
        font-weight: 700;
    }

    table#order-list tr td:nth-child(2) {
        width: 50%;
        order: 3;
        text-align: left;
    }

    table#order-list tr td:nth-child(3) {
        width: 50%;
        order: 4;
        text-align: right;
        font-weight: 700;
    }

   table#order-list tr td:nth-child(4) {
        width: 50%;
        order: 6;
        text-align: right;
        font-size: 15px;
        font-weight: 700;
    }

    table#order-list tr td:nth-child(5) {
        width: 50%;
        order: 5;
        font-size: 13px;
        font-style: italic;
    }

    table#order-list tr td:nth-child(6) {
        width: 50%;
        order: 2;
        text-align: right;
    }

    table#order-list tr td:nth-child(3):before {
        content: "Sl: ";
    }

    table#order-list tr td:nth-child(4):before {
        content: "Tổng: ";
    }

}
@media (max-width: 399px) {
    .cp_entry_wrap .data_load .col {
        width: 100%;
    }

    .booklist-wrap .row.new_ver .col {
        margin-bottom: 10px;
        padding: 0 5px;
    }

    .booklist-wrap .row.new_ver {
        margin-right: -5px;
        margin-left: -5px;
    }
}