/*select2 start*/
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border: none;
    --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-image: var(--bs-form-select-bg-img),var(--bs-form-select-bg-icon,none);
    background-repeat: no-repeat;
    background-size: 16px 12px;
    background-position: center center;
    width: 100%;
    height: 100%;
    margin-left: 0 !important;
    margin-top: 0 !important;
    top: 0;
    left: 0;
}

.select2-container--open.select2-container--below .select2-selection--single {
    border: 1px solid var(--border-color);
}

.select2-container--default .select2-selection--single .select2-selection__rendered{
    line-height: 42px;
    padding-right: .75rem !important;
    padding-left: 2.25rem !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 42px;
    top: 0;
    width: 2.25rem;
}

.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: #111111 rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
}

.select2-container--open.select2-container--above .select2-selection--single {
    border: 1px solid #dcdcdc;
}

.select2-container .select2-selection--single {
    border-radius: 8px;
    border-color: var(--border-color);
    min-height: 42px;
    font-size: 14px;
    box-shadow: var(--bs-box-shadow-sm) !important;
}

.select2-container--classic .select2-selection--single {
    background-color: #FFFFFF;
    background-image: none;
    border-radius: .375rem;
    border: 1px solid #ced4da !important;
    -moz-box-shadow: 0px -2px 0px var(--bg-primary-color);
    -webkit-box-shadow: 0px -2px 0px var(--bg-primary-color);
    box-shadow: 0px -2px 0px var(--bg-primary-color);
}

.select2-container--classic .select2-selection--single .select2-selection__rendered {
    line-height: 40px;
    font-weight: 400 !important;
}

.select2-container--classic .select2-selection--single .select2-selection__arrow {
    top: 7px;
    background-color: transparent;
    background-image: none;
    border-style: none;
    left: 5px;
}

.select2-container--classic .select2-dropdown {
    border: 1px solid #dcdcdc !important;
    border-radius: 0;
}

.select2-container--classic .select2-results__option--highlighted[aria-selected] {
    color: #ffffff;
    font-weight: 600;
}

.select2-container--classic.select2-container--open .select2-selection--single {
    border: 1px solid #dcdcdc;
}

.select2-container--classic .select2-selection--single:focus {
    border: 1px solid #dcdcdc;
}

.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single {
    background-image: none;
    background-color: #FFFFFF;
}

.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single {
    background-image: none;
    background-color: #FFFFFF;
    border-top: 1px solid #dcdcdc;
}

.select2-container--classic .select2-dropdown {
    width: 160px !important;
    z-index: 8;
    border-radius: 0 0 .375rem .375rem;
}

.select2-container--classic .select2-search--dropdown .select2-search__field {
    -moz-border-radius: .375rem;
    -webkit-border-radius: .375rem;
    border-radius: .375rem;
    text-align: right;
    padding: .5rem 1rem;
}

.select2-container--classic .select2-results > .select2-results__options {
    scrollbar-color: var(--bg-hot-line) #e0e0e0;
    scrollbar-width: thin;
    direction: rtl;
}

.select2-container--default .select2-selection--multiple {
    border-color: var(--border-color);
    border-radius: 8px;
    min-height: 42px;
    font-size: 14px;
    box-shadow: var(--bs-box-shadow-sm) !important;
}

.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
    margin-left: 4px;
}

.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
    font-size: 13px;
}

/*select2 end*/
