/*
    marker to add favorites (bottom right in >=tablet; top right in <= mobile)
 */
i.mark-favorite {
    /*position: absolute;*/
    cursor: pointer;
}
/*@media (min-width: 768px) {*/
/*    i.mark-favorite {*/
/*        right: 1rem;*/
/*        bottom: 0.3rem;*/
/*    }*/
/*}*/
/*@media (max-width: 767px) {*/
/*    i.mark-favorite {*/
/*        right: 1rem;*/
/*        top: 0.125rem;*/
/*    }*/
/*}*/

i.mark-favorite:active {
    border-radius: 50%;
    box-shadow: 0 0 2px 1px #21325b;
}

/*
    default toasts top right fixed and on top of other elements
 */
.toast-wrapper {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 9999;
}

/*
    legend icons
*/
.fa-medal {
    color: #EFD522;
}
.fa-pencil-alt {
    color: var(--blue);
}

:not(.ais-Pagination-item--disabled) .custom-pagination-link {
    color: var(--blue) !important;
}

.ais-Pagination-item--selected .custom-pagination-link {
    color: var(--blue) !important;
    background-color: rgba(0, 82, 158, 0.1) !important;
    border: 1px solid #c4c8d8 !important;
}

.ais-Pagination-item--selected .custom-pagination-link:hover {
    color: #fff !important;
    background-color: #00529e !important;
    border: 1px solid #3b3727 !important;
    box-shadow: 0 4px 11px rgb(0 82 158 / 10%);
}

/* #5467 custom grid for md and above with 5 elements per row */
@media (min-width: 768px) {
    .col-md-custom-5th {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

@media print {
    :not(#gesamtziffernkranz) .row, section {
        display: none;
    }

    #table-printheader, #gesamtziffernkranz .row {
        display: block !important;
    }

    .no-print-padding-x {
        padding-left: 0;
        padding-right: 0;
    }

    /* FIXME-hfhf64 Lösung für nicht funktionierende page-break-inside: avoid; */
    .ais-InfiniteHits-item {
        border: none;
        border-bottom: 1px solid #c4c8d8;
    }

    /* FIXME-hfhf64 Lösung für nicht funktionierende page-break-inside: avoid; */
    .text-md-right {
        float: right;
        top: -1.6rem;
    }

    /* FIXME-hfhf64 Lösung für nicht funktionierende page-break-inside: avoid; */
    .avoid-page-break .row {
        display: block !important;
        break-inside: avoid;
        page-break-inside: avoid;
    }
}