@import "../css/variables";

.search-container {
    display: none;
}

mark {
    padding: 0;
}

.search-powered-by {
    &__container {
        display: flex;
        justify-content: flex-end;
    }

    &__link {
        margin-top: 2px;
        margin-bottom: 2px;
    }

    &__icon {
        font-size: 1.2em;
    }
}

.search-input-container .ais-search-box {
    max-width: unset;
}

.search-input-container input:focus {
    outline: none;
}

.search {
    .popover {
        min-width: 300px;

        @media (min-width: $screen-sm-min) {
            min-width: 600px;
        }
    }

    input {
        padding-left: 24px;

        font-size: 14px;
    }
}

.columns-layout {
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.columns-layout__left-column {
    flex-basis: 40%;
    flex-grow: 0;
}

.columns-layout__right-column {
    flex-basis: 60%;
    flex-grow: 0;

    margin-left: 5px;
}

.search-results__search-result {
    padding: 0 5px 5px 5px;
    margin: 0;
    border-left: 1px #ddd solid;
}

.search-results__group-header {
    font-size: 14px;
    font-weight: bold;

    color: black;
}

.search-result__subcategory
{
    font-size: 12px;

    color: black;
}

.search-result__subsubcategory,
.search-result__subsubsubcategory,
.search-result__content
{
    display: block;

    font-size: 12px;

    color: gray;
}

.search-results .algolia-docsearch-suggestion--highlight {
    color: #f69432;
    background-color: #f9f2f4;
}