@import url("https://fonts.verwaltungsportal.de/import/?family=Kaushan+Script:400,400i");
@import url("https://fonts.verwaltungsportal.de/import/?family=Nanum+Gothic:400,400i,800,800i");

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

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

a {
    color: #2d4b9b;
}

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

b, strong {
    font-weight: 800;
}

@media (min-width: 992px) {
    .row {
        max-width: 1440px;
        width: 100%;
    }
}

#overflow {
    overflow: hidden;
    position: relative;
}

a:focus,
input:focus,
button:focus,
form:focus {
    outline: 3px solid #f5d300 !important;
}

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

#topbar {
    position: relative;
    padding: 15px 0;
}

@media (min-width: 1200px) {
    #topbar {
        padding: 45px 0 31px 0;
        z-index: 102;
    }
}

#topbar::before,
footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: repeating-linear-gradient(-45deg,
            #2d4b9b 10%, #2d4b9b 20%, #f5d300 20%, #f5d300 30%,
            #2d4b9b 30%, #2d4b9b 40%, #f5d300 40%, #f5d300 50%,
            #2d4b9b 50%, #2d4b9b 60%, #f5d300 60%, #f5d300 70%,
            #2d4b9b 70%, #2d4b9b 80%, #f5d300 80%, #f5d300 90%,
            #2d4b9b 90%, #2d4b9b 100%);
}


@media (max-width: 575px) {
    #topbar>.row>*:nth-child(1) {
        order: 1;
    }

    #topbar>.row>*:nth-child(3) {
        order: 2;
    }

    #topbar>.row>*:nth-child(2) {
        order: 3;
    }
}

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

#logo2,
#logo {
    display: inline-block;
}

@media (min-width: 1200px) {

    #logo,
    #logo2 {
        position: absolute;
        top: -55px;
    }
}

#logo2 img,
#logo img {
    display: block;
}

@media (max-width: 991px) {

    #logo2 img,
    #logo img {
        max-width: 260px;
        width: 100%;
    }
}

/* ------------------------------------------- optionsBar ------------------------------------------- */

@media (max-width: 575px) {
    #optionsBar>*+* {
        margin-top: 15px;
    }
}

@media (min-width: 576px) {
    #optionsBar>*+* {
        margin-left: 30px;
    }
}

/* ------------------------------------------- contrast ------------------------------------------- */

#contrast_style button {
    color: #444444;
    padding: 0;
    border: 1px solid #444444;
    display: inline-block;
    width: 30px;
    height: 30px;
    font-weight: 400;
    text-align: center;
    background: #ffffff;
    position: relative;
    z-index: 1;
    font-size: 0;
    transition: all 300ms linear;
    background-color: #fff !important;
}

#contrast_style button:hover,
#contrast_style button:focus {
    border-color: #f5d300;
}

#contrast_style *+* {
    margin-left: 10px;
}

#contrast_style button::after {
    content: "";
    display: block;
    position: absolute;
    top: 7px;
    right: 7px;
    left: 7px;
    bottom: 7px;
    border: 1px solid #444444;
}

#contrast_style button:nth-of-type(1)::after {
    background: linear-gradient(to right, #444444, #444444 50%, #ffffff 50%);
}

#contrast_style button:nth-of-type(2)::after {
    background: linear-gradient(to right, #fff, #ffffff 50%, #444444 50%);
}

#contrast_style button:nth-of-type(3)::after {
    background: #ea5b0c;
    border: none;
}

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

@media (min-width: 992px) {
    #style {
        display: flex;
        align-items: center;
        align-content: center;
    }

    #style button {
        font-size: 16px;
        border: none;
        color: #444444;
        display: inline-block;
        width: 30px;
        height: 30px;
        font-weight: 400;
        text-align: center;
        background: #ffffff;
        border: 1px solid #444444;
        position: relative;
        line-height: 1;
        padding: 0;
        transition: all 300ms linear;
    }

    #style button+button {
        margin-left: 8px;
    }

    #style button:hover {
        color: #2d4b9b;
        border-color: #f5d300;
    }

    .is-sticky #style {
        margin: 20px 0px;
    }
}

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

#search {
    height: 30px;
    background: #ffffff;
    display: inline-block;
    position: relative;
    border: 1px solid #444444;
    transition: all 300ms linear;
}

#search:hover {
    border-color: #f5d300;
}

#search_input {
    color: #444444;
    font-size: 16px;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 30px;
    padding-left: 10px;
    padding-right: 40px;
    height: 30px;
    width: 100%;
    display: block;
}

#search_submit {
    width: 30px;
    background: #ffffff url('../img/lupe-icon.png') center no-repeat;
    padding: 0;
    cursor: pointer;
    line-height: 30px;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    font-size: 0;
    border-left: 1px solid #444444;
    transition: all 300ms linear;
}

#search:hover #search_submit {
    border-color: #f5d300;
}

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

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

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

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

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

/* 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: #f5d300;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 10px;
        -webkit-transition: transform 200ms linear, opacity 200ms linear;
        -moz-transition: transform 200ms linear, opacity 200ms linear;
        -ms-transition: transform 200ms linear, opacity 200ms linear;
        -o-transition: transform 200ms linear, opacity 200ms linear;
        transition: transform 200ms linear, opacity 200ms linear;
    }

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

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

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

    #burgerButtonInner {
        top: 16px;
    }

    #burgerButtonInner2 {
        top: 24px;
    }

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

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

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

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

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

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

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

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

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

/* menu desktop */

@media (min-width: 992px) {
    .horizontally {
        background: #ffffff;
        padding: 13px 0;
        border-top: 1px solid #444444;
        transition: box-shadow 300ms linear;
    }

    .is-sticky .horizontally {
        box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.2);
    }


    nav.horizontally .navbar-nav {
        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 .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
    }

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

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

    .navbar-default .navbar-nav li[class*="toplevel"]>ul,
    .navbar-default .navbar-nav li[class*="secondlevel"]>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 .open>.dropdown-menu,
    .navbar-default .navbar-nav li[class*="toplevel"]:hover>ul,
    .navbar-default .navbar-nav li[class*="secondlevel"]:hover>ul,
    .navbar-default .navbar-nav li[class*="secondlevel"]>ul[style*="block"] {
        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 .nav .open>.dropdown-menu {
        pointer-events: none !important;
        opacity: 0 !important;
    }
}

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

.navbar-default .navbar-nav>li>a {
    color: #444444;
    font-weight: 400;
    text-align: left;
    padding: 10px 15px;
    position: relative;
    font-size: 1.5625rem;
    line-height: 1.2;
    text-decoration: none;
    font-family: "Kaushan Script", sans-serif;
}

.navbar-default .navbar-nav>li>a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #f5d300;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}

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

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

@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: #2d4b9b;
    background-color: transparent;
}

.navbar-nav>li:focus-within>a {
    color: #2d4b9b;
    background-color: transparent;
}

.navbar-nav>li:hover>a::after,
.navbar-nav>li>a:hover::after,
.navbar-nav>li>a:focus::after,
.navbar-nav>li.open>a::after,
.navbar-nav>li.open>a:hover::after,
.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 {
    width: 100%;
}

.navbar-nav>li:focus-within>a::after {
    width: 100%;
}

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

.navbar-default .navbar-nav>li>.dropdown-menu,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    padding: 10px 0;
    background-color: #ffffff;
    -webkit-box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.2);
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>.dropdown-menu {
        margin-top: 20px;
        padding: 25px 15px;
    }

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

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

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

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    background-color: transparent;
    color: #444444;
    font-weight: 400;
    text-align: left;
    padding: 8px 30px;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
    border: 1px solid transparent;
}

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

/* ------------------------------------------ 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: #2d4b9b;
    border-color: #f5d300;
}

.navbar-nav>li>.dropdown-menu>li:focus-within>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li:focus-within>a {
    color: #2d4b9b;
    border-color: #f5d300;
}

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

#slider {
    overflow: hidden;
    max-height: 300px;
    margin: 0 auto;
    position: relative;
    width: 100%;
}

#headerpic {
    position: relative;
}

.nivo-directionNav a {
    top: 15% !important;
}

@media (min-width: 992px) {
    #slider {
        max-height: 500px;
    }

    body.index #slider {
        max-height: 715px;
    }

    #headerpic a.nivo-prevNav {
        left: 65px;
    }

    #headerpic a.nivo-nextNav {
        right: 65px;
    }

    .index .theme-nivo .nivo-controlNav,
    .index .theme-default .nivo-controlNav {
        bottom: 120px !important;
    }
}

@media (min-width: 1200px) {
    .index .theme-nivo .nivo-controlNav,
    .index .theme-default .nivo-controlNav{
        bottom: 340px !important;
    }
}

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

.index .slider-mask {
    display: block;
    background: linear-gradient(to top, rgba(45, 75, 155, 0.8), rgba(45, 75, 155, 0.0));
}

/* --------------------------------------------- bannerOverlay -------------------------------------------- */

#bannerOverlay .tabHeadline {
    font-size: clamp(1.3125rem, 2vw, 1.5625rem);
    line-height: 1.2;
    margin-bottom: 35px;
    position: relative;
    color: #444444;
}

#bannerOverlay .tabHeadline::after {
    content: "";
    position: absolute;
    pointer-events: none;
    bottom: -15px;
    left: 0;
    right: 0;
    margin: auto;
    height: 1px;
    max-width: 420px;
    width: 100%;
    background: #444444;
}

#bannerOverlay .tab {
    padding: 40px 34px;
    font-size: 1.25rem;
    background: rgba(255, 255, 255, 0.85);
    display: inline-block;
    position: relative;
    color: #444444;
    font-size: 1rem;
}

#bannerOverlay .tab::before {
    content: "";
    pointer-events: none;
    position: absolute;
    top: 15px;
    right: 15px;
    bottom: 15px;
    left: 15px;
    border: 1px solid #444444;
    transition: all 300ms linear;
}

#bannerOverlay .tab:hover::before,
#bannerOverlay .tab:focus::before {
    border: 1px solid #2d4b9b;
}

#bannerOverlay .tab b,
#bannerOverlay .tab strong {
    color: #444444;
}

@media (min-width: 992px) {
    #bannerOverlay {
        position: absolute;
        width: 100%;
        z-index: 20;
        bottom: 50%;
    }
}

@media (min-width: 1200px) {
    #bannerOverlay {
        bottom: 60%;
    }
}

@media (max-width: 767px) {
    #bannerOverlay {
        padding: 30px 0;
        background: linear-gradient(to top, rgba(45, 75, 155, 0.8), rgba(45, 75, 155, 0.0));
    }
}

/* ------------------------------------------------ 2tab ----------------------------------------------- */

#tab2 {
    padding: 0 0 20px 0;
}

#tab2 .tab.wb_no_bg{
    background-color: #fff !important;
}

@media (min-width: 1200px) {
    #tab2>.row {
        position: relative;
        z-index: 12;
        margin-top: -320px;
    }
}

#tab2 .tab {
    -webkit-box-shadow: 0px 12px 16px 5px rgba(0, 0, 0, 0.20);
    box-shadow: 0px 12px 16px 5px rgba(0, 0, 0, 0.20);
    color: #444444;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.4;
    min-height: 100%;
    padding: 40px 34px;
    text-align: center;
    position: relative;
    background: #ffffff;
}

@media (min-width: 1200px) {
    #tab2 .tab {
        padding: 80px 34px;
    }
}

@media (max-width: 991px) {
    #tab2>.row>div:last-child {
        margin-top: 30px;
    }

    #tab2 {
        padding: 30px 0;
    }
}

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

    }
}

#tab2 .tabHeadline {
    font-size: clamp(1.3rem, 2vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 0;
}

#tab2 .tab a:not(.has-image):not([rel]) {
    background: #ffffff;
    color: #444444;
    border: 1px solid #444444;
    display: inline-block;
    font-size: 1.125rem;
    margin-top: 20px;
    padding: 5px 20px;
    text-decoration: none;
    transition: all, 300ms;
}

#tab2 .tab:focus a:not(.has-image):not([rel]),
#tab2 .tab:hover a:not(.has-image):not([rel]) {
    color: #444444;
    border-color: #444444;
}

#tab2 .tab a:not(.has-image):not([rel]):focus,
#tab2 .tab a:not(.has-image):not([rel]):hover {
    color: #2d4b9b;
    border-color: #f5d300;
}

#tab2 .tab::before {
    content: "";
    pointer-events: none;
    position: absolute;
    top: 15px;
    right: 15px;
    bottom: 15px;
    left: 15px;
    border: 1px solid #444444;
    transition: all 300ms linear;
}

#tab2 .tab:hover::before,
#tab2 .tab:focus::before {
    border: 1px solid #2d4b9b;
}

/* ----------------------------------------------- links ----------------------------------------------- */

#links {
    padding-top: 20px;
    padding-bottom: 30px;
    -webkit-box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.05);
    box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.05);
}

.linkHeadline {
    font-size: 1rem;
}

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

.linkHeadline .tabHeadline {
    margin-bottom: 0;
    font-size: clamp(1.3rem, 2vw, 2.1875rem);
}

#linksButtons a {
    font-size: 1.125rem;
    font-weight: 400;
    color: #444444;
    padding: 4px 16px;
    background: #ffffff;
    display: inline-block;
    border: 1px solid #444444;
    transition: all 300ms linear;
}

#linksButtons a:hover,
#linksButtons a:focus {
    color: #2d4b9b;
    text-decoration: none;
    border-color: #f5d300;
}

@media (max-width: 991px) {
    #linksButtons a+a {
        margin-top: 20px;
    }
}

@media (min-width: 992px) {
    #linksButtons a+a {
        margin-left: 5px;
    }

    #links a {
        margin: 5px;
    }
}

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

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

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

@media (min-width: 1200px) {
    #contentBox {
        background: url('../img/kringel-content.png') bottom 280px left no-repeat,
            url('../img/freisteller-logo-esens-content.png') top 50px right no-repeat;
    }
}

/* ------------------------------------------------ tab3 @2tab ----------------------------------------------- */

#tab3 {
    padding: 40px 0 85px 0;
}

@media (min-width: 1200px) {
    #tab3 {
        padding: 50px 0 0 0;
    }

    #tab3>.row {
        margin-bottom: -150px;
        position: relative;
        z-index: 2;
    }
}

#tab3 .tab {
    -webkit-box-shadow: 0px 12px 16px 5px rgba(0, 0, 0, 0.20);
    box-shadow: 0px 12px 16px 5px rgba(0, 0, 0, 0.20);
    background-color: #ffffff;
    color: #444444;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.4;
    min-height: 100%;
    padding: 40px 34px;
    position: relative;
}

@media (max-width: 991px) {
    #tab3>.row>div:last-child {
        margin-top: 30px;
    }

    #tab3 {
        padding: 30px 0;
    }
}

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

#tab3 .tabHeadline {
    font-size: clamp(1.3rem, 2vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 20px;
    text-align: center;
}

#tab3 .tab .tab_link_title a {
    color: #444444;
    font-weight: 800;
}

#tab3 .tab .tab_link_mandat a {
    color: #444444;
}

#tab3 .tab .tab_link_mehr {
    font-size: 0;
    text-align: center !important;
}

#tab3 .tab .tab_link_mehr a {
    background: #ffffff;
    color: #444444;
    border: 1px solid #444444;
    display: inline-block;
    font-size: 1.125rem;
    margin-top: 20px;
    padding: 5px 20px;
    text-decoration: none;
    transition: all, 300ms;
}

#tab3 .tab:hover .tab_link_mehr a,
#tab3 .tab:focus .tab_link_mehr a {
    color: #444444;
    border-color: #444444;
}

#tab3 .tab .tab_link_mehr a:focus,
#tab3 .tab .tab_link_mehr a:hover {
    color: #2d4b9b;
    border-color: #f5d300;
}

#tab3 .tab::before {
    content: "";
    pointer-events: none;
    position: absolute;
    top: 15px;
    right: 15px;
    bottom: 15px;
    left: 15px;
    border: 1px solid #444444;
    transition: all 300ms linear;
}

#tab3 .tab:hover::before,
#tab3 .tab:focus::before {
    border: 1px solid #2d4b9b;
}

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

.h4link a:link, .h4link a:hover, .h4link a:focus, .h4link a:visited, H6, H5, H4, H3, H2, H1 {
    color: #2d4b9b;
    font-weight: 400;
    line-height: 1.2;
    font-family: "Kaushan Script", sans-serif;
}

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

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

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 #2d4b9b;
}

/* ------------------------------------------------ breaker ----------------------------------------------- */

#breaker {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    min-height: 300px;
    z-index: 1;
    position: relative;
}

.index #breaker {
    min-height: 500px;
}

@media (max-width: 991px) {
    .index #breaker {
        min-height: 300px;
    }
}

.contrast_dark_font #breaker,
.contrast_light_font #breaker {
    z-index: -1 !important;
}

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

footer {
    position: relative;
}

footer::before {
    top: auto;
    bottom: 0;
}

@media (min-width: 1200px) {
    footer {
        background: url('../img/kringel-footer.png') top right no-repeat,
            url('../img/freisteller-logo-esens-footer.png') bottom left no-repeat;
    }

    .index footer {
        background: url('../img/kringel-footer.png') top 170px right no-repeat,
            url('../img/freisteller-logo-esens-footer.png') bottom left no-repeat;
    }
}

/* ------------------------------------------------ footerBox nach @2tab ----------------------------------------------- */

#footerBox {
    padding: 0px 0 20px 0;
}

#footerBox>.row {
    margin-top: -170px;
    z-index: 2;
    position: relative;
}

#footerBox .tab {
    -webkit-box-shadow: 0px 12px 16px 5px rgba(0, 0, 0, 0.20);
    box-shadow: 0px 12px 16px 5px rgba(0, 0, 0, 0.20);
    background-color: #ffffff;
    color: #444444;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.4;
    min-height: 100%;
    padding: 35px 45px;
    position: relative;
}

@media (max-width: 991px) {
    #footerBox {
        padding: 30px 0;
    }
}

#footerBox .tabHeadline {
    font-size: clamp(1.3rem, 2vw, 2.5rem);
    line-height: 1.2;
    text-align: center;
    margin-bottom: 20px;
}

#footerBox .tab::before {
    content: "";
    pointer-events: none;
    position: absolute;
    top: 15px;
    right: 15px;
    bottom: 15px;
    left: 15px;
    border: 1px solid #444444;
    transition: all 300ms linear;
}

#footerBox .tab:hover::before,
#footerBox .tab:focus::before {
    border: 1px solid #2d4b9b;
}

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

#footer {
    color: #444444;
}

#footer {
    padding-top: 20px;
    padding-bottom: 35px;
}

@media (min-width: 992px) {
    footer .btgrid>.row {
        align-items: center;
        align-content: center;
    }
}

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

/* ----------------------------------------------- contact ----------------------------------------------- */

.contact a {
    color: #2d4b9b;
}

.contact h1, .contact .h1, .contact .legacy_h1,
.contact h2, .contact .h2, .contact .legacy_h2,
.contact h3, .contact .h3, .contact .legacy_h3,
.contact h4, .contact .h4, .contact .legacy_h4,
.contact h5, .contact .h5, .contact .legacy_h5,
.contact h6, .contact .h6, .contact .legacy_h6 {
    font-size: 2.5rem;
}

@media(min-width: 992px) {
    .contact {
        margin-top: 20px;
    }
}

@media (min-width: 1200px) {
    .contact .btgrid>.row {
        align-items: center;
        align-content: center;
    }

    .contact .btgrid>.row>div:nth-child(1) {
        flex: 0 0 20%;
        max-width: 20%;
        min-width: 20%;
    }

    .contact .btgrid>.row>div:nth-child(2) {
        flex: 0 0 25%;
        max-width: 25%;
        min-width: 25%;
    }

    .contact .btgrid>.row>div:nth-child(3) {
        flex: 0 0 50%;
        max-width: 50%;
        min-width: 50%;
    }
}

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

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

#vernetzt b {
    color: #2d4b9b;
}

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

#vernetzt span {
    color: #444444;
}

#vernetzt span span {
    display: block;
}

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

/* ----------------------------------------------- footerMenu ----------------------------------------------- */

#footerMenu {
    padding-bottom: 30px;
}

#innerfooter {
    border-top: 1px solid #dadada;
    padding-top: 25px;
}

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: inline-block;
}

#innerfooter a {
    color: #444444;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
    position: relative;
}

#innerfooter a::before {
    content: '';
    position: absolute;
    pointer-events: none;
    bottom: -3px;
    left: 0;
    height: 1px;
    width: 0;
    background: #f5d300;
    transition: all 150ms linear;
}

#innerfooter a:hover::before,
#innerfooter a:focus::before {
    width: 100%;
}

#innerfooter a:hover,
#innerfooter a:focus {
    color: #2d4b9b;
}

#innerfooter li+li::before {
    content: '';
    margin: 0 15px;
}

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

@media (min-width: 1200px) {
    #innerfooter li+li::before {
        margin: 0 35px;
    }
}