/* The css in this file is injected into the shadow dom of SAYT. Therefore cannot be merged with other stylesheets */
* {
    font-family: var(--main-font-family);
}

.cludo-facet-header,
.cludo-sayt-layout .cludo-sayt-suggestions__header {
    font-size: 18px;
    letter-spacing: -0.56px;
}

.hy-person-card.search-panel .hy-person-card__info-container__full-name {
    font-size: 16px !important;
    letter-spacing: 0px !important;
}

.hy-person-card__info-container {
    padding-top: 4px;
}

.cludo-facet-header {
    color: #000222;
}

.cludo-sayt-template__doc-list-item:last-child {
    margin-bottom: 20px;
}

.cludo-sayt-template__doc-list-item-anchor {
    margin-bottom: 14px;
}

.cludo-sayt-suggestions__list-item .d-block .clickable-result {
    background-color: #f8f8f8;
}

.cludo-sayt-template__doc-list,
.cludo-sayt-suggestions__list-item--inner {
    color: #555555;
}

.cludo-sayt-layout .cludo-sayt-search-results__facet-title,
.cludo-sayt-layout .cludo-sayt-suggestions__header {
    color: black;
}

.cludo-sayt-layout .cludo-sayt-suggestions__header,
.cludo-sayt-layout .cludo-sayt-suggestions,
.cludo-sayt-layout .cludo-sayt-suggestions__list-item {
    margin-bottom: 0;
}

.cludo-sayt-suggestions__header::after {
    content: ":";
}

.cludo-sayt-search-results__view-more {
    color: #107eab;
    font-weight: 600;
}

.cludo-sayt-layout.flex-d-row {
    flex-direction: column;
}

.cludo-sayt-suggestions.flex-d-column,
.cludo-sayt-suggestions__list.flex-d-column {
    flex-direction: row;
}

.cludo-sayt-suggestions__list-item {
    margin-left: 10px;
    margin-right: 10px;
}

.cludo-sayt-layout sayt-suggestions-layout {
    padding-bottom: 0;
}

.cludo-sayt-layout sayt-results-layout {
    /* padding-top: 0; */
}

.cludo-sayt-layout sayt-suggestions-layout {
    background: none;
    flex: 0;
    overflow-y: visible;
    border: none;
}

.cludo-sayt-suggestions {
    position: relative;
}

@media only screen and (max-width: 767px) {

    /* Override the fact that we hide suggestions on mobile */
    .cludo-sayt-layout sayt-suggestions-layout.d-none--mobile {
        display: block!important;
    }

    .cludo-sayt-suggestions {
        overflow-x: scroll;
        overflow-y: hidden;
        -ms-overflow-style: none;
    }

    .cludo-sayt-suggestions::-webkit-scrollbar {
        width: 6px;
        background-color: transparent;
    }

    .cludo-sayt-suggestions h3{
        display: none;
    }

    .cludo-sayt-suggestions li:first-child{
        margin-left: 0;
    }
}


.cludo-sayt-suggestions::after {
    content: "";
    width: 100%;
    height: 2px;
    background-color: #d2d2d2;
    position: absolute;
    bottom: -13px;
}

.cludo-sayt-template__facet-header {
    margin-bottom: 16px !important;
}

.cludo-sayt-layout hy-person-card article,
.cludo-sayt-layout hy-person-card .hy-person-card {
    margin-bottom: 0;
}

.cludo-sayt-layout .hover {
    margin: -3.75px;
    padding: 3.75px;
}

/* sticky see all results btn */
.all-results-btn {
    background: white;

    margin: 0 -22px -22px -22px;
    padding-bottom: 11px;
}

.cludo-sayt-layout .scrollbar {
    overflow: initial;
    padding-top: 22px;
    padding-bottom: 22px;
}

@media only screen and (max-width: 800px) {
    .cludo-sayt-layout .cludo-sayt-search-results {
        flex-direction: column;
    }

    .all-results-btn {
        position: sticky;
        bottom: 0;

        margin: 0 -11px -11px -11px;
        padding-left: 11px;
        padding-right: 11px;
    }
    .all-results-btn .border-bottom {
        margin-bottom: 11px;
    }
    .cludo-sayt-layout .scrollbar {
        overflow: initial;
        padding: 11px;
    }
    .cludo-sayt-suggestions::after {
        display: none;
    }
    sayt-suggestions-layout::after {
        top: 45px;
        content: "";
        width: 94%;
        height: 2px;
        background-color: #d2d2d2;
        position: absolute;
    }

}



/* helper for making search container flush with edge of button on mobile */
@media only screen and (max-width: 1200px) {
    #cludo-reli-flexi {
        right: 11px !important;
    }
}
