.typeahead-icon {
    position: absolute;
    left: 0px;
    top: -1px;
    font-size: 20px;
    line-height: 36px;
    padding-left: 11px;
    width: 30px;
    color: #888;
}
.typeahead-input {
    height: 36px;
    border: 1px solid transparent;
    border-radius: 3px;
    padding-right: 26px;
    -webkit-appearance: none;
    -moz-appearance: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.typeahead-input::-ms-clear {
    display: none;
}
.typeahead-clear .flaticon-close-thin:before {
    font-size:12px;
    position: relative;
    bottom: 1px;
}
.typeahead-input:active,
.typeahead-input:focus {
    border-color: transparent;
}
.typeahead-icon + .typeahead-input {
    padding-left: 36px;
}
.typeahead-results {
    background-color: #fff;
    border: 1px solid #dbdbdb;
    z-index: 1000!important;
    position: absolute;
    left: 0;
    top: 39px;
    right: 0;
    cursor: pointer;
}
.typeahead-results > p {
    padding: 0 10px 0 14px;
    margin: 0;
}
.typeahead-active,
.embedded-search-typeahead .typeahead-results > p:active,
.embedded-search-typeahead .typeahead-results > p:hover {
    cursor: pointer;
    background-color: #ebebeb;
    text-decoration: none;
}
.typeahead-results > a {
    display: block;
    padding: 5px 20px;
    margin: 0;
    position: relative;
    padding-left: 85px;
    min-height: 56px;
    color: inherit;
}
.typeahead-results > a > img {
    position: absolute;
    left: 8px;
}
.typeahead-spinner {
    font-size: 10px;
    position: absolute;
    text-indent: -9999em;
    border-top: 5px solid rgba(0,0,0,0.2);
    border-right: 5px solid rgba(0,0,0,0.2);
    border-bottom: 5px solid rgba(0,0,0,0.2);
    border-left: 5px solid #fff;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load8 1.1s infinite linear;
    animation: load8 1.1s infinite linear;
    top: 7px;
    right: 10px;
}
.typeahead-spinner, .typeahead-spinner:after {
    border-radius: 50%;
    width: 25px;
    height: 25px;
}
@-webkit-keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
.typeahead-clear {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 30px;
    line-height: 25px;
    text-align: center;
    width: 26px;
    height: 26px;
    border-radius: 15px;
    background: #ebebeb;
}
.typeahead-clear > span {
    cursor: pointer;
    font-size: 12px;
}
.embedded-search-typeahead .typeahead-results {
    padding: 0px;
    border: 1px solid #888;
}
.embedded-search-typeahead .typeahead-results > p {
    padding: 4px 10px;
}
.embedded-search-typeahead .typeahead-input {
    border: 1px solid #dbdbdb;
}

.mobile-specific-typeahead .typeahead-results > p {
    min-height: 45px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.mobile-specific-typeahead .typeahead-results > p:not(:last-of-type) {
    border-bottom: 1px solid #dbdbdb;
}
.mobile-specific-typeahead .typeahead-results > p > span {
    font-size: 12px;
    color: #AFAFAF;
}
.mobile-specific-typeahead .typeahead-results > p > span:first-of-type,
.mobile-specific-typeahead .typeahead-results > p > span.suggestion-count {
    display: none;
}
@media screen and (min-width: 768px) {
    .typeahead-results > p:hover,
    .typeahead-results > a:hover {
        cursor: pointer;
        background-color: #ebebeb;
        text-decoration: none;
    }
}
