﻿.autocomplete {
    position: relative;
    display: inline-block;
}

.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    /*border-bottom: none;
    border-top: none;*/
    z-index: 1000;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 0;
    right: 0;
    overflow: auto;
    width: 115%;
    max-height: 800%;
    margin-top: 0.5%;
}

    .autocomplete-items div {
        padding: 10px;
        cursor: pointer;
        background-color: #fff;
        border-bottom: 1px solid #d4d4d4;
    }

        /*when hovering an item:*/
        .autocomplete-items div:hover {
            background-color: #e9e9e9;
        }

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
    background-color: #e9e9e9 !important;
    /*color: #ffffff;*/
}

.autocomplete-items::-webkit-scrollbar {
    width: 10px;
}

.autocomplete-items::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

    .autocomplete-items::-webkit-scrollbar-thumb:active {
        background-color: #999999;
    }

    .autocomplete-items::-webkit-scrollbar-thumb:hover {
        background: #b3b3b3;
        box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
    }

/* Estilos track de scroll */
.autocomplete-items::-webkit-scrollbar-track {
    background: #e1e1e1;
    border-radius: 4px;
}

    .autocomplete-items::-webkit-scrollbar-track:hover,
    .autocomplete-items::-webkit-scrollbar-track:active {
        background: #d4d4d4;
    }

.autocomplete-items::-webkit-scrollbar-button {
    width: 0px;
}
