﻿/* autocomplete */
.xdsoft_autocomplete {
    display: inline;
    position: relative;
    max-width: 100%;
    word-spacing: normal;
    text-transform: none;
    text-indent: 0;
    text-shadow: none;
    text-align: start;
}

.xdsoft_autocomplete .xdsoft_input {
    position: relative;
    z-index: 2;
}

.xdsoft_autocomplete .xdsoft_autocomplete_dropdown {
    position: absolute;
    border: 1px solid var(--bs-gray-400);
    border-top-color: var(--bs-gray-300);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    cursor: default;
    display: none;
    z-index: 1001;
    margin-top: -1px;
    background-color: rgb(var(--bs-white-rgb));
    min-width: 100%;
    max-width: 100%;
    overflow: auto;
}

.xdsoft_autocomplete .xdsoft_autocomplete_hint {
    position: absolute;
    z-index: 1;
    max-width: 100% !important;
    color: var(--bs-gray-400) !important;
    -webkit-text-fill-color: var(--bs-gray-400) !important;
    text-fill-color: var(--bs-gray-400) !important;
    border-radius: var(--bs-border-radius) !important;
    overflow: hidden !important;
    white-space: pre !important;
}

.xdsoft_autocomplete .xdsoft_autocomplete_hint span {
    color: transparent;
    opacity: 0.0;
}

.xdsoft_autocomplete .xdsoft_autocomplete_dropdown > .xdsoft_autocomplete_copyright {
    color: var(--bs-gray-300);
    font-size: 10px;
    text-decoration: none;
    right: 5px;
    position: absolute;
    margin-top: -15px;
    z-index: 1002;
}

.xdsoft_autocomplete .xdsoft_autocomplete_dropdown > div {
    background-color: rgb(var(--bs-white-rgb));
    color: var(--bs-body-color);
    white-space: nowrap;
    cursor: pointer;
    line-height: 1.5em;
    padding: 2px 0 2px 0;
}

.xdsoft_autocomplete .xdsoft_autocomplete_dropdown > div.active {
    background-color: var(--bs-gray-600);
    color: rgb(var(--bs-white-rgb));
}