/* MARKDOWN-SPEZIFISCHE STYLES - ERGÄNZEN NUR, ÜBERSCHREIBEN NICHT */

/* Admin-Formulare - überschreiben nur die notwendigen Eigenschaften */
.admin-form {
    background: #F2FFC0 !important;
    border: 3px solid #657E22 !important;
    border-radius: 10px !important;
}

.admin-button {
    background-image: url(../images/button2.png) !important;
    background-repeat: repeat-x !important;
    border-radius: 10px !important;
    border: 3px solid #657E22 !important;
    color: #10282E !important;
    font-family: 'Pasdenom' !important;
}

.admin-button:hover {
    background-image: url(../images/buttonhover.png) !important;
    background-repeat: repeat-x !important;
}

.admin-button:disabled {
    background: #ccc !important;
    cursor: not-allowed;
}

/* Markdown-Hilfe - verwendet ursprüngliches Design */
.markdown-help {
    background: #F2FFC0 !important;
    border: 2px solid #657E22 !important;
    border-radius: 10px !important;
    padding: 15px;
    margin-bottom: 15px;
}

.markdown-help details {
    cursor: pointer;
}

.markdown-help summary {
    font-size: 16px;
    margin-bottom: 10px;
    color: #657E22 !important;
    font-weight: bold;
}

.help-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}

.help-section {
    background: rgba(242, 255, 192, 0.5);
    padding: 10px;
    border-radius: 8px;
    border-left: 3px solid #657E22;
}

.help-section h5 {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: #10282E;
    font-weight: bold;
}

.help-section code {
    background: rgba(183, 204, 101, 0.3);
    padding: 6px;
    border-radius: 4px;
    display: block;
    font-size: 11px;
    line-height: 1.3;
    font-family: 'Courier New', monospace;
    color: #10282E;
    border: 1px solid #657E22;
}


.content-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    /*margin-top: 15px;*/
    width: 100%;
    padding: 5px;
}

.content-grid-1-2 {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 25px;
    /*margin-top: 15px;*/
    width: 100%;
    padding: 5px;
}

.content-grid-2-1 {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 15px;
    /*margin-top: 15px;*/
    width: 100%;
    padding: 5px;
}


.content-img-special-left{
    width:90%

}

/* NUR für Mobile die Hilfe anpassen */
@media (max-width: 768px) {
    .help-content {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .grip-content-2 {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .grip-content-1-2 {
        grid-template-columns: 1fr 2fr;
        gap: 10px;
    }

    .help-section {
        padding: 8px;
    }

    .help-section code {
        font-size: 10px;
        padding: 4px;
    }
}

/* Spezielle Spans für Markdown-Konvertierung */
.date {
    font-weight: bold;
    color: #10282E;
}

.location {
    font-style: italic;
    color: #657E22;
}

/* Wichtig: KEINE Regeln für .info-box, .contact-box, .termin-item etc. */
/* Diese sind bereits in standard.css definiert und sollen nicht überschrieben werden */


/* Termin-Karten in location-section zweispaltig anordnen, ohne Standard-Styles zu verändern */
.location-section {
    /* nichts überschreiben, nur Kinder layouten */
}

.location-section .termin-item {
    display: inline-flex;
    vertical-align: top;
    box-sizing: border-box;
    width: calc(50% - 10px); /* 2 pro Zeile */
    margin: 5px;             /* kleiner Abstand */
}

/* Falls die Termine in einem Wrapper stehen (z.B. .termine-list), auf Zeilenumbruch setzen */
.location-section .termine-list {
    display: block; /* sicherstellen, dass inline-flex Elemente umbrechen */
    font-size: 0;   /* Whitespaces zwischen inline-flex entfernen */
}
.location-section .termine-list .termin-item {
    font-size: 16px; /* Textgröße wiederherstellen */
}

.oxy-toggle-content {
    display: none;
}
.oxy-toggle[data-oxy-toggle-initial-state="opened"] .oxy-toggle-content,
.oxy-toggle.toggle-opened .oxy-toggle-content {
    display: block;
}
.oxy-toggle[data-oxy-toggle-initial-state="closed"] {
    background-image: url(/media/images/site/workshops_Schiff-n-li.png);
    background-size: auto 90px;
    padding-top: 30px;
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 30px;
    width: 90%;
    /*background-color: #d7eeff;*/
    /*border-top-color: #2a8599;*/
    /*border-right-color: #2a8599;*/
    /*border-bottom-color: #2a8599;*/
    /*border-left-color: #2a8599;*/
    /*border-top-style: solid;*/
    /*border-right-style: solid;*/
    /*border-bottom-style: solid;*/
    /*border-left-style: solid;*/
    /*border-radius: 10px;*/
    /*border-top-width: 3px;*/
    /*border-right-width: 3px;*/
    /*border-bottom-width: 3px;*/
    /*border-left-width: 3px;*/
    background-repeat: no-repeat;
    height: fit-content;
    min-height: 45px;
    margin-top: 20px;
    background-position: 90% 10px;
}


.oxy-toggle-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.oxy-expand-collapse-icon::before, .oxy-expand-collapse-icon::after {
    background-color: transparent;
    position: static;
    width: auto;
    height: auto;
    border-radius: 0;

}
.oxy-expand-collapse-icon::after {
    transform: rotate(-90deg) scale(0);
}
.oxy-expand-collapse-icon::after, .oxy-expand-collapse-icon::before {
    content: "";
    background-color: #000;
    position: absolute;
    width: 1em;
    height: 0.16em;
    top: calc((1em / 2) - 0.08em);
    transition: 0.3s ease-in-out all;

    border-radius: 0.03em;
}
.oxy-expand-collapse-icon::before {
    content: '';
    background: url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-prefix='fas' data-icon='angle-down' class='svg-inline--fa fa-angle-down fa-w-10' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='currentColor' d='M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z'%3E%3C/path%3E%3C/svg%3E") center no-repeat;

    position: static;
    top: auto;
    width: 32px;
    height: 32px;
}
.oxy-eci-collapsed.oxy-expand-collapse-icon::after {
    transform: rotate(-180deg);
}
.oxy-eci-collapsed.oxy-expand-collapse-icon::before {
    transform: rotate(-90deg);
}
.toggle-opened .oxy-eci-collapsed.oxy-expand-collapse-icon::before {
    transform: rotate(0deg);
}

.oxy-expand-collapse-icon::before, .oxy-expand-collapse-icon::after {
    background-color: transparent;
    position: static;
    width: auto;
    height: auto;
    border-radius: 0;

}
.oxy-expand-collapse-icon::after {
    transform: rotate(-90deg) scale(0);
}

.oxy-expand-collapse-icon::before {
    content: '';
    background: url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-prefix='fas' data-icon='angle-down' class='svg-inline--fa fa-angle-down fa-w-10' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='currentColor' d='M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z'%3E%3C/path%3E%3C/svg%3E") center no-repeat;

    position: static;
    top: auto;
    width: 32px;
    height: 32px;
}
.sw-container{
    display: flex;
    flex-direction: column;
    /*align-items: center;*/
    /*justify-content: center;*/
    /*height: 100vh;*/
    perspective: 200px;
    perspective-origin: 50% 50%;

}
.sw-item{
    transform: rotateX(30deg);
    font-size: 46px;
    color: #ffffff;
    align-self: center;
    text-align: center;
    letter-spacing: 5px;
    line-height: 0.85;
    margin-bottom: 50px;
    padding-top: 0px;
    font-weight: 900;
    font-family: 'vittorio';
    margin-top: 7px;
}

.center-text{
    text-align: center;
}

.bg-light{
    background-color: rgba(126,226,253,1);
}
.bg-dark{
    background-color: #2a2afd;
}
/* Vollständig deckender Bereich */
.content-light {
    position: relative;
    /*background-color: #2a2afd;*/
    /*border: 3px solid #657E22;*/
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    /*box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);*/
}
/* Vollständig deckender Bereich */
.content-dark {
    position: relative;
    /*background-color: #2a2afd;*/
    /*border: 3px solid #657E22;*/
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    /*box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);*/
}



.image_bordercircle_light{
    opacity: 1;
    display: block;
    width: 160px;
    align-self: center;
    margin-top: 90px;
    margin-bottom: 60px;
    margin-right: 60px;
    border-top-width: 5px;
    border-right-width: 5px;
    border-bottom-width: 5px;
    border-left-width: 5px;
    border-top-color: rgba(126,226,253,1);
    border-right-color: rgba(126,226,253,1);
    border-bottom-color: rgba(126,226,253,1);
    border-left-color: rgba(126,226,253,1);
    border-top-style: solid;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    border-radius: 50%;
}
.image_bordercircle_dark{
    opacity: 1;
    display: block;
    width: 160px;
    align-self: center;
    margin-top: 90px;
    margin-bottom: 60px;
    margin-right: 60px;
    border-top-width: 5px;
    border-right-width: 5px;
    border-bottom-width: 5px;
    border-left-width: 5px;
    border-top-color: #2a2afd;
    border-right-color: #2a2afd;
    border-bottom-color: #2a2afd;
    border-left-color: #2a2afd;
    border-top-style: solid;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    border-radius: 50%;
}




/*!* E-Mail und Telefon Links *!*/
/*a.email-link {*/
/*    color: #0066cc;*/
/*    text-decoration: none;*/
/*    cursor: pointer;*/
/*    border-bottom: 1px dotted #0066cc;*/
/*}*/

/*a.email-link:hover {*/
/*    color: #0052a3;*/
/*    border-bottom: 1px solid #0052a3;*/
/*}*/

/*a.email-link::before {*/
/*    content: "✉ ";*/
/*    margin-right: 3px;*/
/*}*/

/*!* Telefonnummern - NUR Anzeige, KEIN Link *!*/
/*span.phone-link {*/
/*    color: #333;*/
/*    font-weight: 500;*/
/*    cursor: default;*/
/*    user-select: text;*/
/*    padding: 2px 4px;*/
/*    border-radius: 3px;*/
/*    background-color: rgba(0, 102, 204, 0.05);*/
/*}*/

/*span.phone-link::before {*/
/*    content: "📞 ";*/
/*    margin-right: 3px;*/
/*}*/
/* E-Mail Links */
a.email-link {
    color: #0066cc;
    text-decoration: none;
    cursor: pointer;
    border-bottom: 1px dotted #0066cc;
    padding: 2px 4px;
    border-radius: 3px;
    transition: all 0.2s ease;
}

a.email-link:hover {
    color: #0052a3;
    border-bottom: 1px solid #0052a3;
    background-color: rgba(0, 102, 204, 0.08);
}

/* Telefonnummern - Nur Anzeige */
span.phone-link {
    color: #333;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
    padding: 2px 6px;
    border-radius: 3px;
    background-color: rgba(100, 150, 200, 0.08);
    transition: all 0.2s ease;
    display: inline-block;
}

span.phone-link:hover {
    background-color: rgba(100, 150, 200, 0.15);
    border: 1px solid rgba(100, 150, 200, 0.3);
}


* Auf kleinen Bildschirmen einspaltig */
@media (max-width: 600px) {
    .location-section .termin-item {
        width: 100%;
        margin: 5px 0;
    }
}
