body {
    background-color: #fffefc;
}

#hits {
    position: absolute;
    z-index: 1000;
    width: 100%;
}

.ais-SearchBox-form {
    background-color: transparent !important;
    height: 50px !important;
}

.ais-SearchBox-input {
    border-radius: 6px !important;
    color: #141617;
    font-size: 18px;
    outline: none;
}

.empty-hit {
    align-items: center;
    background: #ffb59e;
    box-shadow: 0 0 0 1px rgba(35, 38, 59, .05), 0 1px 3px 0 rgba(35, 38, 59, .15);
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    color: #141617;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.25rem;
    padding: 1rem;
    height: 50px !important;
}

.header_title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.active {
    background-color: #dce1e5;
}

.component_group:hover {
    background-color: #dce1e5;
}

.component_group:active {
    background-color: #dce1e5;
}

.hitbox.component {
    /* background-image: url(/wp-content/uploads/2023/06/icon_substance_front.png); */
    /* background-image: url(https://farmakologiportalen.no/wp-content/uploads/2023/06/icon_substance_front.png); */
    background-image: url(/wp-content/uploads/2023/06/icon_substance_front.png);
    background-repeat: no-repeat;
    background-position: 5px 5px;
    padding: 15px 10px 10px 60px;
    font-size: 16px;
    color: #F8805C;
}

.hitbox.component a {
    text-decoration: none !important;
    color: #006cba !important;
}

.ais-SearchBox-form {
    height: 50px !important;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.search-panel {
    display: flex;
}

.search-panel__filters {
    flex: 1;
    padding-right: 2rem;
}

.search-panel__results {
    flex: 3;
}

.ais-hits--item {
    min-height: 100px;
    padding: 1rem;
    background: #fff;
    border-radius: 4px;
    border: 1px solid rgba(150, 150, 150, 0.16);
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.16);
}

@media (min-width: 320px) and (max-width: 480px) {
    .show-more-button {
        margin-top: 5px !important;
    }
}

@media (min-width: 150px) and (max-width: 767px) {
    .search-left-column {
        float: left;
        width: 100% !important;
    }

    .search-right-column {
        float: left;
        width: 100% !important;
    }

    .filter-box {
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        background: #F5F7F8;
        box-shadow: 0 0 0 1px rgb(35 38 59 / 5%), 0 1px 3px 0 rgb(35 38 59 / 15%);
        /* display: -webkit-box;
      display: -ms-flexbox; */
        display: none;
        font-size: .875rem;
        font-weight: 400;
        line-height: 1.25rem;
        padding: 1.5rem;
        height: auto;
    }

    .filters {
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        align-content: center;
        text-align: center;
        background: #F5F7F8;
        box-shadow: 0 0 0 1px rgb(35 38 59 / 5%), 0 1px 3px 0 rgb(35 38 59 / 15%);
        display: block;
        padding-bottom: 40px;
        padding-top: 5px;
        height: 20px;
        cursor: pointer;
        margin-bottom: 20px;
        margin-top: 20px;
    }

}

@media (min-width: 767px) {
    .filters {
        display: none;
    }

    .filter-box {
        display: block;
    }
}

.search-left-column {
    float: left;
    width: 25%;
}

.search-right-column {
    float: left;
    width: 75%;
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

*/ .ais-Hits--empty {
    display: none !important;
}

.ais-Hits-item:hover {
    background-color: #F8F4EF !important;
}

.ais-Hits-item {
    height: 45px;
    /* margin-bottom: 5px !important; */
}

.white_space_pre_wrap {
    white-space: pre-wrap;
}

.hit-name:hover {
    cursor: pointer;
}