.maf_sub_items_action_container .flex-column {
    max-height: 110px;
    overflow-y: auto;
}

.maf_manage_columns_for_user_body label {
    cursor: pointer;
}

.maf_item_accessories .dropdown-menu.show {
    max-height: 300px !important;
}

.bootstrap-select>.dropdown-toggle.bs-placeholder,
.bootstrap-select>.dropdown-toggle.bs-placeholder:active,
.bootstrap-select>.dropdown-toggle.bs-placeholder:focus,
.bootstrap-select>.dropdown-toggle.bs-placeholder:hover {
    color: black !important;
}

.no-padding {
    padding: 0px !important;
}

.maf_hidden,
.update-nag,
.notice-info {
    display: none !important;
}

.maf-toggle-this {
    cursor: pointer;
}

.maf_select {
    border-color: rgba(0, 0, 0, .15) !important;
    min-height: 36px !important;
}

.maf_image_btn {
    border: none;
    min-width: 100px;
    min-height: 100px;
}

.maf_delete_btn {
    position: absolute;
    top: 4px;
    right: 5px;
    cursor: pointer;
    color: white;
    font-size: 15px;
    background: #80808082;
    padding: 2px 3px 4px 3px;
    height: min-content;
    line-height: 0.6;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.maf_item_image {
    vertical-align: middle;
    border: 1px solid #0000001c;
    height: 100%;
    margin-bottom: 7px;
    border-radius: 4%;
    filter: blur(0px);
    max-width: 100px;
    transition: filter 0.2s ease;
}

.maf_view_item_image {
    vertical-align: middle;
    border: 1px solid #0000001c;
    height: 100%;
    margin-bottom: 7px;
    border-radius: 4%;
    max-width: 100px;
    transition: transform 0.3s ease;
}


.image-container:hover .maf_delete_btn {
    opacity: 1;
}

.image-container:hover .maf_item_image {
    filter: blur(1.5px);
}

.image-container:hover .maf_view_item_image {
    transform: scale(1.1);
}

#wp_maf_new_item_images_preview,
#wp_maf_edit_item_images_preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

}

.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%;
}

.more-text {
    display: none;
}

.maf_autocomplete_dropdown {
    position: absolute;
    background: white;
    width: 100%;
    padding: 2%;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 2px;
    border-top: 0;
}

.maf_autocomplete_dropdown div {
    cursor: pointer;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
}

.maf_autocomplete_dropdown div:last-child {
    border-bottom: none;
}

.loading {
    position: fixed;
    z-index: 99999;
    height: 2em;
    width: 2em;
    overflow: show;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.loading:before {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(rgba(20, 20, 20, .8), rgba(0, 0, 0, .8));
    background: -webkit-radial-gradient(rgba(20, 20, 20, .8), rgba(0, 0, 0, .8));
}

.loading:not(:required) {
    font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
}

.loading:not(:required):after {
    content: '';
    display: block;
    font-size: 10px;
    width: 1em;
    height: 1em;
    margin-top: -0.5em;
    -webkit-animation: spinner 150ms infinite linear;
    -moz-animation: spinner 150ms infinite linear;
    -ms-animation: spinner 150ms infinite linear;
    -o-animation: spinner 150ms infinite linear;
    animation: spinner 150ms infinite linear;
    border-radius: 0.5em;
    -webkit-box-shadow: rgba(255, 255, 255, 0.75) 1.5em 0 0 0, rgba(255, 255, 255, 0.75) 1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) 0 1.5em 0 0, rgba(255, 255, 255, 0.75) -1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) -1.5em 0 0 0, rgba(255, 255, 255, 0.75) -1.1em -1.1em 0 0, rgba(255, 255, 255, 0.75) 0 -1.5em 0 0, rgba(255, 255, 255, 0.75) 1.1em -1.1em 0 0;
    box-shadow: rgba(255, 255, 255, 0.75) 1.5em 0 0 0, rgba(255, 255, 255, 0.75) 1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) 0 1.5em 0 0, rgba(255, 255, 255, 0.75) -1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) -1.5em 0 0 0, rgba(255, 255, 255, 0.75) -1.1em -1.1em 0 0, rgba(255, 255, 255, 0.75) 0 -1.5em 0 0, rgba(255, 255, 255, 0.75) 1.1em -1.1em 0 0;
}

/* Animation */

@-webkit-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-o-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.maf_hidden_vis {
    opacity: 0 !important;
}

#maf_view_invoice_details_modal .modal-body>div {
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    margin-bottom: 2%;
}

#maf_view_invoice_details_modal .modal-body>div:last-child {
    border-bottom: none !important;
    margin-bottom: 0%;
}

.maf_tags_container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.maf_tags_wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.maf_tag {
    background-color: #e0e0e0;
    padding: 5px 10px;
    border-radius: 3px;
    margin: 0px 3px 5px 3px;
    display: flex;
    align-items: center;
}

.maf_tag_close {
    margin-left: 8px;
    cursor: pointer;
}

.maf_textarea {
    border: none;
    outline: none;
    resize: none;
    flex-grow: 1;
    min-height: 40px;
    margin-top: 5px;
}

.wp-admin input[type=file] {
    padding: 3px 3px !important;
}

#maf_view_invoice_details_modal .maf_tag_close,
#maf_view_invoice_details_modal .maf_invoice_tags {
    display: none !important;
}

.maf_view_url {
    text-decoration: none !important;
    background-color: #f0f0f1 !important;
    word-break: break-all !important;
}

.maf_sub_item_action {
    display: flex;
    align-items: center;
}

/* location dropdown*/
.maf_storage_locations {
    position: relative;
    margin-top: 20px;
    /* margin-bottom: 100px; */
}

.maf_custom_input_search {
    width: 100%;
    margin-bottom: 3px;
}

.maf_child_storage_loc {
    display: none;
}

.maf_search_results {
    padding: 0px;
    max-height: 100px;
    border: 1px solid rgba(0, 0, 0, .15);
    overflow-y: auto;
    position: absolute;
    background: white;
    width: 100%;
    left: 0;
    z-index: 999;
}

.maf_parent_details {
    max-height: 100px;
    border: 1px solid rgba(0, 0, 0, .15);
    overflow-y: auto;
    position: absolute;
    background: white;
    width: 100%;
}

.show.maf_search_results {
    padding: 10px 0;
}

.maf_search_results ul {
    padding: 0;
    margin: 0;
}

.maf_search_results ul li {
    list-style: none;
    border-radius: 3px;
    opacity: 0;
    display: none;
    padding: 8px 12px;
    transition: all .2s linear;
    margin-bottom: 0;
}

.maf_search_results ul li:hover {
    background: #ececec;
}

.show.maf_location_results ul li {
    opacity: 1;
    display: block;
}

.maf_selected_storage_location_span {
    background-color: #ECF4FE;
    color: #006A68 !important;
    border: 1px solid #B2D7FB;
    padding: 2px 6px;
    border-radius: 12px;
    margin-right: 4px;
    margin-top: 4px;

    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
}

.maf_selected_storage_location_span .maf_clear_parent_location {
    cursor: pointer;
}

.maf_parent_title .maf_title_here {
    border-bottom: 1px solid #dedfe0;
    margin-bottom: 5px;
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.maf_parent_details ul {
    padding: 0;
    margin: 0;
}

.maf_parent_details ul li {
    list-style: none;
    border-radius: 3px;
    padding: 8px 12px;
    transition: all .2s linear;
    margin-bottom: 0;
}

.maf_parent_details ul li:hover {
    background: #ececec;
}

.maf_search_results,
.maf_parent_details {
    border-bottom: 1px solid #dedfe0;
}

.accordion-body {
    display: flex;
    padding: 7px 5px !important;
    gap: 5px;
}

.accordion-button {
    padding: 3px 5px !important;
    gap: 5px;
}

.maf_edit_sub_item,
.maf_delete_sub_item {
    margin: 0 !important;
}

.maf_accessories_details {
    margin: unset !important;
}

.maf_accessories_details .maf_accessory_item {
    font-size: 18px;
}

.maf_hidden {
    display: none !important;
}