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

body {
    font-family: "Open Sans", sans-serif;
    color: #2b2b2b;
    background: #ffffff;
    font-size: 0.9375rem;
    /* 1rem = 16px */
    line-height: 1.5;
}

a {
    color: #c31b1e;
}

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

b, strong {
    font-weight: 600;
}

a:focus {
    outline: 3px solid #c31b1e !important;
}

button:focus {
    outline: 3px solid #ffffff !important;
}

form:focus {
    outline: 3px solid #c31b1e !important;
}

input:focus {
    outline: 3px solid #c31b1e !important;
}

#logo:focus,
footer a:focus {
    outline: 3px solid #ffffff !important;
}

@media (min-width: 1200px) {
    .row, .compact, ._op-container .container {
        max-width: 1600px;
        width: 100%;
    }
}

.overflowBox {
    overflow: hidden;
}

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

#topbar {
    background-color: #1076d5;
    padding: 6px 0;
}

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

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

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

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

#search {
    height: 30px;
    background: #ffffff;
    display: inline-block;
    position: relative;
    width: 100%;
}

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

#search_input {
    color: #666666;
    font-size: 15px;
    font-style: normal;
    font-weight: 300;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 30px;
    padding-left: 10px;
    padding-right: 43px;
    height: 30px;
    width: 100%;
}

#search_submit {
    width: 30px;
    background: #c31b1e url('../img/icon-suche.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: 1px solid #ffffff;
    -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 {
    background-color: #2b2b2b;
}

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

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

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

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

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

#style {
    margin-bottom: 25px;
}

#style span {
    color: #ffffff;
}

.stylerBox {
    display: flex;
    margin-top: 4px;
}

#style button {
    width: 30px;
    height: 30px;
    font-size: 18px;
    background: rgb(11, 98, 181);
    background: linear-gradient(0deg, rgba(11, 98, 181, 1) 0%, rgba(195, 27, 30, 1) 50%);
    padding: 0;
    border: none;
    color: #ffffff;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    position: relative;
    line-height: 1;
    -webkit-transition: all 150ms linear;
    -moz-transition: all 150ms linear;
    -ms-transition: all 150ms linear;
    -o-transition: all 150ms linear;
    transition: all 150ms linear;
}

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

#style button:hover {
    background: #2b2b2b;
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    #burgerButton {
        font-size: 0;
        border: none !important;
        position: relative;
        z-index: 1002;
        display: block;
        width: 46px;
        height: 40px;
        border-radius: 2px;
        cursor: pointer;
        background-color: #ffffff;
        padding: 3px;
    }

    #burgerButton:before, #burgerButton:after, #burgerButtonInner {
        background-color: #c31b1e;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 2px;
        -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"]:before {
        opacity: 0;
    }

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

    #burgerButtonInner {
        top: 10px;
    }

    #burgerButton:before {
        top: 18px;
    }

    #burgerButton:after {
        top: 26px;
    }

    #burgerButton:before, #burgerButton:after {
        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.collapse.in {
        left: 0;
        opacity: 1;
        pointer-events: auto;
    }

    .navbar-header {
        height: 50px;
        width: 60px;
        border-radius: 2px;
        padding: 6px 8px;
        background-color: #ffffff;
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 101;
        -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);
    }

    .navbar-collapse.in:after {
        content: "";
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: -1;
        display: block;
        width: 90px;
        background-color: rgba(0, 0, 0, 0.5);
    }
}

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

    .navbar-collapse.collapse.in:after {
        width: 40%;
    }
}

/* menu desktop */

@media (min-width: 992px) {
    #menu {
        background: #ffffff;
        position: relative;
    }

    .is-sticky #menu {
        box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
        -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
        -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
    }

    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 li[class*="toplevel"]>ul {
        position: absolute;
        top: 100%;
        left: 165px;
        right: 0;
        z-index: 1000;
        margin: 0;
        padding: 10px 55px;
        padding-top: 20px;
        padding-bottom: 20px;
        max-height: 60vh;
        overflow: visible;
        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;
        background: rgba(255, 255, 255, 0.9);
        -webkit-box-shadow: 0 8px 8px 0 rgba(84, 73, 73, 0.1);
        box-shadow: 0 8px 8px 0 rgba(84, 73, 73, 0.1);
    }

    nav.horizontally li[class*="toplevel"]>ul:not(.mCustomScrollbar),
    nav.horizontally li[class*="toplevel"]>ul .mCSB_container {
        -webkit-column-count: 4;
        -moz-column-count: 4;
        column-count: 4;
        -webkit-column-gap: 30px;
        -moz-column-gap: 30px;
        column-gap: 30px;
        max-width: 992px;
        margin-left: auto;
        margin-right: auto;
        padding: 0 15px;
        height: auto;
    }

    nav.horizontally li[class*="secondlevel"] {
        float: none;
        -webkit-column-break-inside: avoid;
        page-break-inside: avoid;
        break-inside: avoid;
        display: table !important;
    }

    .navbar-default .navbar-nav li[class*="toplevel"]:hover>ul {
        pointer-events: auto !important;
        opacity: 1 !important;
        top: 100%;
        z-index: 1003;
    }

    .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;
    }

    #mCSB_1_scrollbar_vertical {
        left: 50%;
        margin-left: calc(962px/2);
    }

    nav.horizontally .dropdown-menu {
        display: block !important;
    }
}

@media (min-width: 1200px) {

    nav.horizontally li[class*="toplevel"]>ul:not(.mCustomScrollbar),
    nav.horizontally li[class*="toplevel"]>ul .mCSB_container {
        max-width: 1200px;
        padding-top: 25px;
        padding-bottom: 45px;
    }

    #mCSB_1_scrollbar_vertical {
        margin-left: calc(1170px/2);
    }
}

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

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

.navbar-default li[class*="toplevel"]>a {
    color: #1076d5;
    font-weight: 400;
    text-align: left;
    padding: 10px 15px 15px 15px;
    position: relative;
    font-size: 1.0625rem;
    line-height: 1.2;
    text-decoration: none;
}

.navbar-default li[class*="toplevel"]:first-child>a {
    font-size: 0;
    background: url('../img/icon-home.png') center no-repeat;
    padding: 15px;
}

@media (max-width: 991px) {
    .navbar-default li[class*="toplevel"] {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-default li[class*="toplevel"]>a {
        overflow-wrap: break-word;
        word-wrap: break-word;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        -moz-hyphens: auto;
        hyphens: auto;
    }

    nav.horizontally li[class*="toplevel"]>a.dropdown-toggle {
        padding-right: 35px;
    }
}

@media (min-width: 992px) {
    .navbar-default li[class*="toplevel"]>a {
        padding: 20px 2px;
    }
}

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

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

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

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

@media (min-width: 992px) {
    .navbar-default li[class*="toplevel"]>.dropdown-menu>li>.dropdown-menu {
        display: block;
    }
}

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

.navbar-default li[class*="secondlevel"]>a, .navbar-default li[class*="thirdlevel"]>a {
    color: #444444;
    text-align: left;
    padding: 8px 35px 8px 15px;
    font-size: 0.9375rem;
    line-height: 1.2;
    text-decoration: none;
}

.navbar-default li[class*="secondlevel"]>a {
    font-weight: 700;
    text-transform: uppercase;
}

.navbar-default li[class*="thirdlevel"]>a {
    font-weight: 400;
}

@media (min-width: 992px) {
    .navbar-default li[class*="secondlevel"]>a {
        padding: 20px 0 2px;
    }

    .navbar-default li[class*="thirdlevel"]>a {
        padding: 5px 0 5px 10px;
    }
}

@media (max-width: 991px) {
    .navbar-default li[class*="secondlevel"]>a, .navbar-default li[class*="thirdlevel"]>a {
        overflow-wrap: break-word;
        word-wrap: break-word;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        -moz-hyphens: auto;
        hyphens: auto;
    }
}

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

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

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

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

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

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

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

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

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

.slider-mask {
    display: none;
}

@media (min-width: 1200px) {
    .slider-mask {
        display: block;
        background: url('../img/bannermaske-oben.png') top center no-repeat, url('../img/bannermaske-unten.png') bottom center no-repeat;
    }
}

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

@media (min-width: 1200px) {
    #bannerOverlay {
        position: absolute;
        pointer-events: none;
        right: 0;
        bottom: 65px;
        left: 0;
        z-index: 12;
    }

    #bannerTab {
        pointer-events: all;
    }
}

#bannerTab2 .tabHeadline,
#bannerTab .tabHeadline {
    background-color: #1076d5 !important;
    color: #ffffff !important;
    margin: 0 !important;
    padding: 22px 20px !important;
    font-weight: 400 !important;
    font-size: 1.5rem !important;
}

#bannerTab2 .tab,
#bannerTab .tab {
    background-color: #ffffff !important;
}

#bannerTab2 .tabContent,
#bannerTab .tabContent {
    padding: 25px !important;
}

@media (max-width: 991px) {
    #bannerOverlay {
        padding-top: 15px;
    }

    #bannerTab2 .tab,
    #bannerTab .tab {
        box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15) !important;
        -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15) !important;
        -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15) !important;
        border: none !important;
    }
}

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

main {
    text-align: left;
}

.mainBox {
    padding-bottom: 30px;
    padding-top: 30px;
}

@media (min-width: 992px) {
    .mainBox {
        padding-bottom: 60px;
        padding-top: 60px;
    }
}

@media (max-width: 991px) {
    .mainBox {
        display: grid;
    }

    #content {
        order: 1;
    }

    #left {
        order: 2;
    }

    #right {
        order: 3;
    }
}

/* ------------------------------------------------ right + left ----------------------------------------------- */

#left>*+*,
#right>*+* {
    margin-top: 50px;
}

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

    #right {
        padding-left: 55px;
    }
}

@media (max-width: 991px) {

    #left,
    #right {
        margin-top: 50px;
    }
}

.tabButton a,
#left .tabHeadline,
#right .tabHeadline {
    background: rgb(11, 98, 181);
    background: linear-gradient(0deg, rgba(11, 98, 181, 1) 0%, rgba(16, 118, 213, 1) 100%);
    color: #ffffff;
    margin: 0;
    font-weight: 400;
    font-size: 1.5rem;
    padding: 16px 28px;
}

.tabButton a {
    width: 100%;
    text-decoration: none;
    display: inline-block;
    position: relative;
    padding: 42px 30px 42px 85px;
}

.tabButton a::before {
    content: '';
    position: absolute;
    pointer-events: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: url('../img/icon-digitales-rathaus.png') left 35px center no-repeat;
}

.tabButton a::after {
    content: ' \00BB';
}

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

#left .tab,
#right .tab {
    border-left: 5px solid #0b62b5;
    box-shadow: 5px 5px 15px 0px rgba(0, 0, 0, 0.15);
    -webkit-box-shadow: 5px 5px 15px 0px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 5px 5px 15px 0px rgba(0, 0, 0, 0.15);
    background-color: #ffffff;
}

#left .tabContent,
#right .tabContent {
    padding: 25px;
}

.tab_link_title a {
    color: #2b2b2b;
    font-weight: 700;
}

.tab_link_mandat a {
    color: #2b2b2b;
}

/* ------------------------------------------------ counterbar ----------------------------------------------- */

#counter {
    color: #1076d5;
    font-weight: 700;
    font-size: 0.9375rem;
    padding: 15px 0;
}

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

.h4link a:link, .h4link a:hover, .h4link a:focus, .h4link a:visited, H6, H5, H4, H3, H2, H1 {
    color: #1076d5;
    font-weight: 700;
    line-height: 1.2;
    font-family: "Open Sans", sans-serif;
}

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

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

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

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

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 #1076d5;
}

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

footer {
    margin-bottom: 25px;
    background-color: #c31b1e;
    color: #ffffff;
}

footer .lineHeight0 p {
    background-color: #ffffff;
    margin-bottom: -1px;
}

@media (max-width: 767px) {
    footer {
        padding: 15px 0;
    }
}

@media (max-width: 767px) {
    footer .row>.col-xs-12:not(:first-child)::before {
        background: #ffffff;
        content: " ";
        height: 1px;
        width: 100%;
        display: block;
        margin: 25px 0;
        opacity: 0.2;
    }

    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: #ffffff;
    text-decoration: none;
    display: inline-block;
    font-weight: 400;
    font-size: 0.9375rem;
}

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

#innerfooter li+li::before {
    content: "|";
    margin: 0 15px;
    color: #ffffff;
}

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

@media (max-width: 767px) {
    #innerfooter li {
        display: block;
        text-align: center;
        padding: 5px;
        margin: 0;
    }

    #innerfooter li+li::before {
        display: none;
    }
}