.select2-container {
    max-width: 100%;
    font-family: "Karla", sans-serif;
}

.select2-container .select2-selection--single {
    height: 38px;
    border: 1px solid #dee2e6;
    border-radius: .375rem;
    background: #fff;
    display: flex;
    align-items: center;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    width: 100%;
    padding: 0 2.2rem 0 .75rem;
    line-height: 36px;
    color: #202826;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.select2-container .select2-selection--single .select2-selection__placeholder {
    color: #6c757d;
}

.select2-container .select2-selection--single .select2-selection__arrow {
    height: 36px;
    right: .45rem;
}

.select2-container .select2-selection--single .select2-selection__clear {
    position: absolute;
    right: 1.8rem;
    margin: 0;
    color: #7c8783;
    font-size: 1.05rem;
    z-index: 2;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #4f9d8b;
    box-shadow: 0 0 0 .2rem rgba(79, 157, 139, .2);
}

.select2-container--default .select2-dropdown {
    border: 1px solid #dfe5e2;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 14px 35px rgba(32, 40, 38, .16);
    background: #fff;
}

.select2-container--open .select2-dropdown--below {
    margin-top: 5px;
}

.select2-container--open .select2-dropdown--above {
    margin-top: -5px;
}

.select2-search--dropdown {
    padding: .65rem;
    background: #f7f9f6;
    border-bottom: 1px solid #edf0ef;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    height: 38px;
    border: 1px solid #d9dfdc;
    border-radius: 9px;
    padding: .45rem .75rem;
    outline: 0;
    font-family: "Karla", sans-serif;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: #4f9d8b;
    box-shadow: 0 0 0 .18rem rgba(79, 157, 139, .16);
}

.select2-results__options {
    padding: .3rem;
    max-height: 260px !important;
}

.select2-container--default .select2-results__option {
    padding: .58rem .7rem;
    border-radius: 8px;
    font-size: .875rem;
    color: #36413e;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: #e9f4f1;
    color: #27695a;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
    background: #fcece8;
    color: #a94632;
    font-weight: 700;
}

.select2-container--default .select2-results__option--disabled {
    color: #aab1af;
}

.select2-container--small .select2-selection--single {
    height: 31px;
    border-radius: .375rem;
}

.select2-container--small .select2-selection--single .select2-selection__rendered {
    line-height: 29px;
    font-size: .875rem;
    padding-left: .55rem;
}

.select2-container--small .select2-selection--single .select2-selection__arrow {
    height: 29px;
}

.select2-container.is-invalid .select2-selection--single {
    border-color: #dc3545;
}

.select2-container.is-valid .select2-selection--single {
    border-color: #198754;
}

.select2-container--disabled .select2-selection--single {
    background: #e9ecef;
    color: #6c757d;
}

.input-group > .select2-container {
    position: relative;
    flex: 1 1 auto;
    width: 1% !important;
    min-width: 0;
}

.modal .select2-container,
.offcanvas .select2-container {
    z-index: 1;
}

.select2-container--open {
    z-index: 1065;
}

.select2-container--open .select2-dropdown {
    z-index: 1066;
}

.login-page .select2-container .select2-selection--single {
    min-height: 48px;
    border-radius: 8px;
}

.login-page .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 46px;
    padding-left: 2.6rem;
}

.login-page .select2-container .select2-selection--single .select2-selection__arrow {
    height: 46px;
}

@media (max-width: 575.98px) {
    .select2-results__options {
        max-height: 220px !important;
    }

    .select2-container--default .select2-results__option {
        padding: .7rem;
        font-size: .9rem;
    }
}
