body,form,figure{margin:0;padding:0}img{border:0}header,footer,nav,section,aside,article,figure,figcaption{display:block}body{font-size:100.01%}select,input,textarea{font-size:99%}#container,.inside{position:relative}#main,#left,#right{float:left;position:relative}#main{width:100%}#left{margin-left:-100%}#right{margin-right:-100%}#footer{clear:both}#main .inside{min-height:1px}.ce_gallery>ul,.content-gallery>ul{margin:0;padding:0;overflow:hidden;list-style:none}.ce_gallery>ul li,.content-gallery>ul li{float:left}.ce_gallery>ul li.col_first,.content-gallery>ul li.col_first{clear:left}.float_left,.media--left>figure{float:left}.float_right,.media--right>figure{float:right}.block{overflow:hidden}.clear,#clear{height:.1px;font-size:.1px;line-height:.1px;clear:both}.invisible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.custom{display:block}#container:after,.custom:after{content:"";display:table;clear:both}
@media (max-width:767px){#wrapper{margin:0;width:auto}#container{padding-left:0;padding-right:0}#main,#left,#right{float:none;width:auto}#left{right:0;margin-left:0}#right{margin-right:0}}img{max-width:100%;height:auto}.audio_container audio{max-width:100%}.video_container video{max-width:100%;height:auto}.aspect,.responsive{position:relative;height:0}.aspect iframe,.responsive iframe{position:absolute;top:0;left:0;width:100%;height:100%}.aspect--16\:9,.responsive.ratio-169{padding-bottom:56.25%}.aspect--16\:10,.responsive.ratio-1610{padding-bottom:62.5%}.aspect--21\:9,.responsive.ratio-219{padding-bottom:42.8571%}.aspect--4\:3,.responsive.ratio-43{padding-bottom:75%}.aspect--3\:2,.responsive.ratio-32{padding-bottom:66.6666%}
:root {
    --modal-font-color: #000;
    --modal-background: #fff;

    --modal-close-background: #f9f8f8;

    --max-width-content: 820px;
    
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modalFadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes modalSlideIn {
    from {
        transform: translateY(15%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes modalSlideOut {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-10%);
    }
}

.modal {
    color: var(--modal-font-color);
    border: none;
    background: transparent;
}

.modal-overlay {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
   
    z-index: 22;
}

.modal.visible .modal-overlay {
    animation: modalFadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.modal.visible .modal-container {
    animation: modalSlideIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.modal.hide .modal-overlay {
    animation: modalFadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.modal.hide .modal-container {
    animation: modalSlideOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.modal.visible .modal-overlay {
    display: flex;
}

.modal.hide .modal-overlay {
    display: none;
}

.modal-close {
    border: 0;
    cursor: pointer;
    padding: 0;
    position: absolute;
    right: 0;
    top: -1rem;
    z-index: 1;
    background-color:#fff ;
    border-radius: 100%;
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    top: -110px;
 
}
/* Formatierung Button Kreuz*/
.modal-close::before {
    content: "\2715";
    font-size: 1.25rem;
    font-weight: 500;
    font-variation-settings: "wght" 500;
    color:#fff;
   
}

.modal-container {
    max-height: 90vh;
    width: calc(100% - 2rem);
    max-width: var(--max-width-content);
    position: relative;
    padding: 0 1rem;
}

@media only screen and (max-width: 767px) {
    .modal-container {
        max-height: 70vh;
    }
}
/* Formatierung für PopUp Inhalt*/
.modal-container > .inside {
    background-color: var(--modal-background);
    max-height: inherit;
    overflow-y: auto;
    max-width: var(--max-width-content);
    padding-left:40px;
    padding-bottom:40px;
     border-radius: 20px;
     border-color:#318CB8;
     border:5;
     padding-bottom: 0px;
  top: -100px;
  border-top-width: 5px;
  border-top-style: solid;
  border-bottom-width: 5px;
  border-bottom-style: solid;
  border-left-width: 5px;
  border-left-style: solid;
  border-right-width: 5px;
  border-right-style: solid;
}
