@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) {

.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;
}

.navbar-nav.category-menu li, .category-menu-sub { min-width: 130px !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: 700px;
    }

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

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

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

    footer {
        margin: 1rem;
    }

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