@charset "UTF-8";
/* ----------------------------------------
 * Typeahead 股票查詢
 * ======================================== */
.inquire-searchbar {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    font-size: 0.875rem;
}
.inquire-searchbar .twitter-typeahead {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
}
.inquire-searchbar .twitter-typeahead::before {
    position: absolute;
    content: "";
    z-index: 2;
    top: 50%;
    left: 0;
    bottom: 0;
    margin-top: -1.125rem;
    width: 2.25rem;
    height: 2.25rem;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath d='M18.031 16.617l4.283 4.282-1.415 1.415-4.282-4.283A8.96 8.96 0 0 1 11 20c-4.968 0-9-4.032-9-9s4.032-9 9-9 9 4.032 9 9a8.96 8.96 0 0 1-1.969 5.617zm-2.006-.742A6.977 6.977 0 0 0 18 11c0-3.868-3.133-7-7-7-3.868 0-7 3.132-7 7 0 3.867 3.132 7 7 7a6.977 6.977 0 0 0 4.875-1.975l.15-.15z' fill='%23aaa' /%3E%3C/svg%3E");
}
.inquire-searchbar .typeahead-input {
    padding-left: 2rem;
}

.typeahead-menu,
.typeahead-extra {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10;
    margin-top: -1px;
    padding: 0.5rem 0;
    width: 100%;
    background: -webkit-gradient(linear, left top, left bottom, from(#f8f9fa), color-stop(40%, #fff));
    background: linear-gradient(#f8f9fa 0%, #fff 40%);
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 1px 0.375rem rgba(0, 0, 0, 0.1);
            box-shadow: 0 1px 0.375rem rgba(0, 0, 0, 0.1);
}

.typeahead-menu {
    max-height: 180px;
    min-width: 240px;
    overflow: auto;
}

.typeahead-none {
    padding: 0 0.75rem;
    color: #888;
}

.typeahead-suggestion {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    padding: 0.25rem 0.75rem;
    overflow: hidden;
    cursor: pointer;
    min-width: 0;
}
.typeahead-suggestion:hover, .typeahead-suggestion.tt-cursor {
    background-color: rgba(0, 0, 0, 0.05);
}
.typeahead-suggestion .stockId {
    min-width: 80px;
}
.typeahead-suggestion .stockName {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.typeahead-highlight {
    font-weight: 400;
    color: #e33;
}