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

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

a {
    color: #0B72B0;
}

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

b, strong {
    font-weight: 700;
}

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

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

#logo {
    display: inline-block;
    margin: 15px 0;
}

#logo img {
    display: block;
}

#topbar {
    background-color: rgba(255,255,255,0.9);
}

@media (min-width: 992px) {
    #topbar {
        position: absolute;
        width: 100%;
        z-index: 20;
        top: 0;
    }
}

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


/* ------------------------------------------------- contrast ------------------------------------------------ */
.options {
    display: inline-block;
}
#contrast_style {
    display: inline-block;
    margin-left: 25px;
    position: relative;
    top: 0px;
}

@media (max-width: 326px) {
    #contrast_style {
        margin-left: 0px;
    }
}

#contrast_style span {
    font-weight: 600;
    font-style: italic;
    color: #666666;
    font-size: 16px;
    display: block;
    margin-bottom: -5px;
    text-align: left;
}

#contrast_style button+button {
    margin-left: 4px;
}

#contrast_style button {
    color: #d41c25;
    padding: 0;
    font-family: "Khand", sans-serif;
    display: inline-block;
    width: 30px;
    height: 30px;
    font-weight: 400;
    text-align: center;
    background: transparent;
    position: relative;
    z-index: 1;
    font-size: 0;
    border: none;
}

#contrast_style button::after {
    content: "";
    display: block;
    position: absolute;
    top: 0px;
    right: 0px;
    left: 0px;
    bottom: 0px;
    border: 4px solid #d41c25;
}

#contrast_style button:nth-of-type(1)::after {
    background: linear-gradient(45deg, rgba(212,28,37,1) 0%,rgba(212,28,37,1) 50%,rgba(255,255,255,1) 51%,rgba(255,255,255,1) 100%);
}

#contrast_style button:nth-of-type(2)::after {
    background: linear-gradient(45deg, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 49%,rgba(212,28,37,1) 50%,rgba(212,28,37,1) 100%);
}

#contrast_style button:nth-of-type(3)::after {
    background: #d41c25;
    border: none;
}
/* ------------------------------------------------- styler ------------------------------------------------ */
#style {
    display: inline-block;
}

#style span {
    font-weight: 600;
    font-style: italic;
    color: #666666;
    font-size: 16px;
    display: block;
    margin-bottom: 2px;
    text-align: left;
}

#style button {
    border: none;
    color: #fff;
    display: inline-block;
    width: 30px;
    height: 30px;
    font-weight: 400;
    font-size: 18px;
    text-align: center;
    background-color: #d41c25;
    position: relative;
    line-height: 1;
    -webkit-transition: all 200ms;
    -moz-transition: all 200ms;
    -ms-transition: all 200ms;
    -o-transition: all 200ms;
    transition: all 200ms;
    padding: 0;
}

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

#style button:hover {
    background-color: #0b72b0;
    color: #fff;
}

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

nav {
    background-color: rgba(255,255,255,0.9);
}

/* 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: #000;
        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) {

    nav {
        position: absolute;
        width: 100%;
        bottom: 0;
        z-index: 20;
    }

    .navbar, .navbar>div#myNavbar, .navbar>div#myNavbar>ul, .navbar>div#myNavbar>ul>li {
        height: 100% !important;
    }
    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 .navbar-nav>li {
        flex-grow: 1;
    }
    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 > ul,
    .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
        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;
    }
    .open > .dropdown-menu,
    .navbar-default .navbar-nav > li:hover > ul,
    .navbar-default .navbar-nav > li > .dropdown-menu > li:hover > .dropdown-menu,
    .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu[style*="block"] {
        pointer-events: auto !important;
        opacity: 1 !important;
    }
    .nav .open > .dropdown-menu {
        pointer-events: none !important;
        opacity: 0 !important;
    }
}

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

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

@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: 20px 10px;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 100%;
    }
}

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

/* -------------------------------------- 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;
    border-radius: 0px;
    -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);
    border-bottom: 5px solid #e01731;
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>.dropdown-menu {
        left: 50%;
        margin-top: 10px;
        -moz-transform: translate(-50%, 0);
        -webkit-transform: translate(-50%, 0);
        -o-transform: translate(-50%, 0);
        -ms-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
    }
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        margin: 10px 0 0 10px;
    }
    .navbar-default .navbar-nav > li > .dropdown-menu::before {
        content: "";
        position: absolute;
        display: block;
        height: 10px;
        left: 0;
        right: 0;
        top: -10px;
    }
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu::before {
        content: "";
        position: absolute;
        display: block;
        width: 10px;
        top: 0;
        bottom: 0;
        left: -10px;
    }
}

/* --------------------------------------------- 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: #3c3c3c;
    font-weight: 400;
    text-align: left;
    padding: 8px 30px;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li+li+li, 
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li+li+li {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

@media(max-width:991px) {
    .navbar-default .navbar-nav>li>.dropdown-menu>li>a, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
        text-align: left;
    }
    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: #D41C25;
    background-color: transparent;
}


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

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

#headerpic {
    position: relative;
}

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

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

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

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

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

.slider-mask {
    display: none;
}

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

.tab {
  background-color: #ffffff;
  margin-bottom: 30px;
font-size: 1.125rem;
-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);
box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.15);
}

.rot {
    border-top: 5px solid #D41C25;
}

.rot .tab_link_mehr {
    font-size: 0;
}

.rot .tab_link_title {
    font-weight: 600;
}

.rot .tab_link_title a {
color: #3c3c3c;
}

.rot .tab_link_mehr a {
    font-size: 1rem;
    color: #ffffff;
    background-color: #D41C25;
    padding: 5px 9px;
}

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

.rot .tabHeadline {
    font-size: 1.375rem;
    margin: 0 0 10px 0;
    color: #e22028;
    font-weight: bold;
    padding: 15px 15px;
}

.tab_link_mandat a {
    color: #3c3c3c;
}

.blau .tabHeadline {
    font-size: 1.375rem;
    margin: 0 0 10px 0;
    color: #fff;
    font-weight: bold;
    padding: 10px 15px 10px 50px;
    background: url(../img/icon.png) center left 15px no-repeat #0b72b0;
}

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

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

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

@media (min-width: 992px) {
    main {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

/* ------------------------------------------ h1, #content .legacy_h1, .legacy_h1 - h6, #content .legacy_h6, .legacy_h6, newslink ----------------------------------------- */

.h4link a:link, .h4link a:hover, .h4link a:focus, .h4link a:visited, h6, #content .legacy_h6, .legacy_h6, h5, #content .legacy_h5, .legacy_h5, h4, #content .legacy_h4, .legacy_h4, h3, #content .legacy_h3, .legacy_h3, h2, #content .legacy_h2, .legacy_h2, h1, #content .legacy_h1, .legacy_h1 {
    color: #D41C25;
    font-weight: 600;
    line-height: 1.2;
    font-family: "Source Sans Pro", sans-serif;
}

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



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


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



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



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



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

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

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


footer {
    background: #f7f7f7;
    color: #3c3c3c;
    font-weight: 400;
    font-size: 1rem;
}

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

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

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: inline-block;
}

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

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

#innerfooter li+li::before {
    content: '•';
    margin: 0 15px;
    color: #56636e;
}

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

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

#vernetzt {
    text-align: right;
    font-size: 0.875rem;
    color: #3c3c3c;
    line-height: 1.4;
    margin: 0 auto;
    text-decoration: none;
}

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

#vernetzt span {
    color: #3c3c3c;
    display: block;
}

#vernetzt span span {
    display: block;
}


.contrast_dark #logo img,
.contrast_dark .options img {
    background-color: #fff !important;
}