/* meilisearch suggest (from ddp_css.css L1919-L2128) */
/* Local Meilisearch suggest — typeahead UX */
.vdoc-search-form { position: relative; text-align: left; }
.vdoc-search-wrap { position: relative; }
.doc_descr .vdoc-search-wrap { max-width: 640px; }

.navbar-bootsnipp .bootsnipp-search .vdoc-search-input,
.navbar-bootsnipp .bootsnipp-search .form-control.vdoc-search-input {
    color: #1f2933;
    font-weight: 400;
    letter-spacing: 0;
    background-color: #fff;
    border: 1px solid #d9dee3;
    border-radius: 2px;
    padding-left: 14px;
    padding-right: 14px;
}
.navbar-bootsnipp .bootsnipp-search .vdoc-search-input::placeholder {
    color: #8a96a3;
    opacity: 1;
}
.navbar-bootsnipp .bootsnipp-search .vdoc-search-input:focus {
    border-color: #c9302c;
    background-color: #fff;
}

.vdoc-suggest,
.navbar-bootsnipp .bootsnipp-search .vdoc-suggest {
    position: relative;
    z-index: var(--vdoc-z-suggest, 1050);
    margin-top: 8px;
    background: #fff;
    border: 1px solid #d9dee3;
    border-radius: 2px;
    box-shadow: 0 8px 24px rgba(31, 41, 51, 0.12);
    max-height: 420px;
    overflow: auto;
    text-align: left;
    -webkit-overflow-scrolling: touch;
}
.doc_descr .vdoc-suggest {
    position: absolute;
    left: 0;
    right: 0;
    margin-top: 2px;
}

.vdoc-suggest__sec { border-bottom: 1px solid #e8ecf0; }
.vdoc-suggest__sec:last-child { border-bottom: 0; }

.vdoc-suggest__h {
    padding: 10px 14px 6px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #5c6b7a;
    background: #f4f6f8;
    border-bottom: 1px solid #e8ecf0;
    text-align: left;
}

.vdoc-suggest__row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    border-top: 1px solid #eef1f4;
    text-align: left;
}
.vdoc-suggest__sec .vdoc-suggest__row:first-of-type { border-top: 0; }

.vdoc-suggest__link {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    min-width: 0;
    padding: 10px 12px 10px 14px;
    color: #1f2933 !important;
    text-decoration: none !important;
    text-align: left;
    background: #fff;
}
.vdoc-suggest__link:hover,
.vdoc-suggest__link:focus {
    background: #f7f9fb !important;
    color: #1f2933 !important;
    text-decoration: none !important;
}

.vdoc-suggest__ico {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    margin-top: 1px;
    margin-right: 10px;
    border-radius: 50%;
    background: #f0f3f6;
    color: #c9302c;
    font-size: 14px;
    line-height: 28px;
    text-align: center;
}
.vdoc-suggest__ico .fa { line-height: 28px; }

.vdoc-suggest__body {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
}

.vdoc-suggest__title {
    display: block;
    margin: 0 0 2px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    color: #1f2933;
    white-space: normal;
    word-wrap: break-word;
}

.vdoc-suggest__sub {
    display: block;
    margin: 0;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    color: #5c6b7a;
    white-space: normal;
    word-wrap: break-word;
}


.vdoc-suggest__meta {
    display: block;
    margin: 3px 0 0;
    font-size: 11px;
    line-height: 1.35;
    color: #7a8794;
    white-space: normal;
}
.vdoc-suggest__stars {
    display: inline-block;
    color: #e0a800;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.vdoc-suggest__stars .fa {
    font-size: 10px;
    margin-right: 1px;
}
.vdoc-suggest__score {
    margin-left: 3px;
    color: #7a8794;
    font-weight: 600;
    font-size: 11px;
}
.vdoc-suggest__price {
    color: #2f6b4f;
    font-weight: 600;
    white-space: nowrap;
}
.vdoc-suggest__chip {
    color: #7a8794;
    white-space: nowrap;
}
.vdoc-suggest__dot {
    margin: 0 5px;
    color: #c5ced6;
}

.vdoc-suggest__insert {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    width: 44px;
    border: 0;
    border-left: 1px solid #eef1f4;
    background: #fafbfc;
    color: #5c6b7a;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    text-align: center;
}
.vdoc-suggest__insert:hover,
.vdoc-suggest__insert:focus {
    background: #f0f3f6;
    color: #c9302c;
    outline: 0;
}
.vdoc-suggest__insert .fa {
    display: inline-block;
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

.vdoc-search-tabs { margin: 12px 0; }
.vdoc-search-form .help-block { color: #5c6b7a; }
