/* Sticky Button */
.sticky-button {
    position: fixed; /* Damit der Button an der Seite klebt */
    top: 50%; /* Vertikal zentriert */
    right: 0; /* Am rechten Rand */
    transform: translateY(-50%); /* Exakte Zentrierung */
    background-color: var(--fs-color-secondary); /* Button-Hintergrundfarbe */
    color: #fff; /* Textfarbe */
    padding: 10px 4px; /* Innenabstand des Buttons */
    border-radius: 5px 0 0 5px; /* Abgerundete Ecken auf der linken Seite */
    font-size: 16px; /* Textgröße */
    text-align: center; /* Text zentrieren */
    z-index: 1000; /* Über anderen Elementen */
    cursor: pointer;
	writing-mode: vertical-lr;
}

.sticky-button a {
    display: block;
    white-space: nowrap; /* Verhindert Zeilenumbruch */
    text-decoration: none; /* Keine Unterstreichung */
    color: #fff; /* Textfarbe */
}

/* Modal-Container */
.modal {
    display: none; /* Modal standardmäßig ausblenden */
    position: fixed; /* Modal bleibt beim Scrollen an der gleichen Stelle */
    z-index: 1001; /* Über dem Button und anderen Inhalten */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Modal-Inhalt */
.modal-help {
    background-color: #fff;
    border-radius: 10px;
    width: calc(100% - 40px); /* Breite des Modals, abzüglich des linken und rechten Abstands */
    max-width: 450px; /* Maximale Breite des Modals */
    box-shadow: 0 5px 40px rgba(0, 0, 0, .5);
    position: absolute; /* Absolute Positionierung */
    right: 0px; /* Abstand vom rechten Rand des Bildschirms */
    top: 15%; /* Abstand vom oberen Rand des Bildschirms */
	overflow: auto;
    max-height: 80vh;
}

/* Modal-Header */
.modal-top {
    background-color: var(--fs-color-secondary);
    padding: 10px;
    border-radius: 10px 10px 0 0;
    text-align: center;
    color: #fff;
}

/* Modal-Inhalt */
.modal-inhalt {
    padding: 25px 30px;
}

.modal-inhalt ul {padding-left:15px;}

/* Flex-Container */
.modal-flex-container {
    padding: 10px;
	background-color: #e6e6e6;
}

.mflex-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.2em;
}

.mflex-box {
    flex: 1;
    text-align: center;
    padding: 0.5em;
    margin: 0 0.1em;
    background-color: rgba(0,0,0,.3);
    color: #fff;
    text-decoration: none;
    /* border-radius: 5px; */
    cursor: pointer;
}

.mflex-box:hover {background-color:#e27100;}
a.mflex-box:hover {color:#fff}

.mflex-row .mflex-box:first-child {
    margin-left: 0;
}

.mflex-row .mflex-box:last-child {
    margin-right: 0;
}

/* Schließen-Button */
.close-h {
    color: #fff;
    float: right;
    margin: 0 16px;
    font-size: 28px;
}

.close-h:hover,
.close-h:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}