.autocomplete-container {
    /*the container must be positioned relative:*/
    position: relative;
}

.autocomplete-container input {
    outline: none;
}

.autocomplete-items {
    position: absolute;
    box-shadow: 0 1px 2px rgba(43,59,93, 0.29);
    border-top: none;
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background-color: rgba(255,255,255, 1);
}

.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    color: rgba(0,0,0, 0.66);
    font-size: 0.875rem;
    background-color: rgba(0,0,0, 0.1);
}

.autocomplete-items div:hover {
    /*when hovering an item:*/
    background-color: rgba(0,0,0, 0.2);
    color: rgba(0,0,0, 1);
}

.autocomplete-items .autocomplete-active {
    /*when navigating through the items using the arrow keys:*/
    background-color: rgba(0,0,0, 0.2);
    color: rgba(0,0,0, 1);
}

.autocomplete-container .clear-button {
    color: rgba(255,255,255, 0.88);
    cursor: pointer;

    position: absolute;
    right: -4px;
    top: 1px;

    height: 100%;
    display: none;
    align-items: center;
    z-index: 999;
}

.autocomplete-container .clear-button.visible {
    display: flex;
}
