/**
 * =============================================================================
 * Anpassungen in diese Datei
 * ==========================================================================
 */

.ios .jarallax {
    background-size: cover;
    background-attachment: scroll;
}

#mainmobil a br,
#mainmobil .active br {
    display: none;
}

#footer .inside .footertop a br,
#footer .inside .footertop .active br {
    display: none;
}

.menusection .inner {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    justify-content: space-between;
}

.logosection .inner {
    position: relative;
    padding-top: 10px;
    padding-bottom: 10px;
}

.navi-section,
.nav--slide_in.js--is-fixed,
.home .navi-section,
.home .nav--slide_in.js--is-fixed {
    box-shadow: 0 2px 2px rgba(108, 108, 106, .2);
    border-bottom: 1px solid rgb(244, 247, 251);
}

.transparent_naviarea .navi-section.js--is-fixed,
.home .navi-section.js--is-fixed,
.navi-section.js--is-fixed {
    background-color: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

/*
#main h4 {
    color: #2f7c82;
}
 */

/*
.mainmenu ul li span.new {
    font-size: 0.9em;
    font-weight: bold;
    margin-left: 5px;
    background: red;
    color: #fff;
    border-radius: 2px;
    padding-left: 4px;
    padding-right: 4px;
    float: right;
}
 */
 
.mainmenu ul li {
    border-right: 1px solid rgba(108, 108, 106, .2);
}

.mainmenu ul>li:focus a,
.mainmenu ul>li>a:focus {
    background-color: rgba(47, 124, 130, 1);
    background-color: #fff;
}

.nav--slide_in.js--is-fixed .mainmenu ul>li a:focus,
.nav--slide_in.js--is-fixed .mainmenu ul>li a:active {
   color: #fff;
}

.mainmenu ul li {
    margin-left: -5px;
}

.mainmenu ul li:first-child {
    margin-right: 1px;
}

.mainmenu ul li:last-child {
    margin-left: -4px;
}

.submenulr ul li span.new,
.customNavi-lr span.new {
    display: none;
}

.navititle {
    display: block;
    font-weight: normal;
    font-size: 12px;
}

#afterheader .pagetitle {
    display: none;
}

#afterheader span.pagetitle br,
.mod_customnav ul li span br,
.mod_breadcrumb ul li span br,
.mod_breadcrumb ul li.active br,
.mod_breadcrumb ul li br {
    display: none;
}

.mod_breadcrumb ul li {
    font-size: 18px;
    display: inline-block;
}

.mod_breadcrumb ul li:first-child:before {
    content: none;
    margin: 0;
}

.ctsheaderimagev2 .inside {
    padding-bottom: 0px;
}
.ce_ctsheaderimagev2 .image_container, .ce_ctsheaderimagev2 .image_container img {
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: #ECF1F8;
}
.ctsheaderimagev2 .image_container img {
    max-width: 1920px;
}

.link a, .linkm a, .mod_eventreader p.back a {
    padding: 8px 15px;
    background-color: #2f7c82;
    color: #ffffff;
    font-weight: normal;
    font-size: 18px;
}

.mod_eventlist .layout_upcoming {
    border: 1px solid rgba(108, 108, 106, .2);
}
.mod_calendar td .event {
    font-size: 1em;
}

/* Termintabelle */

.termintable {
    overflow-x: auto;
    white-space: nowrap;
    padding: 20px;
    background-color:#f4f7fb;
}
.termintable td, .termintable th {
    padding: .5em;
    border-top: 1px solid #ccc;
    font-size: 1em;
    white-space: normal;
    text-align: left;

}

.termintable thead th {
    background-color:#f4f7fb;
    border-top: 0px
}

.termintable caption {
    display:none;
}

/* Event-Kalender Wochenplan */

.event_body {
    display: none;
}
table td {
    padding: .9em;
    border-top: 1px solid #e3e3e3;
    font-size: 1em;
    white-space: normal;
}
.timetable {
  overflow-x: auto;
  white-space: nowrap;
}
.timetable {
    margin-bottom: 2em;
}
.time.even, .time.odd {
    display: flex;
    align-items: center;
    justify-content: center;
}
.timetable .headwrapper {
    background-color: #a8006b;
    color: #fff;
}
.timetable .head.current a {
    display: none;
}
.timetable_navi .head.current {
    flex: 1;
    text-align: center;
    padding: .5em 1em;
}
.timetable_navi .navigation-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0em 0;
    width: 100%;
    background-color: #2f7c82;
    color: #fff;
}

.timetable_navi .head.current {
    flex: 1;
    text-align: center;
    padding: 0.5em;
}

.timetable_navi .head.previous,
.timetable_navi .head.next {
    flex: 0 0 auto;
    margin-left: 5px;
    margin-right: 5px;
}

.timetable_navi a {
    display: inline-block;
    padding: 0.5em;
    text-decoration: none;
    color: inherit;
}

.timetable_navi a:focus {
    text-decoration: underline;
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}
.timetable_navi a:hover {
    text-decoration: underline;
}
.timetable th,
.timetable td {
    padding: 0;
    border: 1px solid #ccc;
    vertical-align: top;
    text-align: center !important;
    white-space: normal;
    word-break: break-word;
    min-width: 150px;
}

.timetable th {
    background-color: #f4f7fb;
    text-align: left;
    padding: 0.5em;
}
.timetable {
  overflow-x: auto;
  width: 100%;
}

.timetable_body table {
  min-width: 100%;
  width: max-content;
  table-layout: auto;
}

.timetable .time {
  min-width: 80px;
}
.timetable .event {
    width: 100%;
}
.timetable_days td,
.timetable_days th {
  min-width: 120px;
}
.timetable .event.upcoming.recurring,
.timetable .event.bygone.recurring,
.timetable .event.current.recurring {
    background-color: #f4f7fb;
    min-height: 75px;
}
@media (max-width: 767px) {
  .mod_timetable {
    position: relative;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .timetable {
    width: max-content;
    table-layout: auto;
    white-space: nowrap;
  }
}
.event {
    margin: 0.5em 0;
    padding: 0.5em;
    border-radius: 4px;
}
.event_time:after {
    content: "Uhr";
    display: inline;
}
.event a:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

/* Verbesserte Touch-Bedienung */
@media (max-width: 768px) {
    .timetable_navi a {
        padding: 0.8em;
    }
}

/* Reduzierte Bewegung */
@media (prefers-reduced-motion: reduce) {
    .timetable * {
        transition: none !important;
    }
}

/* fuer alle Geraete-Klassen */

/* Anfang Anweisungen Barrierefreiheit */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.link a:focus,
.link a:hover,
.linkm a:focus,
.linkm a:hover {
    text-decoration: underline;  /* Zusätzliche visuelle Hervorhebung */
    outline: 2px solid #fff;  /* Weißer Outline für hohen Kontrast */
    outline-offset: 2px;  /* Abstand zwischen Button und Outline */
}
.link a::before, .linkm a::before {
  height: 0px;
  width: 0%;
  transition: unset;
}
.ctsquicklinks .fa::before, .ctsquicklinks .fab::before, .ctsquicklinks .fal::before, .ctsquicklinks .far::before, .ctsquicklinks .fas::before {
    color: #A8006B;
}
.ctsquicklinks .iconbox {
        font-size: 24px !important;
    }
.ctsquicklinks .ctsboxen .content {
    max-width: 720px;
}
.ctsquicklinks .ctsboxen:hover .content, .ctsquicklinks .ctsboxen.visible .content {
    width: 720px;
}
.ctsquicklinks .ctsboxen .content.gruppe1 ul li {
    list-style-type: disc;
    list-style-position: inside;
}
.iconbox {
    --focus-outline-color: #2f7c82;
    --focus-outline-width: 2px;
    --focus-outline-offset: 2px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* Fokus-Styles */
.iconbox:focus,
.iconbox:focus-within {
    outline: var(--focus-outline-width) solid var(--focus-outline-color);
    outline-offset: var(--focus-outline-offset);
    box-shadow: 0 0 0 4px rgba(47,124,130,0.2);
    transform: translateX(5px);
}



/* Content-Box */
.ctsboxen {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ctsboxen.visible {
    display: block;
    opacity: 1;
}

/* Tastatur-Fokus innerhalb der Content-Box */
.ctsboxen a:focus,
.ctsboxen button:focus {
    outline: var(--focus-outline-width) solid var(--focus-outline-color);
    outline-offset: var(--focus-outline-offset);
}

.ce_ctslistextended .ext_list ul li {
    align-items: flex-start;
}

button[type="submit"], input[type="submit"] {
    font-size: 18px;
}
table {
    border-bottom: 0px;
}
.ctsquicklinks table td {
    padding: .9em;
    border-top: 1px solid #e3e3e3;
    font-size: 18px;
    white-space: normal;
}

.inside.bgfix.bggreen.standardicon a:focus,
.inside.bgfix.bggreen.standardicon a:hover {
    outline: 2px dotted #fff;  /* Weißer Outline für hohen Kontrast */
    outline-offset: 2px;  /* Abstand zwischen Button und Outline */
}
.mod_customnav a:focus, .contactdetails a:focus {
    outline: 2px dotted #000;
    outline-offset: 2px;
    border-radius: 2px;
    background-color: rgba(74, 144, 226, 0.1);
    text-decoration: underline;
}
#footer .mod_customnav a:focus, #footer .contactdetails a:focus, #footer .ce_ctsteam .contact a:focus {
    outline: 2px dotted #fff;
    outline-offset: 2px;
    border-radius: 2px;
    min-height: 44px;
    background-color: rgba(74, 144, 226, 0.1);
    text-decoration: underline;
}
.ce_text a:focus {
    outline: 2px dotted #0066cc; /* Deutliche Outline in Linkfarbe */
    outline-offset: 2px;        /* Abstand zwischen Text und Outline */
    background-color: rgba(0, 102, 204, 0.1); /* Subtiler Hintergrund */
    text-decoration: none;      /* Unterstreichung entfernen im Fokus */
    border-radius: 2px;         /* Abgerundete Ecken für die Outline */
}
.mainmenu ul li a:focus, .home .mainmenu ul li a:focus, .transparent_naviarea .mainmenu ul li a:focus {
    background-color: #2f7c82;
    color: #fff;
    text-decoration: none;      /* Unterstreichung entfernen im Fokus */
}
#footer ul li {
    padding: 5px 5px;
}
.opening-hours {
    margin: 0;
    padding: 0;
}
.opening-hours .day {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}
.opening-hours dt {
    font-weight: normal;
    margin: 0;
}
.opening-hours dd {
    margin: 0;
}
figure.image_container a:focus {
    outline: none;
    position: relative;
    display: block;
}
figure.image_container a:focus::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid #0066cc; /* Kontrastreiches Blau */
    border-radius: 2px;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.8); /* Weißer Outline für besseren Kontrast */
    pointer-events: none;
}
/* Ende Anweisungen Barrierefreiheit */

.myClass p {
    color: #ff0000;
}

.mod_eventreader p.back a {
    padding: 8px 15px;
    background-color: #2f7c82;
    color: #ffffff;
    font-weight: normal;
    font-size: 18px;
}

.mod_eventreader p.back a:hover {
   letter-spacing: 0px;
   text-decoration: underline;
}

.linkw a {
    color: #ffffff;
}

.ce_ctscolor .text {
    word-wrap: break-word;
}

.ce_ctscolor.iconleft .content {
    padding-left: 50px;
}

.ctsopeninghours .text {
    margin-bottom: 10px;
    margin-top: 5px;
    font-size: 18px;
}

.ctsopeninghours .day {
    font-size: 18px;
}
.ce_ctsteam .org, .ce_ctsteam .given-title, .ce_ctsteam .family-name, .ce_ctsteam .given-name, .ctsheaderimagev2 .linkwrapper .link.bgfix a, #footer strong.active {
    font-weight: 500;
}
.ce_ctsteam .given-title, .ce_ctsteam .family-name, .ce_ctsteam .given-name {
    font-size: 1.1em;
}
.inside.bgfix.bggreen.standardicon a {
    color: rgba(255, 255, 255, 1);
}

.inside.bgfix.bggreen.standardicon a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.figure.effectlily .figcaption>div.link {
    height: 100%;
    margin-top: 0;
}

.figure.effectlily .figcaption>div.link a {
    font-size: 0;
}

.footer-hl {
    padding-bottom: 8px;
    color: rgba(255, 255, 255, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    font-size: 1.2em;
    font-family: 'Fira Sans Condensed', sans-serif;
    font-weight: 400;
    line-height: 1.3;
    position: relative;
    margin-top: 0;
    margin-bottom: .5em;
}

#footer .ctsopeninghours .firstday.day {
    border-bottom: 1px solid rgba(255, 255, 255, .50);
    border-top: 1px solid rgba(255, 255, 255, .50);
}

#footer .ctsopeninghours .day {
    border-bottom: 1px solid rgba(255, 255, 255, .50);
}

.ce_ctsteam .desc {
    margin-right: 5px;
}
/* 
.ce_ctsteam {
    margin-top: 5px;
}
*/

/* Handorgel */
.handorgel__header__button {
    padding: 18px 24px 18px 24px;
}

button.handorgel__header__button:focus {
    background-color: #f4f7fb;
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

.handorgel__content {
    border-top: 0px;
    border-left: 1px solid lightgrey;
    border-right: 1px solid lightgrey;
    background-color: #fff;
}

.date-accordion .handorgel__header__button {
    padding: 18px 24px 12px 24px;
}

.handorgel__header__button:after {
    transition: opacity ease-in-out .2s;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    z-index: 5;
    width: 2rem;
    height: 2rem;
    background: rgba(0, 0, 0, 0) url(/files/theme/icons/plus-circle.svg) center center no-repeat;
    content: "";
}

.handorgel__header--open .handorgel__header__button::after {
    transition: opacity ease-in-out .2s;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    z-index: 5;
    width: 2rem;
    height: 2rem;
    background: rgba(0, 0, 0, 0) url(/files/theme/icons/minus-circle.svg) center center no-repeat;
    content: "";
}

.handorgel__header {
    border-bottom: 0px solid lightgrey;
    border-top: 1px solid lightgrey;
    border-left: 1px solid lightgrey;
    border-right: 1px solid lightgrey;
}

.handorgel__header:first-of-type {
    border-bottom: 0px solid lightgrey;
}

.handorgel__header:last-of-type {
    border-bottom: 0px solid lightgrey;
    border-top: 1px solid lightgrey;
}

.handorgel__header .handorgel__header--opened:last-of-type {
    border-bottom: 0px;
}

h2.handorgel__header,
h3.handorgel__header {
    font-size: 1.2em;
    color: #000066;
}

.content-accordion {
    border-bottom: 1px solid lightgrey;
    margin-bottom: 10px;
}

button.nav-mobile:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

button.nav-mobile {
    width: 48px;
    height: 48px;
    margin-left: 0;
    font-size: 0;
    line-height: 1;
    padding: 6px;
    background-color: transparent;
    color: rgba(0, 69, 135, 1);
    text-decoration: none;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    cursor: pointer;
    appearance: none;
    outline: 0;
    position: relative;
    display: none;
}

button.nav-mobile span.line {
    display: block;
    position: absolute;
    left: 8px;
    width: 32px;
    height: 4px;
    border-radius: 2px;
    background: currentColor;
    color: inherit;
    opacity: 1;
}

button.nav-mobile span.line:nth-of-type(1) {
    bottom: 32px;
    transition: bottom .2s ease, transform .2s ease, width .2s ease;
}

button.nav-mobile span.line:nth-of-type(2) {
    top: 22px;
    transition: opacity .2s ease;
}

button.nav-mobile span.line:nth-of-type(3) {
    top: 32px;
    transition: top .2s ease, transform .2s ease, width .2s ease;
}

.mm-wrapper_opened button.nav-mobile span.line:nth-of-type(1) {
    bottom: 22px;
    transform: rotate(45deg);
}

.mm-wrapper_opened button.nav-mobile span.line:nth-of-type(2) {
    opacity: 0;
}

.mm-wrapper_opened button.nav-mobile span.line:nth-of-type(3) {
    top: 22px;
    transform: rotate(-45deg);
}

/* fuer tablets und groessere Displays*/
@media only screen and (min-width:768px) {

    .myClass p {
        color: #00ff99;
    }

    header .bxsmall .bx-viewport {
        border: 10px solid #e5e8ee;
    }

}


/* fuer tablets und groessere Displays*/
@media only screen and (min-width:992px) {

    .myClass p {
        color: #f300ff;
    }

    .menusection .inner {
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: flex-end;
    }

}

/* fuer desktop */
@media only screen and (min-width:1025px) {

    .myClass p {
        color: #0800ff;
    }

    .navi-section>.inside,
    .navi-section.nav--slide_in.js--is-fixed>.inside,
    .navi-section.js--is-fixed>.inside {
        display: block;
        padding-top: 0;
        padding-bottom: 0;
    }

    .js--is-fixed .logosection .inner {
        position: relative;
        padding-top: 0;
        padding-bottom: 0;
    }

    .navi-section.nav--slide_in.js--is-fixed>.inside,
    .navi-section.js--is-fixed>.inside {
        display: flex;
        padding-top: 5px;
        padding-bottom: 0px;
    }

    .js--is-fixed .blockright,
    .js--is-fixed .blockleft {
        /* position: absolute; */
        /* top: 12px; */
        display: none;
    }

    .fixed-topnavi .menusection::before {
        position: absolute;
        left: -1000px;
        width: 5000px;
        height: 1px;
        background-color: rgba(0, 0, 0, 0.08);
        content: '';
        z-index: 999;
    }

    .blockright {
        top: 50px;
    }

    .blockright {
        display: block;
    }

    .blockright .contactdetails ul {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
        flex-direction: row-reverse;
    }

    .blockright .contactdetails ul li {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        margin-left: 20px;
        font-size: 18px;
    }

    .blockright .contactdetails ul li span {
        font-size: 20px;
    }


    .blockright .contactdetails ul li:last-child {
        font-size: 20px;
        font-weight: bold;
        text-decoration: none;
        color: #261B77;
    }

    .blockright .contactdetails ul li span {
        margin-right: 8px;
        color: #37ADB7;
    }

    .blockright .contactdetails a.email {
        text-decoration: none;
        font-size: 18px;
    }

    .blockright .contactdetails a.email {
        color: #261b77;
    }

    .ctsheaderimagev2 .contentwrapper.version1 {
        width: 50%;
    }
}

@media only screen and (max-width: 991px) {
    button.nav-mobile {
        display: flex;
    }
}

@media only screen and (min-width: 768px) {
    #main>.inside {
        padding: 30px 40px 0px 30px;
    }
}
@media only screen and (min-width: 992px) {
    .mainmenu {
        display: none;
    }

    .mod_mobile_menu, button.nav-mobile {
        display: flex;
    }
}

@media only screen and (min-width: 1080px) {
    .mainmenu {
        display: unset;
    }

    .mod_mobile_menu, button.nav-mobile {
        display: none;
    }
}
/* fuer Tablets */
@media only screen and (max-width:1024px) {
        .ctsquicklinks {
        display: none !important;
    }
}

/* fuer Smartphones */
@media only screen and (max-width:767px) {}

/* Styles für "Skip Navigation" Link */
.invisible {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.invisible:focus {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    height: auto;
    padding: 1rem;
    margin: 0;
    background: #fff;
    color: #000;
    clip: auto;
    z-index: 9999;
    text-decoration: none;
}
