.select2 .select2-search--dropdown {
    padding: 0;
}

.select2-container--bootstrap .select2-search--dropdown .select2-search__field {
    border-radius: 0px !important;
    border-left: none;
    border-right: none;
    border-top: none;
    padding: 6px 12px 6px 12px;
    height: 34px;
}

.select2-container--bootstrap .select2-search--dropdown .select2-search__field:focus {
    border-radius: 0px !important;
}

select2-dropdown select2-dropdown--below {
    width: 600px !important;
}

.select2-dropdown-large {
    position: relative;
    overflow-x: unset !important;
}

.select2-results__option:hover {
    background-color: $table-hover-row-background-color !important;
}

.select2-results__option:nth-child(2n+1):hover {
    background-color: $table-hover-row-background-color !important;
}

.select2-results__option {
    background-color: $table-odd-row-background-color !important;
    color: $table-font-color !important;
    padding: 0px !important;
}

.select2-results__option:nth-child(2n+1) {
    background-color: $table-even-row-background-color !important;
}

.select-option-custom {
    padding: 8px 0 8px 6px;
    font-family: "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    font-size: 13px;
    height: 34px;
    border-bottom: 1px solid $table-border-color;
    padding-right: 10px;
}

.option-column-gathering { 
    height: 50px !important;
}

.gathering-text {
    font-size: 9px;
    margin: 5px 0px;
}

.select2HeaderCustom {
    background-color: $table-header-background-color !important;
    padding: 8px 0 8px 6px;
    font-weight: bold;
    font-family: "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: 13px;
    color: $table-font-color;
    height: 34px;
}

.rowHeader {
    width: 100%;
    background-color: $table-header-background-color !important;
    border-top: 2px solid $table-border-color;
    border-bottom: 2px solid $table-border-color;
}

.select2-container--bootstrap .select2-results > .select2-results__options {
    max-height: 400px !important;
    overflow-y: scroll !important;
    overflow-x: unset;
}

.select2-container--bootstrap .select2-dropdown {
    border-color: $input-border-color !important;
    margin-top: 0px !important;
    background-color: $content-background-color;

    input {
        background-color: $content-background-color;
        color: $main-text-color;
    }
}

.select2-results__options {
    overflow-y: scroll;
    max-height: 200px;
}

span[id^="select2-bank"] {
    font-size: small;
    font-weight: normal !important;
}

.select2-results {
    padding: 10px;
    box-shadow: 1px 1px 4px rgba(0,0,0, 0.16);
}

.select2-results__option--highlighted {
    background-color: $table-hover-row-background-color !important;
}

.select2-results__option--highlighted:nth-child(2n+1) {
    background-color: $table-hover-row-background-color !important;
}

.select2-container--bootstrap .select2-selection {
    border-radius: 0px !important;
    border: none !important;
    border-top: none !important;
}

.select2-container--bootstrap .select2-selection--single {
    color: #ddd;
    //border-bottom: 1px solid #ddd;
    padding: 6px 0px 6px 0px;
}

.select2-container--bootstrap .select2-selection {
    -webkit-box-shadow: none !important;
}

.select2-selection--single .select2-selection__rendered {
    border-bottom: 1px solid $input-border-color;
    padding: 1px 12px 6px 12px;
    color: $main-text-color;
}

.select2-container--focus .select2-selection--single .select2-selection__rendered {
    border-bottom: 1px solid $success-color;
    color: $main-text-color;
}

.select2-container--bootstrap .select2-selection--multiple .select2-selection__rendered {
    border-bottom: 1px solid $input-border-color;
    color: $main-text-color;
}

.select2-container--focus .select2-selection--multiple .select2-selection__rendered {
    border-bottom: 1px solid $success-color;
    color: $main-text-color;
}

.select2-selection--multiple > ul > li:last-child > input
{
    border-bottom: 0 !important;
}

.select2-container--bootstrap.select2-container--disabled .select2-selection, .select2-container--bootstrap.select2-container--disabled .select2-selection--multiple .select2-selection__choice {
    background-color: $input-disabled-background-color;
}

.document-head .select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0px !important;
    font-weight: 600 !important;
    border-bottom: none !important;
    font-family: "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.table-bordered .select2-selection__rendered {
    border-bottom: none;
}

.input-no-bottom-border .form-control {
    border-bottom: none !important;
}

.input-no-bottom-border .form-control:focus {
    border-bottom: 1px solid $success-color !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 0;

    &:focus {
        outline: none;
    }
}

.select2-remove-float-right {
    & + span .select2-selection__choice__remove {
        float: right;
        margin-left: 5px;
        margin-right: 0;
    }
}
