@import url('https://fonts.verwaltungsportal.de/import/?family=Roboto:300,400,500,300i,400i,500i');
body {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    color: #444444;
    background: #ffffff;
    font-size: 1rem;  /* 1rem = 16px */
    line-height: 1.5;
}

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

a {
    color: #78613f;
}

a:hover {
    color: #78613f;
}

#content a, b, strong {
    font-weight: 400;
}

/* ------------------------------------------------ logo ------------------------------------------------ */
#topbar {
    background: #fff;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.1);
}

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

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

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

#logo img {
    display: block;
}

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


/* #region ------------------------------- contrast + styler ------------------------------------ */

#stylerBox {
    width: 100%;
    margin-bottom: 27px;
    column-gap: 30px;
}

#stylerBox h2 {
    color: #2d3133;
    font-size: 0.9375rem;
    font-family: inherit;
    margin: 0;
}

#stylerBox button {
    color: #254c6b;
    padding: 2px;
    border: 1px solid rgba(0, 0, 0, 0.6);
    font-family: "Khand", sans-serif;
    display: inline-block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    border-radius: 50%;
    font-weight: 400;
    text-align: center;
    background: transparent;
    position: relative;
    font-size: 17px;
    z-index: 1;
    line-height: 1;
    margin-left: 10px;
    padding: 0;
}

#style button:nth-child(4n+2) {
    color: #fff;
    background-color: #4b776f;
}

#style button:nth-child(4n+3) {
    color: #fff;
    background-color: #61625b;
}

#style button:nth-child(4n+4) {
    color: #fff;
    background-color: #88721b;
}

#stylerBox button::before {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    left: -6px;
    top: -6px;
    bottom: -6px;
    right: -6px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 150ms linear;
}

#stylerBox button:is(:hover, :focus)::before {
    opacity: 1;
}

#contrast_style button::after {
    content: "";
    display: block;
    position: absolute;
    top: 3px;
    right: 3px;
    left: 3px;
    bottom: 3px;
    border: 1px solid rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6) 50%, rgba(255, 255, 255, 1) 50%);
}

#contrast_style button:nth-of-type(2)::after {
    transform: scaleX(-1);
}

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

/* #endregion ---------------------------- contrast + styler ------------------------------------ */


/* ----------------------------------------------- ticker ----------------------------------------------- */

.newsticker {
    font-weight: 500;
    border-bottom: 2px solid #4b776f;
    margin-bottom: 30px;
    color: #4b776f;
    padding: 15px;
}

.newsticker a {
    color: #4b776f;
}

@media (min-width: 992px) {
    .newsticker {
        font-weight: 500;
        border-bottom: 2px solid #4b776f;
        padding: 0 15px 30px 15px;
        margin-bottom: 80px;
    }
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    #burgerButton {
        font-size: 0;
        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: #4b776f;
        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;
    bottom: 0;
    width: 100%;
    z-index: 56;
}

    nav.horizontally .navbar-nav {
        margin: 0px 0;
        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;
    }
}

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

.navbar-default .navbar-nav>li>a {
    color: #ffffff;
    font-weight: 500;
    text-align: center;
    padding: 10px;
    text-transform: uppercase;
    position: relative;
    letter-spacing: 1px;
    font-size: 1.125rem;
}

.navbar-default .navbar-nav>li:nth-child(5n+1)>a {
    background-color: #4b776f;
}

.navbar-default .navbar-nav>li:nth-child(5n+2)>a {
    background-color: #61625b;
}

.navbar-default .navbar-nav>li:nth-child(5n+3)>a {
    background-color: #71726e;
}

.navbar-default .navbar-nav>li:nth-child(5n+4)>a {
    background-color: #88721b;
}

.navbar-default .navbar-nav>li:nth-child(5n+5)>a {
    background-color: #78613f;
}


@media (max-width: 991px) {
    .navbar-default .navbar-nav>li {
        border-bottom: 1px solid #ffffff;
    }
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li+li {
        margin-left: 0px;
    }
    .navbar-default .navbar-nav>li>a {
        padding: 24px 10px;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: 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-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>li>a:focus,
.navbar-default .navbar-nav>li.open>a,
.navbar-default .navbar-nav>li.open>a:hover,
.navbar-default .navbar-nav>li.open>a:focus,
.navbar-default .navbar-nav>li[class$="_over"]>a,
.navbar-default .navbar-nav>li[class$="_over"]>a:hover,
.navbar-default .navbar-nav>li[class$="_over"]>a:focus {
    color: #ffffff;
    
}

.navbar-default .navbar-nav>li>a:hover::before,
.navbar-default .navbar-nav>li>a:focus::before,
.navbar-default .navbar-nav>li.open>a::before,
.navbar-default .navbar-nav>li.open>a:hover::before,
.navbar-default .navbar-nav>li.open>a:focus::before,
.navbar-default .navbar-nav>li[class$="_over"]>a::before,
.navbar-default .navbar-nav>li[class$="_over"]>a:hover::before,
.navbar-default .navbar-nav>li[class$="_over"]>a:focus::before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    margin-top: -29px;
    left: 50%;
    margin-left: -29px;
    height: 59px;
    width: 59px;
    background: url(../img/toplevel.png) center no-repeat;
}

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

.navbar-default .navbar-nav>li>.dropdown-menu, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    background-color: #ffffff;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
}

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

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

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>a, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    color: #666666;
    font-weight: 400;
    text-align: center;
    padding: 4px 20px;
    font-size: 1.125rem;
}

@media(min-width:992px) {
    .navbar-default .navbar-nav>li>.dropdown-menu>li>a, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
        text-align: left;
    }
}

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

.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 {
    background: transparent;
    color: #bd954e;
}

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

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

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

    body.index #slider {
        max-height: 580px;
    }
    
    #headerpic a.nivo-prevNav {
        left: 65px;
    }

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

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

#headerpic .slider-wrapper {
    position: relative;
}

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

.slider-mask {
    display: none;
}

#slider + .nivo-controlNav {
    bottom: auto;
    top: 10px;
}
/* ------------------------------------------------ content ----------------------------------------------- */

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

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

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

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

.tab {
    background-color: #fff;
    padding: 30px;
    font-size: 1.1875rem;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
}

.tabHeadline {
    margin: 0 0 8px 0;
    text-transform: uppercase;
    font-weight: 400;
    color: #61625b;
    font-size: 1.5625rem;
    font-weight: 500;
    text-align: center;
}

.tabContent {
    font-weight: 300;
    color: #61625b;
    line-height: 1.4;
}

.tab a {
    color: #61625b;
}

.tab_link_mehr a {
    color: #bd954e;
}

.tab_spacer {
    height: 10px;
}

.tab_link_title a {
    color: #61625b;
    font-weight: 400;
}

.tab_link_mandat a {
    color: #61625b;
    font-weight: 300;
}
/* ------------------------------------------ h1, #content .legacy_h1, .legacy_h1 - h6, #content .legacy_h6, .legacy_h6, newslink ----------------------------------------- */

.h4link a:link, .h4link a:hover, .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: #61625b;
    font-weight: 500;
    line-height: 1.2;
    font-family: "Roboto", sans-serif;
}

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

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

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

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

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

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

#newslinks, #newsmandate {
    border: 1px solid #61625b;
}



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

footer {
    background: url(../img/bg-footer.jpg)center no-repeat;
    color: #ffffff;
    position: relative;
}

footer::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    height: 406px;
    width: 305px;
    background: url(../img/sessel.png) no-repeat; 
    pointer-events: none;
}

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

/* ----------------------------------------------- iframes ----------------------------------------------- */

#iframes {
    background: rgba(129, 96, 39, 0.86);
    padding-top: 60px;
}

#iframes .tabHeadline {
    margin: 0 0 8px 0;
    text-transform: uppercase;
    font-weight: 400;
    color: #fff;
    font-size: 1.375rem;
    font-weight: 400;
    text-align: left;
}

#iframes .tabContent {
    font-weight: 300;
    color: #fff;
    line-height: 1.4;
}

#iframes a {
    color: #fff;
}

#footer {
    background: rgba(35,36,32,0.96);
    padding: 25px 0;
    margin-top: 60px;
}

#innerfooter a {
    color: #fff;
    text-decoration: none;
    display: inline-block;
    font-weight: 300;
    text-transform: uppercase;
}

#innerfooter a:hover {
    color: #bd954e;
}

#innerfooter a+a {
    margin-left: 15px;
}

@media (min-width: 1200px) {
    #innerfooter a+a {
        margin-left: 25px;
    }
}

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

#vernetzt {
    text-align: left;
    font-size: 0.875rem;
    color: #ffffff;
    line-height: 1.3;
    margin: 0 auto;
    font-weight: 300;
}

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

#vernetzt b {
    color: #bd954e;
    font-weight: 400;
}

#vernetzt span {
    color: #ffffff;
}

#vernetzt span span {
    display: block;
}

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