:root {
    --textdefault: #1d1d1d;
    --textsecondary: #6C727F;
    --inputerrortext: #d33131;
    --inputerrortextdarker: #b82626;
    --inputerrorbackground: #ffdfdf;
}

.autocomplete-wrapper {
    text-align: left;
}

    .autocomplete-wrapper .form-text {
        --inputerror: var(--inputerrortext);
        color: var(--textsecondary);
        font-size: 15px;
        margin-top: 0.75rem;
        display: block;
        border-radius: 5px;
    }

        .autocomplete-wrapper .form-text.form-text-error {
            color: var(--inputerror) !important
        }

            .autocomplete-wrapper .form-text.form-text-error.boxed {
                --inputerror: var(--inputerrortextdarker);
                border: 1px var(--inputerror) solid;
                background-color: var(--inputerrorbackground);
                padding: 5px 10px
            }

.autocomplete__wrapper {
    position: relative;
    z-index: 99;
}

.background-grad .autocomplete-wrapper label {
    text-transform: none;
    color: inherit;
    font-size: 18px;
    font-weight: normal;
}

.background-grad .autocomplete-wrapper label {
    color: #fff;
}

.autocomplete-flexwrap {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

    .autocomplete-flexwrap > div {
        flex-grow: 2;
    }

.autocomplete__hint, .autocomplete__input {
    -webkit-appearance: none;
    margin-bottom: 0;
    width: 100%;
    background-color: #fff;
    border-width: 0;
    border-radius: 5px;
}

.autocomplete__input {
    position: relative
}

.autocomplete__hint {
    color: #b1b4b6;
    position: absolute
}

.autocomplete__input--default {
    padding: 1.25rem;
    border-radius: 5px;
}

.autocomplete__input--focused {
}

.autocomplete__input--show-all-values {
    padding: 5px 34px 5px 5px;
    cursor: pointer
}

.autocomplete__dropdown-arrow-down {
    z-index: -1;
    display: inline-block;
    position: absolute;
    right: 8px;
    width: 24px;
    height: 24px;
    top: 10px
}

.autocomplete__menu {
    background-color: #fff;
    border-top: 0;
    color: #0b0c0c;
    margin: 0;
    max-height: 342px;
    overflow-x: hidden;
    padding: 0;
    width: 100%;
    width: calc(100% - 0px);
    position: absolute;
}

.autocomplete__menu--visible {
    display: block
}

.autocomplete__menu--hidden {
    display: none
}

.autocomplete__menu--overlay {
    box-shadow: rgba(0,0,0,.256863) 0 2px 6px;
    left: 0;
    position: absolute;
    top: 100%;
    z-index: 100
}

.autocomplete__menu--inline {
    position: absolute;
}

.autocomplete__option {
    border-bottom: solid #b1b4b6;
    border-width: 1px 0;
    cursor: pointer;
    display: block;
    position: relative
}

    .autocomplete__option > * {
        pointer-events: none
    }

    .autocomplete__option:first-of-type {
        border-top-width: 0
    }

    .autocomplete__option:last-of-type {
        border-bottom-width: 0
    }

.autocomplete__option--odd {
    background-color: #fafafa
}

.autocomplete__option--focused, .autocomplete__option:hover {
    background-color: #1d70b8;
    border-color: #1d70b8;
    color: #fff;
    outline: 0
}

@media (-ms-high-contrast:active),(forced-colors:active) {
    .autocomplete__menu {
        border-color: FieldText
    }

    .autocomplete__option {
        background-color: Field;
        color: FieldText
    }

        .autocomplete__option--focused, .autocomplete__option:hover {
            forced-color-adjust: none;
            background-color: SelectedItem;
            border-color: SelectedItem;
            color: SelectedItemText;
            outline-color: SelectedItemText
        }
}

.autocomplete__hint, .autocomplete__input, .autocomplete__option {
    font-size: 16px;
    line-height: 1.25;
}

.autocomplete__input {
    color: #000 !important;
}

.autocomplete__option--no-results {
    background-color: #fafafa;
    color: #646b6f !important;
    cursor: not-allowed
}

.autocomplete__hint, .autocomplete__option {
    padding: 5px
}

@media (min-width: 641px) {
    .autocomplete__hint, .autocomplete__input, .autocomplete__option {
        font-size: 19px;
        line-height: 1.31579
    }

    .background-grad .autocomplete-wrapper label {
        font-size: 20px;
    }

    .autocomplete-flexwrap {
        flex-direction: row;
    }
}
