@import url('https://fonts.verwaltungsportal.de/import/?family=Roboto:400,400i,500,500i,700,700i%7CVollkorn:400,400i,700,700i');
@import url("https://fonts.verwaltungsportal.de/import/?family=Oxygen:300,400,500,600,700,300i,400i,500i,600i,700i");
body {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    color: #424242;
    background: #ffffff;
    font-size: 1rem;
    /* 1rem = 16px */
    line-height: 1.5;
}

@media (min-width: 768px) {
    body {
        font-size: 1.125rem;
    }
}

a {
    color: #b31414;
}

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

b, strong {
    font-weight: 700;
}

/* ----------------------------------------------- search ----------------------------------------------- */

#search {
    height: 38px;
    background: rgba(255, 255, 255, 0.6);
    display: inline-block;
    position: relative;
    width: 100%;
    max-width: 290px;
    margin-top: 15px;
    -webkit-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
    #search {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 992px) {
    #search {
        margin-top: 0;
    }
}

#search_input {
    color: #939393;
    font-size: 15px;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 38px;
    padding-left: 14px;
    padding-right: 52px;
    height: 38px;
    width: 100%;
}

#search_submit {
    width: 38px;
    background: url('../img/lupe-icon.png') center no-repeat;
    font-size: 0;
    padding: 0;
    cursor: pointer;
    line-height: 38px;
    border: none;
    position: absolute;
    top: -1px;
    right: -1px;
    bottom: -1px;
    -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_submit:hover,
#search_submit:focus {
    background-color: rgba(170, 206, 59, 0.2);
}

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

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

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

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

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

#logo {
    display: inline-block;
}


#logo img {
    display: block;
}

@media (max-width: 991px) {
    #logo img {
        max-width: 210px;
        width: 100%;
    }
}

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

#menu {
    background: rgba(255, 255, 255, 0.9);
    padding-top: 10px;
    padding-bottom: 15px;
}

@media (min-width: 768px) {
    #menu {
        padding-bottom: 24px;
    }
}

/* 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: #0170a7;
        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 15px;
    }
    .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) {
    #menu {
        padding-top: 18px;
        padding-bottom: 18px;
    }
    nav.horizontally .navbar-nav {
        padding-top: 15px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify !important;
        -ms-flex-pack: justify !important;
        justify-content: space-between !important;
        -webkit-box-align: center !important;
        -ms-flex-align: center !important;
        align-items: center !important;
    }
    nav.horizontally li[class*="toplevel"] > ul {
        position: absolute;
        margin-top: 18px;
        top: 120%;
        left: -32%;
        right: 15px;
        z-index: 1000;
        padding: 30px;
        display: block !important;
        pointer-events: none;
        opacity: 0;
        -webkit-transition: opacity 300ms linear, top 300ms linear;
        -moz-transition: opacity 300ms linear, top 300ms linear;
        -ms-transition: opacity 300ms linear, top 300ms linear;
        -o-transition: opacity 300ms linear, top 300ms linear;
        transition: opacity 300ms linear, top 300ms linear;
        overflow-y: auto;
        max-height: 60vh;
    }
    nav.horizontally li[class*="toplevel"]>ul:not(.mCustomScrollbar),
    nav.horizontally li[class*="toplevel"]>ul .mCSB_container {
        display: flex !important;
        flex-wrap: wrap;
    }
    .navbar-default .navbar-nav li[class*="toplevel"]:hover > ul {
        pointer-events: auto !important;
        opacity: 1 !important;
        top: 100%;
    }
    .navbar-default .navbar-nav li[class*="toplevel"]:focus-within > ul {
        pointer-events: auto !important;
        opacity: 1 !important;
        top: 100%;
    }
    .nav li[class*="toplevel"].open > .dropdown-menu {
        pointer-events: none !important;
        opacity: 0 !important;
    }
    nav.horizontally li[class*="secondlevel"] {
        margin-bottom: 30px;
        width: 25%;
    }
    nav.horizontally li[class*="secondlevel"]>.dropdown-menu {
        display: block !important;
    }
}

@media (max-width: 1199px) {
    #menu {
        position: static !important;
    }
}

@media (min-width: 1200px) {
    #menu,
    #menu-sticky-wrapper {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        z-index: 65;
    }
    #menu {
        -webkit-transition: box-shadow 300ms linear, background 300ms linear;
        -moz-transition: box-shadow 300ms linear, background 300ms linear;
        -ms-transition: box-shadow 300ms linear, background 300ms linear;
        -o-transition: box-shadow 300ms linear, background 300ms linear;
        transition: box-shadow 300ms linear, background 300ms linear;
    }
    .is-sticky #menu {
        background: #ffffff;
        -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.15);
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.15);
    }
}

nav.horizontally li[class$="_end"], nav.horizontally li[class$="_start"] {
    display: none;
}

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

.navbar-default .navbar-nav>li>a {
    color: #424242;
    font-weight: 400;
    text-align: center;
    padding: 10px 35px;
    position: relative;
    font-family: "Vollkorn", sans-serif;
    border-radius: 8px;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li+li {
        margin-left: 5px;
    }
    .navbar-default .navbar-nav>li>a {
        padding: 10px 15px 7px 15px;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
    .navbar-default .navbar-nav>li>a::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        height: 20px;
        bottom: -20px;
    }
}

@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: #ffffff;
    background-color: #0170a7;
}

.navbar-nav > li:focus-within > a {
    color: #ffffff;
    background-color: #0170a7;
}

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

.navbar-default li[class*="toplevel"]>.dropdown-menu, .navbar-default li[class*="toplevel"]>.dropdown-menu>li>.dropdown-menu {
    background-color: #0170a7;
    border-radius: 10px;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

@media(max-width:991px) {
    .navbar-default li[class*="toplevel"]>.dropdown-menu, .navbar-default li[class*="toplevel"]>.dropdown-menu>li>.dropdown-menu {
        padding: 10px;
    }
}

@media(min-width:992px) {
    nav.horizontally li[class*="toplevel"]>ul::before {
        content: "";
        position: absolute;
        display: block;
        height: 36px;
        left: 0;
        right: 0;
        top: -36px;
        pointer-events: auto !important;
        z-index: 10;
    }

    .navbar-default li[class*="toplevel"]>.dropdown-menu>li>.dropdown-menu {
        background: transparent;
    }
}

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

.navbar-default li[class*="secondlevel"]>a, .navbar-default li[class*="thirdlevel"]>a {
    text-align: center;
    padding: 8px 35px;
    font-family: "Vollkorn", sans-serif;
    line-height: 1.2;
    text-decoration: none;
}

.navbar-default li[class*="secondlevel"]>a {
    color: #fff;
    font-size: 1.125rem;
    font-weight: 700;
}

.navbar-default li[class*="secondlevel"] > a::before {
	content: '';
	position: absolute;
	width: 50%;
	height: 15px;
	background-color: #0d88b9;
	border-radius: 5px;
	z-index: -1;
	left: 3px;
	top: 0;
	bottom: 0;
	margin: auto;
    pointer-events: none;
}

.navbar-default li[class*="thirdlevel"]>a {
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
}

@media(min-width:992px) {
    .navbar-default li[class*="secondlevel"]>a, .navbar-default li[class*="thirdlevel"]>a {
        padding: 5px 20px;
        text-align: left;
    }
    .navbar-default li[class*="thirdlevel"]>a {
        padding-left: 36px;
    }
    .navbar-default li[class*="thirdlevel"]>a::before {
        content: "\00BB";
        position: absolute;
        left: 20px;
        top: 7px;
        opacity: 0;
    }
}

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

.navbar-default li[class*="secondlevel"]:hover > a,
.navbar-default li[class*="secondlevel"] > a:hover,
.navbar-default li[class*="secondlevel"] > a:focus,
.navbar-default li[class*="secondlevel"].open > a,
.navbar-default li[class*="secondlevel"].open > a:hover,
.navbar-default li[class*="secondlevel"].open > a:focus,
.navbar-default li[class*="secondlevel"][class$="_over"] > a,
.navbar-default li[class*="secondlevel"][class$="_over"] > a:hover,
.navbar-default li[class*="secondlevel"][class$="_over"] > a:focus,
.navbar-default li[class*="thirdlevel"] > a:hover,
.navbar-default li[class*="thirdlevel"] > a:focus,
.navbar-default li[class*="thirdlevel"].open > a,
.navbar-default li[class*="thirdlevel"].open > a:hover,
.navbar-default li[class*="thirdlevel"].open > a:focus,
.navbar-default li[class*="thirdlevel"][class$="_over"] > a,
.navbar-default li[class*="thirdlevel"][class$="_over"] > a:hover,
.navbar-default li[class*="thirdlevel"][class$="_over"] > a:focus {
    color: #fff;
}

.navbar-default li[class*="secondlevel"]:focus-within > a,
.navbar-default li[class*="thirdlevel"]:focus-within > a {
    color: #fff;
}

.navbar-default li[class*="thirdlevel"] > a:hover::before,
.navbar-default li[class*="thirdlevel"] > a:focus::before,
.navbar-default li[class*="thirdlevel"].open > a::before,
.navbar-default li[class*="thirdlevel"].open > a:hover::before,
.navbar-default li[class*="thirdlevel"].open > a:focus::before,
.navbar-default li[class*="thirdlevel"][class$="_over"] > a::before,
.navbar-default li[class*="thirdlevel"][class$="_over"] > a:hover::before,
.navbar-default li[class*="thirdlevel"][class$="_over"] > a:focus::before {
    opacity: 1;
}

.navbar-default li[class*="thirdlevel"]:focus-within > a::before {
    opacity: 1;
}

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

#headerpic {
    position: relative;
    overflow: hidden;
    background: #1e1e1e;
}

#slider {
    max-height: 300px;
    overflow: hidden;
    position: relative;
}

@media (min-width: 768px) {
    #slider {
        max-height: 450px;
    }
    #slider+.nivo-controlNav {
        bottom: 130px;
    }
}

@media (min-width: 992px) {
    body.index #slider {
        max-height: 650px;
    }
    #headerpic a.nivo-prevNav {
        left: 65px;
    }
    #headerpic a.nivo-nextNav {
        right: 65px;
    }
    #slider+.nivo-controlNav {
        bottom: 6px;
    }
    body.index #slider+.nivo-controlNav {
        bottom: 210px;
    }
}

@media (min-width: 1200px) {
    body.index #slider {
        max-height: 960px;
    }
    body.index #slider+.nivo-controlNav {
        bottom: 325px;
    }
}

.slider-mask {
    display: block;
    background: url('../img/banner-welle.png') center bottom -1px no-repeat;
    background-size: 768px auto;
}

@media (min-width: 768px) {
    .slider-mask {
        background: url('../img/banner-welle.png') center bottom -1px no-repeat, linear-gradient(to top, rgba(52, 52, 52, 0.6),rgba(52, 52, 52, 0) 70%);
    }
}

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

#bannerOverlay {
    color: #ffffff;
    line-height: 1.2;
    font-size: 1.1rem;
}

@media (min-width: 578px) {
    #bannerOverlay {
        font-size: 1.3rem;
    }
}

@media (max-width: 767px) {
    #bannerOverlay {
        color: #424242;
        background: linear-gradient(to bottom, #fcfdff 40%, transparent);
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

@media (min-width: 768px) {
    #bannerOverlay {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 190px;
        z-index: 50;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
    }
}

@media (min-width: 992px) {
    #bannerOverlay {
        bottom: 250px;
        font-size: 1.75rem;
    }
    body:not(.index) #bannerOverlay {
        bottom: 170px;
    }
}

@media (min-width: 1200px) {
    body.index #bannerOverlay {
        bottom: 350px;
    }
}

.overlayHeadline {
    font-family: "Vollkorn", sans-serif;
    margin: 0;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.6rem;
}

@media (min-width: 578px) {
    .overlayHeadline {
        font-size: 2rem;
    }
}

@media (min-width: 768px) {
    .overlayHeadline {
        color: #ffffff;
    }
}


@media (min-width: 992px) {
    .overlayHeadline {
        font-size: 3rem;
    }
}

#bannerOverlay a {
    font-family: "Vollkorn", sans-serif;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 700;
    color: #393a3a;
    display: inline-block;
    background: rgba(255, 255, 255, 0.86);
    text-shadow: none;
    border-radius: 12px;
    padding: 12px 25px 10px 25px;
    margin-top: 20px;
    -webkit-box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.1);
}

#bannerOverlay a+a {
    margin-left: 10px;
}

#bannerOverlay a:hover, #bannerOverlay a:focus {
    color: #ffffff;
    background: rgba(1, 150, 224, 0.9);
}

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

#content {
    text-align: left;
}

#contentCol {
    padding-bottom: 30px;
    padding-top: 30px;
}

body.index #contentCol {
    display: none;
}

@media (min-width: 992px) {
    #contentCol {
        padding-bottom: 70px;
    }
}

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

.h4link a:link, .h4link a:hover, .h4link a:focus, .h4link a:visited, H6, H5, H4, H3, H2, H1 {
    color: #007cbf;
    font-weight: 600;
    line-height: 1.2;
    font-family: "Vollkorn", sans-serif;
}

h1, .h1, .legacy_h1 {
    font-size: 1.7rem;
}

@media (min-width: 768px) {
    h1, .h1, .legacy_h1 {
        font-size: 1.875rem;
    }
}

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

@media (min-width: 768px) {
    h2, .h2, .legacy_h2 {
        font-size: 1.7rem;
    }
}

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

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

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

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

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

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

#tabs>.row>div+div {
    margin-top: 15px;
}

@media (max-width: 767px) {
    #tabs2>.row>div+div {
        margin-top: 15px;
    }
}

@media (min-width: 576px) and (max-width: 991px) {
    #tabs>.row>div+div:nth-child(2) {
        margin-top: 0;
    }
    #tabs>.row>div+div, #tabs2>.row>div+div {
        margin-top: 30px;
    }
}

@media (min-width: 576px) {
    #tabs2>.row>div+div:nth-child(2) {
        margin-top: 0;
    }
}

@media (min-width: 768px) {
    #tabs {
        position: relative;
        margin-top: -110px;
        z-index: 60;
    }
}

@media (min-width: 992px) {
    body.index #tabs {
        margin-top: -200px;
    }
    body:not(.index) #tabs {
        margin-top: 0;
        padding-bottom: 70px;
    }
    body.index #tabs>.row>div+div {
        margin-top: 0;
    }

    .noPadding {
        padding-right: 0;
        padding-left: 0;
    }
}

@media (min-width: 1200px) {
    body.index #tabs {
        margin-top: -320px;
    }
}

.tab {
    padding: 15px 20px 60px 20px;
    line-height: 1.4;
    min-height: 100%;
    height: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    position: relative;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.9375rem;
}

#tabs2 {
    background: #f6f6f6;
    padding-top: 40px;
    padding-bottom: 40px;
}

#tabs .tab {
    color: #ffffff;
    background: linear-gradient(to bottom, #00689e, #00517a);
}

#tabs2 .tab {
    background: #ffffff;
    -webkit-box-shadow: -1px 2px 0 0 rgba(0, 0, 0, 0.1);
    box-shadow: -1px 2px 0 0 rgba(0, 0, 0, 0.1);
}

#tabs .tabHeadline, #tabs2 .tabHeadline {
    margin: 0 0 18px 0;
    font-family: "Vollkorn", sans-serif;
    font-variant: small-caps;
    line-height: 1.2;
    font-size: 1.625rem;
    font-weight: 400;
}

#tabs .tabHeadline {
    color: #ffffff;
}

#tabs2 .tabHeadline {
    color: #515151;
}

#tabs .veranstaltungen, #tabs .wetter {
    color: #ffffff;
    background: linear-gradient(to bottom, #bd2000, #9b1c00);
}

.wetter {
    padding: 20px 0 0 0;
}

#tabs .tabHeadline::before {
    content: "";
    display: block;
    height: 100px;
    width: 130px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    margin: 0 auto 14px auto;
    background-position: center;
    background-repeat: no-repeat;
}

#tabs .tab.beirat .tabHeadline::before {
    background-image: url('../img/ortsbeirat.png');
}

#tabs .tab.veranstaltungen .tabHeadline::before {
    background-image: url('../img/veranstaltungen.png');
}

#tabs .tab.neues .tabHeadline::before {
    background-image: url('../img/neues.png');
}

#tabs .tab.wetter .tabHeadline::before {
    background-image: url('../img/wetter.png');
}

.tab_spacer {
    height: 8px;
}

.neues a {
    text-decoration: underline;
}

.tab_link_title a {
    font-weight: 500;
    color: #ffffff;
}

.tab_link_mandat a {
    color: #ffffff;
}


#tabs .tab a{
    color: #fff;
}

.contrast_dark_font #tabs {
    background: #fff !important;
}
/* ----------------------------------------------- veranstaltungen ----------------------------------------------- */

#infos {
    background: url(../img/infos.jpg) center top no-repeat #f6f6f6;
    padding-top: 120px;
}

#news {
    margin-bottom: 35px;
}

#news .tabHeadline {
    color: #b21e00;
    margin-bottom: 0;
    font-weight: bold;
    font-size: 1.5625rem;
    margin-bottom: 50px;
}

@media (max-width: 991px) {
    #news .tabHeadline {
        margin-bottom: 30px;
    }
}


@media (min-width: 768px) {
    #news .tab_link_entries {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}

@media (min-width: 992px) {
    #news .tab_link_entries {
        position: relative;
    }

    #news {
        position: relative;
    }
    #news > .row:first-child::before {
        content: '';
        position: absolute;
        width: 480px;
        height: 315px;
        background: url(../img/vogel.png) no-repeat;
        left: -500px;
        top: -140px;
        pointer-events: none;
    }
}

#news .tab_link_entry {
    width: 100%;
    padding: 20px;
    color: #fff;
    background: url(../img/news.jpg) #bc2000;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    font-size: 1.125rem;
    border-radius: 10px;
}

#news .tab_link_entry a {
    color: #fff;
}


@media (min-width: 768px) {
    #news .tab_link_entry {
        width: calc(33.33% - 25px);
    }
    #news .tab_link_entry:nth-child(3n+1) {
        margin-right: 15px;
    }
    #news .tab_link_entry:nth-child(3n+2) {
        margin-left: 15px;
        margin-right: 15px;
    }

    #news .tab_link_entry:nth-child(3n+3) {
        margin-left: 15px;
    }
}


@media (max-width: 767px) {
   .tab_link_entry+.tab_link_entry {
       margin-top: 20px;
   }
}

#news .tab_link_mehr {
    margin-top: 30px;
    color: transparent;
    font-size: 0;
}

#news .tab_link_mehr a::before {
    content: '\00BB mehr Efahren';
    color: #b21e00;
    font-size: 1rem;
    font-variant: small-caps;
}

#news .tab_link_mehr a:hover,
#news .tab_link_mehr a:focus {
    text-decoration: none;
}

#news .tab_link_mehr a:hover::before,
#news .tab_link_mehr a:focus::before  {
 color: #941900;
}

@media (min-width: 992px) {
    #news .tab_link_mehr {
        margin-top: 0;
    }

    #news .tab_link_mehr {
        margin-top: 30px;
        color: transparent;
        font-size: 0;
        position: absolute;
        top: -100px;
        right: 29px;
    }
}




/* ----------------------------------------------- aktuelles ----------------------------------------------- */
#aktuelles h2 {
    margin: 0;
}

#aktuelles h2 {
    color: #00679e;
    font-weight: bold;
    font-size: 1.5625rem;
}


#aktuelles .tab_link {
    margin-top: 12px;
}

@media (min-width: 768px) {
    #aktuelles .tab_link {
        margin-top: 20px;
    }

    #aktuelles .tab_link_entries {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #aktuelles .tab_link_entries {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    #aktuelles .tab_link_entries + div {
        width: 50% !important;
        text-align: right;
        margin-left: 50%;
        margin-top: -80px;
    }
}

#aktuelles .tab_link_entry {
    border-radius: 10px 10px 0px 0px;
    border-bottom: none !important;
    position: relative;
    background: #e1e8e8;
    font-size: 0.9375rem;
    width: 100%;
    padding: 165px 20px 20px 20px;
    -webkit-box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.1);
    overflow: hidden;
    color: #2e2e2e;
}

@media (min-width: 768px) and (max-width: 991px) {
    #aktuelles .tab_link_entry {
        width: calc(50% - 15px);
    }

    #aktuelles .tab_link_entry:nth-child(2n+1) {
        margin-right: 15px;
    }

    #aktuelles .tab_link_entry:nth-child(2n+2) {
        margin-left: 15px;
    }
}

@media (min-width: 992px) {

    #aktuelles {
        position: relative;
        margin-bottom: -70px;
        z-index: 2;
    }

    #aktuelles .tab_link_entry {
        width: calc(25% - 20px);
    }

    #aktuelles .tab_link_entry:nth-child(4n+1) {
        margin-right: 15px;
    }

    #aktuelles .tab_link_entry:nth-child(4n+2) {
        margin-right: 15px;
        margin-left: 15px;
    }

    #aktuelles .tab_link_entry:nth-child(4n+3) {
        margin-left: 15px;
        margin-right: 15px;
    }
    #aktuelles .tab_link_entry:nth-child(4n+3) {
        margin-left: 15px;
    }
}


@media (min-width: 768px) {
    #aktuelles .tab_link_entry:nth-child(2) {
        margin-top: 0;
    }
}

@media (min-width: 992px) {
    #aktuelles .tab_link_entry:nth-child(3) {
        margin-top: 0;
    }
}

#aktuelles .tab_link_entry::before {
    content: "";
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: grey;
    background: url("../img/aktuelles-standard.jpg") center / cover no-repeat;
    overflow: hidden;
}

#aktuelles .tab_link_entry .tab_preview_picture {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 150px;
    overflow: hidden;
    border-radius: 10px 10px 0px 0px;
}

#aktuelles .tab_preview_picture img {
    position: absolute;
    left: 50%;
    top: 50%;
    max-width: none;
    min-width: 100%;
    min-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    -ms-interpolation-mode: bicubic;
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

#aktuelles .tab_date {
    font-size: 1rem;
    position: absolute;
    left: 50%;
    top: 134px;
    z-index: 1;
    display: inline-block;
    padding: 4px 10px;
    background: #00679e;
    border-radius: 5px;
    color: #ffffff;
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}

#aktuelles .tab_link_title a {
    color: #2e2e2e;
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
    font-family: "Vollkorn", sans-serif;
}

#aktuelles .tab_link_entry > div:nth-last-child(2) {
    color: transparent;
    line-height: 0;
    font-size: 0;
    text-align: left !important;
    margin-top: 20px;
}

#aktuelles .tab_link_entry > div:nth-last-child(2) > a::before {
  content: '\00BB mehr Erfahren';
  color: #2e2e2e;
  font-size: 0.9375rem;
  font-variant: small-caps;
}

#aktuelles .tab_link_entry > div:nth-last-child(2) > a:hover,#aktuelles .tab_link_entry > div:nth-last-child(2) > a:focus {
    text-decoration: none;
}

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

#footerImg {
    background-color: #00679e;
    background-size: cover;
    background-position: center center;
    padding-top: 95px;
    padding-bottom: 30px;
    position: relative;
    color: #fff;
    font-size: 1rem;
}

#footerImg::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #3c402a;
    opacity: 0.8;
    pointer-events: none;
}

#footerImg .tabHeadline {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 5px;
    color: #fff;
}

#footerImg a {
    color: #fff;
    display: block;
}

footer {
    background: #fff;
    color: #2e2e2e;
}

#footer {
    padding-top: 26px;
    padding-bottom: 26px;
}

@media (max-width: 991px) {
    #footerImg {
        padding-top: 35px;
        padding-bottom: 35px;
    }

    #footer .row>.col-xs-12:not(:first-child)::before {
        background: #2e2e2e;
        content: " ";
        height: 1px;
        width: 100%;
        display: block;
        margin: 20px 0;
        opacity: 0.3;
    }
    #footer .row>.col-xs-12.hidden-xs~.col-xs-12::before, #footer .row>.col-xs-12.hidden-sm~.col-xs-12::before {
        display: none;
    }
}

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: inline-block;
}

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

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

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


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

#vernetzt {
    text-align: left;
    font-size: 0.875rem;
    color: #2e2e2e;
    line-height: 1.4;
    margin: 0 auto;
    text-decoration: none;
}


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

@media (min-width: 992px) {
    #style {
        margin-right: 30px;
    }
    #style button {
        border: none;
        color: #2e2e2e;
        display: inline-block;
        width: 38px;
        height: 38px;
        border-radius: 0%;
        font-weight: 400;
        text-align: center;
        background: rgba(255, 255, 255, 0.6);
        -webkit-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.1);
        box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.1);
        position: relative;
        line-height: 1;
        -webkit-transition: transform 150ms linear;
        -moz-transition: transform 150ms linear;
        -ms-transition: transform 150ms linear;
        -o-transition: transform 150ms linear;
        transition: transform 150ms linear;
    }
    #style button+button {
        margin-left: 8px;
    }
    #style button:hover {
        -moz-transform: scale(1.1);
        -webkit-transform: scale(1.1);
        -o-transform: scale(1.1);
        -ms-transform: scale(1.1);
        transform: scale(1.1);
        background-color: #197eb0;
        color: #fff;
    }
}


/* ----------------------------------------------- kontrast ----------------------------------------------- */
@media (min-width: 992px) {
    #contrast_style {
        line-height: 0;
        margin-right: 30px;
    }
    #contrast_style button {
        padding: 0;
        border: none;
        background: transparent;
        display: inline-block;
        position: relative;
        bottom: 6px;
    }
    #contrast_style button+button {
        margin-left: 8px;
    }
}