/* Mobile */
@media (max-width: 600px) {

    .wrapper-body-content{
        margin: 16px;
      }
      .block__choose__pack .w-50    {
        width: 100% !important;
      }
      .css_border_right_block_pack {
padding: unset !important;
      }
      .custom_pack_block_nav {
        flex-direction: column;
      }
      .css_border_right_block_pack-mobile{
        padding: 16px !important;
      }
      .pack_block {
        padding: unset !important;
      }
      .css_payment_form {
        padding: unset !important;
      }
      .css_payment_form-mobile {
        padding: 16px !important;
      }
    #select_ten_toa_an .dropdown-menu-custom {
        top: 100% !important;
        left: 0 !important;
        width: 100% !important;
    }

    .page-footer {
        padding: 24px !important;
    }

    .footer-dflex-mobile {
        flex-direction: column;
        gap: 8px !important;
    }

    .service_account_text {
        position: unset !important;
        right: unset !important;
    }

    /* Start Auth Layout */
    .bg {
        background-image: none !important;
        height: 100vh !important;
        padding-top: 82px !important;
        position: absolute;
    }

    .auth__template .contents {
        padding: 38px
    }

    .half {
        height: unset !important;
        min-height: unset !important;
    }


    .auth-content-block {
        background: #FFF;
        border-radius: 8px;
    }

    /* End Auth Layout */
    /* Start search homepage Layout */
    .homepage_content .block_button_search {
        flex-direction: row;
        gap: 14px
    }

    .homepage_content .block_button_search button {
        width: 50%;
    }

    .homepage_content .block_button_search .button_reload {
        color: rgba(25, 61, 116, 1);
    }

    .homepage_content .block_dropdown_homepage_search {
        flex-direction: column;
    }

    .homepage_content .nav-tabs {
        flex-wrap: inherit;
    }

    /* End search homepage Layout */
    /* Start detail search homepage layout */
    .detail_homepage {
        padding: 15px 12px !important;
    }

    .manager_pagination {
        flex-direction: column;
    }

    #datatable_fixed_column_paginate {
        flex-direction: column;
        margin-top: 20px;
    }

    .mobile_current_page {
        right: 24px;
        position: absolute;
        margin-top: -40px;
    }

    .filter_block_homepage {
        flex-direction: column !important;
    }

    /*.filter_block_two_select {*/
    /*    display: flex;*/
    /*    flex-direction: row;*/
    /*}*/
    /*.filter_block_no_select {*/
    /*    width: 100% !important;*/
    /*}*/
    .filter_block_homepage {
        width: 100%;
        flex-direction: row !important;
        margin-top: 14px;
    }

    .block_all_filter_homepage {
        flex-direction: column !important;
    }

    .form_select_custom {
        width: 50%;
    }

    .addition_content_item {
        display: block !important;
    }

    #detail_item .nav-tabs {
        flex-direction: row !important;
        overflow-x: auto !important;
        height: 55px !important;
        white-space: nowrap !important;
        display: block !important;
    }

    .block_detail_item {
        padding: 30px 16px !important;
    }

    .block_current_step_1 table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .block_current_step_1 tbody tr td:nth-child(1) {
        white-space: nowrap;
    }

    .navbar {
        padding: 25px !important;
    }

    .homepage_content .nav-tabs {
        flex-direction: row !important;
        height: 55px !important;
        white-space: nowrap !important;
        /*overflow: auto !important;*/
    }

    .box_content_search_block .block_dropdown_homepage_search .homepage_select_box {
        width: 100% !important;
    }

    .box_content_search_block .block_dropdown_homepage_search .dropdown-menu {
        transform: unset !important;
        top: 40px !important;
    }

    .modal.right .modal-body {
        padding: 5px 30px !important;
    }

    .ten_toa_an_detail #select_ten_toa_an {
        border: unset !important;
    }

    .ten_toa_an_detail #select_ten_toa_an .border-and-shadow {
        margin-top: unset !important;
        box-shadow: unset !important;
        border: unset !important;
    }

    .ten_toa_an_detail .full_box_search .max-height-200 {
        overflow-y: unset !important;
    }

    .css_block_mobile_width {
        width: 20%;
    }

    .css_block_mobile_dropdown_width {
        width: 80%;
    }

    .input-css-custom {
        width: 100%;
    }

    #page-container {
        transform: unset !important;
    }

    .form_avatar {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .page-footer .footer_text {
        flex-direction: column !important;
    }

    /*.full_box_search .show .toi_an_block:hover .select_ten_toa_an_unique[aria-expanded='true'] .fa-chevron-right {*/
    /*    transform: rotate(90deg);*/
    /*}*/
    #noti4-modal .modal-content {
        background-image: url("/img/background_50search_mobile.svg");
        background-size: cover;
        background-repeat: no-repeat;
        background-position-x: center;
        border-radius: 8px;
    }

    #noti4-modal .modal-footer {
        background-image: url("/img/50_search_footer_mobile.svg");
        background-size: cover;
        background-repeat: no-repeat;
        border-radius: 8px;
        background-position-y: bottom;
    }

    #noti4-modal .modal-header {
        border-bottom: unset !important;
    }

    #noti4-modal .modal-footer {
        border-top: unset !important;
    }

    #noti4-modal .modal-footer {
        display: flex;
        justify-content: space-between !important;
        flex-direction: column;
    }

    #noti4-modal .modal-body {
        color: #F0F0F0;
    }

    .welcome_lex_css {
        padding-right: 24px;
        padding-left: 24px;
        margin-bottom: 24px;
        margin-top: 0;
    }

    .welcome_to_lex_css {

        padding-right: 24px;
        padding-left: 24px;
        margin-bottom: 24px;
        margin-top: 0;
    }

    .search_50_footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .button_50_search {
        background: rgb(205, 153, 103);
        padding: 2px 17px;
        color: rgb(255, 255, 255);
        border-radius: 40px;
        font-size: 26px;
        border: none;
        max-width: 192px;
        margin-bottom: 11px;
    }

    .search_50_footer h5 {
        font-size: 20px;
        color: #F0F0F0;
        padding-bottom: 11px;
        width: 50%
    }

    .modal-footer p {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .tooltip-mua-goi-moi {
        right: 0 !important;
        bottom: 25px !important;
    }

    .block_all_filter_homepage {
        flex-direction: column !important;
    }

    .filter_block_homepage {
        width: 100%;
        flex-direction: row !important;
        margin-top: 14px;
    }

    .service_account_text {
        position: unset !important;
        right: unset !important;
    }

    .css_border_right_block_pack {
        border-right: unset !important;
        width: 100% !important;
        padding-right: unset !important;
    }

    .css_payment_form {
        width: 100% !important;
        padding-left: unset !important;
    }

    .block__choose__pack .form_wrapper {
        padding: 16px 16px !important;
    }

    /*.wrapper-body-content {*/
    /*    margin: 24px 0!im;*/
    /*}*/
    .badge-full-width {
        flex-direction: column;
    }

    .badge-right {
        margin-top: 16px;
        gap: 4px !important;
        justify-content: flex-start !important;
        flex-direction: column !important;
    }

    .badge-right div {
        width: 100%;
    }

    .filter_content_responsive {
        padding: 0 !important;
    }

    .block_search_1 .dropdown-menu-loai-thong-tin-phap-luat-custom {
        top: 100% !important;
        width: 100% !important;
        left: 0 !important;
    }
}

/* login */
@media (max-width: 960px) {
    .form_login_content {
        padding: 12px;
    }

    input {
        font-size: 14px !important;
    }

    button {
        font-size: 14px;
    }

    .block-mobile-auth-layout {
        width: 100%;
        padding: 16px;
    }

    .form_login_content {
        min-width: 100%;
        max-width: 100%;
    }

    .form_login_content a svg {
        width: 10px;
        height: 10px;
    }

    .block-toolbar-search {
        flex-direction: column;
        padding: 32px 12px !important;
        gap: 24px !important;
    }

    .toolbar-search-landing .nav-tab-custom-homepage {
        display: flex;
        flex-direction: row;
        max-width: 100%;
        min-width: 100%;
        gap: unset;
        justify-content: space-between;

    }

    .toolbar-search-landing .nav-tab-custom-homepage .nav-link {
        display: flex !important;
        flex-direction: row !important;
        gap: 8px;
        border-bottom: unset;
        font-size: 12px;
    }

    .form_login_content .nuxt-link-active {
        top: 0 !important;
    }

    .custom-b-tooltip-password {
        transform: translate3d(0, 45vh, 0px) !important;
    }

    .custom-b-tooltip-password span {
        font-size: 14px !important;
    }

    .modal-dialog .toast-custom-block {
        width: 90vw !important;
        position: unset !important;
    }

    .modal-dialog .modal-header {
        z-index: 9999;
    }

    #choose_vbpl_modal .modal-content {
        padding: 12px !important;
    }

    #choose_vbpl_modal .modal-header {
        padding: 0 0 12px 0 !important;
    }

    #choose_vbpl_modal .modal-body {
        padding: unset !important;
    }

    #choose_vbpl_modal .modal-footer {
        flex-wrap: nowrap !important;
    }

    #choose_vbpl_modal .modal-footer button {
        padding: 12px 0 12px 0 !important;

        width: 100%;
    }

    .form_wrapper {
        margin-top: 16px
    }
}

.footer-style-default .footer-top {
    padding: 300px 60px 70px 60px;
}

/*
Landing
*/
@media (max-width: 960px) {
    html::-webkit-scrollbar {
        display: none;
    }

    .page-wrapper header {
        padding: 30px 12px 12px 12px !important;
    }

    .block-toolbar-search {
        margin-top: unset !important;
    }

    .toolbar-search-landing {
        margin-top: unset !important;
    }

    .chat-ai-mobile {
        overflow: auto;
    }

    .chat-ai-mobile::-webkit-scrollbar {
        display: none;
    }

    /*.chat-ai-mobile .background-chat-ai-new-design {*/
    /*    min-width: 80vw;*/
    /*    !*flex: 0 0 auto; !* Prevent items from shrinking *!*!*/
    /*}*/
    .min-width-100-percent {
        min-width: 100%!important;
    }
    #box-chat-new-ai-id {
        width: 100%;
    }

    .box-message-new-ai {
        /*min-height: 120px;*/
        max-height: 120px;
    }

    /*.chat-ai-mobile .block-relation-vbpl {*/
    /*    width: 100% !important;*/
    /*    max-width: 100% !important;*/
    /*    min-width: 100% !important;*/
    /*}*/

    ::-webkit-scrollbar {
        width: 4px;
        height: 5px;
    }

    .margin-top-ban-an-an-le {
        font-size: 16px !important;
    }

    /*.box-message-new-ai form {*/
    /*    flex-direction: column;*/
    /*}*/

    .chat-ai-mobile {
        max-height: 55vh;
    }

    /*.box-message-new-ai {*/
    /*    height: 100%;*/
    /*}*/

    .button-kham-pha-lex {
        margin-top: 12px !important;
    }

    .all-in-one-screen {
        min-height: calc(100vh - 160px);

    }

    .block-toolbar-search {
        padding: 12px !important;
    }

    .block-filter-in-landing {
        flex-direction: column;
        align-items: start;
        justify-content: center;
        gap: 24px !important;
    }

    .block-filter-in-landing .block-button-tim-kiem {
        padding: 12px;
    }

    .gap-in-mobile {
        gap: 12px;
    }

    .display-one {
        font-size: 24px !important;
        padding: 0 24px !important;
    }

    .inner .description {
        font-size: 12px !important;
    }

    /*.background-chat-ai-new-design {*/
    /*    max-height: 55vh !important;*/
    /*}*/
    .lottie-tab-hide-in-mobile {
        margin-bottom: 60px !important;
    }

    .lh-lg {
        font-size: 12px !important;
    }

    .generator-tab-defalt .tab-pane .inner {
        padding: 12px !important;
    }

    .css-custom-luat-phap {
        font-size: 18px !important;
    }

    .block-css-custom-luat-phap {
        margin-top: 60px !important;
    }

    .brand-style-2 {
        gap: 60px !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        justify-content: unset !important;
        align-items: center;
    }

    .brand-style-2::-webkit-scrollbar {
        display: none;
    }

    .brand-style-2 img {
        min-width: 150px;
    }

    .footer-top {
        padding: 12px;
    }

    .block-3-tab {
        flex-wrap: nowrap !important;
        overflow: auto !important;
    }

    .block-3-tab::-webkit-scrollbar {
        display: none;
    }

    .block-notification-header {
        max-width: 95vw;
        width: 95vw;
    }

    /*#search_detail {*/
    /*    position: relative;*/
    /*    z-index: 1;*/
    /*}*/
    .select-sort-filter-mobile-vbpl .multiselect__content-wrapper {
        width: 150%;
        right: 0;
    }
    .select-sort-filter-mobile .multiselect__content-wrapper {
        /*width: 100%;*/
        right: 0;
    }
    .select-sort-filter-mobile .multiselect__placeholder {
        font-size: 12px!important;
    }
    .input_content_search_homepage {
        font-size: 14px !important;
    }

    .input_content_search_homepage::placeholder {
        font-size: 14px !important;
    }

    .input_content_search_homepage img {
        top: 30%;
        left: 16px;
        width: 18px;
    }
}

.block_all_filter_homepage {
    flex-direction: row;
}

.block_all_filter_homepage {
    margin-top: 40px;
}

.multiselect__single {
    color: #252729 !important;
    display: inline-block;
    /*margin-bottom: 14px !important;*/
    /*padding-top: 2px;*/
    font-size: 14px !important;
    /*padding: 0 0 0 0 !important;*/
}

.input-custom-same-select {
    background: #2c3a4c !important;
    border: none !important;
    border-radius: 16px !important;
    color: rgba(225, 225, 226, 1) !important;
    z-index: 9999 !important;
    overflow-y: hidden;
    padding: 8px 40px 8px 15px;
}
/* Detail */
@media (max-width: 980px) {
    .block_all_filter_homepage {
        flex-direction: column;
    }

    .header-in-detail {
        padding: 12px;
    }

    .footer-style-default .footer-top {
        padding: 60px 12px 24px 12px;
    }

    .content_item_search {
        max-width: 100%;
        overflow: hidden;
    }

    .footer-top {
        font-size: 12px;
        font-weight: 500;
        color: #E1DEE1;
    }

    .footer-top a {
        font-weight: 700;
        color: #E1DEE1;
    }

    .footer-top span {
        font-weight: 700;
    }

    .footer-top .footer-link-custom-style {
        justify-content: space-between;
        height: 95%;
    }

    #ribbon a {
        font-size: 12px;
    }

    #ribbon span {
        font-size: 12px;
    }

    #ribbon svg {
        margin: 4px !important;
    }

    .title_filter_result {
        font-size: 16px !important;
    }

    #myModal2 .modal-content {
        padding: 12px !important;
    }

    #myModal2 .modal-body {
        padding: unset !important;
    }

    #detail_item .nav::-webkit-scrollbar {
        display: none;
    }

    .homepage-detail-css-custom .thuoc-tinh-thong-tin-custom-item-left {
        min-width: 140px !important;
    }

    .thuoc-tinh-thong-tin-custom-item-left label {
        font-size: 14px !important;
    }

    .thuoc-tinh-thong-tin-custom-item-right span {
        font-size: 14px !important;
    }

    .cut-link {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .block_detail_item {
        padding-top: 12px !important;
    }

    .block_button_search {
        position: fixed;
        bottom: 0;
        width: 100%;
        background: #FAFAFA;
        left: 0;
        padding: 12px;
    }

    .block_button_search .button-submit {
        color: #F6F6F6;
        font-size: 14px;
        font-weight: 700;
        border-radius: 16px;
    }

    .block_button_search .button_reload {
        background: transparent !important;
        color: #252729;
        font-weight: 700;
        font-size: 14px;
    }

    .title_item_content {
        line-height: 24px !important;
        font-size: 14px !important;
    }

    .list_item_search .content_block {
        padding: 18px !important;
    }

    .title_item_content button {
        color: black;
        font-size: 12px !important;
        margin-left: 0;
        padding-left: 0;
        text-decoration: underline !important;
    }

    .block_all_filter_homepage {
        margin-top: 12px;
    }

    #detail_item .nav-link {
        font-size: 14px !important;
    }

    .mobile-noi-dung-tom-tam {
        padding: 12px !important;
        font-size: 12px;
        width: 100%;
    }

    .mobile-noi-dung-tom-tam img {
        width: 16px;
        height: 16px;
    }

    .mobile-noi-dung-tom-tam textarea {
        font-size: 14px;
    }

    .mobile-noi-dung-tom-tam div button {
        width: 100%;
    }

    .common-html-preview-custom .container {
        width: 80vw !important;
        overflow: auto;
    }

    .multiselect__single {
        font-size: 12px !important;
    }

    .multiselect__placeholder {
        font-size: 14px;
    }

    .html-view-s3 {
        justify-content: unset !important;
        overflow: auto;
    }

    .my-tooltip-class-mobile {
        display: none !important;
    }

    .col-sm-3 label {
        font-size: 14px !important;
    }

    .profile-tab-new input {
        max-width: 100% !important;
        width: 100%;
        min-width: 100% !important;
    }

    .profile-tab-new .mx-datepicker {
        max-width: 100% !important;
        width: 100%;
        min-width: 100% !important;
    }

    .change-information-form .multiselect {
        max-width: 100% !important;
        width: 100%;
        min-width: 100% !important;
    }

    .loai-thong-tin-phap-luat-css .multiselect__input {
        opacity: 0;
    }

    .block_so_do .block_so_do_top {
        padding: 12px !important;
    }

    .box_vblq {
        width: 100% !important;
    }

    .block_so_do_bottom_setup_modal {
        margin: 30px 12px 0 0 !important;
        flex: 40% !important;
    }
    .input-custom-same-select {
        padding: 8px 15px 8px 15px !important;
    }
    .change-information-form .cong-viec-single-select .multiselect__single {
        font-size: 16px!important;
    }
    .block-chat-ai-func label {
        color:#F6F6F6;
        font-weight: bold;
        font-size: 16px!important;
      }
      .block-chat-ai-func span {
        color:#8993A4;
        font-size: 14px!important;
        text-align: center;
      }
      
}

.common-html-preview-custom .container {
    width: 100vw !important;
    border: 1px solid #d9d9d9;
}

.addition_content_item {
    flex-wrap: wrap;
    margin-top: 8px;
    gap: 4px;
}

.css-custom-luat-phap {
    font-size: 40px;
}

.description {
    font-size: 18px;
}

.lh-lg {
    font-size: 18px;
    line-height: 2 !important;
    color: #F5F6F7 !important;
}

.html-view-s3 h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    color: black;
}
