.maf_row {
    display: flex;
    flex-direction: row;
    width: 100%
}

.maf_hidden {
    display: none !important;
    opacity: 0 !important;
}

.maf_opacity {
    opacity: 0 !important;
}

.maf_item_name_table {
    font-weight: 700;
    margin-bottom: 7px !important;
}

.maf_categories_nav_parent {
    height: 0;
    overflow: hidden;
    transition: height 0.5s ease;
    padding: 5px 0 0 0 !important;
}

.maf_float_on_hover {
    padding: 10px 0 !important;
    top: 0;
    transition: top 0.3s ease-in-out;
}

.maf_float_on_hover_parent {
    height: 84px;
    transition: height 0.5s ease;
}

.maf_float_on_hover.sticky {
    position: fixed;
    top: 86px;
    width: 90%;
    background-color: white;
    z-index: 200;
    transition: all 0.5s ease;
    /* box-shadow: 15px -5px 9px 1px #a2a2a2; */
}

.maf_filters_trigger {
    flex: 0 1 90px;
    cursor: pointer !important;
    user-select: none;
    text-align: center;
    color: #000000a8;
    transition: all 0.5s ease;
}

.maf_filters_trigger:hover {
    background: rgb(230, 230, 230);
    border-radius: 6px;
}

.maf_filters_trigger.active {
    background: white;
    color: black;
    text-align: center;
    border-radius: 6px;
}

.maf_search_bar_wrapper {
    flex: 1 1 100%;
}

.maf_clear_all_btn_wrapper {
    flex: 0 1 90px;
    text-align: center;
}

.maf_clear_all_btn_wrapper:hover {
    font-weight: 600
}

.maf_filters_parent {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: flex-start;
    width: 100%;
}

.skeleton-row .maf_item_name_table,
.skeleton-row .maf_item_short_desc_table,
.skeleton-row .wp_maf_lazy_category,
.skeleton-row .wp_maf_lazy_quantity,
.skeleton-row .wp_maf_lazy_rent,
.skeleton-row .wp_maf_lazy_image {
    height: 14px;
    background: linear-gradient(90deg, #26262661 25%, #918b8b6b 50%, #26262661 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 3s infinite linear alternate;
    border-radius: 3px;
    margin-left: 25%;
}

.skeleton-row .wp_maf_lazy_image {
    height: 40px;
    width: 40px;
    margin: 5px 0 !important;
}

.skeleton-row .maf_item_name_table {
    width: 200px;
    margin-left: 0;
}

.skeleton-row .maf_item_short_desc_table {
    width: 450px;
    margin-left: 0;
}

.skeleton-row .wp_maf_lazy_category {
    width: 50px;
}

.skeleton-row .wp_maf_lazy_quantity {
    width: 20px;
}

.skeleton-row .wp_maf_lazy_rent {
    width: 30px;
}

.maaf_limit_serials {
    overflow-y: auto;
    height: 74px;
    display: flex;
    flex-direction: column;
}



/* Animation to move the background position */
@keyframes skeleton-loading {
    from {
        background-position: 200% 0;
        /* Start from the right */
    }

    to {
        background-position: -200% 0;
        /* Move to the left */
    }
}


.maf_item_short_desc_table {
    font-style: italic;
}

.maf_items_carousel.owl-carousel.owl-loaded {
    display: flex !important;
}

.maf_items_carousel_flex {
    display: flex;
    height: 70px;
    overflow: hidden
}

.margin0 {
    margin: 0 !important;
}

.maf_col50 {
    flex: 1 1 50%;
    padding: 10px;
    box-sizing: border-box;
    overflow: hidden;
}

.maf_col30 {
    flex: 1 1 30%;
    padding: 9px;
    box-sizing: border-box;
    overflow: hidden;
}

.maf_col70 {
    flex: 1 1 70%;
    padding: 10px;
    box-sizing: border-box;
    overflow: hidden;
}

.maf_item_details_link {
    display: flex;
    gap: 10px;
    text-decoration: none !important;
    color: black;
}

.maf_item_details_link img,
.maf_empty_class {
    width: 50px !important;
}

.maf_item_details_link:focus {
    outline: none !important;
}

.maf_item_content {
    align-items: self-start;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.maf_item_content p {
    line-height: 1 !important;
}

.maf_item_category {
    font-style: italic;
    margin-bottom: 14px !important;
}

.maf_item_short_desc {
    border-bottom-width: 0px;
    border-bottom-style: solid;
    padding-bottom: 0px
}

.maf_item_price {
    font-size: 18px !important;
    text-transform: inherit;
}

.maf_item_quantity {
    font-style: italic !important;
    margin-bottom: 20px !important
}

.maf_item_full_desc {
    font-size: 18px !important;
    text-transform: capitalize;
}

.maf_item_current_image {
    margin-bottom: 15px;
    text-align: center;
    height: 250px;
    overflow: hidden;
}

.maf_content_left {
    justify-content: flex-start !important;
}

.wp_maf_search_all {
    border-radius: 17px !important;
    color: #313131 !important;
    background-color: #F6F6F6 !important;
    border: none !important;
    max-width: 450px !important;
    width: 100%;
    height: 41px;
    padding: 10px;
}

.maf_search_bar_wrapper {
    width: 450px !important;
    position: relative;
}

.maf_search_bar_wrapper i {
    position: absolute;
    right: 15px;
    color: #181818 !important;
    top: 35%;
}

table.dataTable.hover tbody tr:hover,
table.dataTable.display tbody tr:hover {
    background-color: #f6f6f6 !important;
}

.maf_item_current_image img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.mb10 {
    margin-bottom: 10px !important;
}

.mb0 {
    margin-bottom: 0 !important;
}

.p0 {
    padding: 0 !important;
}

.maf_categories_nav_parent .icon-icon_close_alt {
    position: absolute;
    right: -2px;
    top: 0px;
    font-size: 12px !important;
    width: unset !important;
    height: unset !important;
    line-height: unset !important;
    opacity: 0;
    transition: all 0.6s ease;
    line-height: 1 !important;
    visibility: hidden;
}

.maf_categories_nav_parent .menu_link.active .icon-icon_close_alt {
    opacity: 1;
    top: -4px;
    visibility: visible;
}

.wp_maf_load_datatables tbody tr td {
    position: relative;
}

.wp_maf_load_datatables tbody tr .maf_cutt_of_text::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 15px;
    box-shadow: inset -12px 0px 13px -3px rgb(255 255 255);
    pointer-events: none;
}

.maf_items_carousel.owl-carousel .owl-item {
    /* border: 1px solid #8080803d; */
    max-width: 80px !important;
}

.dataTables_empty {
    height: 51px;
    vertical-align: middle;
}

#tatsu-header-container {
    /* position: fixed; */
    /* z-index: 1000; */
    /* width: 100%; */
}

.maf-no-scroll #tatsu-header-container,
.maf-no-scroll #wpadminbar {
    z-index: 0;
    /* opacity: 0; */
}

.maf-no-scroll #back-to-top {
    z-index: 1;
}

.maf-no-scroll #tatsu-footer-container {
    z-index: 1;
    position: relative;
}

.image-container {
    max-width: 80px !important;
}

.maf_items_carousel_wrapper {
    min-height: 80px;
}

.maf_image_view_parent {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.maf_img_item {
    border: 1px solid #0000001c;
    height: 100%;
    margin-bottom: 7px;
    border-radius: 4%;
}

.wp_maf_row,
.w100,
.dataTables_wrapper {
    width: 100%;
}

.wp_maf_col {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0px 20px;
    margin: 0 0 30px;
}

.wp_maf_col .menu_link {
    font-size: 0.75rem;
    font-weight: 700;
    background-color: rgb(212, 212, 212);
    color: rgb(77, 77, 77);
    padding: 0px 10px;
    border-radius: 50px;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none !important;
}


.wp_maf_col .menu_link:hover,
.wp_maf_col .menu_link.active {
    background-color: rgb(230, 230, 230);
    color: rgb(25, 25, 25);
}

.wp_maf_col .menu_link i {
    color: black;
}

#wp_maf_search_all {
    margin: 0 !important;
}

.dataTables_filter:not(#maaf_modalChecklistTable_wrapper .dataTables_filter) {
    display: none !important;
}

#maaf_modal_for_checklist thead th,
.maaf_modal_checkout thead th {
    border-bottom: 0 !important;
    color: #313233;
}

#maaf_modal_for_checklist .maaf_rental_quantity,
.maaf_modal_checkout .maaf_rental_quantity {
    width: -webkit-fill-available;
}

#maaf_modal_for_checklist .modal-footer,
.maaf_modal_checkout .modal-footer {
    border: none;
}

.wp_maf_load_datatables thead th {
    pointer-events: none;
}

.wp_maf_load_datatables th {
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
}

.wp_maf_load_datatables td {
    border-left: none !important;
    border-right: none !important;
}

.wp_maf_load_datatables thead .sorting_asc,
.wp_maf_load_datatables thead .sorting {
    background-image: none !important;
}

.wp_maf_load_datatables th:first-child {
    text-align: left;
    padding-left: 70px !important;
}

.wp_maf_load_datatables tbody td:nth-child(2),
.wp_maf_load_datatables tbody td:nth-child(3),
.wp_maf_load_datatables tbody td:nth-child(4) {
    vertical-align: middle;
    text-align: center;
}

.wp_maf_load_datatables thead th:nth-child(2),
.wp_maf_load_datatables thead th:nth-child(3),
.wp_maf_load_datatables thead th:nth-child(4) {
    text-align: center;
}

.wp_maf_load_datatables {
    border-collapse: collapse !important;
}

.wp_maf_load_datatables tbody td {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.wp_maf_load_datatables .odd,
.wp_maf_load_datatables .even,
.wp_maf_load_datatables .sorting_1 {
    background-color: transparent !important;
}

.wp_maf_load_datatables.no-footer,
.wp_maf_load_datatables thead th {
    border-bottom-color: #ddd;
    border-color: #ddd !important;
}

.maf_content_space_between {
    justify-content: space-between !important;
}

.maf_clear_all_filter {
    cursor: pointer !important;
}

.maf_categories_nav_parent_row {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start !important;
    flex-direction: column;
}

.maf_categories_nav_parent_row .wp_maf_col {
    justify-content: flex-start !important;
    gap: 10px 10px !important;
    flex-wrap: wrap;
}

.maf_categories_nav_parent_row span {
    font-size: 20px;
    font-weight: 700;
    cursor: default;
}

.menu_link {
    position: relative;
}


/* Custom Modal CSS Start */

.maf-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99994 !important;
    padding: 110px 0 20px 0 !important;
}

.maf-modal-container {
    min-height: 450px;
    background-color: #fff;
    padding: 20px;
    width: 80%;
    max-width: calc(100% - 7vw);
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: maf-fadeIn 0.3s ease-in-out;
    position: relative;
    overflow-y: auto;
    /* max-height: calc(90vh - 110px); */
    margin-top: auto;
}

.maf-modal-header {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: bold;
}

.maf-modal-body {
    font-size: 16px;
    margin-bottom: 15px;
}

.maf-modal-footer {
    text-align: right;
}

.maf-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 18px;
    cursor: pointer;
    background: transparent;
    border: none;
    color: #333;
}

@keyframes maf-fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.maf-no-scroll {
    overflow: hidden !important;
    position: relative;
    height: 90vh;
}


.maf_items_carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    z-index: 10;
    pointer-events: none;
}

.maf_items_carousel .owl-nav button {
    border: none;
    border-radius: 50%;
    padding: 10px;
    margin: 0 2px
}

.maf_items_carousel .owl-nav button span {
    font-size: 22px;
    border-radius: 50%;
    padding: 0;
    width: 13px;
    height: 13px;
    justify-content: center;
    display: flex;
    align-items: center;
    margin-top: -1px;
}

.maf_items_carousel .owl-nav .owl-prev,
.maf_items_carousel .owl-nav .owl-next {
    pointer-events: auto;
}

.maf_items_carousel .owl-prev {
    margin-left: -11px !important;
}

.maf_items_carousel .owl-next {
    margin-right: -12px !important;
}

/* checklist page */
.maaf_checklist_btn {
    float: inline-end;
}

.maaf_checklist_btn button {
    font-size: 0.75rem;
    font-weight: 700;
    background-color: rgb(212, 212, 212);
    color: rgb(77, 77, 77);
    padding: 0px 10px;
    border-radius: 50px;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none !important;
    border: none;
}


.maaf_checklist_btn button:hover {
    background-color: rgb(230, 230, 230);
    color: rgb(25, 25, 25);
}

#maaf_modal_for_checklist,
.maaf_modal_checkout,
#maf_items_rental_modal,
.maf-modal-overlay {
    max-width: 100% !important;
}

.maf-modal-overlay {
    padding: 0 !important;
}

.maaf_d_none {
    display: none !important;
}

.serialNumbers .serialCheck,
.serialNumbers label,
#maaf_modalChecklistTable .itemCheck,
#maaf_modal_for_checklist input[type="checkbox"],
#maaf_modal_for_checklist .form-check label,
.maaf_modal_checkout input[type="checkbox"],
.maaf_modal_checkout .form-check label {
    cursor: pointer;
}

#maaf_modalChecklistTable td:has(.itemCheck),
#maaf_modalChecklistTable td:has(.maaf_rental_quantity) {
    vertical-align: middle;
    outline: none;
}

@media screen and (min-width: 1440px) {
    .maf-modal-container {
        max-width: 1160px;
    }

    .skeleton-row .wp_maf_lazy_category,
    .skeleton-row .wp_maf_lazy_quantity,
    .skeleton-row .wp_maf_lazy_rent {
        margin-left: 35%;
    }
}

@media screen and (max-width: 1441px) {

    #maaf_modal_for_checklist .modal-dialog,
    .maaf_modal_checkout .modal-dialog {
        max-width: 1160px;
    }
}

@media screen and (max-width: 1381px) {

    #maaf_modal_for_checklist .modal-dialog,
    .maaf_modal_checkout .modal-dialog {
        max-width: 1040px;
    }
}

@media screen and (max-width: 1025px) {

    #maaf_modal_for_checklist .modal-dialog,
    .maaf_modal_checkout .modal-dialog {
        max-width: 835px;
    }
}

@media screen and (max-width: 770px) {

    #maaf_modal_for_checklist .modal-dialog,
    .maaf_modal_checkout .modal-dialog {
        max-width: 700px;
    }
}

@media screen and (max-width: 767px) {

    .maf_float_on_hover_parent {
        /* height: 74px; */
    }

    .maf_filters_trigger,
    .maf_clear_all_btn_wrapper {
        flex: 0 1 90px;
    }

    .maf_categories_nav_parent_row .wp_maf_col {
        gap: 5px 10px !important
    }

    .maf_categories_nav_parent>.menu_link {
        margin-top: 5px;
    }

    .maf_categories_nav_parent .icon-icon_close_alt {
        right: 0;
    }

    .wp_maf_load_datatables th:first-child {
        padding-left: 55px !important;
    }

    .skeleton-row .wp_maf_lazy_image {
        height: 42px;
        width: 42px;
        margin: 5px 0 !important;
    }

    .maf-no-scroll #tatsu-header-container,
    .maf-no-scroll #wpadminbar,
    .maf-no-scroll #tatsu-footer-container {
        z-index: 0 !important;
    }

    .maf-no-scroll #tatsu-footer-container {
        position: relative !important;
    }

    .maf-no-scroll #tatsu-footer-container .tatsu-bg-overlay {
        overflow: -webkit-paged-y !important;
    }

    .maf-modal-container {
        padding: 5px 5px 25px 5px;
        width: 100%;
        max-width: calc(100% - 4vw);
        margin-top: 2vh !important;
        /* max-height: 90vh; */
    }

    .maf_items_carousel.owl-carousel .owl-item {
        max-width: 80px !important;
    }

    .image-container {
        max-width: 80px !important;
    }

    .maf_item_current_image {
        height: 200px;
    }

    .maf_items_carousel_wrapper {
        min-height: 80px;
    }

    .wp_maf_load_datatables tbody td:nth-child(2),
    .wp_maf_load_datatables thead th:nth-child(2) {
        display: none;
    }

    .skeleton-row .maf_item_name_table {
        width: 160px;
    }

    .skeleton-row .maf_item_short_desc_table {
        width: 270px;
    }

    .maf-modal-body>.maf_row {
        flex-direction: column;
    }

    .maf_col30 {
        flex: 1 1 100%;
        padding: 9px;
    }

    .maf_col70 {
        flex: 1 1 100%;
        padding: 10px;
    }
}

@media screen and (max-width: 500px) {

    .wp_maf_load_datatables tbody td:nth-child(2),
    .wp_maf_load_datatables thead th:nth-child(2) {
        display: none;
    }

    .skeleton-row .maf_item_name_table {
        width: 85px;
    }

    .skeleton-row .maf_item_short_desc_table {
        width: 170px;
    }

    .maf_item_details_link {
        gap: 5px
    }

    .wp_maf_load_datatables tr td:first-child {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 270px;
        overflow: hidden;
    }

    .wp_maf_load_datatables th:first-child {
        padding-left: 55px !important;
        padding-right: 0 !important;
        max-width: 270px;
        overflow: hidden;
    }


    .maf_item_content_scrol {
        flex-shrink: 0;
        display: inline-block;
        white-space: nowrap;
        transform: translateX(0);
        transition: transform 4s linear;
    }

    .maf_item_content.scrollable:hover .maf_item_content_scrol {
        transform: translateX(calc(270px - 100% - 60px));
    }

    .maf_item_details_link img,
    .maf_empty_class {
        z-index: 99;
        width: 48px;
        padding: 1px 0px;
    }
}

@media (max-width: 431px) {
    .modal-body {
        overflow-x: auto;
    }

    #maaf_modalChecklistTable {
        width: 100%;
        min-width: 600px;
        display: block;
        overflow-x: auto;
    }

    #maaf_modalChecklistTable_wrapper {
        overflow-x: auto;
        white-space: nowrap;
    }
}


@media screen and (max-width: 375px) {

    .wp_maf_load_datatables tr td:first-child,
    .wp_maf_load_datatables tr th:first-child {
        max-width: 260px;
    }

    .wp_maf_load_datatables tr th {
        padding-left: 3px !important;
        padding-right: 3px !important;
    }

    .wp_maf_load_datatables tr td {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .maf_item_content.scrollable:hover .maf_item_content_scrol {
        transform: translateX(calc(260px - 100% - 60px));
    }
}

@media screen and (max-width: 320px) {
    .wp_maf_load_datatables tr th {
        padding-left: 3px !important;
        padding-right: 3px !important;
    }

    .skeleton-row .maf_item_short_desc_table {
        width: 150px;
    }

    .wp_maf_load_datatables tr td {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .wp_maf_load_datatables tr td:first-child {
        max-width: 220px;
    }

    .maf_item_content.scrollable:hover .maf_item_content_scrol {
        transform: translateX(calc(220px - 100% - 60px));
    }
}