#header {z-index: 1000;}
#socialMedia, #mapWrap {z-index: 90;}

img.pdftoimg {max-width: 100%; height: auto; display: block;}

.news-headline {font-size: 1.4em; font-weight: bold;}

.news-container img,
.news-element-detail img {max-width: 100%; height: auto;}

.news-container img {
    max-width: none !important;
}

.text .news-gallery ul li,
.text .news-downloads ul li {padding-left:0;}

.text .news-gallery ul li:before,
.text .news-downloads ul li:before {display: none;}

.text .news-gallery ul li a {border: none;}

.news-element {margin-bottom: 20px; border-bottom:1px solid #4c4d4f; padding-bottom: 20px;}
.news-date {display: block; color:var(--theme); font-size: 0.875em;}
.news-side-headline {font-size: 1.1em; font-weight: bold; margin: 0;}

.news-container.list-mode {background: none; padding: 0; margin: 90px 0 20px;}

.news-container.list-mode .imgFlexItem h4 a,
.news-container.list-mode h4 a {color: var(--theme); text-decoration: none;}

.news-title {
    color: var(--theme);
    margin-bottom: 30px;
}

.news-item-list-mode {border-bottom: 1px dashed var(--grau); padding-bottom: 40px; margin-bottom: 40px;}
.news-item-list-mode:last-child {border: none;}

.news-detail-image {margin-bottom: 20px;}

.news-detail-date {margin-top: 10px; display: block;}

.daterangepicker {box-shadow: 0px 0px 20px rgba(0,0,0,0.15); padding: 10px !important;}
.daterangepicker .calendar-table th.prev, .daterangepicker .calendar-table th.next {background-image: none !important;}
.daterangepicker .drp-buttons .btn {padding: 8px 28px !important;}

.read-more, .ank-text a {color:var(--theme); display: inline-block;}
/*
.read-more:before, #content .wysiwyg a:before, .ank-text a:before {content: "\2192"; margin-right: 5px; display: inline-block;}
*/
.news-container.list-mode .news-date {margin: 5px 0;}

.news-www-link {margin: 30px 0 60px; border-top:1px solid #ccc; padding-top: 20px;}

.news-gallery {margin: 40px 0;background: #fbf6ec; padding: 20px;}
.news-gallery ul {overflow: hidden; margin: 0 -10px;}
.news-gallery ul li {float: left; width: 20%; padding: 10px; box-sizing:border-box;}

.news-downloads {margin: 20px 0; background: #fbf6ec; padding: 40px;}
.news-downloads p, .news-gallery p {margin-bottom: 5px; font-weight: 400;}

.news-downloads a {color:var(--dark) !important;}

.news-container.list-mode .textImg {margin-bottom: 30px;}

.lg-actions {position: static;}
.lg-backdrop {background: rgba(255,255,255,0.95);}
.lg-actions .lg-next, .lg-actions .lg-prev {background: #fbf6ec; color:var(--theme);}
.lg-sub-html, .lg-toolbar {background: none;}
#lg-counter,
.lg-toolbar .lg-icon {color:var(--theme);}

.lg-actions .lg-next:hover, .lg-actions .lg-prev:hover, .lg-toolbar .lg-icon:hover {background:var(--theme); color:#fbf6ec;}


.privacy-msg {
background: #e6e6e8;
position: absolute;
top:0; 
left: 0;
width: 100%;
height: 100%;
}

.privacy-msg p {
padding: 20px;
text-align:center;
position: relative;
top: 50%;
font-size: 15px;
line-height: 24px;
left: 50%;
transform: translate(-50%, -50%);
z-index: 100;
}
.privacy-msg a {text-decoration: underline;}
.privacy-msg a.privacy-trigger {
font-size: 1.2em; line-height: 22px; color:#fff; background:#8f4899; padding: 6px 12px; display: inline-block; margin-top: 14px; text-decoration: none;
}

.rex-nav-pagination {
    display: block;
}
.pagination > li {
    display: inline-block;
}

.pagination > li.disabled {
    
    display: none;
}
.rex-nav-pagination ul li a {
    position: relative;
    float: left;
    padding: 6px 12px;
    line-height: 1.4;
	margin: 0 4px 0 0;
    color: var(--dark);
    text-decoration: none;
    background-color: #fbf6ec;
    border: none !important;
}
.rex-nav-pagination > .rex-pagination-count {
    display: inline-block;
    padding: 7px 12px;
    line-height: 1.4;
}

.detail-teaser {
    margin-bottom: 30px;
}

.detail-title {
    padding-right: 190px;
}

.detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

#detail-content h1,
#detail-content h2,
#detail-content h3 {
    font-size: 1.25rem;
    color: var(--theme);
}

#detail-content h1::after,
#detail-content h2::after,
#detail-content h3::after {
    display: none;
}

#detail-content video {
    width: 100% !important;
    aspect-ratio: 16/9;
    height: auto !important;
}

.pagination > .active > a {
    
    z-index: 3;
color: #fff !important;
cursor: default;
background-color: var(--theme);
border-color: var(--theme);
    
}
.rex-icon {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
        font-size: 14px;
    font-size: inherit;
    text-rendering: auto;
}
.rex-icon-previous::before {
    content: "\f104";
}
.rex-icon-next::before {
    content: "\f105";
}

.rex-nav-pagination .pagination {display: block;}
.text .rex-nav-pagination ul {overflow: hidden;}
.text .rex-nav-pagination ul li {float: left; padding: 0;}
.text .rex-nav-pagination ul li::before {display: none;}

.text .rex-nav-pagination ul li .rex-icon,
.rex-nav-pagination > .rex-pagination-count {display: none;}


.ansprechpartner {background:#fbf6ec; padding: 40px; margin: 40px 0;}
.ap-headline {font-size: 1.5em; margin-bottom: 30px;}
.ap-element {overflow: hidden; margin-bottom: 30px; padding-bottom: 30px; border-bottom:1px solid var(--theme);}
.ap-element:last-child {border:none; padding: 0; margin: 0;}
.ap-left {float: left; width: 25%; padding-right: 20px;}
.ap-left img {border-radius: 50%; overflow: hidden; border: 7px solid #fff;}

.ap-right {float: right; width: 72%;}
.ap-right p {margin: 0;}
.ap-right span {display: block;}
.ap-name {font-weight: bold; color:var(--theme);}
.ap-funktion {font-style: italic; color:var(--theme);}

.no-image .ap-left {display: none;}
.no-image .ap-right {width: 100%;}

.yform {margin: 30px 0 60px 0; overflow: hidden;}
.yform .form-group {position: static;}

.yform .input-group {
    background: #fbf6ec;
    padding: 20px;
}

.yform .input-group-btn button {
    margin: 0 0 0 20px;
  padding: 10px;
}

.yform input[type="text"],
.yform input[type="email"],
.yform textarea {border:none; outline:0; padding: 10px 8px; background: #fbf6ec; color:var(--dark); font-size: 1em; width: 100%; box-sizing: border-box; margin: 0 0 5px 0;}

.yform label {display: block; color:var(--dark);font-size: 1.1em; margin-bottom: 5px;}
.yform ::placeholder {color:var(--dark); opacity: 1 !important;}
.yform button[type="submit"] {background: var(--theme); color:#fff; border:none; margin: 40px 0 0; padding: 10px 40px; font-size: 1.1em;  text-transform: uppercase; cursor: pointer;}
.yform button[type="submit"]:hover {opacity: 0.7;}

#yform-formular-schuljahr label {display: inline-block; margin-right: 10px;}
#yform-formular-schuljahr select {display: inline-block; padding: 10px; font-family: 'IBM Plex Sans', sans-serif; background: #fbf6ec; border: none;font-size: 1em;}

.news-more-button {text-align: center; margin-bottom: 100px;}

.button {
color: var(--theme);
border-bottom: 1px dashed var(--theme);
transition: all 0.2s;
text-decoration: none;
font-weight: 400;
}
.button:hover {
color: var(--hellblau);
border-bottom: 1px solid var(--hellblau);
}

.yform input[type="radio"] {margin: 0 7px 0 0;}

.yform fieldset {border:1px solid #eae3d7; padding: 20px; margin-top: 50px; overflow: hidden;}
.yform legend {color: var(--theme); font-family: 'Playwrite'; font-size: 1.3em; line-height: 1.4em; margin: -35px 0 0 0; padding: 5px 10px; background: #fff; border:1px solid #eae3d7; border-bottom: none;}

.yform .tox-tinymce {margin-top: 20px;}

.yform .formmediafile {border: 1px solid #eae3d7;padding: 5px; margin-bottom: 5px; display: flex;}

.yform label.yform-moreuploads {margin-top: 15px;}

.yform .checkbox label {display: block; color:var(--dark);font-size: 1.1em; margin-bottom: 4px;}
.yform .checkbox input[type="checkbox"] {-webkit-appearance:checkbox;appearance:checkbox; margin-right: 8px;}

.yform p.privacy {font-size: 0.875em; color:#999;}
.yform p.privacy a {text-decoration: underline;}

.yform .nice-select {line-height: 40px;}
.yform .nice-select, .yform .nice-select .list {width:100%; margin-bottom: 20px; border-radius: 0;}  
.yform .nice-select:after, .yform.nice-select:hover {border-color:#000;}
.yform .nice-select, .yform .nice-select:active, .yform .nice-select:focus, .yform .nice-select.open {border:1px solid #000;}
.yform .nice-select .list {border: 1px solid #000; margin-top:0;}
.yform .nice-select span {color: #4c4d4f; font-weight: normal;}

.yform .alert {margin-bottom: 60px;}
.yform .alert ul li {margin-bottom: 2px; display: block;}

.yform .has-error input,
.yform .has-error textarea {border:2px solid red;}

.yform p.form-infotext {margin-top: 20px;}
.yform p.form-hinweis {margin: 30px 0 0; font-size:1em;}

.news-more-button
{
	text-align: left;
}

/*body.page_45 #openerLine {
    display: none;
}

body.page_45 #opener {
    max-width: 1050px;
    margin: 0 auto;
    padding: 0px 40px;
    box-sizing: border-box;
}*/

@media all and (max-width: 800px){
    .detail-title {
        padding-right: 110px;
    }
}


@media all and (max-width: 650px){

.tox .tox-toolbar--scrolling {
    flex-wrap: wrap !important;
}

.filepond--root {
    margin-bottom: 30px;
}

.filepond--item {
  transform:none !important;
}

        .page_15 #form {
            margin-left: -30px;
            margin-right: -30px;
        }

    .detail-title {
        padding-right: 0;
        hyphens: auto;
    }
   .detail-title-icon {
        display: none;
    }
}
