@import url(normalize.css);
@import url(typography.css);
@import url(swiper.css);
@import url(header.css);
@import url(mobilemenu.css);
@import url(mobilesearch.css);
@import url(stage.css);
@import url(table.css);
@import url(teasermenu.css);
@import url(basiclayout.css);
@import url(sidebar.css);
@import url(cutegrids.css);
@import url(mediaqueries.css);
@import url(footer.css);




/************ generelle settings für die ganze website ************/

:root {
    --block-space: 100px;
    --block-space-md: 70px;
    --block-space-sm: 50px;
    --color-kirche: #D3534D;
    --color-jung: #66D872   ;
    --color-medien: #006590;
    --color-welt: #006590;
    --color-menschen: #6A9AC1;
    --color-aktuell: #E28353;
    --color-liturgie: #006f9a;
}
.imgholder {
    position: relative;
}
.cat {
    color: #fff!important;
    max-width: unset;
    margin: 0;
    display: inline-block;
    text-align: left;
    padding: 5px 20px;
    font-family: "Calibri", sans-serif;
    position: absolute;
    bottom: 0;
    border-radius: 0 8px 0 0;
}
.cat-headline {
    background-color: transparent!important;
}
.color-16,
.color-24,
.kirche {
    background: var(--color-kirche);
    color: var(--color-kirche) !important;
}
.color-26,
.jung {
    background: var(--color-jung);
    color: var(--color-jung) !important;
}
.color-28,
.color-29,
.medien {
    background: var(--color-medien);
    color: var(--color-medien) !important;
}
.color-27,
.menschen {
    background: var(--color-menschen);
    color: var(--color-menschen) !important;
}
.color-25,
.aktuell {
    background: var(--color-aktuell);
    color: var(--color-aktuell) !important;
}
div.color-16,
div.color-24,
div.kirche {
    background: var(--color-kirche);
    color: #FFF !important;
}
div.color-26,
div.jung {
    background: var(--color-jung);
    color: #FFF !important;
}
div.color-28,
div.color-29,
div.medien {
    background: var(--color-medien);
    color: #FFF !important;
}
div.color-27,
div.menschen {
    background: var(--color-menschen);
    color: #FFF !important;
}
div.color-25,
div.aktuell {
    background: var(--color-aktuell);
    color: #FFF !important;
}
.border-16, .border-24,
.border-kirche {
    border-bottom: 8px solid var(--color-kirche);
}
.border-26,
.border-jung {
    border-bottom: 8px solid var(--color-jung);
}
.border-28,
.border-29,
.border-medien {
    border-bottom: 8px solid var(--color-medien);
}
.border-27,
.border-menschen {
    border-bottom: 8px solid var(--color-menschen);
}
.border-25,
.border-aktuell {
    border-bottom: 8px solid var(--color-aktuell);
}

.space--top {
    margin-top: var(--block-space);
}
.space--bottom {
    margin-bottom: var(--block-space);
}

.login-bar {
    z-index: 2100;
}
.fade-out-bar {
    z-index: 2000;
}
.swiper-slide .customteaser {
    height: 100%;
}
article.article-teaser {
    margin: 0;
    display: flex;
    flex-flow: column;
    height: 100%;
}
article.article-teaser img {
    height: 50%;
}
p.article-teaser {
    line-height: 1em;
}
article.article-teaser:after {
    top: calc(100% - 70px);
}
p.teaserpic {
    height: 100%;
}
.read-more-button-inverse {
    position: relative;
    margin-top: auto;
}
h2.headline-module {
    font-size: 42px;
    background: transparent;
    margin-bottom: 1em;
}
.very-important {
    background-color: #fff;
    padding: 70px;
    box-shadow: 0 0 30px rgba(0,0,0,0.1);
}
.very-important h2 {
    font-size: 70px;
    background: transparent;
}
.very-important p {
    font-size: 22px;
    font-family: "Calibri", sans-serif;
}
.very-important .read-more-button {
    font-family: "Calibri Bold";
    font-size: 16px;
    color: #FFF;
    margin-top: 30px;
    margin-bottom: 0;
    padding: 0;
    display: inline-block;
}
.very-important .read-more-button a {
    background-color: var(--color-kirche);
}
.heroimage img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    object-position: bottom;
}

@media screen and (max-width: 1440px) {
h1, .content-category h2, .info-box h2 {
    font-size: 24px;
}
h2.headline-module {
    font-size: 34px;
}
p.article-teaser {
    font-size: 28px;
}
.very-important h2 {
    font-size: 55px;
}
.very-important p {
    font-size: 20px;
}
}

@media screen and (min-width: 1401px) {
    .heroimage .custom {
        height: 600px;
    }
}

@media screen and (min-width: 1200px) {
    .swiper-slide .customteaser {
        margin-bottom: 40px;
    }
}

@media screen and (max-width: 1200px) {
    .very-important {
        padding: 50px;
    }
}

@media screen and (max-width: 1023px) {
    .space--top {
        margin-top: var(--block-space-md);
    }
    .space--bottom {
        margin-bottom: var(--block-space-md);
    }
    .very-important {
        padding: 30px;
    }
}

@media screen and (max-width: 767px) {
    .space--top {
        margin-top: 0;
    }
    .space--bottom {
        margin-bottom: var(--block-space-sm);
    }
    .moduletable.slider-startpage {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    .stage h1 {
        font-size: 34px;
    }
    h2.headline-module {
        font-size: 28px;
        background: transparent;
        margin-bottom: 1em;
    }
    .very-important h2 {
        font-size: 34px;
    }
    .very-important p {
        font-size: 18px;
    }
}

html {
    box-sizing: border-box;
    background-color: #FFF;
}

body {
    background-color: #ededed;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
    shape-rendering: optimizeSpeed;
}

img {
    width: 100%;
}

