.conditional-search__select-list.-three-items.container.filter-container{
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    align-items: flex-end;
}
.form.form-container{
    display: inline-block !important;
    width: auto !important;
    margin-right: 15px !important;
    vertical-align: top;
    min-width: 220px;
    max-width: 320px;
}


.select2-search input{
    color: #9f9f9f !important;
}
/* .select2-container {
    min-width: 400px;
} */

.select2-results__option {
    padding: 3px 0px 3px 6px;
    /* padding-right: 20px; */
    vertical-align: middle;
    font-size: 14px;
    font-weight: 400;
}
.select2-results__option:before {
    content: "";
    display: inline-block;
    position: relative;
    height: 20px;
    width: 20px;
    border: 2px solid #e9e9e9;
    /* border-radius: 4px; */
    border-radius: var(--rd-radius-Lv05);
    background-color: #fff;
    margin-right: 7px;
    vertical-align: middle;
    margin-left: 5px;
}

.field-wrap-b input.select2-search__field {
    font-size: 14px !important; 
    color: var(--clr-text-placeholder) !important;
    /* width: auto !important; */
}
span.select2-selection.select2-selection--multiple {
    padding: 4px 15px !important;
}

ul.select2-selection__rendered {
    padding: 0 !important;
}

.field-wrap-b ul.select2-selection__rendered { 
    gap: 5px;
    display: flex !important;
    flex-wrap: wrap;
    margin-top: 0 !important;
}
.field-wrap-b ul.select2-selection__rendered li {
    margin-top: 0 !important;
}
.field-wrap-b span.select2-selection.select2-selection--multiple {
    display: block !important;
}


.select2-results__option[aria-selected=true]:before {
    font-family:fontAwesome;
    color: #fff;
    background-color: var(--clr-prime);
    border: 0;
    display: inline-block;
    padding-left: 3px;
}

.select2-results__option[aria-selected=true]:after {
    content: "";
    width: 20px;
    aspect-ratio: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: absolute;
    top: 5px;
    left: 11px;
    background: var(--clr-bg-white);
    -webkit-mask: url(/html/template/default/assets/img/icon_check-rounded.svg) no-repeat center / contain;
    mask: url(/html/template/default/assets/img/icon_check-rounded.svg) no-repeat center / contain;
    border-radius: var(--rd-radius-Lv05);
    opacity: 1;
}


.select2-container--default .select2-results__option[aria-selected=true] {
    /* background-color: #5897fb;
    color: #fff; */
    position: relative;
    overflow: visible;
}
/* .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #eaeaeb;
    color: #272727;
} */
.select2-container--default .select2-selection--multiple {
    margin-bottom: 10px;
}
.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
    border-radius: 4px;
}
/* .select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #f77750;
    border-width: 2px;
} */
.select2-container--default .select2-selection--multiple {
    border-width: 2px;
}
.select2-container--open .select2-dropdown--below {
    
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);

}
.select2-selection .select2-selection--multiple:after {
    content: 'hhghgh';
}
/* select with icons badges single*/
.select-icon .select2-selection__placeholder .badge {
    display: none;
}
.select-icon .select2-results__option:before,
.select-icon .select2-results__option[aria-selected=true]:before {
    display: none !important;
    /* content: "" !important; */
}
.select-icon  .select2-search--dropdown {
    display: none;
}


/* new-css */
.field-wrap-b span.select2-selection.select2-selection--multiple{
    padding: 0 5px;
        display: flex;
    align-items: center;
}

.form.form-container.field-wrap-b {
    max-width: 100%;
    margin: 0 !important;
}

.field-wrap-b .select2-container {
    min-width: 100%;
}


.field-wrap-b span.select2-selection.select2-selection--multiple{
    max-height: 100px !important;
    overflow-y: auto;
    /* max-width: 340px !important; */
    border: 1px solid #bfbbbb !important;
    margin-bottom: 0 !important;
    min-height: 40px;
}





/* end-new */


/* Laptop */
@media (max-width: 1024px) {
    .conditional-search__select-list.-three-items.container.filter-container {
        justify-content: center !important;
        flex-wrap: wrap !important;
        align-items: start !important;
    }
    .select2-container {
        min-width: 300px;
    }

    span.select2-selection.select2-selection--multiple{
        max-width: 300px !important;
    }

}
    /* Tablet */
@media (max-width: 992px) {
    .conditional-search__select-list.-three-items.container.filter-container {
        justify-content: center !important;
        flex-wrap: wrap !important;
        align-items: start !important;
    }
    .select2-container {
        min-width: 700px !important;
    }

    span.select2-selection.select2-selection--multiple{
        max-width: 700px !important;
    }

    .form.form-container.field-wrap-b {
        max-width : 100% !important;
        margin-right: 0px !important;
    }

    .form.form-container.field-wrap-b span.select2-selection.select2-selection--multiple {
        max-width: 100% !important;
    }

    .form.form-container.field-wrap-b .select2-container {
        min-width: 100% !important;
    }

    

}

/* Mobile */
@media (max-width: 576px) {
    .conditional-search__select-list.-three-items.container.filter-container {
        justify-content: center !important;
        flex-wrap: wrap !important;
        align-items: center !important;
    }
    .form.form-container{
        margin-right: 30px !important;
    }

    .select2-container {
        min-width: 352px !important;
    }

    span.select2-selection.select2-selection--multiple{
        max-width: 352px !important;
    }
}


.conditional-select2 {
    visibility: hidden;
    display: none;
}
.select2-hidden-accessible {
    visibility: visible !important;
}

.select2-selection__choice{
    font-size: 14px;
}

.select2-container--default .select2-results>.select2-results__options {
    max-height: 480px !important;
}


/* .field-wrap-b .select2-container--default .select2-selection--multiple .select2-selection__rendered 
 { 
    padding: 0px 11px !important;  
} */
 
/* .field-wrap-b .select2-container .select2-search--inline .select2-search__field {
   
    margin-top: 0px !important;
    
} */

/* .select2.select2-container.select2-container--default.select2-container--disabled{
    background-color: #F0F0F0 !important;
    border-color: #C4CCCE !important;
    color: #a2a2a2 !important;
} */


/* .select2-container--disabled .selections .elect2-selection.select2-selection--multiple{
    background-color: #F0F0F0 !important;
    border-color: #C4CCCE !important;
    color: #a2a2a2 !important;
} */

.select2-container--default.select2-container--disabled .select2-selection--multiple{

    
    background-color: #f7f7f7 !important;
    /* color: #a2a2a2 !important;
    border-color: #C4CCCE !important; */
    
}

/* Chrome */
.chrome-browser .select2-results__option--highlighted[aria-selected] {
    background-color: #1a73e8 !important;
}

/* Edge */
.edge-browser .select2-results__option--highlighted[aria-selected] {
    background-color: #767676 !important;
}

/* Firefox */
.firefox-browser .select2-results__option--highlighted[aria-selected] {
    background-color: #e1e1e1 !important;
    color: #000000 !important;
}

.select2-container--default .select2-results>.select2-results__options li:nth-child(1){
    padding-top: 5px !important;
}

.select2-wrapper {
    position: relative;
}

/* fake dropdown */
.select2-skeleton {
    height: 38px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #f5f5f5;
    width: 100%;
}

.advance-search-dropdown + .select2 .select2-selection--multiple {
    border-width: 1px;
}

.advance-search-dropdown + .select2 {
    width: 100% !important;
}

.advance-search-dropdown + .select2 .select2-selection--multiple {
    min-height: 38px;   /* instead of height */
    padding: 4px 8px;
    box-sizing: border-box;
    border-width: 1px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    max-height: 100px !important;
    overflow-y: auto;
}
.advance-search-dropdown + .select2-container .select2-search--inline .select2-search__field{
    font-size: 14px; 
}
.advance-search-dropdown + .select2 .select2-selection__rendered {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
    bottom: 3px;
    gap: 4px;
}

.advance-search-dropdown + .select2 .select2-selection__choice {
    margin-top: 2px;
}

.advanced-search-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.advanced-search-grid > div {
    min-width: 0;
}

.advance-search-dropdown + .select2-container {
    min-width: auto !important;
}
.advance-search-dropdown + .select2-container--default .select2-selection--multiple{
    border: 1px solid #bfbbbb;
}


@media (max-width: 992px) {
    .advanced-search-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .advanced-search-grid {
        grid-template-columns: 1fr;
    }
    .advanced-search-grid span.select2-selection--multiple {
        max-width: 100% !important;
        width: 100% !important;
    }

    .select2-dropdown {
        z-index: 9999 !important;
    }

    /* Fix the clipping section */
    .section.-gray {
        overflow: visible !important;
    }

    /* Force dropdown to use fixed positioning to escape overflow:hidden */
    [data-modal-content="filter"] .select2-dropdown {
        position: fixed !important;
        z-index: 99999 !important;
        left: 33px;
    }

}

.select2-search__field{
    width: 100% !important;
}

.select2-selection.select2-selection--multiple{
    margin-bottom: 0px !important;
}
.select2-skeleton.placeholder {
    height: 40px;
    background: #fff;
    color: #b8bbbd;
    font-size: 14px;
    padding: 4px 15px 5px 16px;
    position: relative;
    display: flex;
    align-items: center;
}

.select2-skeleton.placeholder.model_code {
    background: #f7f7f7;
}