@import url("https://fonts.verwaltungsportal.de/import/?family=Jost:300,400,500,600,700,800,i300,i400,i500,i600,i700,i800");

body {
    font-family: "Jost", sans-serif;
    color: #4d4d4d;
    background: #ffffff;
    font-size: 1rem; /* 1rem = 16px */
    line-height: 1.5;
}

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

a {
    color: #0c5c82;
}

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


b, strong {
    font-weight: 700;
}

@media (min-width: 1200px) {
    .row{
        max-width: 1400px;
        width: 100%,
    }
}


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

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

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

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

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

@media (min-width: 992px) {
    #content {
        padding-bottom: 60px;
        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: #117bac;
    font-weight: 700;
    line-height: 1.2;
    font-family: "Jost", sans-serif;
}

h1, .h1, .legacy_h1 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

h2, .h2, .legacy_h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
}


h3, .h3, .legacy_h3 {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
}

h4, .h4, .h4link a:link, .h4link a:hover, .h4link a:focus, .h4link a:visited, .legacy_h4 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

h5, .h5, .legacy_h5 {
    font-size: clamp(1.4rem, 3vw, 2.1rem);
}

h6, .h6, .legacy_h6 {
    font-size: 2rem;
    font-size: clamp(1.3rem, 3vw, 2.0rem);
}

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

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

#topbar {
    position: relative;
    -webkit-box-shadow: 0 0 5px 0 rgba(43, 43, 43, 0.2);
    box-shadow: 0 0 5px 0 rgba(43, 43, 43, 0.2);
    background-color: #fff;
}

@media (max-width: 991px) {
    #topbar {
        min-height: 95px;
    }
}

@media (min-width: 992px) {
    #topbar > .row > div:not(:first-child) {
        padding-top: 34px;
        padding-bottom: 40px;
    }  
}

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

#logo {
    display: inline-block;
    padding: 14px 20px 10px 20px;
    background: #ffffff;
    -webkit-box-shadow: 0 0 5px 0 rgba(43, 43, 43, 0.2);
    box-shadow: 0 0 5px 0 rgba(43, 43, 43, 0.2);
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
    position: absolute;
    top: 0;
    left: 15px;
    z-index: 50;
}

#logo img {
    display: block;
}

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

@media (min-width: 992px) {
.is-sticky #logo img{
    max-width: 190px;
}
}

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

form[id^="search"] {
    height: 38px;
    display: block;
    position: relative;
    margin: 20px auto;
    max-width: 250px;
    width: 100%;
}

@media (min-width: 992px) {
    form[id^="search"] {
        display: inline-block;
        margin: 0 20px 0 0;
    }
}

form [id^="search_input"] {
    color: #444444;
    font-size: 17px;
    font-style: normal;
    background: #ffffff;
    padding: 0;
    border: 0;
    line-height: 38px;
    padding-left: 14px;
    padding-right: 47px;
    height: 38px;
    width: 100%;
}

form [id^="search_submit"] {
    width: 38px;
    height: 38px;
    border: none;
    background: url('../img/icon-lupe.png') center no-repeat;
    padding: 0;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
    font-size: 0;
    -webkit-transition: background 150ms linear;
    -moz-transition: background 150ms linear;
    -ms-transition: background 150ms linear;
    -o-transition: background 150ms linear;
    transition: background 150ms linear;
}

form [id^="search_submit"]:hover,
form [id^="search_submit"]:focus {
    background-color: rgba(0, 0, 0, 0.1);
}

[id^="search_input"]::-ms-input-placeholder {
    color: #444444 !important;
}

[id^="search_input"]::-webkit-input-placeholder {
    color: #444444 !important;
}

[id^="search_input"]::-moz-placeholder {
    opacity: 1;
}


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

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

@media (min-width: 992px) {
    #slider {
        max-height: 500px;
    }
    body.index #slider {
        max-height: 810px;
    }
    #headerpic a.nivo-prevNav {
        left: 65px;
    }
    #headerpic a.nivo-nextNav {
        right: 65px;
    }

    .nivo-controlNav {
        bottom: 60px !important;
    }

}

#headerpic {
    margin: 0 auto;
    position: relative;
    width: 100%;
    overflow: hidden;
}


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

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

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

/* burgermenu for tablet */

#burgerButton {
    font-size: 0;
    border: none !important;
    position: relative;
    z-index: 1002;
    display: block;
    width: 58px;
    height: 58px;
    cursor: pointer;
    background: #ffffff;
}

@media (max-width: 991px) {
    #burgerButton {
        position: fixed;
        right: 15px;
        top: 8px;
        border-radius: 50%;
        -webkit-box-shadow: 0 6px 6px 0 rgba(0, 0, 0, 0.15);
        box-shadow: 0 6px 6px 0 rgba(0, 0, 0, 0.15);
    }
}

@media (min-width: 992px) {
    #burgerButton {
        margin: 0 0 0 20px;
        height: 38px;
    }
    #burgerButton::before {
        content: "Menü";
        font-size: 25px;
        position: absolute;
        left: 60px;
        top: 6px;
        color: #0c5c82;
        font-weight: 700;
        line-height: 1;
    }
}

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

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

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

#burgerButtonInner2, #burgerButton:after, #burgerButtonInner {
    position: absolute;
    background: #0c5c82;
    width: 38px;
    height: 4px;
    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;
    color: #fff;
}

#burgerButtonInner {
    top: 19px;
}

#burgerButtonInner2 {
    top: 28px;
}

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

@media (min-width: 992px) {
    #burgerButtonInner {
        top: 8px;
    }
    
    #burgerButtonInner2 {
        top: 17px;
    }
    
    #burgerButton:after {
        top: 26px;
    }
}

/* burgermenu for tablet */

@media (max-width: 991px) {
    .navbar-collapse {
        top: 0;
        background: #0c5c82;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 100;
        height: auto !important;
        -webkit-box-shadow: 0 0 150px 0 rgba(0, 0, 0, 1);
        box-shadow: 0 0 150px 0 rgba(0, 0, 0, 1);
        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-toggle::before {
        content: "";
        opacity: 0;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 0;
        z-index: -1;
        display: block;
        -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) {
    #myNavbar.navbar-collapse {
        background: #ffffff url('../img/bg-navigation.png') bottom right no-repeat;
        pointer-events: none;
        position: absolute;
        z-index: 1002;
        top: 70px;
        left: 23px;
        opacity: 0;
        width: 580px;
        border-radius: 0;
        height: auto !important;
        overflow: visible !important;
        -webkit-box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.3);
        box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.3);
        -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;
    }
    #burgerButton[aria-expanded="true"]+#myNavbar {
        pointer-events: auto;
        opacity: 1;
        top: 140px;
    }
    #myNavbar:focus-within {
        pointer-events: auto;
        opacity: 1;
        top: 140px;
    }
    #myNavbar.navbar-collapse::before {
        content: "";
        display: block;
        position: absolute;
        left: 15px;
        top: -18px;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 0 25px 18px 25px;
        border-color: transparent transparent #0c5c82 transparent;
    }
    #myNavbar.navbar-collapse>div {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        max-height: 75vh;
        overflow-y: auto;
        position: relative;
        background: #ffffff;
    }
    .navbar-nav {
        padding: 23px 0 25px 0;
        background: #0c5c82;
        min-height: 300px;
    }
    .navbar-default .navbar-nav > li > .dropdown-menu {
        padding: 25px 20px;
        position: absolute;
        z-index: 2;
        left: 50%;
        top: 0 !important;
        right: 0;
        bottom: 0;
        overflow-y: auto;
        background-color: #ffffff;
        background-image: url(../img/bg-navigation.png);
        background-position: bottom center;
        background-repeat: no-repeat;
    }
    .navbar-nav, .navbar-default .navbar-nav > li > .dropdown-menu {
        width: 50%;
    }
    .navbar-default .navbar-nav > li > ul {
        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[class$="_over"] > .dropdown-menu,
    .navbar-default .navbar-nav > li:hover > ul{
        pointer-events: auto !important;
        opacity: 1 !important;
    }
    .navbar-default .navbar-nav > li:focus-within > ul {
        pointer-events: auto !important;
        opacity: 1 !important;
    }
    .navbar-default .navbar-nav > li:hover > ul {
        z-index: 3;
    }
    .navbar-default .navbar-nav > li:focus-within > ul {
        z-index: 3;
    }
}

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

.navbar-default .navbar-nav>li>a {
    color: #ffffff;
    font-weight: 500;
    text-align: left;
    padding: 10px 10px;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
}

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

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>a {
        padding: 7px 30px;
        text-align: right;
    }
    .navbar-default .navbar-nav>li>a::before {
        content: "";
        position: absolute;
        display: block;
        width: 25px;
        top: 0;
        bottom: 0;
        right: -25px;
    }
}

/* -------------------------------------------- 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: #117bac;
    background-color: #ffffff;
}

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

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

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

.navbar-default .navbar-nav>li>.dropdown-menu li[class*="menue_point_secondlevel"]>a,
.navbar-default .navbar-nav>li>.dropdown-menu li[class*="menue_point_secondlevel"]>.dropdown-menu>li>a {
    color: #444444;
    font-weight: 400;
    text-align: left;
    padding: 8px 35px 8px 25px;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
}

.navbar-default .navbar-nav>li>.dropdown-menu li[class*="_start"],
.navbar-default .navbar-nav>li>.dropdown-menu li[class*="end"] {
    display: none;
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>.dropdown-menu li[class*="menue_point_secondlevel"] {
        border-top: 1px dashed rgba(82, 82, 82, 0.4);
    }
    .navbar-default .navbar-nav>li>.dropdown-menu li[class*="menue_point_secondlevel"]>a {
        padding: 9px 2px;
    }
    .navbar-default .navbar-nav>li>.dropdown-menu li[class*="menue_point_secondlevel"]>.dropdown-menu>li>a {
        padding: 5px 10px 5px 34px;
    }
    .navbar-default .navbar-nav>li>.dropdown-menu li[class*="menue_point_secondlevel"]>.dropdown-menu>li>a::after {
        content: "";
        position: absolute;
        left: 8px;
        top: 50%;
        background: #ffffff;
        width: 5px;
        height: 5px;
        margin-top: -2px;
        border-radius: 50%;
    }
    .navbar-default .navbar-nav>li>.dropdown-menu li[class*="menue_point_secondlevel"]>.dropdown-menu {
        display: block;
    }
}

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

.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"]:hover > a,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > a:hover,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > a:focus,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"].open > a,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"].open > a:hover,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"].open > a:focus,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"][class$="_over"] > a,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"][class$="_over"] > a:hover,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"][class$="_over"] > a:focus {
    background: transparent;
    color: #117bac;
}

.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li > a:hover,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li > a:focus,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li.open > a,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li.open > a:hover,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li.open > a:focus,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li[class$="_over"] > a,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li[class$="_over"] > a:hover,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li[class$="_over"] > a:focus {
    background: #117bac;
    color: #ffffff;
}


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

#events{
    position: relative;
    z-index: 12;
}

#events .tab_link{
    margin-top: 30px;
    max-width: 1170px;
    margin: auto;
}

#events::before{
    pointer-events: none;
    content: '';
    background: url(../img/overlay-oben.png);
    height: 92px;
    background-position: top center; 
    background-repeat: no-repeat;
    background-size: 100% auto;
    width: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    display: inline-block;
    z-index: -1;
}

#events::after{
    pointer-events: none;
    content: '';
    background: url(../img/overlay-unten.png);
    height: 92px;
    background-position: bottom center; 
    background-repeat: no-repeat;
    background-size: 100% auto;
    width: 100%;
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    display: inline-block;
    z-index: -1;
}

#events {
    padding-bottom: 40px;
    padding-top: 40px;
    background-color: #222326;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (min-width: 768px) {
    #events {
        padding-bottom: 60px;
        padding-top: 60px;
    }
}

@media (min-width: 992px) {
    #events {
        padding-bottom: 90px;
        padding-top: 75px;
    }
}

@media (min-width: 1200px) {
    #events {
        padding-bottom: 40px;
        padding-top: 50px;
    }
}

.eventsHeadline {
    color: #ffffff;
}

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

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

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

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

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

    #events .tab_link_entry:not(:nth-child(3n+1)) {
        margin-left: 30px;
    }
}

#events .tab_link_entries {
    counter-reset: section;
}

#events .tab_link_entry {
    background: #ffffff;
    margin-bottom: 30px;
    padding: 45px 20px;
    overflow: hidden;
    position: relative;
    -webkit-box-shadow: 0 0 5px 0 rgba(43, 43, 43, 0.2);
    box-shadow: 0 0 5px 0 rgba(43, 43, 43, 0.2);
}

#events .tab_link_entry::before {
    counter-increment: section;
    content: "0"counter(section);
    font-size: 180px;
    font-style: italic;
    font-weight: 400;
    opacity: 0.1;
    pointer-events: none;
    position: absolute;
    right: 15px;
    bottom: -50px;
    color: #117bac;
    line-height: 1;
}

#events .tab_link_title {
    margin-bottom: 6px;
}

#events .tab_link_title a {
    color: #444444;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.2;
    display: block;
}

#events .tab_link_date {
    font-size: 1rem;
}

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

@media (min-width: 1200px) {
    #events .tab_link_mehr{
        margin-right: -140px;
        
    }
}

#events .tab_link_mehr a::before {
    content: "Alle Veranstaltungen";
    font-size: 1rem;
    font-weight: 700;
    font-style: italic;
    display: inline-block; 
    padding: 10px 30px;
    background-color:#0c5c82;
    transition: all, 300ms;
    color: #fff;
}

#events .tab_link_mehr a:hover::before,
#events .tab_link_mehr a:focus::before{
    transform: scale(1.05);
}

#events .specialHeadline h1,
#events .specialHeadline h2,
#events .specialHeadline h3{
    font-size: clamp(1.3rem, 4vw, 3.125rem);
    font-style: italic;
    color: #0c5c82;
}


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

#tabs{
    padding: 70px 0 184px 0;
    background: url(../img/bg-footer.png) no-repeat bottom center / 100% auto; 
}

#news{
    color: #444444;
}

#news .tab_spacer{
    height: 30px;
}


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


@media (max-width: 991px) {
    #tabs > .row > div:not(:first-child) + div {
        margin-top: 15px;
    }
}

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

@media (max-width: 575px) {
    #tabs > .row > div+div{
        margin-top: 30px !important;
        
    }
}

#tabs .tab,
#news .tab {
    height: 100%;
    min-height: 100%;
    background: #ffffff;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    -webkit-box-shadow: 0 0 5px 0 rgba(43, 43, 43, 0.2);
    box-shadow: 0 0 5px 0 rgba(43, 43, 43, 0.2);
}

#tabs .tab1,
#news{
    padding: 20px;
}

@media (min-width: 1200px) {
    #tabs .tab1,
    #news{
        padding: 40px 30px;
    }
}


#news h1,
#news h2,
#news h3,
#news h4,
#news h5,
#news h6 {
    color: #0c5c82;
    margin-bottom: 15px;
    font-size: 1.5625rem;
    text-align: center;
    font-style: italic;
}

@media (min-width: 992px) {
    #news h1,
    #news h2,
    #news h3,
    #news h4,
    #news h5,
    #news h6 {
        margin-bottom: 25px;
    }
}

#tabs .tab2 h1,
#tabs .tab2 h2,
#tabs .tab2 h3,
#tabs .tab2 h4,
#tabs .tab2 h5,
#tabs .tab2 h6 {
    color: #304b78;
    margin-bottom: 15px;
    font-size: 1.5625rem;
    text-align: center;
    font-style: italic;
    margin: 0px;
}

@media (min-width: 992px) {
    #tabs .tab2 h1,
    #tabs .tab2 h2,
    #tabs .tab2 h3,
    #tabs .tab2 h4,
    #tabs .tab2 h5,
    #tabs .tab2 h6 {
        padding: 30px 15px;
    }
}

#tabs .tabLinks a {
    text-decoration: underline;
}

#tabs .tabLinks p {
    margin-bottom: 8px;
}

#tabs iframe,
#tabs .iframe-wrapper-manual-enabling {
    min-width: 100% !important;
    width: 100%;
    display: block;  
    height: 300px;
}

#tabs .w300x250{
    margin: auto;
    margin-top: 30px;
    max-height: 260px !important;
    height: 260px !important;
}

#tabs .weathertab2 > .template-page{
    height: 300px;
}

#tabs .tab1 hr,
#news .tab1 hr {
    margin: 24px 0;
}

.socialTab img {
    margin: 0 5px;
}

@media (min-width: 992px) {
    .socialTab img {
        margin: 0 10px;
    }
}

.tab #insertWidget {
    line-height: 0;
}


#news .tab_link_mehr a,
#news .tab_link_mehr{
    font-size: 0px;
    text-decoration: none;
}

#news .tab_link_mehr a::after{
    content: 'alle Meldungen \00BB';
    font-weight: 500;
    color: #117bac;
    font-size: 1.125rem;
}

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

footer {
    background-color: #0c5c82;
    color: #ffffff;
    font-size: 1rem;
    padding-bottom: 40px;
    padding-top: 10px;
}

body:not(.index) footer{
    padding-top: 40px;
}
footer a {
    color: #ffffff;
}

footer a:hover,
footer a:focus {
    color: #ffffff;
}

footer .tab {
    font-size: 1rem;
}

footer .tabHeadline {
    color: #fff;
    font-size: 1.375rem;
    font-weight: 700;
}

@media (max-width: 767px) {
    #innerfooter {
        margin-bottom: 30px;
    }
}

#innerfooter ul {
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    padding: 0;
}

#innerfooter li {
    border-top: 2px solid rgba(0, 0, 0, 0.1);
}

#innerfooter a {
    display: inline-block;
    font-size: 1rem;
    font-weight: 400;
    padding: 6px 10px 6px 25px;
    position: relative;
    text-decoration: none;
}

#innerfooter a::before {
    -moz-transition: background 300ms linear;
    -ms-transition: background 300ms linear;
    -o-transition: background 300ms linear;
    -webkit-transition: background 300ms linear;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    content: "";
    display: block;
    height: 6px;
    left: 10px;
    position: absolute;
    top: 16px;
    transition: background 300ms linear;
    width: 6px;
}

#innerfooter a:hover::before,
#innerfooter a:focus::before {
    background: #ffffff;
}


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

#vernetzt {
    color: #ffffff;
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.3;
    margin: 30px auto 0 auto;
    text-align: right;
    text-decoration: none;
    flex-direction: column;
    text-decoration: none;
}

@media (max-width: 767px) {
    #vernetzt img {
        margin: auto;
        margin-bottom: 10px;
    }

    #vernetzt{
        text-align: center;
    }
}

@media (min-width: 768px) {
    #vernetzt img {
        margin-left: auto;
        margin-bottom: 10px;
    }
}

#vernetzt span {
    color: #ffffff;
}

#vernetzt span span {
    display: block;
}



/* --------------------------------------------- galerie -------------------------------------------- */

#tab_foto_link .tab_link_mehr{
    display: none;
}

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