/*-------------KGL Customization-----------------------------------------------------*/
.select2-container .select2-selection--single {
        box-sizing: border-box;
        cursor: pointer;
        display: block;
        height: 46px;
        user-select: none;
        -webkit-user-select: none;
    }

    .select2-container--default .select2-selection--single .select2-selection__rendered {
        color: #80868b;
        line-height: 51px;
    }


    .select2-container .select2-selection--single .select2-selection__rendered {
        display: flex;
        padding-left: 12px;
        padding-right: 20px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .select2-container--default .select2-selection--single .select2-selection__rendered {
        color: #4d5156;
        line-height: 50px;
        font-size: 14px;
    }

    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 26px;
        position: absolute;
        top: 10px;
        right: 8px;
        width: 20px;
    }

    .select2-container--default .select2-results__option--highlighted[aria-selected] {
        background-color: #eb2227;
        color: white;
    }

    .select2-container--default .select2-results__option[aria-selected=true] {
        background-color: #8d8b8b;
    }

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #ffffff;
    border: 1px solid #e9e9e9;
    border-radius: 4px;
    cursor: default;
    float: var(--float-left);
    margin-inline-end: 5px;
    margin-block-start: 13px;
    padding: 3px 6px;
    color: #104030;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #eb2227;
    cursor: pointer;
    display: contents;
    font-weight: 900;
    margin-inline-end: 2px;
}


.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    /* color: #fff; */
    opacity: 0.5;
    font-size: 14px;
    position: absolute;
    top: 4px;
    inset-inline-start: 7px;
    letter-spacing: 5px;
}

.select2-container .select2-search--inline .select2-search__field {
    box-sizing: border-box;
    border: none;
    font-size: 100%;
    margin-block-start: 5px;
    padding-left: 6px;
}

.select2-container--default .select2-search--inline .select2-search__field {
    margin-block-start: 7px;
    line-height: 35px;
    padding-inline-start: 7px;
    opacity: 1;
}

.select2-container .select2-selection--multiple {
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    min-height: 48px;
    user-select: none;
    -webkit-user-select: none;
}

.select2-results__options[aria-multiselectable="true"] li {
    padding-left: 30px;
    position: relative
}

.select2-results__options[aria-multiselectable="true"] li:before {
    position: absolute;
    left: 0px;
    top: 6px;
    content: "\2610";
    background: #fff;
    margin-left: 5px;
    padding-left: 3px;
    padding-right: 3px;
    border: 1px solid #898484;
    font-size: 11px;
    color:white;
}

.select2-results__options[aria-multiselectable="true"] li[aria-selected="true"]:before {
    content: "\2713";
    margin-left: 5px;
    border: 1px solid #898484;
    padding-left: 4px;
    padding-right: 3px;
    font-size: 11px;
    color: #2ec313;
    font-weight: bold;
}


.select2-container--default .select2-results__option .select2-results__option {
    padding-inline-start: 2.2em;
}

.select2-container--default .select2-results__group {
    cursor: pointer;
    display: block;
    padding: 6px;
    padding-inline-start: 2.2em;
}
.select2-container--open .select2-dropdown--below  {
    border-block-start: none;
    border-start-start-radius: 0;
    border-start-end-radius: 0;
    z-index: 500;
    background: aliceblue;
}

.select2-container--open .select2-dropdown--above {
    border-block-end: none;
    border-end-start-radius: 0;
    border-end-end-radius: 0;
    background: aliceblue;
    z-index: 500;
}

.dark-theme .select2-container--open .select2-dropdown--below {
    border-block-start: none;
    border-start-start-radius: 0;
    border-start-end-radius: 0;
    z-index: 500;
    background: #434b60;
}

.dark-theme .select2-container--open .select2-dropdown--above {
    border-block-end: none;
    border-end-start-radius: 0;
    border-end-end-radius: 0;
    background: #434b60;
    z-index: 500;
}

