/* Translation */

/*
    Custom Placeholder text preparation ("removes" old text)
*/
.ais-ClearRefinements-button,
.ais-InfiniteHits-loadMore
{
    background-color: #005299; /* hbw theme button color from .navbar-toggler */
    text-indent: -9999px;
    color: transparent;
}

/*
    Custom Placeholder text initialization (styling new text)
*/
.ais-ClearRefinements-button::after,
.ais-InfiniteHits-loadMore::after
{
    content: "";
    text-indent: 0;
    display: block;
    line-height: initial; /* New content takes up original line height */
    position: relative;
    margin-top: -1rem;
    color: #fff;
}

/*
    Custom Placeholder text definition (setting new text)
*/
.ais-ClearRefinements-button::after {
    content: "Filter zurücksetzen";
}
.ais-Hits-loadMore::after,
.ais-InfiniteHits-loadMore::after
{
    content: "Mehr anzeigen";
}

/* Customization */

/*
    highlight border left of item (leading-class)
*/
.ais-InfiniteHits-item .actuality-highlight {
    position: absolute;
    margin-top: -1rem;
    margin-left: -1rem;
    height: calc(100% + 2rem);
    width: 0.25rem;
    display: block;
}

/*
    highlight border left of item (green)
*/
.ais-InfiniteHits-item .actuality-highlight.actuality-green {
    background-color: green;
}
/*
    highlight border left of item (grey)
*/
.ais-InfiniteHits-item .actuality-highlight.actuality-grey {
    background-color: grey;
}

/*
    width of hit item
*/
.ais-InfiniteHits-item {
    width: calc(100% - 1rem);
}

/*
    icon of healthInsurance
*/
.ais-InfiniteHits-item .health-insurance-icon {
    position: absolute;
    right: 1rem;
    bottom: 0;
    display: block;
}

/*
    custom refinment list styling like in ZAK, but on <ais-refinement-list> elements
*/
.ais-RefinementList-item-a {
    color: #677788 !important;
    font-size: 1.125rem;
}

.disabled-force {
    pointer-events: none !important;
}

.ais-RefinementList-item-refined {
    color: #00529e !important;
}

.ais-RefinementList-item-refined .checkbox-icon-input ~ .checkbox-icon-label::after {
    color: #00529e;
    border-color: #00529e;
}
.ais-RefinementList-item-refined .checkbox-outline-input ~ .checkbox-outline-label {
    border-color: #00529e;
}

/*
    hide empty table
*/
.ais-empty, .hide-container {
    display: none;
}