/* Kontakt-Sidewidget (Desktop), Markup und Begruendung: inc/kontakt-sidewidget.php */

#verus-kontakt-sidewidget {
    display: none;
}

@media (min-width: 1200px) {

    /* Unten rechts in der Ecke, unter dem Rueckruf-Knopf (sidewidget.css: bottom 20 %).
       Unter dem Rueckruf-Formular (z-index 10), damit es beim Oeffnen unveraendert bleibt. */
    #verus-kontakt-sidewidget {
        position: fixed;
        right: 0;
        bottom: 24px;
        z-index: 9;
        display: block;
        box-sizing: border-box;
        width: 290px;
        padding: 14px 16px 12px 18px;
        border-radius: 10px 0 0 10px;
        background: var(--main-color, #EEDBB1);
        box-shadow: 0 4px 16px rgba(0, 0, 0, .25);
        color: var(--main-color-black, #2e2e2e);
        font-family: GibsonRegular, sans-serif;
    }

    #verus-kontakt-sidewidget .verus-kontakt-sidewidget__titel {
        margin: 0 0 8px;
        padding: 0 0 8px;
        border-bottom: 1px solid rgba(0, 0, 0, .2);
        font-family: GibsonMedium, sans-serif;
        font-size: 16px;
        line-height: 1.3;
        color: var(--main-color-black, #2e2e2e);
    }

    #verus-kontakt-sidewidget .verus-kontakt-sidewidget__liste,
    #verus-kontakt-sidewidget .verus-kontakt-sidewidget__liste li {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    #verus-kontakt-sidewidget a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 6px 0;
        color: var(--main-color-black, #2e2e2e);
        font-size: 15px;
        line-height: 1.3;
        text-decoration: none;
        white-space: nowrap;
    }

    #verus-kontakt-sidewidget a:hover span,
    #verus-kontakt-sidewidget a:focus-visible span {
        text-decoration: underline;
    }

    #verus-kontakt-sidewidget a:focus-visible {
        outline: 2px solid var(--main-color-black, #2e2e2e);
        outline-offset: 2px;
        border-radius: 3px;
    }

    /* Rueckruf-Knopf auf niedrigen Fenstern ueber die Karte schieben (Karte ca. 160 px hoch) */
    .sidewidget_wrapper {
        bottom: max(20%, 204px);
    }

    /* Waehrend das Rueckruf-Formular offen ist, tritt die Karte zurueck */
    body:has(#collapseExample.show, #collapseExample.collapsing) #verus-kontakt-sidewidget {
        visibility: hidden;
    }

    #verus-kontakt-sidewidget svg {
        flex: 0 0 20px;
        width: 20px;
        height: 20px;
    }
}

@media print {
    #verus-kontakt-sidewidget {
        display: none;
    }
}
