html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

a.disabled {
    pointer-events: none;
    cursor: default;
}

.viele li {
    font-size: 1.3em;
    line-height: 1.5em;
    margin-bottom: 20px;
}

p, span {
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    -o-hyphens: auto;
    hyphens: auto;
}

.maskdown {
    position: relative;
    overflow: hidden;
    margin: 0px !important;
    border: none;
}

    .maskdown:hover img {
        -webkit-transform: scale(1.1);
        -moz-transform: scale(1.1);
        -ms-transform: scale(1.1);
        -o-transform: scale(1.1);
        transform: scale(1.1);
        -webkit-transition: all 0.3s linear;
        -moz-transition: all 0.3s linear;
        -ms-transition: all 0.3s linear;
        -o-transition: all 0.3s linear;
        transition: all 0.3s linear;
    }

    .maskdown img {
        width: 100%;
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1);
        -webkit-transition: all 0.3s linear;
        -moz-transition: all 0.3s linear;
        -ms-transition: all 0.3s linear;
        -o-transition: all 0.3s linear;
        transition: all 0.3s linear;
    }

.edn_aditionalBox.edn_articleLinks ul li::before {
    padding-right: 8px;
    padding-top: 2px;
}

.list {
    list-style: none !important;
    padding: 0;
    margin: 0;
}

    .list li {
        padding-left: 6px;
        font-size: 16px !important;
    }

        .list li::before {
            content: "➜";
            padding-right: 8px;
            padding-top: 10px;
            color: #b40405;
            font-size: 16px;
        }

p {
    font-family: 'Open Sans', Arial, 'Helvetica Neue', sans-serif;
    font-size: 1.1em;
    line-height: 1.5em;
}

span, li {
    font-family: 'Open Sans', Arial, 'Helvetica Neue', sans-serif;
    font-size: 1.0em;
    line-height: 1.2em;
}

.element-info {
    border-bottom: 1px solid #dcdcdc;
    padding-bottom: 7px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5em;
}

.element-date {
    margin-bottom: 20px;
    font-size: 16px;
}

.element-category {
    font-size: 14px;
}

.element {
    background-color: #fafafa;
}


.more {
    display: inline-block;
    border-radius: 4px;
    background-color: #e20002;
    border: none;
    color: #FFFFFF;
    text-align: center;
    font-size: 20px;
    padding: 0px;
    width: 200px;
    transition: all 0.5s;
    cursor: pointer;
    margin: 5px;
}

    .more span {
        cursor: pointer;
        display: inline-block;
        position: relative;
        transition: 0.5s;
        color: #ffffff;
    }

        .more span:after {
            font-family: FontAwesome;
            content: '\f144';
            position: absolute;
            opacity: 0;
            top: 0;
            right: -20px;
            transition: 0.5s;
        }

    .more:hover span {
        padding-right: 25px;
    }

        .more:hover span:after {
            opacity: 1;
            right: 0;
        }


.sep {
    padding: 0px 5px;
}

.wrap {
    width: 100%;
    font-family: 'Open Sans', Arial, 'Helvetica Neue', sans-serif;
    padding: 20px 0 30px 0 !important;
}

    .wrap a:link,
    .wrap a:visited {
        color: #b30c0e;
        text-decoration: none;
    }

    .wrap a:hover {
        color: #df080a;
        text-decoration: none;
    }

.line hr {
    width: 100%;
    background-color: #ececec;
    border: none;
    height: 2px;
    margin: 5px 0 10px 0;
}

eventheader {
    min-height: 200px !important;
    margin: 0 !important;
    padding: 20px 0px 30px 0px !important;
}

#events {
    max-width: 100%;
    width: 100%;
}

.accordion {
    width: 100% !important;
}

    /*
@media screen and (max-width: 1024px) {
    .accordion {
        width: 100% !important;
    }
}

@media screen and (max-width: 767px) {
    .accordion {
        width: 100% !important;
    }
}

@media screen and (max-width: 480px) {
    .accordion {
        max-width: 95% !important;
    }
} */

    .accordion .panel {
        font-family: 'Open Sans', Arial, 'Helvetica Neue', sans-serif;
        line-height: 1.5em !important;
        font-size: 1.1em !important;
        color: #303030 !important;
        margin: 0 auto !important;
        height: 0;
        overflow: hidden;
        background-color: #ffffff !important;
        padding: 0 20px;
        box-sizing: border-box;
        transition: all 0.6s;
        width: 100%;
    }

    .accordion input:checked ~ .panel {
        height: 600px;
        overflow-y: scroll;
        padding: 20px;
        transition: all 0.6s;
    }

    .accordion label {
        cursor: pointer !important;
        background-color: #b40405 !important;
        display: block !important;
        padding: 0px 15px 0px 15px !important;
        width: 100% !important;
        color: #ffffff !important;
        font-weight: 400 !important;
        box-sizing: border-box !important;
        z-index: 100 !important;
    }

        .accordion label h1 {
            color: #f0f0f0 !important;
            font-size: 32px !important;
        }

        .accordion label h2 {
            color: #f0f0f0 !important;
            text-align: center !important;
            font-family: Exo, sans-serif;
            font-weight: 600 !important;
            font-size: 22px !important;
            min-height: 100% !important;
        }

        .accordion label h3 {
            color: #f0f0f0 !important;
            font-size: 22px !important;
        }

        .accordion label p {
            font-size: 18px !important;
        }

    .accordion input {
        display: none;
    }

        .accordion input:checked + label {
            background-color: #e20002 !important;
        }

            .accordion input:checked + label:before {
                transition: 0.6s;
            }


    .accordion label :hover {
        background-color: #a0a0a0 !important;
        color: #ffffff !important;
    }

.accpanel :hover {
    background-color: #f8f8f8 !important;
    color: #111111 !important;
}

.acctitle {
    height: auto;
}

.accdate {
    float: left;
    margin: 0 auto;
}

.accteaser {
    float: left;
    margin: 0 auto;
}

accteaser p {
    margin: 0;
}

.accbutton {
    display: inline-block;
    border-radius: 4px;
    background-color: #e20002 !important;
    border: none;
    color: #ffffff !important;
    text-align: center;
    font-size: 20px;
    padding: 0px;
    width: 200px;
    transition: all 0.5s;
    cursor: pointer;
    margin: 0;
}

    .accbutton span {
        cursor: pointer;
        display: inline-block;
        position: relative;
        transition: 0.5s;
        color: #ffffff !important;
    }

        .accbutton span:after {
            font-family: FontAwesome;
            content: '\f144';
            position: absolute;
            opacity: 0;
            top: 0;
            right: -20px;
            transition: 0.5s;
        }

    .accbutton:hover span {
        padding-right: 25px;
        font-size: 18px !important;
    }

        .accbutton:hover span:after {
            opacity: 1;
            right: 0;
        }


.accbuttonsoldout {
    display: inline-block;
    border-radius: 4px;
    background-color: #e20002 !important;
    border: none;
    color: #ffffff !important;
    text-align: center;
    font-size: 18px !important;
    padding: 0px;
    width: 200px;
    transition: all 0.5s;
    margin: 5px;
}

    .accbuttonsoldout span {
        display: inline-block;
        position: relative;
        transition: 0.5s;
        color: #ffffff !important;
    }

        .accbuttonsoldout span:after {
            font-family: FontAwesome;
            content: '\f00d';
            position: absolute;
            opacity: 0;
            top: 0;
            right: -20px;
            transition: 0.5s;
        }

    .accbuttonsoldout:hover span {
        padding-right: 25px;
    }

        .accbuttonsoldout:hover span:after {
            opacity: 1;
            right: 0;
        }

.staff {
    background-color: #f3f3f3;
    padding: 20px 0px 40px 0px
}

    .staff h2 {
        margin-top: 0px;
        margin-bottom: 40px
    }

    .staff .col-md-4 {
        text-align: center
    }

    .staff a:link,
    .staff a:visited {
        color: #ff2e30;
        text-decoration: none;
    }

    .staff a:hover {
        color: #ffffff;
        text-decoration: underline;
    }

@media only screen and (max-width:767px) {
    .staff .col-md-4 {
        margin-top: 30px
    }
}

.staff .staff-txt {
    background-color: #fff;
    padding: 30px 0px;
    position: relative;
    min-height: 450px;
    -webkit-transition: all 0.5s linear;
    -moz-transition: all 0.5s linear;
    -ms-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
    transition: all 0.5s linear
}

    .staff .staff-txt:hover {
        background-color: #e20002
    }

        .staff .staff-txt:hover:before {
            background: #e20002;
        }

        .staff .staff-txt:hover h4,
        .staff .staff-txt:hover h5 {
            color: #fff
        }

        .staff .staff-txt:hover p {
            color: #fff !important
        }

        .staff .staff-txt:hover a {
            color: #eaeaea !important
        }

        .staff .staff-txt:hover .ul-list li .fa {
            color: #fff
        }

    .staff .staff-txt:before {
        content: "";
        height: 20px;
        width: 20px;
        background: #fff;
        position: absolute;
        top: -10px;
        left: calc(50% - 10px);
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
        -webkit-transition: all 0.5s linear;
        -moz-transition: all 0.5s linear;
        -ms-transition: all 0.5s linear;
        -o-transition: all 0.5s linear;
        transition: all 0.5s linear
    }

    .staff .staff-txt h4,
    .staff .staff-txt h5 {
        margin-top: 0px;
        -webkit-transition: all 0.5s linear;
        -moz-transition: all 0.5s linear;
        -ms-transition: all 0.5s linear;
        -o-transition: all 0.5s linear;
        transition: all 0.5s linear
    }

    .staff .staff-txt .line {
        width: 100px;
        height: 1px;
        background: #eee;
        margin: 0 auto
    }

    .staff .staff-txt ul.ul-list {
        padding-left: 0px;
        padding-top: 25px;
        display: inline-block
    }

        .staff .staff-txt ul.ul-list li {
            float: left;
            list-style: none;
            margin: 0px 7px
        }

            .staff .staff-txt ul.ul-list li .fa {
                color: #000;
                -webkit-transition: all 0.5s linear;
                -moz-transition: all 0.5s linear;
                -ms-transition: all 0.5s linear;
                -o-transition: all 0.5s linear;
                transition: all 0.5s linear
            }

.portfolio .row {
    margin-right: 0px;
    margin-left: 0px;
}

    .portfolio .row .col-md-3 {
        padding: 0px;
    }

.portfolio .sub {
    text-transform: uppercase;
    font-size: 16px;
}

.portfolio .mask {
    position: relative;
    overflow: hidden;
}

    .portfolio .mask:hover img {
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1);
    }

    .portfolio .mask:hover .mask-bg {
        opacity: 1;
    }

    .portfolio .mask:hover .empty {
        opacity: 1;
        -webkit-transform: scale(0.9);
        -moz-transform: scale(0.9);
        -ms-transform: scale(0.9);
        -o-transform: scale(0.9);
        transform: scale(0.9);
    }

    .portfolio .mask:hover .mask-txt {
        opacity: 1;
    }

    .portfolio .mask img {
        width: 100%;
        -webkit-transform: scale(1.1);
        -moz-transform: scale(1.1);
        -ms-transform: scale(1.1);
        -o-transform: scale(1.1);
        transform: scale(1.1);
        -webkit-transition: all 0.3s linear;
        -moz-transition: all 0.3s linear;
        -ms-transition: all 0.3s linear;
        -o-transition: all 0.3s linear;
        transition: all 0.3s linear;
    }

    .portfolio .mask .mask-bg {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0px;
        background-color: rgba(0, 0, 0, 0.5);
        opacity: 0;
        -webkit-transition: all 0.3s linear;
        -moz-transition: all 0.3s linear;
        -ms-transition: all 0.3s linear;
        -o-transition: all 0.3s linear;
        transition: all 0.3s linear;
    }

    .portfolio .mask .empty {
        position: absolute;
        width: 100%;
        height: 100%;
        border: 2px solid #fff;
        top: 0px;
        -webkit-transform: scale(1.1);
        -moz-transform: scale(1.1);
        -ms-transform: scale(1.1);
        -o-transform: scale(1.1);
        transform: scale(1.1);
        opacity: 0;
        -webkit-transition: all 0.3s linear;
        -moz-transition: all 0.3s linear;
        -ms-transition: all 0.3s linear;
        -o-transition: all 0.3s linear;
        transition: all 0.3s linear;
    }

    .portfolio .mask .mask-txt {
        position: absolute;
        top: calc(50% - 20px);
        text-align: center;
        width: 100%;
        opacity: 0;
        -webkit-transition: all 0.3s linear;
        -moz-transition: all 0.3s linear;
        -ms-transition: all 0.3s linear;
        -o-transition: all 0.3s linear;
        transition: all 0.3s linear;
    }

        .portfolio .mask .mask-txt h4 {
            margin: 0px;
            color: #fff;
        }

@-webkit-keyframes fadeInLeft {
    from {
        opacity: 0;
        -webkit-transform: translate3d(-100%,0,0);
        transform: translate3d(-100%,0,0)
    }

    to {
        opacity: 1;
        -webkit-transform: none;
        transform: none
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        -webkit-transform: translate3d(-100%,0,0);
        transform: translate3d(-100%,0,0)
    }

    to {
        opacity: 1;
        -webkit-transform: none;
        transform: none
    }
}

.fadeInLeft {
    -webkit-animation-name: fadeInLeft;
    animation-name: fadeInLeft
}


@-webkit-keyframes fadeInRight {
    from {
        opacity: 0;
        -webkit-transform: translate3d(100%,0,0);
        transform: translate3d(100%,0,0)
    }

    to {
        opacity: 1;
        -webkit-transform: none;
        transform: none
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        -webkit-transform: translate3d(100%,0,0);
        transform: translate3d(100%,0,0)
    }

    to {
        opacity: 1;
        -webkit-transform: none;
        transform: none
    }
}

.fadeInRight {
    -webkit-animation-name: fadeInRight;
    animation-name: fadeInRight
}

@-webkit-keyframes fadeInUp {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0,100%,0);
        transform: translate3d(0,100%,0)
    }

    to {
        opacity: 1;
        -webkit-transform: none;
        transform: none
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0,100%,0);
        transform: translate3d(0,100%,0)
    }

    to {
        opacity: 1;
        -webkit-transform: none;
        transform: none
    }
}

.fadeInUp {
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp
}

.fluidMedia {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

    .fluidMedia iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

/* Scrollbars */
/* width */
::-webkit-scrollbar {
    width: 15px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px rgb(193, 192, 192);
    border-radius: 3px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #e20002;
    border-radius: 3px;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #b40405;
    }

.ticketheader {
    background-color: #b40405;
    padding: 5px;
}

.ticketsubheader {
    background-color: #fafafa;
    border: 1px solid #b40405;
    padding: 5px;
}

.ticketline {
    background-color: #b40405;
    width: 100%;
    border: 1px solid #b40405 !important;
    margin: 10px 0 10px 0;
}

.banner img {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    transition-duration: 1s;
}

    .banner img:hover {
        filter: grayscale(0%);
        -webkit-filter: grayscale(0%);
        transition-duration: 1s;
    }

.edsmm_level_2 {
    background-color: #d90607 !important;
    padding-left: 20px !important;
}

.gridcontainer {
    display: grid;
    /*grid-template-columns: repeat(auto-fit, minmax(min(350px, 33%), 1fr));*/
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 0.3rem;
    grid-auto-rows: 1fr;
    padding: 0;
}

    .gridcontainer > div {
        display: flex;
        flex-flow: column nowrap;
        align-items: center;
        justify-content: center;
        aspect-ratio: 4/3;
    }

        .gridcontainer > div:hover {
            opacity: 0.7;
            cursor: pointer !important;
        }

.gridcontainersix {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 0.3rem;
    grid-auto-rows: 1fr;
    padding: 0;
}

    .gridcontainersix > div {
        display: flex;
        flex-flow: column nowrap;
        align-items: center;
        justify-content: center;
        aspect-ratio: 4/3;
    }

@media (max-width: 1600px) {
    .gridcontainersix {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1200px) {
    .gridcontainersix {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .gridcontainersix {
        grid-template-columns: 1fr;
    }
}

.boxlabel {
    font-size: 1.6em !important;
    color: #ffffff !important;
    line-height: 1em !important;
    text-align: center !important;
}

.boxbiglabel {
    font-size: 1.9em !important;
    position: relative !important;
    top: -24px !important;
}

.boxsmallabel {
    font-size: 0.8em !important;
    position: relative !important;
    top: -20px !important;
}

.boxlabel a {
    text-decoration: none !important;
    color: #ffffff !important;
}

    .boxlabel a:hover {
        color: #000000 !important;
        transition-duration: .6s !important;
    }


.greysepar {
    width: 100%;
    background-color: #e0e0e0;
    border: none;
    height: 2px;
    margin: 4px 0 20px 0;
}

.progurl {
    width: 100%;
    font-size: 1.2em;
    padding: 0;
    font-weight: 600;
}

    .progurl a:link {
        color: #404040 !important;
    }

    .progurl a:hover {
        color: #b40405 !important;
        background-color: #eaeaea !important;
    }

.proga {
    padding: 0 5px 0 10px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --select-border: #777;
    --select-focus: #b40405;
    --select-arrow: #777;
}

/* NICHT global alle selects anfassen – sonst zerschießt du dir überall Dropdowns */
/* select { ... }  <-- diese globale Regel bitte entfernen oder auskommentieren */


/* Wrapper (optischer Rahmen etc.) */
.select {
    display: grid;
    grid-template-areas: "select";
    align-items: center;
    position: relative;
    min-width: 15ch;
    max-width: 30ch;
    border: 1px solid #777;
    border-radius: 0.25em;
    margin: 0.1em 0 0 0.1em;
    /* Wichtig: Padding lieber am SELECT, nicht am Wrapper */
    padding: 0;
    font-size: 1.25rem;
    cursor: pointer;
    line-height: 1.1;
    color: #ffffff;
    background-color: #ff0507;
}

    /* Das echte <select> bekommt Look + Reset + Platz für Pfeil */
    .select select {
        grid-area: select;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        width: 100%;
        font-family: inherit;
        font-size: inherit;
        line-height: inherit;
        cursor: inherit;
        /* WICHTIG: damit die geschlossene Ansicht rot bleibt */
        background-color: #ff0507;
        color: #ffffff;
        /* Rahmen kommt vom Wrapper -> hier none */
        border: none;
        outline: none;
        /* DEIN ursprüngliches Padding + Platz rechts für Pfeil */
        padding: 0.25em 2.2em 0.25em 0.5em;
        /* damit der Select über dem Wrapper liegt */
        z-index: 1;
    }

        /* Legacy IE/Edge alt */
        .select select::-ms-expand {
            display: none;
        }

    /* Pfeil */
    .select:not(.select--multiple)::after {
        content: "";
        pointer-events: none;
        position: absolute;
        right: 0.7em;
        top: 50%;
        transform: translateY(-50%);
        width: 0.8em;
        height: 0.5em;
        background-color: #ffffff; /* Pfeil WEISS */
        z-index: 2; /* <<< DAS FEHLTE */

        -webkit-clip-path: polygon(100% 0%, 0 0%, 50% 100%);
        clip-path: polygon(100% 0%, 0 0%, 50% 100%);
    }

    /* Fokus */
    .select:focus-within {
        outline: 2px solid var(--select-focus);
        outline-offset: 2px;
    }

    /* Versuch: Dropdown-Liste rot (Browser-Support unterschiedlich!) */
    .select select option {
        background-color: #ff0507;
        color: #ffffff;
    }

        /* Optional: ausgewählte Option dunkler */
        .select select option:checked {
            background-color: #b40405;
            color: #ffffff;
        }


/* Multiselect wie gehabt */
select[multiple] {
    padding-right: 0;
    height: 6rem;
}

    select[multiple] option {
        white-space: normal;
        outline-color: #ff0507;
    }


.select--disabled {
    cursor: not-allowed;
    background-color: #eee;
}

.select label {
    display: block;
    margin-bottom: 2rem;
    font-size: 1.3em;
    color: #b40405;
    font-weight: 700;
}

    .select label[for="month_select"] {
        margin: 6px 0 0 0;
    }

.select:focus-within {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.6);
    transition: box-shadow 0.15s ease-in-out;
}

.select:hover {
    box-shadow: 0 0 0 1px rgba(255,255,255,0.4);
}

.wrap-collabsible {
    margin-bottom: 1.2rem 0;
}

    .wrap-collabsible input[type='checkbox'] {
        display: none;
    }

.lbl-toggle {
    display: block;
    font-weight: bold;
    font-size: 1.2rem;
    text-transform: uppercase;
    text-align: left;
    padding: 1rem;
    color: #fafafa;
    background: rgba(180, 4, 5, 1);
    cursor: pointer;
    border-radius: 7px;
    transition: all .2s ease-out;
    margin-bottom: 2px;
}

    .lbl-toggle:hover {
        color: #ffda78;
    }

    .lbl-toggle::before {
        content: ' ';
        display: inline-block;
        border-top: 5px solid transparent;
        border-bottom: 5px solid transparent;
        border-left: 5px solid currentColor;
        vertical-align: middle;
        margin-right: .7rem;
        transform: translateY(-2px);
        transition: transform .2s ease-out;
    }

.toggle:checked + .lbl-toggle::before {
    transform: rotate(90deg) translateX(-3px);
}

.collapsible-content {
    max-height: 0px;
    overflow: hidden;
    transition: max-height .2s ease-in-out;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

.toggle:checked + .lbl-toggle + .collapsible-content {
    max-height: 65vh;
}

.toggle:checked + .lbl-toggle {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.collapsible-content .content-inner {
    background: rgba(80, 80, 80, 0.04);
    border-bottom: 2px #ffffff;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
    padding: .5rem 1rem;
}

