@import url("https://fonts.verwaltungsportal.de/css/?family=Glory:300,400,500,600,700,300i,400i,500i,600i,700i");
@import url("https://fonts.verwaltungsportal.de/css/?family=Londrina+Solid:300,400,500,600,700,300i,500i,600i,700i");
body {
    font-family: 'Glory', sans-serif;
    color: #262626;
    background: #ffffff;
    font-size: 1rem; /* 1rem = 16px */
    line-height: 1.5;
}

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

a {
    color: #007acc;
}

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

b, strong {
    font-weight: 700;
}

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

#logo {
    display: inline-block;
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    #logo {
        margin: 50px 0 30px 0;
    }
}

#logo img {
    display: block;
}

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

    #logo {
        position: relative;
        z-index: 21;
    }
}

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

header {
    position: relative;
}

header::before {
	content: '';
	position: absolute;
	width: 100%;
	height: 116px;
	background: url(../img/nav.png) no-repeat;
	z-index: 20;
	top: 0;
	left: 0;
	right: 0;
	pointer-events: none;
}

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

#headerpic .nivo-imageLink, #headerpic .nivo-main-image {
    height: 250px !important;
    width: 100%;
    overflow: hidden;
}

#slider {
    overflow: visible;
}

@media (min-width: 576px) {
    #headerpic .nivo-imageLink, #headerpic .nivo-main-image {
        height: 300px !important;
    }
}

@media (min-width: 768px) {
    #headerpic .nivo-imageLink, #headerpic .nivo-main-image {
        height: 400px !important;
    }
}

@media (min-width: 992px) {
    #headerpic .nivo-imageLink, #headerpic .nivo-main-image {
        height: 600px !important;
    }
    #headerpic a.nivo-prevNav {
        left: 65px;
    }
    #headerpic a.nivo-nextNav {
        right: 65px;
    }
}

@media (min-width: 1200px) {
    #headerpic .nivo-imageLink, #headerpic .nivo-main-image {
        height: 600px !important;
    }

 body.index #headerpic .nivo-imageLink,body.index #headerpic .nivo-main-image {
        height: 795px !important;
    }
}

#headerpic .slider-wrapper, #headerpic::after {
    margin-left: -15px;
    margin-right: -15px;
}

@media (min-width: 768px) {
    #headerpic .slider-wrapper, #headerpic::after {
        margin-left: 0;
        margin-right: calc(-50vw + 369px);
    }
}

@media (min-width: 992px) {
    #headerpic .slider-wrapper, #headerpic::after {
        margin-right: calc(-50vw + 481px);
    }
}

@media (min-width: 1200px) {
    #headerpic .slider-wrapper, #headerpic::after {
        margin-right: calc(-50vw + 585px);
    }
}

.slider-mask {
    display: none;
}

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

#headerpic .theme-default .nivo-controlNav a {
    background: transparent;
    border: 1px solid #ffffff;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    position: relative;
}

#headerpic .theme-default .nivo-controlNav a::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: 0;
    margin-top: 0;
    display: block;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: #ffffff;
    -webkit-transition: width 200ms linear, height 200ms linear, margin 200ms linear;
    -moz-transition: width 200ms linear, height 200ms linear, margin 200ms linear;
    -ms-transition: width 200ms linear, height 200ms linear, margin 200ms linear;
    -o-transition: width 200ms linear, height 200ms linear, margin 200ms linear;
    transition: width 200ms linear, height 200ms linear, margin 200ms linear;
}

#headerpic .theme-default .nivo-controlNav a.active::after, #headerpic .theme-default .nivo-controlNav a:hover::after, #headerpic .theme-default .nivo-controlNav a:focus::after {
    margin-top: -4px;
    margin-left: -4px;
    width: 8px;
    height: 8px;
}

#headerpic .theme-default .nivo-controlNav a+a {
    margin-left: 5px;
}

#headerpic .theme-default .nivo-controlNav {
    z-index: 60;
    font-size: 0;
    bottom: calc(0px + (20 - 0) * (100vw - 320px) / (575 - 320));
    text-align: right;
    right: 15px;
}

@media (min-width: 576px) {
    #headerpic .theme-default .nivo-controlNav {
        bottom: 20px;
    }
}

@media (min-width: 768px) {
    #headerpic .theme-default .nivo-controlNav {
        bottom: calc(20px + (28 - 20) * (100vw - 768px) / (991 - 768));
    }
}

@media (min-width: 992px) {
    #headerpic .theme-default .nivo-controlNav a+a {
        margin-left: 10px;
    }
    #headerpic .theme-default .nivo-controlNav {
        right: 210px;
        bottom: calc(30px + (38 - 30) * (100vw - 992px) / (1199 - 992));
    }
}

@media (min-width: 1200px) {
    #headerpic .theme-default .nivo-controlNav {
        right: 210px;
        bottom: calc(-10px + (46 - 10) * (100vw - 1200px) / (1920 - 1200));
    }
}

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

@media (min-width: 992px) {
    #headerpic .nivo-directionNav {
        position: absolute;
        z-index: 60;
        right: 60px;
        bottom: calc(18px + (26 - 18) * (100vw - 992px) / (1199 - 992));
        text-align: right;
    }
}

@media (min-width: 1200px) {
    #headerpic .nivo-directionNav {
        bottom: calc(-20px + (56 - 20) * (100vw - 1200px) / (1920 - 1200));
    }
}

#headerpic .theme-default .nivo-directionNav a {
    background: #ffffff;
    width: 40px;
    height: 40px;
    display: inline-block;
    text-indent: 0;
    font-size: 0;
}

@media (min-width: 992px) {
    #headerpic .theme-default .nivo-directionNav a {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        opacity: 1;
        -webkit-transition: background 200ms linear;
        -moz-transition: background 200ms linear;
        -ms-transition: background 200ms linear;
        -o-transition: background 200ms linear;
        transition: background 200ms linear;
    }
}

#headerpic .theme-default .nivo-directionNav a:hover,
#headerpic .theme-default .nivo-directionNav a:focus {
    background: rgba(255, 255, 255, 0.7);
}

#headerpic .theme-default .nivo-directionNav a::after {
    font-size: 2.5rem;
    position: absolute;
    line-height: 1;
    top: 3px;
    font-family: "Khand", sans-serif;
    color: #1d75ab;
}

#headerpic .theme-default .nivo-directionNav a.nivo-prevNav::after {
    content: "\2039";
    left: 12px;
}

#headerpic .theme-default .nivo-directionNav a.nivo-nextNav::after {
    content: "\203A";
    right: 12px;
}

#headerpic .theme-default .nivo-directionNav a+a {
    margin-left: 30px;
}

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

/* burgermenu for tablet */

#burgerButton {
    font-size: 0;
    border: none !important;
    display: block;
    height: 50px;
    width: 28px;
    border-radius: 2px;
    padding: 0;
    cursor: pointer;
    position: relative;
    background: transparent;
}

#burgerButtonInner2, #burgerButton:after, #burgerButtonInner {
    background-color: #eb001f;
    border-radius: 2px;
    position: absolute;
    width: 28px;
    height: 3px;
    left: 0;
    -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;
}

#burgerButtonInner {
    top: 16px;
}

#burgerButtonInner2 {
    top: 24px;
}

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

@media (max-width: 991px) {
    .dropdown-toggle-button-wrapper, .dropdown-toggle-button-wrapper2 {
        right: 4px;
        top: 6px;
    }
    #burgerButton {
        height: 50px;
        width: 48px;
        padding: 6px 8px;
        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 {
        left: 10px;
    }
    #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);
    }
    .navbar-nav {
        margin: 20px 5px;
    }
    .navbar-collapse {
        top: 0;
        background: #f8f8f8;
        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) {
    #burgerButton {
        pointer-events: none;
    }
    nav {
        padding: 8px 20px 20px 20px;
        min-height: 430px;
        background-color: #f8f8f8;
        border-radius: 3px;
        position: relative;
    }
    nav::after {
        content: "";
        position: absolute;
        left: 30px;
        right: 30px;
        bottom: 0;
        height: 30px;
        z-index: -1;
        -webkit-box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.16);
        box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.16);
    }
    #navBox {
        position: relative;
        z-index: 63;
        margin-bottom: 60px;
    }
    #navBox::before {
        content: "";
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: 0;
        background: rgba(29, 117, 171, 0.5);
        pointer-events: none;
        z-index: -1;
        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;
    }
    #navBox:hover::before,
    #navBox:focus::before {
        opacity: 1;
    }
    .navbar-header {
        margin-bottom: 8px;
    }
    .navbar-header .menuTitle {
        margin-left: 18px;
        font-size: 1.5rem;
        font-family: 'Londrina Solid', cursive;
        color: #eb001f;
    }
   
    .navbar-default .navbar-nav {
        width: 100%;
    }
    .navbar-default .navbar-nav>li {
        display: block !important;
        width: 100%;
        float: none;
    }
    .navbar-default .navbar-nav>li {
        position: relative;
    }
    .navbar-default .navbar-nav>li>.dropdown-menu>li:not(:first-of-type):not(:last-of-type) {
        -webkit-column-break-inside: avoid;
        page-break-inside: avoid;
        break-inside: avoid-column;
        display: table;
        width: 100%;
    }
    .navbar-default .navbar-nav>li>ul {
        position: absolute;
        left: 100%;
        top: 0 !important;
        column-count: 2;
        column-gap: 30px;
        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;
    }
    .navbar-default .navbar-nav>li.open:hover>.dropdown-menu, .navbar-default .navbar-nav>li:hover>ul {
        pointer-events: auto !important;
        opacity: 1 !important;
    }
    .navbar-default .navbar-nav li[class*="toplevel"]:focus-within > ul, .navbar-default .navbar-nav li[class*="secondlevel"]:focus-within > ul {
        pointer-events: auto !important;
        opacity: 1 !important;
    }
    .navbar-default .navbar-nav>li.open>.dropdown-menu {
        pointer-events: none !important;
        opacity: 0 !important;
    }
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        opacity: 1;
    }
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) and (min-width: 992px) {
    .navbar-header .menuTitle {
        background: transparent;
    }
}

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

.navbar-default .navbar-nav>li>a {
    color: #262626;
    font-weight: 400;
    text-align: left;
    padding: 7px 35px 7px 10px;
    position: relative;
    z-index: 0;
    font-size: 1.25rem;
    background: #f3f3f3;
    border-radius: 3px;
    line-height: 1.2;
    text-decoration: none;
}

.navbar-default .navbar-nav>li+li>a {
    margin-top: 2px;
}

.navbar-default .navbar-nav>li>a::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, #ffc8d0, #ffc8d0);
    border-radius: 3px;
    z-index: -1;
    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;
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>a {
        padding: 8px 20px 8px 20px;
    }

    .navbar-default .navbar-nav>li>a.dropdown-toggle {
        padding-right: 40px;
    }
}

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

.navbar-default .navbar-nav>li:hover>a, .navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a:focus, .navbar-default .navbar-nav>li.open>a, .navbar-default .navbar-nav>li.open>a:hover, .navbar-default .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: #262626;
    text-decoration: underline;
}

.navbar-nav > li:focus-within > a {
    color: #262626;
    text-decoration: underline;
}

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

.navbar-nav > li:focus-within > a::after {
    opacity: 1;
}

/* -------------------------------------- second+thirdlevel dropdown-box -------------------------------------- */

.navbar-default .navbar-nav>li>.dropdown-menu {
    padding: 10px;
    background: #f8f8f8;
    border-radius: 3px;
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>.dropdown-menu {
        padding: 20px;
        width: 660px;
        margin-left: 40px;
        min-height: 200px;
    }
    .navbar-default .navbar-nav>li>.dropdown-menu>li {
        margin-bottom: 2px;
    }
    .navbar-default .navbar-nav>li>.dropdown-menu::before {
        content: "";
        position: absolute;
        display: block;
        width: 40px;
        top: 0;
        bottom: 0;
        left: -40px;
    }
}

@media (min-width: 1200px) {
    .navbar-default .navbar-nav>li>.dropdown-menu {
        width: 780px;
    }
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    margin: 0px;
    padding: 4px 0;
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        display: block !important;
    }
}

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>a, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    color: #666666;
    font-weight: normal;
    text-align: left;
    position: relative;
    line-height: 1.2;
    text-decoration: none;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>a {
    padding: 8px 35px 8px 10px;
    font-size: 1.25rem;
    background: #f3f3f3;
    border-radius: 3px;
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>.dropdown-menu>li>a {
        padding: 8px 20px 8px 20px;
    }
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    padding: 6px 15px 6px 38px;
    font-size: 1.125rem;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a::before {
    content: "\00BB";
    display: block;
    position: absolute;
    top: 15px;
    line-height: 0;
    left: 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 {
    color: #eb001f;
}

.navbar-nav > li > .dropdown-menu > li:focus-within > a,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li:focus-within > a {
    color: #eb001f;
}

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

#content {
    text-align: left;
    min-height: 200px;
}

@media (min-width: 768px) {
    #overflow {
        overflow: hidden;
    }
}

@media (min-width: 1200px) {
    #content {
        padding-left: 15px;
        padding-right: 15px;
    }
}

main {
    padding-top: 30px;
    position: relative;
}

@media (max-width: 991px) {
    #bg-left {
        order: 13;
    }
}

@media (min-width: 992px) {
    main {
        padding-top: 70px;
    }
    #bg-left {
        position: relative;
        z-index: 60;
        margin-top: -510px;
    }
}

@media (min-width: 1200px) {
    #bg-left {
        margin-top: -640px;
    }
}

.shadow {
    position: relative;
    z-index: 1;
}

#bg-left .shadow {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.shadow::after {
    content: "";
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 0;
    height: 30px;
    z-index: -1;
    -webkit-box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.16);
    box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.16);
}

#kalender .shadow::after {
    -webkit-box-shadow: 0 0 50px 0 rgba(0, 0, 0, 0.45);
    box-shadow: 0 0 50px 0 rgba(0, 0, 0, 0.45);
}

/* ------------------------------------------------ kalender ----------------------------------------------- */

#kalender {
    padding-top: 40px;
    padding-bottom: 40px;
    background: url(../img/aktuell.png) #c4e8ff;
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-bottom: 10px solid #fff;
}

.tabCalendar h2 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 20px;
}

#kalender .tab_link {
    padding: 15px;
    width: 100%;
}

#kalender .tabCalendar {
    background: #8ed1f2;
    border-radius: 3px;
    position: relative;
    z-index: 2;
}

@media (max-width: 767px) {
    #kalender .tabCalendar {
        padding-bottom: 30px;
    }
}

#kalender .tabCalendar>.row, #kalender .tabCalendar>.row>div {
    position: static;
}

#clr-events-hide, #clr-events-hide+div {
    display: none;
}

.eventclndr-tab {
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .eventclndr-tab {
        margin-bottom: 0;
    }
}

#kalender .tabHeadline {
    margin-top: 10px;
    margin-bottom: 15px;
}

.tab_link_title a {
    color: #262626;
    font-weight: 600;
}

.tab_link_mandat a, .tab_link_date {
    color: #4c4c4c;
    font-size: 1rem;
}

.tab_link_mehr {
    color: transparent;
    font-size: 0;
}

.kalender {
    background: #007acc;
    padding: 15px;
}

.tab_link_mehr a {
    font-family: 'Londrina Solid', cursive;
    font-size: 1.5rem;
    color: #fff;
    background-color: #007acc;
    border-radius: 5px;
    padding: 8px 10px;
}


#kalender .tab_link_entries>div:last-child .tab_spacer {
    height: 0;
}

@media (min-width: 992px) {
    #kalender .tab_link {
        padding: 15px;
        width: 100%;

    }

    .tab_link_entries {
        display: flex;
        flex-wrap: wrap;
    }

    #kalender .tab_link_entry {
        width: 50%;
        flex-grow: 2;
    }
}

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

.tab {
   background-color: #95d5ff;
   -webkit-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.08);
-moz-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.08);
box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.08);
   border-radius: 6px;
color: #4c4c4c;
font-size: 1rem;
}


.tab a {
    color: #4c4c4c;
}

.tab_link_entry {
    position: relative;
}

.tab_link_date, .tab_link_title, .tab_link_mandat {
    position: relative;
}

#bg-right .tab_link_entry::before {
    content: '';
    position: absolute;
   left: -16px;
   right: -16px;
   top: 0;
   bottom: 0;
   background-color: #3db2ff;
   -webkit-transition: all 300ms ease;
-moz-transition: all 300ms ease;
-ms-transition: all 300ms ease;
-o-transition: all 300ms ease;
transition: all 300ms ease;
opacity: 0;
}

#bg-right .tab_link_entry:hover::before, .tab_link_entry:focus::before {
    opacity: 1;
}

.tab_link_title a {
    color: #262626;
    font-size: 1.25rem;
    font-weight: 500;
}

.tab_link_title:hover, .tab_link_title:focus {
    text-decoration: underline;
}

#clr-events-hide > p:first-child {
    display: none;
}

.tabContent {
    padding: 0px 16px 16px 16px;
}

#bg-right .tabHeadline {
    font-size: 1.5rem;
    margin: 0 0 10px 0;
    padding: 15px 16px;
    color: #fff;
    border-radius: 6px 6px 0px 0px;
    font-weight: normal;
    background-color: #007acc;
}

.tab_link_mehr {
    text-align: right !important;
    margin-top: 20px;
    font-size: 0;
}

#bg-right .tab_link_mehr a {
    font-family: 'Londrina Solid', cursive;
font-size: 1.5rem;
font-weight: 500;
color: #fff;
padding: 6px 9px;
background-color: #007acc;
border-radius: 6px;
}

.tab_link_mehr a::before {
    content: '...';
}


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

main {
    text-align: left;
    min-height: 200px;
    padding-top: 30px;
    padding-bottom: 30px;
}

@media (max-width: 991px) {
    #bg-right {
        padding-top: 30px;
    }
}

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

.h4link a:link, .h4link a:hover, .h4link a:focus, .h4link a:visited, H6, H5, H4, H3, H2, H1 {
    color: #eb001f;
    font-weight: normal;
    line-height: 1.2;
    font-family: 'Londrina Solid', cursive;
}

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

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

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

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

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

@media (min-width: 992px) {
    h3, .h3, .legacy_h3 {
        font-size: 2rem;
    }
}

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

@media (min-width: 992px) {
    h4, .h4, .h4link a:link, .h4link a:hover, .h4link a:focus, .h4link a:visited, .legacy_h4 {
        font-size: 1.7rem;
    }
}

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

@media (min-width: 992px) {
    h5, .h5, .legacy_h5 {
        font-size: 1.5rem;
    }
}

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

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

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

#news {
    padding-top: 30px;
    font-size: 1rem;
    padding-bottom: 30px;
    background: url(../img/news.png) center center/cover no-repeat #ffc8d0;
}

#news .tab a {
    color: #fff;
    font-family: 'Londrina Solid', cursive;
    font-weight: normal;
    font-size: 1rem;
    padding: 5px 9px;
    background: #d81731;
    border-radius: 5px;
    display: inline-block;
}

#news .tab,
#eventsBG {
    border-radius: 3px;
    background-color: #c51930;
    overflow: hidden;
    -webkit-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.08);
-moz-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.08);
box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.08);
}

#news .tab,
#events .tab {
    padding: 30px;
    color: #ffffff;
    background-position: top 20px right 20px;
    background-repeat: no-repeat;
}

#news .tabHeadline,
#events .tabHeadline {
    color: #ffffff;
    margin: 0 0 20px 0;
    font-size: 1.75rem;
}

@media (min-width: 768px) {
    #news .tabHeadline,
    #events .tabHeadline {
        margin: 0 0 25px 0;
    }
}

@media (min-width: 1200px) {
    #news .tabHeadline,
    #events .tabHeadline {
        -webkit-hyphens: manual;
        -moz-hyphens: manual;
        -ms-hyphens: manual;
        hyphens: manual;
    }
}

#news .tabHeadline::after,
#events .tabHeadline::after {
    display: none;
}

#news .tab_link_entry,
#events .tab_link_entry {
    font-size: 1rem;
    position: relative;
    width: 100%;
}

#news .tab_link_title a,
#events .tab_link_title a {
    line-height: 1.2;
    font-weight: 600;
    font-size: 1.125rem;
    display: block;
    margin-bottom: 8px;
    color: #eb001f;
}

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

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

#news .tab {
    background-image:  url('../img/icon-zeitung.png');
}

#news .tab,
#news .tab_link,
#news .tab_link > div {
    height: 100%;
    min-height: 100%;
}

#news .tab_link_entry {
    background: #ffffff;
    border-radius: 3px;
    padding: 160px 30px 30px 30px;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
}

@media (min-width: 576px) and (max-width: 767px) {
    #news .tab_link_entry {
        width: calc(50% - 15px);
    }

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

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

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

    #news .tab_link_entry + .tab_link_entry {
        margin-left: 30px;
    }
}

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

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

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

#news .tab_link_title a::before,
#news .tab_link_entry .tab_preview_picture {
    position: absolute;
    display: block;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 120px;
    overflow: hidden;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}


#news .tab_preview_picture img {
    position: absolute;
    margin: 0 !important;
    left: 50%;
    top: 50%;
    max-width: none;
    min-width: 100%;
    min-height: 100%;
    max-width: 350px;
    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%);
}

#news .tab_date {
    font-size: 0.75rem;
    font-weight: 600;
    position: absolute;
    left: -1px;
    top: 105px;
    z-index: 1;
    display: inline-block;
    padding: 6px 20px;
    background: #c51930;
    color: #fff;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

#news .tab_link_title {
    color: #eb001f;
}

#news  .tab_link_entries + div,
#news  .tab_link_entries .tab_spacer,
#news  .tab_link_entry > div:nth-last-child(2) {
    display: none;
}


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

#footer .tabHeadline {
    color: #fff;
    font-size: 1.375rem;
    margin-bottom: 10px;
    padding: 0;
    background: transparent;
}

#footer .tabFooter {
    font-size: 1.125rem;
}

#footer .tabFooter a {
color: #fff;
text-decoration: underline;
}

footer {
    background: #005f9e;
    color: #ffffff;
    border-top: 8px solid #fff;
}

#footer > .row:first-child {
    padding-top: 26px;
    padding-bottom: 26px;
    background: url(../img/baum.png) bottom right 30% no-repeat;
}

@media (max-width: 767px) {
    #footer .row>.col-xs-12:not(:first-child)::before {
        background: #ffffff;
        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: block;
}

#innerfooter a {
    color: #ffffff;
    text-decoration: none;
    display: block;
    font-size: 1.125rem;
    border-radius: 2px;
    padding: 2px 0px;
    font-weight: 500;
    line-height: 1.9;
}

#innerfooter a:hover,
#innerfooter a:focus {
    background: transparent;
    text-decoration: underline;
}



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

#vernetzt {
    text-align: right;
    font-size: 1rem;
    color: #ffffff;
    line-height: 1.4;
    margin: 0 auto;
    font-weight: 500;
    text-decoration: none;
}

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

#vernetzt span {
    color: #ffffff;
}

#vernetzt span span {
    display: block;
}

#vernetzt img {
    margin-left: 10px;
}