@import url("https://fonts.verwaltungsportal.de/import/?family=Nunito:300,400,500,300i,400i,500i,600,600i,700,700i");

body {
    font-family: 'Noah W05 Regular', sans-serif;
    font-weight: 400;
    color: #2e2e2e;
    background-color: #ffffff;
    font-size: 1rem;
    /* 1rem = 16px */
    line-height: 1.5;
    background-attachment: fixed;
    background-size: cover;
}

@media (min-width: 768px) {
    html {
        position: relative;
    }

    body {
        font-size: 1.125rem;
    }
}

a {
    color: #005e86;
}

a:hover,
a:focus {
    color: #005e86;
    text-decoration: underline;
}

#content a,
b,
strong {
    font-weight: 500;
}



/* ----------------------------------------------- topbar ----------------------------------------------- */

#topbar {
    color: #454c4c;
}

#topbar>div.row:nth-child(1) {
    margin-bottom: 25px;
}

@media (max-width: 991px) {
    #topbar>div.row:nth-child(1) {
        margin-top: 10px;
    }
}

/* -------------------------------------------- phone + mail -------------------------------------------- */

address {
    font-style: normal;
}

#mail,
#phone {
    color: #454c4c;
    display: inline-block;
    font-weight: 400;
    margin-top: 15px;
    line-height: 1;
    position: relative;
    min-height: 18px;
    font-size: 1rem;
}

@media (min-width: 992px) {

    #mail,
    #phone {
        margin-top: 0;
        padding-top: 2px;
    }

    #mail {
        margin-left: 30px;
    }
}

#mail {
    padding-left: 28px;
    background: url('../img/icon-mail.png') center left no-repeat;
}

#phone {
    padding-left: 25px;
    background: url('../img/icon-telefon.png') center left no-repeat;
}

#mail a,
#phone a {
    color: #454c4c;
    text-decoration: none;
}

#mail a:hover,
#phone a:hover {
    color: #aacd4c;
}

#kontakt {
    font-style: normal;
    font-size: 1.125rem;
}

/* ----------------------------------------------- styler ----------------------------------------------- */

#style {
    padding-left: 36px;
    background: url('../img/fontsize.png') center left 20px no-repeat;
}

#contrast_style button,
#style button {
    padding: 0;
    border: none;
    color: #514d4d;
    display: inline-block;
    width: 32px;
    height: 32px;
    font-weight: 500;
    text-align: center;
    background: transparent;
    position: relative;
    line-height: 1;
}

#contrast_style button {
    padding: 3px 0 0 0;
}

#style button {
    padding: 0;
}

#contrast_style button+button,
#style button+button {
    margin-left: -6px;
}

#contrast_style button:hover,
#contrast_style button:focus,
#style button:hover,
#style button:focus {
    background: #f2e9e1;
}

#contrast_style img {
    background: #ffffff;
}

/* ----------------------------------------------- logo ----------------------------------------------- */

.logo {
    display: inline-block;
}

.logo img {
    display: block;
}

@media (max-width: 991px) {
    .logo {
        margin-bottom: 15px;
    }

    .logo img {
        max-width: 200px;
        width: 100%;
    }
}

@media (min-width: 992px) {
    .logo {
        margin-top: 10px;
        width: auto;
        background-color: #fff;
        padding: 30px 20px;
        margin-left: -15px;
    }

    .logobg {
        min-height: 100%;
        padding-top: 240px;
        padding-bottom: 100px;
    }

    #logobar {
        position: absolute;
        width: 100%;
        z-index: 18;
    }
}

#logobar.contrast_dark,
#logobar.contrast_dark * {
    background-color: transparent !important;
}

#logobar .logo.contrast_light_font {
    background-color: #fff !important;
}

/* --------------------------------------- navigation --------------------------------------- */

.navbar-nav {
    background-color: #fff;
}

/* burgermenu for tablet */

@media (max-width: 991px) {
    #burgerButton {
        font-size: 0;
        border: none !important;
        display: block;
        height: 50px;
        width: 60px;
        border-radius: 2px;
        padding: 6px 8px;
        cursor: pointer;
        background-color: #ffffff;
        -webkit-box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
        box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
    }

    #burgerButtonInner2,
    #burgerButton:after,
    #burgerButtonInner {
        background-color: #000;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 10px;
        -webkit-transition: transform 200ms linear, opacity 200ms linear;
        -moz-transition: transform 200ms linear, opacity 200ms linear;
        -ms-transition: transform 200ms linear, opacity 200ms linear;
        -o-transition: transform 200ms linear, opacity 200ms linear;
        transition: transform 200ms linear, opacity 200ms linear;
    }

    #burgerButton[aria-expanded="true"] #burgerButtonInner {
        -webkit-transform: rotate(-45deg) translate(-6px, 6px);
        transform: rotate(-45deg) translate(-6px, 6px);
    }

    #burgerButton[aria-expanded="true"] #burgerButtonInner2 {
        opacity: 0;
    }

    #burgerButton[aria-expanded="true"]:after {
        -webkit-transform: rotate(45deg) translate(-4px, -6px);
        transform: rotate(45deg) translate(-4px, -6px);
    }

    #burgerButtonInner {
        top: 16px;
    }

    #burgerButtonInner2 {
        top: 24px;
    }

    #burgerButton:after {
        top: 32px;
        content: "";
        display: block;
    }

    .navbar-nav {
        margin: 20px 0;
    }

    .navbar-collapse {
        top: 0;
        background: #ffffff;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 100;
        height: auto !important;
        -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
        opacity: 0;
        pointer-events: none;
        overflow-y: auto;
        -webkit-transition: left 300ms linear, opacity 300ms linear;
        -moz-transition: left 300ms linear, opacity 300ms linear;
        -ms-transition: left 300ms linear, opacity 300ms linear;
        -o-transition: left 300ms linear, opacity 300ms linear;
        transition: left 300ms linear, opacity 300ms linear;
    }

    .navbar-collapse[aria-expanded="true"],
    .navbar-collapse.in {
        left: 0;
        opacity: 1;
        pointer-events: auto;
    }

    .navbar-header {
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 101;
    }

    .navbar-toggle::before {
        content: "";
        opacity: 0;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 0;
        z-index: -1;
        display: block;
        background-color: rgba(0, 0, 0, 0.5);
        -webkit-transition: width 300ms linear, opacity 300ms linear;
        -moz-transition: width 300ms linear, opacity 300ms linear;
        -ms-transition: width 300ms linear, opacity 300ms linear;
        -o-transition: width 300ms linear, opacity 300ms linear;
        transition: width 300ms linear, opacity 300ms linear;
    }

    .navbar-toggle[aria-expanded="true"]::before {
        opacity: 1;
        width: 90px;
    }
}

@media (min-width: 575px) and (max-width: 991px) {
    .navbar-collapse {
        width: 60%;
    }

    .navbar-collapse.collapse.in:after,
    .navbar-toggle[aria-expanded="true"]::before {
        width: 40%;
    }
}

/* menu desktop */

@media (min-width: 992px) {
    nav {
        position: absolute;
        width: 100%;
        z-index: 20;
        bottom: 0;
        padding-bottom: 0px;
    }

    nav.horizontally {
        border-bottom: 5px solid #f0f0f0;
    }

    nav.horizontally .navbar-nav {
        padding: 10px 0 15px 0;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify !important;
        -ms-flex-pack: justify !important;
        justify-content: space-between !important;
    }

    nav.horizontally .navbar-default .navbar-nav>li {
        flex-grow: 1;
    }

    nav.horizontally .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
    }

    nav.horizontally .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        position: absolute;
        left: 100%;
        top: 0;
    }

    nav.horizontally .navbar-nav>li,
    nav.horizontally .navbar-nav>li>.dropdown-menu>li {
        position: relative;
    }

    .navbar-default .navbar-nav>li>ul,
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        display: block !important;
        pointer-events: none;
        opacity: 0;
        -webkit-transition: opacity 300ms linear;
        -moz-transition: opacity 300ms linear;
        -ms-transition: opacity 300ms linear;
        -o-transition: opacity 300ms linear;
        transition: opacity 300ms linear;
    }

    .open>.dropdown-menu,
    .navbar-default .navbar-nav>li:hover>ul,
    .navbar-default .navbar-nav>li>.dropdown-menu>li:hover>.dropdown-menu,
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu[style*="block"] {
        pointer-events: auto !important;
        opacity: 1 !important;
    }

    .nav .open>.dropdown-menu {
        pointer-events: none !important;
        opacity: 0 !important;
    }
}

/* ---------------------------------------------- toplevel ---------------------------------------------- */

.navbar-default .navbar-nav>li>a {
    color: #2e2e2e;
    font-weight: 400;
    text-align: left;
    padding: 10px 15px;
    font-size: 1.5625rem;
    line-height: 1.2;
    text-decoration: none;
    font-family: 'Sparose W00 Reguler', sans-serif !important;
    text-transform: uppercase;
}

.navbar-nav>li:first-of-type>a[href$="/index.php"],
.navbar-nav>li:first-of-type>a[title*="Startseite"],
.navbar-nav>li:first-of-type>a[title*="Start"],
.navbar-nav>li:first-of-type>a[title*="Home"] {
    background-image: url('../img/startseite-icon.png');
    background-position: center;
    background-repeat: no-repeat;
    font-size: 0;
    min-width: 36px;
    min-height: 36px;
}

@media (max-width: 991px) {
    nav.horizontally .navbar-nav>li>a.dropdown-toggle {
        padding-right: 35px;
    }

    .dropdown-toggle-button-wrapper,
    .dropdown-toggle-button-wrapper2 {
        top: 5px !important;
    }
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>a {
        padding: 8px 15px;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        height: 100%;
        text-align: center;
    }
}

@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) and (min-width: 992px) {
    .navbar-default .navbar-nav>li>a {
        display: block;
    }
}

/* -------------------------------------------- toplevel-over ------------------------------------------- */

.navbar-nav>li:hover>a,
.navbar-nav>li>a:hover,
.navbar-nav>li>a:focus,
.navbar-nav>li.open>a,
.navbar-nav>li.open>a:hover,
.navbar-nav>li.open>a:focus,
.navbar-nav>li[class$="_over"]>a,
.navbar-nav>li[class$="_over"]>a:hover,
.navbar-nav>li[class$="_over"]>a:focus {
    color: #fff;
    background-color: #852f39;
}

.navbar-nav>li:focus-within>a {
    color: #fff;
    background-color: #852f39;
}

.navbar-nav>li:first-of-type:hover>a[href$="/index.php"],
.navbar-nav>li:first-of-type>a[href$="/index.php"]:hover,
.navbar-nav>li:first-of-type>a[href$="/index.php"]:focus,
.navbar-nav>li:first-of-type.open>a[href$="/index.php"],
.navbar-nav>li:first-of-type.open>a[href$="/index.php"]:hover,
.navbar-nav>li:first-of-type.open>a[href$="/index.php"]:focus,
.navbar-nav>li:first-of-type[class$="_over"]>a[href$="/index.php"],
.navbar-nav>li:first-of-type[class$="_over"]>a[href$="/index.php"]:hover,
.navbar-nav>li:first-of-type[class$="_over"]>a[href$="/index.php"]:focus,
.navbar-nav>li:first-of-type:hover>a[title*="Startseite"],
.navbar-nav>li:first-of-type>a[title*="Startseite"]:hover,
.navbar-nav>li:first-of-type>a[title*="Startseite"]:focus,
.navbar-nav>li:first-of-type.open>a[title*="Startseite"],
.navbar-nav>li:first-of-type.open>a[title*="Startseite"]:hover,
.navbar-nav>li:first-of-type.open>a[title*="Startseite"]:focus,
.navbar-nav>li:first-of-type[class$="_over"]>a[title*="Startseite"],
.navbar-nav>li:first-of-type[class$="_over"]>a[title*="Startseite"]:hover,
.navbar-nav>li:first-of-type[class$="_over"]>a[title*="Startseite"]:focus,
.navbar-nav>li:first-of-type:hover>a[title*="Start"],
.navbar-nav>li:first-of-type>a[title*="Start"]:hover,
.navbar-nav>li:first-of-type>a[title*="Start"]:focus,
.navbar-nav>li:first-of-type.open>a[title*="Start"],
.navbar-nav>li:first-of-type.open>a[title*="Start"]:hover,
.navbar-nav>li:first-of-type.open>a[title*="Start"]:focus,
.navbar-nav>li:first-of-type[class$="_over"]>a[title*="Start"],
.navbar-nav>li:first-of-type[class$="_over"]>a[title*="Start"]:hover,
.navbar-nav>li:first-of-type[class$="_over"]>a[title*="Start"]:focus,
.navbar-nav>li:first-of-type:hover>a[title*="Home"],
.navbar-nav>li:first-of-type>a[title*="Home"]:hover,
.navbar-nav>li:first-of-type>a[title*="Home"]:focus,
.navbar-nav>li:first-of-type.open>a[title*="Home"],
.navbar-nav>li:first-of-type.open>a[title*="Home"]:hover,
.navbar-nav>li:first-of-type.open>a[title*="Home"]:focus,
.navbar-nav>li:first-of-type[class$="_over"]>a[title*="Home"],
.navbar-nav>li:first-of-type[class$="_over"]>a[title*="Home"]:hover,
.navbar-nav>li:first-of-type[class$="_over"]>a[title*="Home"]:focus {
    background-image: url('../img/startseite-icon.png');
    background-color: transparent;
    background-repeat: no-repeat;
}

.navbar-nav>li:first-of-type:focus-within>a[href$="/index.php"],
.navbar-nav>li:first-of-type:focus-within>a[title*="Startseite"],
.navbar-nav>li:first-of-type:focus-within>a[title*="Start"],
.navbar-nav>li:first-of-type:focus-within>a[title*="Home"] {
    background-image: url('../img/startseite-icon.png');
    background-color: transparent;
    background-repeat: no-repeat;
}

/* -------------------------------------- secondlevel + thirdlevel dropdown-box -------------------------------------- */

.navbar-default .navbar-nav>li>.dropdown-menu,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    background-color: #f5f5f5;
}

@media (max-width: 991px) {
    .navbar-default .navbar-nav>li>.dropdown-menu {
        padding: 15px;
    }
}

@media(min-width:992px) {

    .navbar-default .navbar-nav>li>.dropdown-menu,
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu {
        margin-top: 10px;
        left: 50%;
        -moz-transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -o-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
    }

    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        margin-top: -18px;
        margin-left: 10px;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu::after {
        content: "";
        position: absolute;
        display: block;
        height: 12px;
        left: 0;
        right: 0;
        top: -12px;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu::after {
        content: "";
        position: absolute;
        display: block;
        width: 10px;
        top: 0;
        bottom: 0;
        left: -10px;
    }
}

/* --------------------------------------------- secondlevel + thirdlevel -------------------------------------------- */

.navbar-default .navbar-nav>li>.dropdown-menu>li>a {
    color: #2d2d2d;
    font-weight: 400;
    text-align: left;
    padding: 8px 25px 8px 5px;
    font-size: 1.125rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    color: #2d2d2d;
    font-weight: 400;
    text-align: left;
    padding: 8px 25px 8px 15px;
    font-size: 1.125rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}

@media(min-width:992px) {

    .navbar-default .navbar-nav>li>.dropdown-menu>li>a,
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
        text-align: center;
        padding: 8px 25px;
    }
}

/* ------------------------------------------ secondlevel + thirdlevel over ------------------------------------------ */

.navbar-nav>li>.dropdown-menu>li:hover>a,
.navbar-nav>li>.dropdown-menu>li>a:hover,
.navbar-nav>li>.dropdown-menu>li>a:focus,
.navbar-nav>li>.dropdown-menu>li.open>a,
.navbar-nav>li>.dropdown-menu>li.open>a:hover,
.navbar-nav>li>.dropdown-menu>li.open>a:focus,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a:hover,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a:focus,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a:hover,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a:focus,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a:hover,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a:focus,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a:hover,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a:focus {
    background: #852f39;
    color: #fff;
    text-decoration: none;
}

/* ----------------------------------------------- banner ----------------------------------------------- */

#slider,
.slider-wrapper {
    max-height: 300px;
    overflow: hidden;
}


.theme-default .nivo-controlNav {
    bottom: auto !important;
    top: 5px !important;
}

@media (min-width: 768px) {
    #headerpic .nivo-directionNav a {
        top: auto;
        bottom: 12px;
    }

    #headerpic .nivo-controlNav {
        pointer-events: none;
    }

    #headerpic .nivo-controlNav a {
        pointer-events: auto;
    }
}

.slider-mask {
    display: none;
}

@media (min-width: 992px) {
    #headerpic .nivo-directionNav a {
        bottom: 18px;
    }

    #slider,
    .slider-wrapper {
        max-height: 566px;
    }

    .slider-mask {
        display: block;
        background: url(../img/slider-mask.png) center bottom no-repeat;
    }
}

#headerpic {
    margin: 0 auto;
    position: relative;
    width: 100%;
    -webkit-box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.1);
}

.slider-wrapper,
#slider {
    height: 100%;
}

/* ----------------------------------------------- tabs ----------------------------------------------- */

#tabs>.row>* {
    margin-top: 30px;
}

.tab {
    background: #fff;
    font-size: 1.125rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #807028;
}

.tab2 {
    background: url(../img/sukkulente.png) right bottom no-repeat, #fff;
    font-size: 1.125rem;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #807028;
}

.tab2 .tabHeadline {
    background-color: #807028;
    color: #ffffff;
    font-size: 1.5625rem;
    font-weight: 600;
    padding: 14px 20px;
}

.tabContent {
    padding: 20px;
}

.tab2 .tabContent {
    padding: 20px 20px 45px 20px;
}

.tab2 .tabContent a {
    color: #2e2e2e;
    position: relative;
}

.tab2 .tabContent a::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: -15px;
    height: 24px;
    width: 6px;
    background: #807028;
}

.tab2 .tabContent a {
    margin-left: 55px;
}

#tabs .tabHeadline {
    background-color: #807028;
    color: #ffffff;
    font-size: 1.5625rem;
    font-weight: 600;
    padding: 14px 20px;
}

.tab1 {
    border: 1px solid #852f39;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 1rem;
}

.tab h2 {
    font-size: 1.525rem;
    color: #2e2e2e;
    font-weight: 400;
}

.tab1 a {
    color: #2e2e2e;
    font-weight: 500;
    text-decoration: underline;
}

.tab3 {
    border: 1px solid #005e86;
}

.tab3 a {
    color: #2e2e2e;
}

.tab3 .tab_link_mehr {
    font-size: 0;
    text-align: left !important;
}

.tab3 .tab_link_mehr a {
    font-size: 1.0625rem;
    color: #005e86;
}

.tab3 .tab_link_mehr a::after {
    content: "\00BB";
    margin-left: 3px;
}

#tabs .tab3 .tabHeadline {
    background-color: #005e86 !important;
}

.tab img {
    display: block;
    width: 100%;
    margin-bottom: 15px;
}

.tab a {
    display: inline-block;
    position: relative;
}

.tab a[href*='mailto:'] {
    color: #005e86;
}

.tab table td,
.tab table th {
    padding: 0 2px;
}

.tab table img {
    display: inline-block;
    margin: 5px 0 0 0;
}

@media (max-width: 991px) {
    #tabs {
        margin-top: 30px;
    }
}

/* -------------------------------------------- tabs tab2 --------------------------------------------- */

#tabs .tab2 a {
    color: inherit;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 18px;
    z-index: 1;
    display: block;
}

#tabs .tab2 a::before {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    bottom: 0;
    width: 6px;
    background: #927b18;
    -webkit-transition: width 450ms linear;
    -moz-transition: width 450ms linear;
    -ms-transition: width 450ms linear;
    -o-transition: width 450ms linear;
    transition: width 450ms linear;
}

#tabs .tab2 a:nth-of-type(2):before {
    background: #9f912a;
}

#tabs .tab2 a:nth-of-type(3):before {
    background: #ad9e3d;
}

#tabs .tab2 a:nth-of-type(4):before {
    background: #c1b561;
}

#tabs .tab2 a:hover,
#tabs .tab2 a:focus {
    color: #2e2e2e;
}

#tabs .tab2 a:hover::before,
#tabs .tab2 a:focus::before {
    width: 100%;
    color: #2e2e2e;
}

#tabs .tab2 a::after {
    content: "\00BB";
    margin-left: 4px;
}

/* ------------------------------------------------ content ----------------------------------------------- */

#content {
    text-align: left;
    padding-top: 30px;
    padding-bottom: 30px;
}

@media (min-width: 768px) {
    #content.md-gutter {
        margin-left: -15px;
        margin-right: -15px;
    }
}

@media (min-width: 992px) {
    #content {
        padding-top: 30px;
        padding-bottom: 60px;
    }

    #contentCol {
        padding: 20px 25px 0 20px;
    }
}

@media (min-width: 1200px) {
    #contentCol {
        padding: 30px 45px 0 45px;
    }

    body:not(.noListStyle) main ul:not([class*="menue"]):not([class*="slick-dots"]):not(.rsbtn_toollist) li:not(.gallery-list-item):not(.album-list-item):not(.entry)::before {
        top: 24px;
    }
}

.compact {
    padding: 15px;
    position: relative;
    z-index: 5;
}

body:not(.index) .compact {
    background-color: #ffffff;
    -webkit-box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .compact {
        padding: 25px 15px 15px 15px;
        margin-top: 30px;
        margin-bottom: 30px;
    }
}

@media (min-width: 992px) {
    .compact {
        padding: 30px 30px 30px 30px;
    }
}

/* ------------------------------------------ h1 - h6, newslink ----------------------------------------- */

.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
H6,
H5,
H4,
H3,
H2,
H1 {
    color: #005e86;
    font-weight: 600;
    line-height: 1.2;
    font-family: 'Noah W05 Regular', sans-serif;
}

h1,
.h1,
.legacy_h1 {
    font-size: 1.9rem;
    margin-bottom: 20px;
    color: #852f39;
    font-weight: 400;
    font-family: 'Sparose W00 Reguler', sans-serif !important;
}

@media (min-width: 768px) {

    h1,
    .h1,
    .legacy_h1 {
        font-size: 2.125rem;
        margin-bottom: 35px;
    }
}

.h1::after,
#content h1::after,
#content .legacy_h1::after {
    content: "";
    display: block;
    height: 5px;
    width: 100px;
    background-color: #852f39;
    margin-top: 10px;
}

#content h1[style*="center"]::after,
#content .legacy_h1[style*="center"]::after {
    margin-left: auto;
    margin-right: auto;
}

#content h1[style*="right"]::after,
#content .legacy_h1[style*="right"]::after {
    margin-left: auto;
    margin-right: 0;
}

h2,
.h2,
.legacy_h2 {
    font-size: 1.8rem;
    color: #852f39;
}

@media (min-width: 768px) {

    h2,
    .h2,
    .legacy_h2 {
        font-size: 2rem;
    }
}

h3,
.h3,
.legacy_h3 {
    font-size: 1.8rem;
}

h4,
.h4,
.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
.legacy_h4 {
    font-size: 1.6rem;
}

h5,
.h5,
.legacy_h5 {
    font-size: 1.4rem;
}

h6,
.h6,
.legacy_h6 {
    font-size: 1.2rem;
}

#newslinks,
#newsmandate {
    border: 1px solid #1d1d1d;
}

/* --------------------------------------------- news events ------------------------------------------- */

#news,
#events {
    padding-top: 40px;
    padding-bottom: 40px;
}

@media (min-width: 768px) {

    #news,
    #events {
        font-size: 1.125rem;
    }
}

@media (min-width: 992px) {

    #news,
    #events {
        padding-top: 55px;
        padding-bottom: 60px;
    }

    #news {
        margin-top: 40px;
        padding-top: 40px;
        padding-bottom: 10px;
    }
}

#news {
    padding-left: 25px;
    padding-right: 25px;
}

#events {
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 768px) {

    #news .tab_link_entries,
    #events .tab_link_entries {
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    #news .tab_link_entry,
    #events .tab_link_entry {
        width: calc(50% - 15px);
    }

    #news .tab_link_entry:nth-of-type(2n+1),
    #events .tab_link_entry:nth-of-type(2n+1) {
        margin-right: 30px;
    }
}

@media (min-width: 992px) {
    #events .tab_link_entry {
        width: calc(33.33% - 20px);
    }

    #events .tab_link_entry:nth-of-type(2n+1) {
        margin-right: 0;
    }

    #events .tab_link_entry:nth-of-type(3n+1),
    #events .tab_link_entry:nth-of-type(3n+2) {
        margin-right: 30px;
    }
}

/* ----------------------------------------- news events button ---------------------------------------- */

#news .tab_link_mehr,
#events .tab_link_mehr {
    color: transparent;
    font-size: 0;
}

#events .tab_link_mehr a {
    background: #005e86;
    font-weight: 400;
    color: #ffffff;
    padding: 8px 55px 8px 20px;
    position: relative;
    text-decoration: none;
    display: inline-block;
}

#news .newsTop a {
    background: #005e86;
    font-weight: 400;
    color: #ffffff;
    padding: 8px 55px 8px 20px;
    position: relative;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
}

#events .tab_link_mehr a::before {
    content: "alle Veranstaltungen";
    font-size: 1rem;
}

#events .tab_link_mehr a::after,
#news .newsTop a::after {
    content: "\00BB";
    display: block;
    position: absolute;
    right: 0;
    top: 9px;
    bottom: 9px;
    width: 35px;
    text-align: center;
    font-size: 26px;
    line-height: 18px;
    border-left: 2px solid rgba(0, 0, 0, 0.1);
}

#events .tab_link_mehr a:hover,
#events .tab_link_mehr a:focus,
#news .newsTop a:hover,
#news .newsTop a:focus {
    background: #005e86;
    color: #ffffff;
}

/* ----------------------------------------------- news ----------------------------------------------- */

#news {
    background-color: #aacd4c;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

#news::after {
    content: "";
    display: block;
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 36%, rgba(255, 255, 255, 0) 36%), linear-gradient(rgba(0, 132, 188, 0.8), rgba(0, 132, 188, 0.8));
}

#news>.row {
    position: relative;
    z-index: 2;
}

#news h2 {
    color: #ffffff;
    font-weight: 600;
    font-size: 2.25rem;
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
}

@media (max-width: 767px) {
    #news .newsTop {
        margin-bottom: 30px;
    }
    #news h2 {
        margin-bottom: 0;
    }
}

@media (min-width: 992px) {
    #news h2 {
        margin-bottom: 55px;
        font-size: 3rem;
    }
}

#news .tab_link_entry {
    padding: 70px 20px 20px 20px;
    background: #ffffff;
    position: relative;
    margin-bottom: 30px;
    min-height: 80px;
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-line-pack: center;
    align-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

@media (min-width:576px) {
    #news .tab_link_entry {
        padding: 20px 30px 20px 135px;
    }
}

#news .tab_link_title a {
    color: inherit;
    font-weight: 400;
    line-height: 1.3;
    display: inline-block;
    opacity: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

#news .tab_link_date {
    font-size: 1rem;
    color: #ffffff;
    font-weight: 400;
    background: #005e86 url('../img/kalender-icon.png') top 8px center no-repeat;
    text-align: center;
    line-height: 1;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 30px 15px 10px 15px;
}

#news .tab_link_date.contrast_dark_font {
    background-color: #fff !important;
}

@media (min-width:576px) {
    #news .tab_link_date {
        right: auto;
        bottom: 0;
        width: 105px;
        padding: 55px 0 20px 0;
        background-position: top 15px center;
    }
}

/* ----------------------------------------------- footer ----------------------------------------------- */

footer {
    background-color: #5d511b;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 30px 15px;
    position: relative;
    color: #ffffff;
    font-size: 0.9375rem;
}

footer h2 {
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 600;
}

@media (max-width: 991px) {
    footer h2 {
        margin-top: 30px;
    }
}

.links a {
    display: block;
    color: #ffffff;
}

footer::after {
    content: "";
    display: block;
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(128, 112, 40, 0.5), rgba(128, 112, 40, 0.5) 35%, rgba(255, 255, 255, 0) 35%), linear-gradient(rgba(93, 81, 27, 0.8), rgba(93, 81, 27, 0.8));
}

footer>.row {
    position: relative;
    z-index: 2;
}

#footerBar {
    padding-top: 15px;
    padding-bottom: 15px;
    background: #ffffff;
}

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: inline-block;
}

#innerfooter a {
    color: #2e2e2e;
    text-decoration: none;
    display: inline-block;
    font-size: 0.9375rem;
    border-radius: 2px;
    padding: 2px 4px;
}

#innerfooter a:hover,
#innerfooter a:focus {
    background: transparent;
    color: #005e86;
}

#innerfooter li+li {
    margin-left: 15px;
}

@media (min-width: 992px) {
    #innerfooter li+li {
        margin-left: 20px;
    }
}

/* --------------------------------------------- suche -------------------------------------------- */

#search {
    height: 40px;
    background: transparent;
    display: inline-block;
    position: relative;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
}

#search_input {
    color: #bdcdcd;
    font-size: 16px;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 33px;
    padding-left: 10px;
    padding-right: 43px;
    height: 33px;
    width: 100%;
}

#search_submit {
    width: 40px;
    background: url('../img/lupe-icon.png') center right no-repeat;
    padding: 0;
    cursor: pointer;
    line-height: 33px;
    border: none;
    top: 0;
    right: 0;
    height: 100%;
    font-size: 0;
    -webkit-transition: background-color 300ms linear;
    -moz-transition: background-color 300ms linear;
    -ms-transition: background-color 300ms linear;
    -o-transition: background-color 300ms linear;
    transition: background-color 300ms linear;
}

#search_input::-ms-input-placeholder {
    color: #bdcdcd !important;
}

#search_input::-webkit-input-placeholder {
    color: #bdcdcd !important;
}

#search_input::-moz-placeholder {
    opacity: 1;
}

#search_input:-moz-placeholder {
    opacity: 1;
}

/* --------------------------------------------- vernetzt -------------------------------------------- */

#vernetzt {
    text-align: center;
    font-size: 0.875rem;
    max-width: 280px;
    color: #ffffff;
    line-height: 1.3;
    margin: 0 auto;
    font-weight: 400;
    text-decoration: none;
}

@media (min-width: 576px) {
    #vernetzt {
        margin: 0;
        text-align: left;
    }
}

#vernetzt b {
    font-weight: 400;
}

#vernetzt span {
    color: #ffffff;
    display: block;
}

#vernetzt img {
    margin: 0 auto 12px auto;
    display: block;
}

@media (min-width: 576px) {
    #vernetzt img {
        margin: 0 0 12px 0;
    }
}

/* ---------------------------------------------- teaser --------------------------------------------- */

#teaser {
    padding-top: 80px;
    padding-bottom: 80px;
}

#teaser .tabStart {
    background: #ffffff;
    border: 1px solid #852f39;
    padding: 20px;
}

@media (max-width: 991px) {
    #teaser .tabStart {
        margin-top: 20px;
    }
}

@media (min-width: 992px) {
    #teaser .tabStart {
        min-height: 100%;
    }
}


footer.contrast_dark_font {
    background: transparent !important;
}

footer.contrast_dark_font::after {
    background: transparent !important;
}