/*
 * Non quia difficilia sunt non audemus,
 * sed quia non audemus difficilia sunt.
 *
 * Nicht weil die Dinge schwer sind, wagen wir sie nicht,
 * sondern weil wir sie nicht wagen, sind sie schwer.
 *
 * Seneca, Epistulae morales ad Lucilium 104, 26
 */
:root:root {
    --ktw-akzent: #df2727;
    --ktw-feldrand: rgba(223, 39, 39, .65);
}
@media (prefers-color-scheme: dark) {
    :root:root:not([data-ktw-schema="hell"]) {
        --awb-color3: rgba(239, 148, 148, .12);
        --awb-color5: #ef9494;
        --awb-color6: rgba(232, 238, 246, .65);
        --ktw-akzent: #ef9494;
        --ktw-feldrand: rgba(239, 148, 148, .6);
        --ktw-karte-leer: rgba(255, 255, 255, .04);
        --ktw-karte-voll: rgba(255, 255, 255, .16);
    }
}
:root:root[data-ktw-schema="dunkel"] {
    --awb-color3: rgba(239, 148, 148, .12);
    --awb-color5: #ef9494;
    --awb-color6: rgba(232, 238, 246, .65);
    --ktw-akzent: #ef9494;
    --ktw-feldrand: rgba(239, 148, 148, .6);
    --ktw-karte-leer: rgba(255, 255, 255, .04);
    --ktw-karte-voll: rgba(255, 255, 255, .16);
}
@media (prefers-color-scheme: dark) {
    :root:not([data-ktw-schema="hell"]) {
        --awb-link-color: #ef9494;
        --button_accent_color: #ef9494;
        --button_border_color: #ef9494;
        --button_border_hover_color: #ef9494;
    }
    :root:not([data-ktw-schema="hell"]) .fusion-button-text,
    :root:not([data-ktw-schema="hell"]) .awb-button__text,
    :root:not([data-ktw-schema="hell"]) .fusion-button .fusion-button-icon-divider i {
        color: #ef9494 !important;
    }
    :root:not([data-ktw-schema="hell"]) .pagination a {
        color: #f5b8b8;
    }
    :root:not([data-ktw-schema="hell"]) .ktw-sf__karte svg [stroke="#DF2727"] {
        stroke: #ef9494;
    }
}
:root[data-ktw-schema="dunkel"] {
    --awb-link-color: #ef9494;
    --button_accent_color: #ef9494;
    --button_border_color: #ef9494;
    --button_border_hover_color: #ef9494;
}
:root[data-ktw-schema="dunkel"] .fusion-button-text,
:root[data-ktw-schema="dunkel"] .awb-button__text,
:root[data-ktw-schema="dunkel"] .fusion-button .fusion-button-icon-divider i {
    color: #ef9494 !important;
}
:root[data-ktw-schema="dunkel"] .pagination a {
    color: #f5b8b8;
}
:root[data-ktw-schema="dunkel"] .ktw-sf__karte svg [stroke="#DF2727"] {
    stroke: #ef9494;
}
@media (prefers-color-scheme: dark) {
    :root:not([data-ktw-schema="hell"]) #fusion-logo {
        display: inline-block;
    }
    :root:not([data-ktw-schema="hell"]) img[src$="kein-taeter-werden.ch_.svg"],
    :root:not([data-ktw-schema="hell"]) img[data-orig-src$="kein-taeter-werden.ch_.svg"] {
        content: url("/wp-content/uploads/kein-taeter-werden.ch-dunkel.svg");
    }
}
:root[data-ktw-schema="dunkel"] #fusion-logo {
    display: inline-block;
}
:root[data-ktw-schema="dunkel"] img[src$="kein-taeter-werden.ch_.svg"],
:root[data-ktw-schema="dunkel"] img[data-orig-src$="kein-taeter-werden.ch_.svg"] {
    content: url("/wp-content/uploads/kein-taeter-werden.ch-dunkel.svg");
}
@media (prefers-color-scheme: dark) {
    :root:not([data-ktw-schema="hell"]) #toTop,
    :root:not([data-ktw-schema="hell"]) #toTop span,
    :root:not([data-ktw-schema="hell"]) .pagination .current,
    :root:not([data-ktw-schema="hell"]) .pagination a {
        color: #f5b8b8;
    }
    :root:not([data-ktw-schema="hell"]) .fusion-one-page-text-link {
        color: var(--awb-color6);
    }
}
:root[data-ktw-schema="dunkel"] #toTop,
:root[data-ktw-schema="dunkel"] #toTop span,
:root[data-ktw-schema="dunkel"] .pagination .current,
:root[data-ktw-schema="dunkel"] .pagination a {
    color: #f5b8b8;
}
:root[data-ktw-schema="dunkel"] .fusion-one-page-text-link {
    color: var(--awb-color6);
}
@media (prefers-color-scheme: dark) {
    :root:not([data-ktw-schema="hell"]) .ktw-sf .ktw-standortsuche__knopf {
        border-color: #971717;
        background-color: #971717;
        color: #ffffff;
    }
    :root:not([data-ktw-schema="hell"]) .ktw-sf #jugendliche.ktw-filter-an,
    :root:not([data-ktw-schema="hell"]) .ktw-sf #alle.ktw-filter-an,
    :root:not([data-ktw-schema="hell"]) .ktw-sf .ktw-standortsuche__ort:hover,
    :root:not([data-ktw-schema="hell"]) .ktw-sf .ktw-standortsuche__info:hover,
    :root:not([data-ktw-schema="hell"]) .ktw-sf .ktw-standortsuche__tipp:hover,
    :root:not([data-ktw-schema="hell"]) .ktw-sf .ktw-standortsuche__tipp--an,
    :root:not([data-ktw-schema="hell"]) .ktw-sf .ktw-standortsuche__ergebnis:not(:empty),
    :root:not([data-ktw-schema="hell"]) .ktw-sf .ktw-standortsuche__weg:hover {
        background-color: #241a1c;
        background-color: color-mix(in srgb, var(--awb-color5) 12%, var(--awb-color1));
    }
}
:root[data-ktw-schema="dunkel"] .ktw-sf .ktw-standortsuche__knopf {
    border-color: #971717;
    background-color: #971717;
    color: #ffffff;
}
:root[data-ktw-schema="dunkel"] .ktw-sf #jugendliche.ktw-filter-an,
:root[data-ktw-schema="dunkel"] .ktw-sf #alle.ktw-filter-an,
:root[data-ktw-schema="dunkel"] .ktw-sf .ktw-standortsuche__ort:hover,
:root[data-ktw-schema="dunkel"] .ktw-sf .ktw-standortsuche__info:hover,
:root[data-ktw-schema="dunkel"] .ktw-sf .ktw-standortsuche__tipp:hover,
:root[data-ktw-schema="dunkel"] .ktw-sf .ktw-standortsuche__tipp--an,
:root[data-ktw-schema="dunkel"] .ktw-sf .ktw-standortsuche__ergebnis:not(:empty),
:root[data-ktw-schema="dunkel"] .ktw-sf .ktw-standortsuche__weg:hover {
    background-color: #241a1c;
    background-color: color-mix(in srgb, var(--awb-color5) 12%, var(--awb-color1));
}
@media (prefers-color-scheme: dark) {
    :root:not([data-ktw-schema="hell"]) table:not(.ktw-tab__tabelle) thead {
        background-color: #971717;
    }
}
:root[data-ktw-schema="dunkel"] table:not(.ktw-tab__tabelle) thead {
    background-color: #971717;
}
