body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 100 !important;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
    max-width: 100vw;
}

.container-fluid {
    padding-right: 0px !important;
    padding-left: 0px !important;
}

#topImageCarousel {
    margin-top: -20px !important;
}

.img-fluid {
    width: 100%;
}

main {
    flex: 1;
    margin-top: calc(var(--header-height-desktop-full) + 20px);
    transition: transform ease-in-out 0.3s;
    -webkit-transition: color 0.3s ease, transform 0.3s ease;
}

main h1 {
    color: var(--primary);
    font-size: 2.5rem;
    padding-top: 0;
    margin-bottom: 30px;
    line-height: 1.3;
    word-wrap: break-word;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600 !important;
}

main h2 {
    color: var(--primary);
    font-size: 1.8rem;
    padding-top: 0;
    margin-bottom: 25px;
    line-height: 1.3;
    word-wrap: break-word;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600 !important;
}

main h3 {
    color: var(--primary);
    font-size: 1.4rem;
    padding-top: 0;
    margin-bottom: 20px;
    line-height: 1.3;
    word-wrap: break-word;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600 !important;
}

main h5 {
    color: rgb(180,180,180) !important;
    font-size: 1.667rem;
    padding-top: 0;
    margin-bottom: 20px;
    line-height: 1.3;
    word-wrap: break-word;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 100 !important;
}

main p {
    color: var(--on-background);
}

main li {
    color: var(--on-background);
}

html:is([data-scroll='0']) main .toTop {
    display: none;
}

html:not([data-scroll='0']) main .toTop {
    display: flex;
}

main .grid-2-column .ce-textpic {
    display: flex;
    gap: 30px;
}

main .grid-2-column .ce-textpic .ce-gallery, main .grid-2-column .ce-textpic .ce-gallery .ce-row, main .grid-2-column .ce-textpic .ce-gallery .ce-row .ce-column ,main .grid-2-column .ce-textpic .ce-gallery .ce-row .ce-column figure {
    width: 100%;
}

main .grid-2-column .ce-textpic .ce-gallery .ce-row .ce-column figure img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
}

main .grid-1-2-column .ce-textpic {
    display: flex;
    gap: 20px;
}

main .homepage .inner .ce-textpic .image img {
    height:100% !important;
    width:100% !important;
}

@media (min-width: 768px) {
    main .grid-1-2-column .ce-textpic {
        flex-direction: row;
    }
    main .grid-1-2-column .ce-textpic .ce-gallery {
        width: 33%;
    }
    main .grid-1-2-column .ce-textpic .ce-bodytext {
        width: 67%;
    }
    main .grid-2-column .ce-textpic {
        flex-direction: row;
    }
    main .grid-2-column .ce-textpic .ce-gallery {
        width: 50%;
    }
    main .grid-2-column .ce-textpic .ce-bodytext {
        width: 50%;
        /*justify-content: center;
        display: flex;
        flex-direction: column;*/
    }
    main .contact-column .ce-textpic {
        display: grid;
    }
    main .frame #map {
        width: 90%;
        height: 80vh;
        position: relative;
    }
    #mapContainer {
        flex-direction: row;
    }
    #mapContainer #filter form .buttons {
        flex-direction: column;
    }
    #mapContainer #filter {
        width: 10%;
        justify-content: left;
    }
}

#mapContainer #filter form {
    flex-direction: column;
}

@media (max-width: 767px) {
    main .grid-1-2-column .ce-textpic {
        flex-direction: column;
    }
    main .grid-1-2-column .ce-textpic .ce-gallery {
        width: 100%;
    }
    main .grid-1-2-column .ce-textpic .ce-bodytext {
        width: 100%;
    }
    main .grid-2-column .ce-textpic .ce-gallery {
        width: 100%;
    }
    main .grid-2-column .ce-textpic .ce-bodytext {
        width: 100%;
    }
    main .grid-2-column .ce-textpic {
        flex-direction: column;
    }
    main .contact-column .ce-textpic {
        display: flex;
        flex-direction: column;
    }
    main .frame #map {
        width: 100%;
        height: 80vh;
        position: relative;
    }
    #mapContainer {
        flex-direction: column;
    }
    #mapContainer #filter form .buttons {
        flex-direction: row;
    }
    #mapContainer #filter {
        width: 100%;
        justify-content: center;
    }
}

#mapContainer {
    display: flex;
    align-items: start;
    justify-content: center;
    gap: 10px;
}

#mapContainer #filter {
    min-width: 250px; 
    display: flex;
    align-items: center;
    gap: 10px;
    flex-direction: row;
}

#mapContainer #filter form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.075);
    width: 100%;
}

#mapContainer #filter form .inputs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

#mapContainer #filter form .inputs #plz {
    background-color: rgb(255,255,255);
    padding: 15px;
    font-size: 0.9rem;
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.075);
}

#mapContainer #filter form .inputs .wrapper {
    background-color: rgb(255,255,255);
    padding: 15px;
    font-size: 0.9rem;
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.075);
}

#mapContainer #filter form .inputs .wrapper #rangeView {
    color: #003d8f;
    background: transparent;
    border: 0;
    height: 3rem;
    padding: 0;
    font-size: 3rem;
    line-height: 3rem;
}

#mapContainer #filter form .inputs > p {
    margin-bottom: 0px;
}

#mapContainer #filter form .inputs .wrapper .slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 15px;
    outline: none;
    opacity: 0.7;
    border: 1px solid rgba(0, 0, 0, 0.075);
    -webkit-transition: .2s;
    transition: opacity .2s;
}
  
#mapContainer #filter form .inputs .wrapper .slider:hover {
    opacity: 1;
}
  
#mapContainer #filter form .inputs .wrapper .slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #003d8f;
    cursor: pointer;
}
  
#mapContainer #filter form .inputs .wrapper .slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #003d8f;
    cursor: pointer;
}

#mapContainer #filter form .buttons {
    display: flex;
    gap: 10px;
}

#mapContainer #filter form .buttons .submit {
    border: 2px solid rgb(152,152,152);
    background: var(--button) !important;
    border-color: var(--button) !important;
    color: rgb(0,61,143) !important;
    font-size: 1.0rem !important;
    padding: 8px 10px;
    cursor: pointer;
    font-weight: bold !important;
    text-decoration: none;
}

#mapContainer #filter form .buttons .submit:hover {
    opacity: 0.8;
}

#mapContainer #filter form .buttons .clear {
    border: 2px solid rgb(152,152,152);
    color: rgb(0,61,143) !important;
    font-size: 1.0rem !important;
    padding: 8px 10px;
    cursor: pointer;
    font-weight: bold !important;
    text-decoration: none;
}

#mapContainer #filter form .buttons .clear:hover {
    opacity: 0.8;
}

main .grid-1-2-column .ce-textpic .ce-gallery .ce-row, main .grid-1-2-column .ce-textpic .ce-gallery .ce-row .ce-column ,main .grid-1-2-column .ce-textpic .ce-gallery .ce-row .ce-column figure {
    width: 100%;
}

main .grid-1-2-column .ce-textpic .ce-gallery .ce-row .ce-column figure img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
}

main .button {
    border: 2px solid rgb(152,152,152);
    background: var(--button) !important;
    border-color: var(--button) !important;
    color: rgb(0,61,143) !important;
    font-size: 1.0rem !important;
    min-width: 190px;
    padding: 18px 50px;
    margin-bottom: 15px;
    cursor: pointer;
    font-weight: bold !important;
    text-decoration: none;
}

main .button:hover {
    opacity: 0.8;
}

main .align-text-vertical .ce-bodytext {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

main .frame-ruler-no-margin::before {
    margin: 0px !important;
}

main .text-left .ce-bodytext {
    order: 0;
}

main .text-left .ce-gallery {
    order: 1;
}

main .image-hover-effect-1 .ce-textpic .ce-gallery .ce-row .ce-column figure {
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    margin: 30px !important;
    width: calc(100% - 60px) !important;
}

main .image-hover-effect-1 .ce-textpic .ce-gallery .ce-row .ce-column figure:hover {
    box-shadow: 0 20px 20px rgba(0,0,0,.2);
    transform: translate(0,-10px);
    -webkit-transform: translate(0,-10px);
}

main .indented-40px p {
    margin-left: 40px;
    margin-right: 40px;
}

main .undecorated-link a {
    color: var(--on-background);
    text-decoration: none;
}

main .link-primary-color a {
    color: var(--primary);
    text-decoration: none;
}

main .contact-form form .form-actions .form-navigation {
    display: flex;
    justify-content: center;
}

main .contact-form form .form-actions .form-navigation button {
    width: 50%;
    border: var(--bs-btn-border-width) solid var(--button) !important;
    background-color: var(--button) !important;
    color: rgb(0,61,143) !important;
    cursor: pointer;
}

main .contact-form form .form-actions .form-navigation button:hover {
    border: var(--bs-btn-border-width) solid var(--button) !important;
    background-color: var(--button) !important;
    color: rgb(0,61,143) !important;
    opacity: 0.8;
}

main .contact-form form .form-element .form-check-wrapping-label {
    display: flex !important;
    flex-direction: row;
    gap: 10px;
    padding: 5px;
}

main .contact-form form .form-element .form-check-input:checked {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

main .contact-column .ce-textpic {
    grid-gap: 30px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 1fr;
    grid-auto-rows: auto;
}

main .contact-column .ce-textpic .ce-gallery, main .contact-column .ce-textpic .ce-gallery .ce-row, main .contact-column .ce-textpic .ce-gallery .ce-row .ce-column ,main .contact-column .ce-textpic .ce-gallery .ce-row .ce-column figure {
    width: 100%;
}

main .contact-column .ce-textpic .ce-gallery .ce-row .ce-column figure img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
}

main .contact-column .ce-textpic .top-2-col {
    width: 100%;
    grid-area: 1 / 1 / 2 / 3;
}

main .contact-column .ce-textpic .top-left {
    width: 100%;
    grid-area: 1 / 1 / 2 / 2;
}

main .contact-column .ce-textpic .top-right {
    width: 100%;
    grid-area: 1 / 2 / 2 / 3;
}

main .contact-column .ce-textpic .mid-2-col {
    width: 100%;
    grid-area: 2 / 1 / 3 / 3;
}

main .contact-column .ce-textpic .mid-left {
    width: 100%;
    grid-area: 2 / 1 / 3 / 2;
}

main .contact-column .ce-textpic .mid-right {
    width: 100%;
    grid-area: 2 / 2 / 3 / 3;
}

main .contact-column .ce-textpic .bottom-2-col {
    width: 100%;
    grid-area: 3 / 1 / 4 / 3;
}

main .contact-column .ce-textpic .bottom-left {
    width: 100%;
    grid-area: 3 / 1 / 4 / 2;
}

main .contact-column .ce-textpic .bottom-right {
    width: 100%;
    grid-area: 3 / 2 / 4 / 3;
}

.marker {
    align-items: center;
    background-color: #f49e00;
    border-radius: 50%;
    color: #263238;
    display: flex;
    font-size: 14px;
    gap: 15px;
    height: 30px;
    justify-content: center;
    padding: 4px;
    position: relative;
    position: relative;
    transition: all 0.3s ease-out;
    width: 30px;
}
  
.marker::after {
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 9px solid #f49e00;
    content: "";
    height: 0;
    left: 50%;
    position: absolute;
    top: 95%;
    transform: translate(-50%, 0);
    transition: all 0.3s ease-out;
    width: 0;
    z-index: 1;
}

.marker .icon {
    align-items: center;
    display: flex;
    justify-content: center;
    color: #ffffff;
}

.marker .icon img {
    width: 20px !important;
    height: 20px !important;
}
  
.marker .details {
    display: none;
    flex-direction: column;
    flex: 1;
}
  
.marker .address {
    color: #9E9E9E;
    font-size: 10px;
    margin-bottom: 10px;
    margin-top: 5px;
}

.marker.highlight {
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.2);
    height: 100%;
    padding: 8px 15px;
    width: auto;
}
  
.marker.highlight::after {
    border-top: 9px solid #FFFFFF;
    content: none !important;
}
  
.marker.highlight .details {
    display: flex;
}

.loader {
    border: 2px solid #f3f3f3;
    border-radius: 50%;
    border-top: 2px solid #9c9c9c;
    width: 20px;
    height: 20px;
    -webkit-animation: spin 1s linear infinite; /* Safari */
    animation: spin 1s linear infinite;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}