﻿
.ui-autocomplete {
    position: absolute;
    cursor: default;
    padding: 0;
    list-style: none;
    background-color: #fff !important;
    color: #005792 !important;
    border: none;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: 0px 0px 40px rgba(0, 0, 0, .175) !important;
    box-shadow: 0px 0px 40px rgba(0, 0, 0, .175) !important;
    -moz-box-shadow: 0px 0px 40px rgba(0, 0, 0, .175) !important;
    margin-top: 5px;
    overflow: hidden;
    padding: 15px;
    margin-top: 5px;
    z-index: 1003 !important;
    /*max-height: calc(100vh - 215px);*/
    overflow: auto;
}

label.ui-state-active {
    font-weight: 700 !important;
    background-color: transparent !important;
}

.ui-menu-item-wrapper {
    transition: all .1s ease-in-out;
    padding: 10px;
}

    .ui-menu-item-wrapper:not(label):hover,
    .ui-state-active:not(label) {
        background-color: #005792 !important;
        color: #fff !important;
        border-radius: 5px;
    }

#label.ui-menu-item-wrapper {
    margin-top: 15px;
    margin-bottom: 0px;
}

.ui-menu .ui-menu-item div {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
}

.ui-autocomplete > li.ui-state-active,
.ui-autocomplete > li.ui-state-focus {
    background-color: #005792 !important;
}

.ui-helper-hidden-accessible {
    display: none;
}

.ui-widget-content {
    border: 0px !important;
}

.autocomplete-avatar {
    height: 50px;
    width: 50px;
    min-height: 50px;
    min-width: 50px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 100%;
    margin-right: 15px;
    float: left;
    background-color: #f3f3f3;
}

.autocomplete-avatar-icon {
    height: 50px;
    width: 50px;
    min-width: 50px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 100%;
    margin-right: 15px;
    float: left;
    background-color: #f3f3f3;
    font-size: 1.7em;
    text-align: center;
    color: #005792;
    display: flex;
    align-items: center;
    text-decoration: none;
}

    .autocomplete-avatar-icon span {
        margin: 0 auto;
    }

.autocomplete-title {
    margin-top: 15px;
    word-break: break-word;
    white-space: normal;
}

.autocomplete-avatar-icon.insurance {
    background-color: rgba(85, 165, 28, 0.15);
    color: #55a51c;
}

.autocomplete-avatar-icon.city {
    background-color: rgba(0, 173, 215, 0.15);
    color: #00add7;
}

.autocomplete-avatar.area-of-interest {
    background-color: rgba(0, 173, 215, 0.15);
    color: #00add7;
}