/* _content/ec.BlazorAutocomplete/AutocompleteCb.razor.rz.scp.css */

.autocomplete[b-tlca4boced] {
    position: relative;
    width: 100%;
    min-width: 0;
}

.autocomplete > div[b-tlca4boced] {
    width: 100%;
}

.autocomplete .dropdown-panel[b-tlca4boced] {
    position: relative;
    width: 100%;
}

.autocomplete .input-group[b-tlca4boced] {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    width: 100%;
}

.autocomplete .form-control[b-tlca4boced] {
    min-width: 0;
    width: 100%;
    max-width: 100%;
}




    .autocomplete .mobile[b-tlca4boced] {
        top: 40px;
        left: 0;
        background: white;
        width: 100%;
        padding: 0;
        z-index: 10;
        border: 1px solid #ced4da;
        border-radius: 0.5rem;
        box-shadow: 0 30px 25px 8px rgba(0, 0, 0, 0.1);
        /*    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    width: 600px;
    padding: 0;
    z-index: 2000;
    border: 1px solid #ced4da;
    border-radius: 0.5rem;
    box-shadow: 0 30px 25px 8px rgba(0, 0, 0, 0.1);*/
    }

    .autocomplete .options[b-tlca4boced] {
        /*position: fixed;*/
        top: 40px;
        left: 0;
        background: white;
        width: 100%;
        padding: 0;
        z-index: 10;
        border: 1px solid #ced4da;
        border-radius: 0.5rem;
        box-shadow: 0 30px 25px 8px rgba(0, 0, 0, 0.1);
    }

    .autocomplete .options.loading[b-tlca4boced] {
        filter: saturate(0.9);
    }

    .autocomplete .loading-overlay[b-tlca4boced] {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: flex-start;
        justify-content: flex-end;
        padding: 0.35rem 0.5rem;
        background: rgba(255, 255, 255, 0.18);
        color: #495057;
        font-size: 0.8rem;
        pointer-events: none;
        border-radius: 0.5rem;
    }

    .autocomplete .option[b-tlca4boced] {
        display: block;
        padding: 0.25rem;
    }

        .autocomplete .option .option-text[b-tlca4boced] {
            padding: 0.25rem 0.5rem;
        }

        .autocomplete .option:hover[b-tlca4boced] {
            background: #1E90FF;
            color: #fff;
        }

    .autocomplete .noHover[b-tlca4boced] {
        background-color: unset !important;
        color: unset !important;
    }

    .autocomplete .highlight[b-tlca4boced] {
        background: #1E90FF;
        color: #fff;
    }

    .autocomplete .option.disabled[b-tlca4boced] {
        background-color: lightgrey;
        cursor: not-allowed;
    }

        .autocomplete .option.disabled:hover[b-tlca4boced] {
            background: lightgrey;
            color: var(--bs-body);
        }

.autocomplete.floating-label .input-group[b-tlca4boced] {
    position: relative;
}

.autocomplete.floating-label input.form-control[b-tlca4boced] {
    height: 3.2em;
    padding: 1.4em 0.75rem 0.35em 0.6rem !important;
}

.autocomplete.floating-label .floating-label-text[b-tlca4boced] {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    max-width: calc(100% - 2rem);
    padding: 0 0.75rem 0 0.6rem;
    overflow: hidden;
    color: #495057;
    font-size: 1em;
    text-overflow: ellipsis;
    white-space: nowrap;
    pointer-events: none;
    transition: top .1s ease-in-out, transform .1s ease-in-out, font-size .1s ease-in-out, color .1s ease-in-out;
}

.autocomplete.floating-label .floating-label-text.raised[b-tlca4boced] {
    top: 0;
    transform: none;
    padding-top: 0.5em;
    font-size: 0.85em;
    color: #6c757d;
}

.input-clear[b-tlca4boced] {
    /* Avoid use typing under the clear button. */
    padding-right: 30px !important;
}

.input-group-btn[b-tlca4boced] {
    position: relative;
    /* This avoid the "clear" button being hidden while 
     the input has focus on.  But it puts it in front of dropdown menus */
    z-index: 20;
    display: inline-flex;
    align-items: stretch;
    width: 2rem;
    min-width: 2rem;
}

.input-btn-icon[b-tlca4boced] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 2rem;
    line-height: 1;
    font-weight: 700;
}

    .input-group-btn a.btn[b-tlca4boced] {
        box-shadow: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        right: 100%;
        top: 0;
        height: 100%;
        padding: 0px;
        margin: 0px;
        width: 2rem;
        min-width: 2rem;
        color: rgb(204, 204, 204);
        text-decoration: none;
    }

        /* This avoid the bad effect when clicking the button. */
        .input-group-btn a.btn:hover[b-tlca4boced], .input-group-btn a.btn:active[b-tlca4boced] {
            box-shadow: none;
        }


    .input-group-btn button.btn[b-tlca4boced] {
        border-color: lightgray;
        outline-width: 0;
        box-shadow: none;
        align-content: center;
        vertical-align: central;
        border-radius: 0px;
        height: 100%;
        width: 2rem;
        min-width: 2rem;
        padding: 0px;
        margin: 0px;
        position: static;
    }

        .input-group-btn button.btn:disabled[b-tlca4boced] {
            background-color: var(--bs-secondary-bg);
            opacity: 1;
        }


