.select2-container--default .select2-selection {
    background-color: var(--input-bg-color);
    box-shadow: inset 0 0 2px 0px var(--main-shadow-color);
    border: none;
    border-radius: 0;
}
select[readonly].select2-hidden-accessible + .select2-container .select2-selection{
	background-color: var(--input-bg-color);
}
.select2-container--default.select2-container--disabled .select2-selection {
    background-color: var(--second-bg-color);
}
.select2-container--default .select2-selection:focus {
    box-shadow: var(--main-focus-color) 0 0 3px 1px inset;
}
.select2-container--default .select2-selection .select2-selection__rendered {
    color: var(--main-text-color);
    line-height: 30px;
}
.select2-container .select2-selection {
    height: auto;
    min-height: 30px;
}
.select2-container--default .select2-selection .select2-selection__arrow {
    min-height: 30px;
    height: unset;
}
.select2-container--default
    .select2-selection--single
    .select2-selection__clear {
    margin-right: 20px;
}
.select2-container--default .select2-selection .select2-selection__clear {
    height: 100%;
    width: auto;
    padding: 0;
    margin: 0;
    right: 13px;
    position: absolute;
    left: auto;
}
.select2-container--default .select2-selection .select2-selection__clear span {
    font-size: 2em;
    line-height: 18px;
    padding: 0 6px 0 2px;
}
.select2-container .select2-selection .select2-selection__rendered {
    text-overflow: clip;
}
.select2-results__option {
    padding: 0 6px;
}

.select2-dropdown {
    background-color: var(--second-bg-color);
    border-color: var(--main-border-color);
    border-radius: 0;
}
.select2-search--dropdown {
    background-color: var(--second-bg-color);
}
.select2-results {
    background-color: var(--input-bg-color);
}

.select2-container--default .select2-results__option--selected {
    background-color: var(--third-bg-color);
}

.select2-container--default
    .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--personal-hover-color);
    color: var(--main-text-color);
}

.select2-results__option--disabled {
    display: none;
}

.select2-container--default .select2-selection--multiple {
    padding-bottom: 0;
}
.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice {
    display: inline-flex;
    align-items: center;
    background-color: var(--second-bg-color);
    padding: 0 13px 0 0;
    margin: 0 2px 0 2px;
    border: 0;
    border-radius: 10px;
    height: 26px;
}

.select2-container--default
    .select2-selection--multiple
    .select2-selection__rendered {
    display: inline-flex;
    flex-wrap: wrap;
    margin: 0;
    margin-left: 3px;
    align-items: center;
}

.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice__remove {
    right: 0;
    left: unset;
    border-radius: 13px;
    width: auto;
    border: none;
    min-height: unset;
    height: 100%;
}
.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice__remove
    span {
    padding: 0;
}

.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice__display {
    margin-left: 2px;
}

.select2-container--default.select2-container--focus
    .select2-selection--multiple {
    border-radius: 10px;
    border: none;
}
.select2-container--default.select2-container--open.select2-container--below
    .select2-selection--multiple {
    border-radius: 10px;
    border: none;
}
.select2-container--default.select2-container--focus
    .select2-selection--multiple:focus-within {
    box-shadow: inset 0 0 3px 1px var(--main-focus-color);
}

.select2-search.select2-search--inline {
    display: inline-block;
    width: auto;
}
.select2-container .select2-search--inline .select2-search__field {
    margin-left: 5px;
    margin-top: 0;
    padding-top: 0.3em;
    min-height: 30px;
    height: 30px;
    line-height: 24px;
}

form .hybridInput .inputElements .hybridSelectAlone .select2 {
    min-height: 30px;
    height: auto;
}
form .hybridInput .inputElements .select2-container .select2-selection {
    display: flex;
    flex-wrap: wrap-reverse;
    min-height: 30px;
    height: auto;
}
