@media (max-width: 1399px) {
    .news .article .teaser-text {
        padding-left: 1rem;

    }
}

@media (max-width: 1199px) {
    .news .news-list-view .article {
        background-position: -10% center;
    }

    .inner .thedate {
        padding-left: 1rem;
        width: 28%;
    }

    .news .article .teaser-text {
        padding-right: 2rem;
        width: 68%;
        padding-left: 0;
    }
}

@media (max-width: 991px) {

    .frame.frame-type-news_categorylist {
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .frame-type-news_categorylist {
        position: relative;
        z-index: 40;
    }

    .news .news-list-view .article {
        height: auto;
        background-image: none;
    }

    .thelink a.more {
        margin-right: 2rem;
    }

    .article .inner {
        flex-direction: column;
        position: relative;
    }

    .inner .thedate {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        padding: 1rem 4.5rem 1rem 1.5rem;
        text-align: left;
        background-color: #F4B3CA;
        border-radius: 22.5px;
    }

    .news .article .teaser-text {
        padding: 1rem 2rem;
    }

       .news .article .thelink {
        position: absolute;
        right: 0rem;
        top: 0.6rem;
    }

    .theday br {
        display: none;
    }

    .news .article .teaser-text {
        width: 100%
    }
}



@media (max-width: 767px) {
.frame-type-news_categorylist >div >div >div, .frame-type-news_newsliststicky  >div >div >div{    --bs-gutter-x: 20px;}
.carousel .carousel-content-inner {
    padding-top: 2.5rem;
    text-shadow: 0px 0px 4px #000000;
}

.fc-daygrid-day-top a.fc-day-event-count {
    pointer-events: all;
    height: 100%;
    width: 100%;
    right: 0;
    top: 0;
    display: flex;
    align-items: flex-end;
    padding-right: 0;
    background: transparent;
    text-decoration: none;
    justify-content: flex-end;
}
.category-menu ul li a .check {
    width: 16px;
    height: 16px;
    margin-right: 0.2rem;
}
.category-menu ul li a.active .check:after {
    content: "";
    width: 8px;
    height: 8px;
    background: red;
    border-radius: 10px;
}
.category-menu {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    position: relative;
    z-index: 25;
    flex-wrap: wrap;
    justify-content: space-between;
}

.category-menu li a {

    padding-left: 0.25rem;
    padding-right: 0.25rem;

}
.navbar-nav.category-menu  >li, .category-menu-sub { min-width: 85px !important}

.navbar-nav.category-menu >li:nth-child(2), .navbar-nav.category-menu >li:nth-child(2) .category-menu-sub { min-width: 125px !important}
.navbar-nav.category-menu >li:nth-child(3), .navbar-nav.category-menu >li:nth-child(3) .category-menu-sub { min-width: 100px !important}

.fc-day-event-count span{    width: 16px;
    height: 16px;}
.fc-header-toolbar .fc-toolbar-chunk > div {

    min-width: 220px;
}

    .news .article .teaser-text {
        padding-right: 1.5rem;
                padding-left: 1.5rem;
    }

    .thelink a.more {
        margin-right: 1rem;
    }

    .news .article .inner h3 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
        margin-top: 0;
    }

    .inner .thedate .theday {
        font-size: 1.5rem;
    }

    .news .news-list-view .article {}


    .powermail_fieldset.powermail_fieldset_1 div:nth-child(4),
    .powermail_fieldset.powermail_fieldset_1 div:nth-child(5) {
        grid-column: span 2;
    }

    .powermail_fieldset.powermail_fieldset_1 div {
        grid-column: span 4;
    }


    .carousel .item {
        height: 100vh;
        max-height: 400px;
    }

    .navbar-mainnavigation.navbar-fixed-top + a + .carousel {
        margin-top: -70px;
    }

    h1,
    .h1 {
        font-size: 2rem;
    }

    .carousel-item-bodytext h4 {
        padding-top: 1rem;
        font-size: 1.2rem;
        text-transform: uppercase;
    }

    .frame-space-before-large {
    padding-top: 2rem;
    margin-top: 0;
}

.sidebuttons {
    top: 10vh;
}

.carousel-backgroundimage-container:after {

    width: 50vw;
    height: 50vw;
    background-size: contain;
    position: absolute;
    right: 0;
        bottom: -1rem;
    background-repeat: no-repeat;
}

    footer {
        margin: 1rem;
    }

    footer .frame-type-menu_pages ul {
        list-style: none;
        padding-left: 0;s
        display: flex;
        gap: 1rem;
        justify-content: center;
    }

    .powermail_fieldset.powermail_fieldset_1 > div {
    margin-block-start: 1rem;
}

.tx-powermail >.container-fluid{  --bs-gutter-x: 0px;}


.category-menu ul li a .check {
    margin-right: 0;
}

}
