
/* prevent dropdown input squeeze to small block */
.form-dropdown .select2.select2-container.select2-container--bootstrap4 {
    min-width: 100%;
}

/* select2 multi select set height */
.form-field .select2-multiselect ~ .select2-container {
    height: auto;
}

/* dropdown outline for runtime filter dropdown */
.select2-container--bootstrap4.select2-container--focus .select2-selection {
    border-color: #C2CBCF !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

/* dropdown hover for runtime filter dropdown */
.select2-container--bootstrap4 .select2-results__option--highlighted, .select2-container--bootstrap4 .select2-results__option--highlighted.select2-results__option[aria-selected=true] {
    background-color: #F2FCED !important;
    color: #191F20 !important;
}

/* Multi select input styling */
.select2-container--bootstrap4 .select2-selection.select2-selection--multiple{
    height: 100%;
    background: #FFFFFF;
    border: 1px solid #C2CBCF;
    min-height: unset !important;
}
/* multiple select remove input:focus green border */
.select2-selection--multiple input.select2-search__field:focus {
    border: none !important;
    box-shadow: none;
}

/* multi select input style to match other input size */
.select2-selection--multiple .select2-search--inline .select2-search__field {
    margin-top: 0px;
    height: 34px;
}

.select2-selection--multiple .select2-selection__rendered li:last-of-type {
    margin-bottom: 0.2em;
}

/* make text container take height */
.select2-container .select2-selection--multiple .select2-selection__rendered {
    display: inline-block;
}


/* multi select selected align with input */
.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice {
    margin-top: 0.2em !important;
}

/* form field update arrow down */
.select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow b {
    background: url('../../../../../../css/ui2/images/down-arrow.svg') no-repeat center;
    left: 20% !important;
    top: 40% !important;
    padding: 6px;
    border-style: none !important;
    border-width: none !important;
}


.select2-container--bootstrap4 .select2-selection--single {
    height: calc(1.5em + 0.75rem + 2px) !important; }
.select2-container--bootstrap4 .select2-selection--single .select2-selection__placeholder {
    color: #757575;
    line-height: calc(1.5em + 0.75rem); }
.select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow {
    position: absolute;
    top: 44%;
    right: 0;
    width: 20px; }
.select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow b {
    top: 60%;
    border-color: #343a40 transparent transparent transparent;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    width: 0;
    height: 0;
    left: 50%;
    margin-left: -4px;
    margin-top: -2px;
    position: absolute; }
.select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
    line-height: calc(1.5em + 0.75rem); }

.select2-search--dropdown .select2-search__field {
    border: 1px solid #ced4da;
    border-radius: 0.25rem; }

.select2-results__message {
    color: #6c757d; }

.select2-container--bootstrap4 .select2-selection--multiple {
    min-height: calc(1.5em + 0.75rem + 2px) !important; }
.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__rendered {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    list-style: none;
    margin: 0;
    padding: 0 8px;
    width: 100%; }
.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice {
    color: #343a40;
    border: 1px solid #bdc6d0;
    border-radius: 0.2rem;
    padding: 0;
    padding-right: 5px;
    cursor: pointer;
    float: left;
    margin-top: 0.3em;
    margin-right: 5px; }
.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice__remove {
    color: #bdc6d0;
    font-weight: bold;
    margin-left: 3px;
    margin-right: 1px;
    padding-right: 3px;
    padding-left: 3px;
    float: left; }
.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #343a40; }
.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__clear {
    float: none;
    margin-right: 0;
    position: absolute !important;
    top: 0;
    right: 0.7em; }

.select2-container {
    display: block; }
.select2-container *:focus {
    outline: 0; }

.input-group .select2-container--bootstrap4 {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1; }

.input-group-prepend ~ .select2-container--bootstrap4 .select2-selection {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0; }

.input-group > .select2-container--bootstrap4:not(:last-child) .select2-selection {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0; }

.select2-container--bootstrap4 .select2-selection {
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    -webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    width: 100%; }
@media (prefers-reduced-motion: reduce) {
    .select2-container--bootstrap4 .select2-selection {
        -webkit-transition: none;
        transition: none; } }

.select2-container--bootstrap4.select2-container--focus .select2-selection {
    border-color: #80bdff;
    -webkit-box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); }

.select2-container--bootstrap4.select2-container--focus.select2-container--open .select2-selection {
    border-bottom: none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0; }

.select2-container--bootstrap4.select2-container--disabled .select2-selection, .select2-container--bootstrap4.select2-container--disabled.select2-container--focus .select2-selection {
    background-color: #e9ecef;
    cursor: not-allowed;
    border-color: #ced4da;
    -webkit-box-shadow: none;
    box-shadow: none; }

.select2-container--bootstrap4.select2-container--disabled .select2-search__field, .select2-container--bootstrap4.select2-container--disabled.select2-container--focus .select2-search__field {
    background-color: transparent; }

select.is-invalid ~ .select2-container--bootstrap4 .select2-selection,
form.was-validated select:invalid ~ .select2-container--bootstrap4 .select2-selection {
    border-color: #dc3545; }

select.is-valid ~ .select2-container--bootstrap4 .select2-selection,
form.was-validated select:valid ~ .select2-container--bootstrap4 .select2-selection {
    border-color: #28a745; }

.select2-container--bootstrap4 .select2-dropdown {
    border-color: #ced4da;
    border-radius: 0; }
.select2-container--bootstrap4 .select2-dropdown.select2-dropdown--below {
    border-top: none;
    border-bottom-right-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem; }
.select2-container--bootstrap4 .select2-dropdown.select2-dropdown--above {
    border-top: 1px solid #ced4da;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem; }
.select2-container--bootstrap4 .select2-dropdown .select2-results__option[aria-selected=true] {
    background-color: #e9ecef; }

.select2-container--bootstrap4 .select2-results__option--highlighted,
.select2-container--bootstrap4 .select2-results__option--highlighted.select2-results__option[aria-selected=true] {
    background-color: #007bff;
    color: #f8f9fa; }

.select2-container--bootstrap4 .select2-results__option[role=group] {
    padding: 0; }
.select2-container--bootstrap4 .select2-results__option[role=group] .select2-results__options--nested .select2-results__option {
    padding-left: 1em; }

.select2-container--bootstrap4 .select2-results > .select2-results__options {
    max-height: 15em;
    overflow-y: auto; }

.select2-container--bootstrap4 .select2-results__group {
    padding: 6px;
    display: list-item;
    color: #6c757d; }

.select2-container--bootstrap4 .select2-selection__clear {
    width: 0.9em;
    height: 0.9em;
    line-height: 0.75em;
    padding-left: 0.15em;
    margin-top: 0.7em;
    border-radius: 100%;
    background-color: #c8c8c8;
    color: #f8f9fa;
    float: right;
    margin-right: 0.3em; }
.select2-container--bootstrap4 .select2-selection__clear:hover {
    background-color: #afafaf; }

/* select two overriden config */
.select2-selection.select2-selection--single {
    border: 1px solid #C2CBCF !important;
    box-sizing: border-box;
    height: 36px !important;
}

.select2-selection.select2-selection--single .select2-selection__rendered {
    line-height: 36px !important;
    font-weight: normal;
    font-size: 14px;
    color: #394447 !important;
}

.left-header-container .select2-selection.select2-selection--single .select2-selection__rendered {
    padding-right: 30px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
}

.select2-dropdown.select2-dropdown--below{
    background: #FFFFFF;
    box-shadow: 0px 2px 6px rgba(57, 68, 71, 0.3);
    border-radius: 4px;
}

#moreDashboardContainer li.select2-results__option {
    max-width: 300px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow-x: hidden;
}


.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #F2FCED !important;
    color: #191F20 !important;
}

span.select2-search.select2-search--dropdown{
    padding: 16px 12px 8px !important;
}

input.select2-search__field {
    font-size: 14px;
    line-height: 18.8px;
    height: 36px;
}

input.select2-search__field:focus {
    background: #FFFFFF;
    border: 1px solid #00A657 !important;
    box-sizing: border-box;
    box-shadow: none;
    border-radius: 4px;
}
.select2-results__option.select2-results__option--selectable {
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    color: #394447;
    min-height: 36px;
    padding: 10px 12px 9px 24px !important;
}

.select2-results__option.select2-results__option--selectable.select2-results__option--selected {
    background: #EEF1F2;
    font-weight: 600;
    color: #191F20;
}

.select2-results__option.select2-results__option--group {

    min-height: 28px;
}

.select2-results__option.select2-results__option--group > strong.select2-results__group {
    font-weight: 600;
    font-size: 14px;
    color: #191F20;
    line-height: 28px;
    padding: 0 16px !important;
}

.form-dropdown .select2-selection.select2-selection--single {
    height: 36px !important;
}

.form-dropdown .select2-selection.select2-selection--single .select2-selection__rendered {
    line-height: 36px !important;
}

@media only screen and (min-width: 1440px) {
    .form-dropdown .select2-selection.select2-selection--single {
        height: 36px !important;
    }
    
    .form-dropdown .select2-selection.select2-selection--single .select2-selection__rendered{
        line-height: 36px !important;
    }
}