/* custom styling for select 2*/
.select2-container--default .select2-selection--single, .select2-search__field {
    font-weight: 400;
    padding-top: 2px;
    color: #2F2F2F;
    background-color: #fff;
    border-radius: 16px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 16px;
    height: 48px;
    letter-spacing: .1px;
    padding: 0 12px;
    transition: border-color .4s;
    width: 100%;
}

.select2-container--default.select2-container--disabled {
    cursor: not-allowed;
}

    .select2-container--default.select2-container--disabled .select2-selection--single {
        background: white;
        border-radius: 16px;
        pointer-events: none;
    }

        .select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__rendered {
            color: #ccc;
        }

.select2-container--open.select2-container--default .select2-selection--single,
.select2-container--focus.select2-container--default .select2-selection--single,
.select2-search__field {
    outline: none !important;
    border-radius: 16px;
}

span.select2-selection.select2-selection--single {
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    right: 0px;
    display: flex;
    align-items: center;
}

    .select2-container--default .select2-selection--single .select2-selection__arrow b {
        display: none;
    }

    .select2-container--default .select2-selection--single .select2-selection__arrow:after {
        content: url(../images/chevron-down.svg);
        right: 10px;
        position: absolute;
        backdrop-filter: blur(1px);
        -webkit-backdrop-filter: blur(1px);
    }

.select2-search__field:focus {
    outline: none;
}

.select2-container--default .select2-results__option {
    padding: 10px;
}

    .select2-container--default .select2-results__option[aria-selected=true] {
        background-color: #3200BE;
        color: white;
    }

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #3200BE;
    color: white;
}

.select2-results__option {
    margin: 0px;
    font-size: 16px;
}

.select2-dropdown {
    border: 1px solid #d9d9d9;
    border-radius: 0px;
    z-index: 5;
}

/* when the dropdown is below the options*/
.select2-container--open .select2-dropdown--below.select2-dropdown {
    z-index:101 !important;
    margin-top: -2px;
    border-bottom-right-radius: 16px;
    border-bottom-left-radius: 16px;
    -webkit-box-shadow: 2.5px 10px 10px 2.5px rgb(0 0 0 / 25%);
    box-shadow: 2.5px 10px 10px 2.5px rgb(0 0 0 / 25%);
}

/* when the dropdown is above the options */
.select2-container--open .select2-dropdown--above.select2-dropdown {
    margin-top: 2px;
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
    -webkit-box-shadow: 2.5px -10px 10px 2.5px rgb(0 0 0 / 25%);
    box-shadow: 2.5px -10px 10px 2.5px rgb(0 0 0 / 25%);
}

.select2-container--open .select2-dropdown--above .select2-results__options {
    border-bottom: 1px solid rgb(200,200,200);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    height: 100%;
    display: flex;
    align-items: center;
}

.select2-search--dropdown {
    border-top: 1px solid rgb(200,200,200);
}

/* increase the amount of options shown */
/* each option is 42 in height. Set the height as a calc so all we have to do is change the number on the right if we want to alter this  */
.select2-container--default .select2-results > .select2-results__options {
    max-height: calc(42px * 7);
    overflow-y: auto;
}