/* latin */
@font-face {
    font-family: 'Lato';
    font-style: italic;
    font-weight: 300;
    src: url(/typo3conf/ext/theme/Resources/Public/fonts/lato300i.woff) format('woff'), url(/typo3conf/ext/theme/Resources/Public/fonts/lato300i.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}

/* latin */
@font-face {
    font-family: 'Lato';
    font-style: italic;
    font-weight: 400;
    src: url(/typo3conf/ext/theme/Resources/Public/fonts/lato400i.woff) format('woff'), url(/typo3conf/ext/theme/Resources/Public/fonts/lato400i.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}

/* latin */
@font-face {
    font-family: 'Lato';
    font-style: italic;
    font-weight: 700;
    src: url(/typo3conf/ext/theme/Resources/Public/fonts/lato700i.woff) format('woff'), url(/typo3conf/ext/theme/Resources/Public/fonts/lato700i.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}

/* latin */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 300;
    src: url(/typo3conf/ext/theme/Resources/Public/fonts/lato300.woff) format('woff'), url(/typo3conf/ext/theme/Resources/Public/fonts/lato300.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}

/* latin */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    src: url(/typo3conf/ext/theme/Resources/Public/fonts/lato400.woff) format('woff'), url(/typo3conf/ext/theme/Resources/Public/fonts/lato400.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}

/* latin */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    src: url(/typo3conf/ext/theme/Resources/Public/fonts/lato700.woff) format('woff'), url(/typo3conf/ext/theme/Resources/Public/fonts/lato700.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}

main > header {
    display: none;
}

.no-touch a[href^="tel"] {
    text-decoration: none;
    cursor: auto !important;
    pointer-events: none;
    color: inherit;
}

img, embed, object, video {
    max-width: 100%;
    height: auto;
    width: auto;
}

body {
    position: relative;
    cursor: auto;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6, p, span, li, a, button, input, textarea, select, label {
    font-family: 'Lato', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    text-rendering: auto;
    color: #3e3d40;
}

h1, h2 {
    font-size: 24px;
    font-weight: bold;
    color: #5389c2;
    letter-spacing: 0.0025em;
    margin-bottom: 35px;
    text-transform: uppercase;
}

p {
    /*-webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    -o-hyphens: auto;
    hyphens: auto;*/
    text-rendering: auto;
}

p:last-child {
    margin-bottom: 0 !important;
}

.de:lang(en) {
    display: none;
}

.en:lang(de) {
    display: none;
}

ul {
    padding-left: 1rem;
    margin-left: 1rem;
}

html, body {
    max-width: 100%;
}

body {
    overflow-x: hidden;
}

*,
*:before,
*:after {
    -ms-box-sizing: border-box !important;
    -webkit-box-sizing: border-box !important;
    box-sizing: border-box !important;
}

p,
li,
span,
a {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    letter-spacing: 0.001rem;
    line-height: 1.5;
    color: #3e3d40;
}

@media all and (min-width: 768px) {
    p,
    li,
    span,
    a {
        font-size: 18px;
    }
}

main a {
    color: #5389c2;
    text-decoration: underline;
}

p {
    margin-bottom: 1.5rem;
}

p:last-of-type {
    margin-bottom: 0;
}

ul:last-child {
    margin-bottom: 0;
}

ul:not(:last-child) {
    margin-bottom: 1.5rem;
}

.contentwrap {
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    background-color: #f3f6f6;
    overflow: hidden;
}

footer .contentwrap {
    background-color: transparent;
}

.row {
    max-width: 1200px;
}

.columns {
    padding-left: 13px;
    padding-right: 13px;
}

main > * {
    margin-bottom: 80px;
}

.banner {
    margin-bottom: 27px;
}

.banner ul li {
    list-style-type: none;
}

.banner ul li:not(:first-child) {
    display: none;
}

.link-bttn {
    background-color: #494949;
    border: 1px solid #fff;
    display: inline-block;
    margin-top: 60px;

}

.link-bttn:hover {
    border: 1px solid #b1c800;
    background-color: #b1c800;
    cursor: pointer;
}

.link-bttn a {
    text-align: center;
    display: block;
    padding: 12px 40px;
    color: #fff;
    text-decoration: none;
}

#slogan {
    background-color: #d0daed;
    padding: 10px 0;
    text-align: center;
}

#slogan h3 {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 0;
    text-transform: uppercase;
}

@media screen and (max-width: 639px) {
    h1, h2, h3, h4, h5, h6 {
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
}

@media screen and (min-width: 768px) {
    #slogan .contentwrap {
        position: relative;
        overflow: visible;
    }

    #slogan .contentwrap:before {
        position: absolute;
        bottom: 100%;
        right: 0;
        content: '';
        width: 296px;
        height: 113px;
        background-image: url('/typo3conf/ext/theme/Resources/Public/img/schloss-kirche.png');
        background-repeat: no-repeat;
        background-position: 50px 25px;
        background-size: 70%;
    }
}

@media screen and (min-width: 1024px) {
    main > * {
        margin-bottom: 150px;
    }

    #slogan .contentwrap:before {
        right: 45px;
        background-size: 100%;
        background-position: 0 0;
    }

}

.cc_container a {
    font-size: inherit;
}