
/* css style for all select2 fields in the project */

/*  Dropdown Head */
.select2-container .select2-selection {
    width: 250px !important;
    border-color: #6c757d !important;
    color: #ffffff !important;
    background-color: #333 !important;
    font-size:14px !important;
}
 /*  input field */
    .select2-search input {
        width: 240px !important;
        color: #ffffff !important;
        background-color: #333 !important;
        font-size: 14px !important;
    }
/* search results box */
.select2-dropdown {
    width: 250px !important;
}

/*????*/
.select2-search {
    background-color: #333 !important;
    color: white !important;
    font-size: 14px !important;
}


/* ?????   Change the appearence of the search results container */
.select2-results .select2-selection-- {

    color: #ffffff !important;
    background-color: #333 !important;
    font-size: 14px !important;

}


/* Change the caret down arrow symbol to white */
.select2-container.select2-selection--single {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
    font-size: 14px !important;

}

/* Change the color of the default selected item i.e. the first option */
.select2-container .select2-selection--single .select2-selection__rendered {
    color: #ffffff !important;
     font-size: 14px !important;
}


/* Change the color of the default selected item i.e. the first option */
.select2-results__option {

    color: #ffffff !important; /* Schriftfarbe auf Weiß */
    background-color: #333!important; /* Hintergrundfarbe im normalen Zustand */
    font-size: 14px !important;
}

/* Darken the background on hover */
.select2-results__option:hover {
    background-color: #7e7d7d !important; /* Hintergrundfarbe beim Hovern über das Element */
    font-size: 14px !important;
}

/* Change background color of the highlighted (selected) option */
.select2-results__option--highlighted {
    background-color: #7e7d7d !important; /* Hintergrundfarbe für das durch Maus ausgewählte Element */
    font-size: 14px !important;
}

/* Change background color of the selected option using keyboard */
.select2-results__option--selected {

    background-color: #965edc !important; /* Hintergrundfarbe für das durch Tastatur ausgewählte Element */
    font-size: 14px !important;
}

/* Override background color for the hovered state after selection */
.select2-container .select2-results__option[aria-selected="true"]:hover {
    background-color: #7e7d7d  !important; /* Hintergrundfarbe für den Hov-Zustand nach Auswahl */
    font-size: 14px !important;
}
.select2-selection__clear {
    color: grey !important;
}