/* CSS overrides for the frontend */

.ce-eventpage__content > div {
    margin-bottom: 60px !important;
}

.ce-eventpage__content > div:last-child {
    margin-bottom: 0 !important;
}

@media (min-width: 1024px) {
    .ce-eventpage__content > div {
        margin-bottom: 60px !important;
    }
}

/* POST CONTENT start */
.post-content {
    padding: 112px 0 0;
}

@media (min-width: 768px) {
    .post-content {
        padding: 140px 0 0;
    }
}

@media (min-width: 1280px) {
    .post-content {
        padding: 160px 0 0;
    }
}

@media (min-width: 1440px) {
    .post-content {
        padding: 172px 0 0;
    }
}

.ce-heroslider + .post-content {
    padding: 0 !important;
}

/* POST CONTENT end */

/* HERO SLIDER CONTAINER start */
.ce-heroslider__container h1:last-child,
.ce-heroslider__container h2:last-child,
.ce-heroslider__container h3:last-child,
.ce-heroslider__container h4:last-child,
.ce-heroslider__container h5:last-child,
.ce-heroslider__container h6:last-child {
    margin-bottom: 0;
}

/* HERO SLIDER CONTAINER end */


/* BLOG PAGINATION start */
.ce-blog__pagination-pages {
    display: flex;
    gap: 0 8px;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 !important;
}

.ce-blog__pagination .page-numbers {
    text-align: center;
    display: block;
    padding: 0;
    margin: 0 !important;
    width: 35px !important;
    height: 35px !important;
    line-height: 1;
    border-radius: 8px;
    background-color: transparent;
    border: none !important;
}

.ce-blog__pagination .page-numbers.next,
.ce-blog__pagination .page-numbers.prev {
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.ce-blog__pagination .page-numbers.next::after,
.ce-blog__pagination .page-numbers.prev::after {
    padding-top: 3px;
}

.ce-blog__pagination .page-numbers.next.inactive,
.ce-blog__pagination .page-numbers.prev.inactive {
    opacity: 0.3 !important;
}

.ce-blog__pagination .page-numbers.current {
    color: #000 !important;
    background-color: rgba(0, 145, 207, .4) !important;
}


.ce-blog__pagination .page-numbers:not(.current):not(.prev):not(.next):active,
.ce-blog__pagination .page-numbers:not(.current):not(.prev):not(.next):focus,
.ce-blog__pagination .page-numbers:not(.current):not(.prev):not(.next):hover {
    color: #000 !important;
    background-color: rgba(0, 0, 0, .12) !important;
    text-decoration: none !important;
}

.ce-blog__pagination .page-numbers.next:hover,
.ce-blog__pagination .page-numbers.prev:hover {
    text-decoration: none;
}

@media (min-width: 768px) {
    .ce-blog__pagination .page-numbers {
        width: 40px !important;
        height: 40px !important;
    }

    .ce-blog__pagination .page-numbers.next::after,
    .ce-blog__pagination .page-numbers.prev::after {
        padding-top: 0
    }
}

@media (min-width: 992px) {
    .ce-blog__pagination .page-numbers {
        width: 48px !important;
        height: 48px !important;
    }
}

.ce-downloadcenter__image img,
.ce-eventscenter__image img,
.ce-event__image img,
.ce-image img,
.ce-textimage .ce-textimage__figure img,
.ce-teaser .ce-teaser__image img {
    border-radius: 8px !important;
}

@media (min-width: 992px) {
    .blog .ce-teaser__grid {
        margin-bottom: 128px !important;
    }
}

/* BLOG PAGINATION end */

.post-content .ce-textblock__text a:not(.btn) {
    text-decoration: underline !important;
}

.post-content .ce-textblock__text a:not(.btn):hover {
    text-decoration: none !important;
}

figure figcaption {
    padding-bottom: 4px !important;
}

.ce-download__grid {
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .ce-download__grid {
        margin-bottom: 48px;
    }
}

@media (min-width: 992px) {
    .ce-download__grid {
        margin-bottom: 64px;
    }
}

.ce-download__grid:last-child {
    margin-bottom: 0;
}

.ce-download__button {
    display: flex;
    justify-content: center;
}

@media (min-width: 1200px) {
    .mainfooter__content .row {
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
    }

    .mainfooter__content .mainfooter__column {
        margin-right: 0 !important;
    }
}

body .tab-focus {
    border-radius: 8px !important;
}

.ce-filter__btn .dropdown-toggle:focus {
    outline: 3px solid #25b800 !important;
}

.dropdown .dropdown-menu.show .inner.show,
.dropdown .dropdown-menu.show {
    min-height: 75px !important;
}

.ce-accordion__clickarea {
    outline: none !important;
}

.ce-accordion__clickarea:focus-visible {
    border: 3px solid #25b800 !important;
}

.sr-only:not(:focus):not(:active) {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.ce-teaser__text-info {
    position: relative;
}

.ce-teaser__icon {
    bottom: auto;
    top: -58px;
}

@media (min-width: 1280px) {
    .ce-teaser__icon {
        top: -78px;
    }
}

.ce-eventscenter__prev span,
.ce-eventscenter__next span,
.ce-downloadcenter__prev span,
.ce-downloadcenter__next span {
    display: none;
}

.ce-downloadcenter select.ce-filter__btn {
    color: #000;
    background-color: #fff;
    opacity: 1 !important;
}

.ce-eventscenter select.ce-filter__btn {
    color: #000;
    background-color: #fff;
    opacity: 1 !important;
}

.skiplink {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 101;
    height: auto !important;
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 16px;
    opacity: 0;
    transition: all 0.4s ease;
}

.skiplink.tab-focus {
    opacity: 1;
}

body .tab-focus {
    border-color: #000 !important;
}

.btn.btn--ghost.underline {
    text-decoration: underline;
}

.btn.btn--ghost.underline:hover {
    text-decoration: none
}