.st-typeahead-container {
    border-radius: 4px;
    position: relative;
}

.st-typeahead-container.st-typeahead-choices-open {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.st-typeahead-container .st-typeahead-choices {
    background-color: #efefef;
    border-radius: 4px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    position: absolute;
    z-index: 9999;
    list-style: none;
    border: 1px solid #ccc;
    border-top: 0;
    width: 100%;
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}

.st-typeahead-container .st-typeahead-choices .st-typeahead-choices-list {
    overflow: auto;
    list-style-type: none;
    padding: 0;
    margin-left: 5px;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
}

.st-typeahead-container .st-typeahead-choices .st-typeahead-choices-list .st-typeahead-choices-item,
.st-typeahead-container .st-typeahead-choices .st-typeahead-choices-list .st-typeahead-choices-messages {
    padding: 4px 12px;
}

.st-typeahead-container .st-typeahead-choices .st-typeahead-choices-list .st-typeahead-choices-item {
    cursor: pointer;
}

.st-typeahead-container .st-typeahead-choices .st-typeahead-choices-list .st-typeahead-choices-item.st-typeahead-choices-item-match {
    background-color: #337ab7;
    color: white;
}

.st-typeahead-container .st-typeahead-choices .st-typeahead-choices-list .st-typeahead-choices-item.st-typeahead-choices-item-match:hover {
    background-color: #4e8fc7;
    color: white;
}

.st-typeahead-container .st-typeahead-choices .st-typeahead-choices-list .st-typeahead-choices-item:hover {
    background-color: #dcdcdc;
    color: #333;
}

.st-typeahead-container.st-typeahead-choices-open .st-typeahead-match {
    border-bottom: 1px solid #cccccc73;
}

.st-typeahead-container .st-typeahead-match {
    border-radius: inherit;
    border: 1px solid #ccc;
}

.st-typeahead-container .st-typeahead-match .st-typeahead-selected {
    padding: 3px 12px;
}

.st-typeahead-container .st-typeahead-match .st-typeahead-selected .st-typeahead-selected-item-remove {
    vertical-align: middle;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .2;
}

.st-typeahead-container .st-typeahead-match .st-typeahead-selected .st-typeahead-selected-item-remove:hover {
    opacity: .5;
}

.st-typeahead-container .st-typeahead-match .st-typeahead-selected span {
    margin: 2px;
}

.st-typeahead-container .st-typeahead-match .st-typeahead-search {
    border-radius: inherit;
    display: flex;
    justify-content: flex-end;
}

.st-typeahead-container .st-typeahead-match .st-typeahead-search .form-control:focus {
    border: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.st-typeahead-container .st-typeahead-match .st-typeahead-search .form-control {
    border: 0;
    border-radius: inherit;
    box-shadow: none;
}

.has-error .st-typeahead-container .st-typeahead-match, 
.has-error .st-typeahead-container .st-typeahead-choices {
    border-color: #a94442;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
            box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}

.has-error .st-typeahead-container .st-typeahead-match:focus-within,
.has-error .st-typeahead-container .st-typeahead-match:focus-within + .st-typeahead-choices {
    border-color: #843534;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;
            box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;
}

.st-typeahead-container[disabled],
.st-typeahead-container[disabled] .st-typeahead-match .st-typeahead-search .form-control,
.st-typeahead-container .st-typeahead-choices .st-typeahead-choices-item[disabled],
.st-typeahead-container .st-typeahead-match .st-typeahead-selected .st-typeahead-selected-item[disabled] {
    background-color: #eee;
    opacity: 1;
    cursor: not-allowed;
}

.st-typeahead-container .st-typeahead-match .st-typeahead-selected .st-typeahead-selected-item[disabled] .st-typeahead-selected-item-remove,
.st-typeahead-container[disabled] .st-typeahead-match .st-typeahead-selected .st-typeahead-selected-item .st-typeahead-selected-item-remove {
    display: none;
}

.st-typeahead-container .st-typeahead-choices .st-typeahead-choices-item[disabled],
.st-typeahead-container .st-typeahead-choices .st-typeahead-choices-item[disabled]:hover {
    background-color: #fff;
    opacity: 0.5;
}

.st-typeahead-container[disabled] .st-typeahead-match .st-typeahead-selected .st-typeahead-selected-item,
.st-typeahead-container .st-typeahead-match .st-typeahead-selected .st-typeahead-selected-item[disabled] {
    background-color: #fff;
    opacity: 0.5;
}

.st-typeahead-container .spinner-icon {
    transition: 350ms linear all;
    opacity: 1;
    align-self: center;
    position: absolute;
    right: 25px;
    width: 16px;
    height: 16px;
    border: solid 2px transparent;
    border-top-color: #29d;
    border-left-color: #29d;
    border-radius: 50%;
    -webkit-animation: loading-bar-spinner 400ms linear infinite;
    -moz-animation: loading-bar-spinner 400ms linear infinite;
    -ms-animation: loading-bar-spinner 400ms linear infinite;
    -o-animation: loading-bar-spinner 400ms linear infinite;
    animation: loading-bar-spinner 400ms linear infinite;
}

.st-typeahead-container .spinner-icon.ng-hide {
    transition: 350ms linear all;
    opacity: 0;
}

@-webkit-keyframes loading-bar-spinner {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes loading-bar-spinner {
    0% {
        -moz-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -moz-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-o-keyframes loading-bar-spinner {
    0% {
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-ms-keyframes loading-bar-spinner {
    0% {
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes loading-bar-spinner {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}