/*the container must be positioned relative:*/
.autocomplete {
    width: calc(100%);
    position: relative;
    display: inline-block;
}

/* input {
    border: 1px solid transparent;
    background-color: #f1f1f1;
    padding: 10px;
    font-size: 16px;
}

input[type=text] {
    background-color: #f1f1f1;
    width: 100%;
}

input[type=submit] {
    background-color: DodgerBlue;
    color: #fff;
    cursor: pointer;
} */

.autocomplete-items {
    padding: 5px;
    width: calc(100% - 45px);

    position: absolute;
    border: 1px solid #d4d4d4;
    background-color: #fff;
    border-top: none;

    font-family: rubik;
    color: #212529;

    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 0;
    right: 0;
}

.autocomplete-items .autocomplete-item, .autocomplete-items .autocomplete-item-sugest {
    width: 100%;
    padding: 5px;
    cursor: pointer;
    border-radius: 5px;
    background-color: #fff;
}

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

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

#flag-sugest-category {
    max-height: 170px;
    overflow-x: hidden;
    overflow-y: auto;
}

#flag-sugest-category::-webkit-scrollbar-track
{
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
  border-radius: 10px;
  background-color: #F5F5F5;
}

.pencarian-terakhir-head {
    font-family: rubik;
    font-weight: bold;
    color: #212529;
}
