/* Modal Grundstil */
.modal {
    display: none;
    /* Versteckt das Modal standardmäßig !important*/
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    max-width: 350px;
    background-color: #fefefe;
    margin: 15% auto;
    /* padding: 20px; */
    padding-top: 20px;
    padding-right: 15px;
    padding-left: 15px;
    padding-bottom: 0px;
    border: 1px solid #888;
    border-radius: 10px;
    width: 76%;
}


#bookingCallForm,
#bookingForm {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

#bookingForm {
    /* margin-bottom: -20px; */
    padding-bottom: 0px;
}

#bookingCallForm label,
#bookingForm label {
    font-size: 14px;
    margin-bottom: 2px;
}

#bookingCallForm input,
#bookingForm input {
    padding: 6px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}



/* Schließen Button */
.close {
    align-self: flex-end;
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    margin-top: -20px;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.termin.info {
    color: #A9A9A9;
    font-size: 0.85em;
    font-style: italic;
}

.requiredKontakt {
    color: #2525256c;
}

#infoTerminAntrag {
    margin-top: 2px;
    color: rgb(23, 184, 23);
    margin-bottom: 0px !important;
}

.blocked-option {
    color: lightgray;
}

ul.actions {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
}

ul.actions li {
    margin: 0px 5px;
}


.center-button {
    display: block;
    margin: 20px auto 0 auto;
}

.btnMLbl {
    display: block;
    text-align: center;
    margin-top: 5px;
}

.btnM {
    text-align: center;
    font-size: 14px;
    padding: 10px;
    width: 200px;
    height: 50px;
    line-height: 30px;
    border: 2px solid #80a4f1;
    color: #073aa7;
    background-color: transparent;
    font-weight: bold;
    border-radius: 8px;
    display: inline-block;
    vertical-align: middle;
    white-space: nowrap;
}

.btnM:hover {
    background-color: #b9dff8;
    color: black !important;
}



@media (max-width: 600px) {

    #bookingCallForm label,
    #bookingForm label {
        font-size: 12px;
        margin-bottom: 2px;
    }

    #bookingForm select {
        font-size: 12px;
        /* height: 25px; */
    }

    #bookingCallForm input,
    #bookingForm input {
        padding: 4px;
        font-size: 12px;
    }

    .btnM {
        /* margin-top: -10px; */
        padding: 3px 8px;
        font-size: 12px;
        width: 180px;
        height: 44px;
        line-height: normal;
        white-space: normal;
    }
}

@media (max-width: 420px) {


    #bookingCallForm label,
    #bookingForm label {
        font-size: 12px;
        margin-bottom: 0px;
    }

    #bookingCallForm input,
    #bookingForm input {
        padding: 2px;
        font-size: 12px;
        height: 25px;
    }

    #bookingForm select {
        font-size: 12px;
        height: 25px;
    }

    .btnM {
        /* margin-top: -10px; */
        padding: 3px 8px;
        font-size: 12px;
        width: 140px;
        height: 44px;
        font-size: 12;
        line-height: normal;
        white-space: normal;
    }
}


.message {
    font-size: 12px;
    color: #555;
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    white-space: nowrap;
    /* height: 15px; */
}

@media (max-width: 576px) {
    .message {
        font-size: 10px;
        padding: 4px 8px;
        max-width: 90%;
        box-shadow: none;
        background-color: transparent;
        border: 0px solid transparent;
    }

}

.image.object {
    display: block;
    width: 100%;
    height: 100%;
    overflow: auto;
}

.image.object img {
    position: absolute;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    transition: opacity 1s ease-in-out;
}

.image.object img.active {
    opacity: 1;
    /* z-index: 500; */
}

.divImage,
.content {
    flex: 1;
}


.divImage {
    width: 100%;
    height: auto;
    margin: 0;
    margin-left: 10px;
    padding: 0;
    box-sizing: border-box;
    display: block;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.divImage span {
    text-align: center;
    align-items: center;
    justify-content: center;
}

#headerContent {
    margin: 0;
    padding: 0;
}


#slideshow-text {
    position: relative;
    bottom: 10%;
    text-align: center;
    /* left: 10%; */
    /* transform: translateX(-50%); */
    text-align: left;
    width: 100%;
    color: rgb(255, 255, 255);
    font-size: 1.5em;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    justify-content: center;
}

#slideshow-text .text {
    color: black;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 1px 5px;
    border-radius: 1px;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    width: 100%;
    white-space: nowrap;
}

#slideshow-text .text.active {
    opacity: 1;
    z-index: 2;
    width: 100%;
}

.Kontakt {
    font-size: 1.1em;
}

@media (max-width: 1400px) {
    #slideshow-text {
        font-size: 1.3em;
        padding: 2px 5px;
        bottom: 17%;
        /* margin-bottom: -3px; */
    }
}


@media (max-width: 1304px) {

    .divImage {
        margin-left: 0;
    }

    #slideshow-text {
        position: none;
        padding: 0;
        font-size: 1.8em;

    }

    p.text.active {
        align-self: flex-start;
        transform: translate(0, -60px) !important;
        margin-bottom: -30px;
    }

    #slideshow-text .text {
        bottom: none;
    }

}

@media (max-width: 1304px) {
    p.text.active {
        align-self: flex-start;
        transform: translate(0, -55px) !important;
    }

}

@media (max-width: 550px) {
    p.text.active {
        align-self: flex-start;
        transform: translate(0, -42px) !important;
    }

    #slideshow-text {
        font-size: 1.2em;
    }
}


@media (max-width: 360px) {

    p.text.active {
        transform: translate(0, -38px) !important;
    }
}


/* 
@media (max-width: 900px) {
    #slideshow-text {
        left: 25%;
    }
}

@media (max-width: 670px) {
    #slideshow-text {
        left: 18%;
    }
} */


.legal-links {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

.legal-links li {
    display: inline;
    margin-right: 15px;
}

.legal-links li:last-child {
    margin-right: 0;
}

.legal-links a {
    text-decoration: none;
    color: #333;
}

.legal-links a:hover {
    text-decoration: underline;
}