/* HD 11.03.2025 TASK23831 - SOLR-VOLLTEXTSUCHE */
.suche button {
    top: 0.75em;
    bottom: auto;
}

.ikiss-autocomplete-result-wrap {
    display: none;
    position: relative;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 1001 !important;
    max-height: calc(65vh - var(--navmaxheight));
    font-size: 1em;
    font-style: normal;
    text-align: left;
    color: var(--bodycolor);
    background: #fff;
    border-top: 1px solid var(--primarycolor);
    padding: 0.5rem 1rem;
    overflow: auto;
}
.ikiss-autocomplete-result-head {
    position: relative;
}
.ikiss-autocomplete-result-head::before {
    content: 'Top Treffer';
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
    font-size: 0.667rem;
    font-weight: var(--font-bold);
    color: #fff;
    background-color: var(--bodycolor);
    padding: 0.5em 0.75em;
}
.ikiss-autocomplete-result-wrap h2 {
    font-size: 1.333rem;
    font-weight: var(--font-bold);
    color: var(--bodycolor);
}
.ikiss-autocomplete-result-head ul {
    border-bottom: 1px solid var(--silver);
    padding-bottom: 0.5em;
    margin-bottom: 0.5em;
    transition: all 2s;
}
.ikiss-autocomplete-result-head:last-of-type ul {
    border-bottom: none;
    margin-bottom: 0;
}
.ikiss-autocomplete-result-head ul li {
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    text-overflow: ellipsis;
    display: block;
    padding: 0;
    margin-bottom:0;
}
.ikiss-autocomplete-result-wrap .btn {
    display: inline-block;
    position: relative;
    min-height: 2.5em;
    font-weight: normal;
    font-weight: var(--font-regular);
    font-size: 1em;
    line-height: 1.5;
    text-decoration: none;
    color: var(--btntextcolor);
    background-color: var(--btncolor);
    border: none !important;
    box-shadow: 2px 3px 2px rgb(0, 0, 0, 0.15);
    vertical-align: middle;
    overflow: hidden;
    z-index: 1;
    border-radius: var(--button-border-radius);
    padding: 0.5em 1em;
    margin: 10px 10px 0 0;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: all 0.1s ease;
}
.ikiss-autocomplete-result-wrap .btn::before {
    display: none;
}
.ikiss-autocomplete-result-wrap .btn::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    border-radius: 0.25em;
    transition: all 0.25s ease;
    z-index: -1;
    opacity: 0;
}
.ikiss-autocomplete-result-wrap .btn:hover,
.ikiss-autocomplete-result-wrap .btn:focus,
.ikiss-autocomplete-result-wrap .btn.tab-focus  {
    background-color: var(--btncolor);
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
    transform: translateY(1px);
}
.ikiss-autocomplete-result-wrap .btn:hover::after,
.ikiss-autocomplete-result-wrap .btn:focus::after,
.ikiss-autocomplete-result-wrap .btn.tab-focus::after  {
    opacity: 1;
}
.ikiss-autocomplete-result-head ul li a:hover,
.ikiss-autocomplete-result-head ul li a:focus,
.ikiss-autocomplete-result-head ul li a.tab-focus {
    text-decoration: underline;
}
.ikiss-autocomplete-result-head ul li a::before {
    display: inline-block;
    font-family: "Font Awesome 7 Pro";
    font-size: 0.889rem;
    font-weight: var(--font-bold);
    text-decoration: none;
    white-space: nowrap;
    color: var(--primarycolor);
    margin-right: 0.5em;
}
.ikiss-autocomplete-result-head ul li a:hover::before,
.ikiss-autocomplete-result-head ul li a:focus::before,
.ikiss-autocomplete-result-head ul li a.tab-focus::before {
    text-decoration: none;
    color: var(--primarycolor);
}
.ikiss-autocomplete-result-head ul li a[href*="object"]::before,
.ikiss-autocomplete-result-head ul li a[href*="NavID"]::before {
    content: '\f054';
    font-weight: 400;
}
.ikiss-autocomplete-result-head ul li a[href*="ModID=9"]::before {
    content: '\f2b9';
    font-weight: 400;
}
.ikiss-autocomplete-result-head ul li a[href*="ModID=255"]::before {
    content: '\e178';
    font-weight: 400;
}
.ikiss-autocomplete-result-head ul li a[href*="ModID=10"]::before {
    content: '\f573';
    font-weight: 400;
}
.ikiss-autocomplete-result-head ul li a[href*="PDF"]::before {
    content: '\f1c1';
    font-weight: 400;
}
.solr-results-category {
    color: var(--primarycolor);
}

@media (prefers-color-scheme: dark) {
    .ikiss-autocomplete-result-wrap {
        background-color: #000;
    }
    .ikiss-autocomplete-result-head::before,
    .ikiss-autocomplete-result-wrap .btn, .ikiss-autocomplete-result-wrap .btn:hover, .ikiss-autocomplete-result-wrap .btn:focus {
        color: #000;
        background-color: var(--linkcolor);
    }
    .ikiss-autocomplete-result-wrap h2 {
        color: #fff;
    }
    .ikiss-autocomplete-result-head ul li a::before,
    .ikiss-autocomplete-result-head ul li a:hover::before,
    .ikiss-autocomplete-result-head ul li a:focus::before {
        color: var(--linkcolor);
    }
}