@import url('https://fonts.verwaltungsportal.de/import/?family=Roboto:300,400,500,300i,400i,500i&7CMerriweather:400,400i,700,700i');

html {
    max-width: 1930px;
    margin-left: auto;
    margin-right: auto;
    background: #f7f7f7;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    scrollbar-color: #bd4800 #ffffff;
    scrollbar-width: thin;
}

body {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    color: #282828;
    background: #ffffff;
    font-size: clamp(1rem, 2vw, 1.125rem);
    /* 1rem = 16px */
    line-height: 1.5;
}

a {
    color: #bd4800;
}

a:is(:hover, :focus) {
    color: #bd4800;
    text-decoration: underline;
}

#content a {
    text-decoration: underline;
}

b,
strong {
    font-weight: 500;
}

/* ------------------------------------------- logo --------------------------------------------- */
#topbar {
    padding: 8px 0;
}
#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

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

@media (max-width: 575px) {
    #logo img {
        max-width: 250px;
    }
}

@media (min-width: 992px) {
    #style {
        margin-bottom: 10px;
    }
    #style span {
        font-weight: 500;
        margin-right: 10px;
    }
    #style button {
        border: none;
        color: #fff;
        display: inline-block;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        font-weight: 400;
        text-align: center;
        background-color: #bd4800;
        position: relative;
        line-height: 1;
        -webkit-transition: transform 150ms linear;
        -moz-transition: transform 150ms linear;
        -ms-transition: transform 150ms linear;
        -o-transition: transform 150ms linear;
        transition: transform 150ms linear;
    }
    #style button+button {
        margin-left: 8px;
    }
    #style button:hover {
        -moz-transform: scale(1.2);
        -webkit-transform: scale(1.2);
        -o-transform: scale(1.2);
        -ms-transform: scale(1.2);
        transform: scale(1.2);
    }
    #style button:focus-visible {
        outline: 2px auto;
    }
}

/* #region ---------------------------------- navigation ---------------------------------------- */

nav.horizontally {
    padding: 22px 0;
    background: #bd4800;
    border-bottom: 4px solid #ff883e;
}

/* burgermenu for tablet */

@media (max-width: 991px) {
    nav.horizontally {
        position: static !important;
    }

    #burgerButton {
        font-size: 0;
        display: block;
        height: 50px;
        width: 60px;
        border-radius: 2px;
        padding: 6px 8px;
        cursor: pointer;
        background: #ffffff;
        border: none !important;
        box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
    }

    #burgerButton::before,
    #burgerButton::after,
    #burgerButtonInner {
        background-color: #bd4800;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 10px;
        transition: transform 200ms linear, opacity 200ms linear;
    }

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

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

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

    #burgerButtonInner {
        top: 16px;
    }

    #burgerButton::before {
        top: 24px;
        content: "";
    }

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

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

    .navbar-collapse {
        width: calc(100% - 90px);
        max-width: 300px;
        top: 0;
        background: #bd4800;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 100;
        height: auto !important;
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        overflow-y: auto;
        transition: left 300ms linear, opacity 300ms linear, box-shadow 600ms linear;
        box-shadow: 250px 0 50vw 50vw rgba(255, 255, 255, 0);
    }

    .navbar-collapse:is([aria-expanded="true"], .in) {
        left: 0;
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        box-shadow: 250px 0 50vw 50vw rgba(0, 0, 0, 0.6);
    }

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

    .dropdown-toggle-button-wrapper {
        top: 7px;
    }

    .dropdown-toggle-button-wrapper2 {
        top: 3px;
    }
}

/* menu desktop */

@media (min-width: 992px) {
    nav.horizontally .navbar-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }

    nav.horizontally .navbar-nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        display: block !important;
        pointer-events: none;
        opacity: 0;
        visibility: hidden;
        transition: opacity 300ms linear;
    }

    nav.horizontally .navbar-nav [class*="secondlevel"]>ul {
        left: 100%;
        top: 0;
    }

    nav.horizontally .navbar-nav li {
        position: relative;
    }

    nav.horizontally .navbar-nav li:is(.open, :hover)>ul,
    nav.horizontally .navbar-nav li.open:focus-within>ul,
    nav.horizontally .navbar-nav li[class*="secondlevel"]>ul[style*="block"] {
        pointer-events: auto !important;
        opacity: 1 !important;
        visibility: visible;
    }

    nav.horizontally .navbar-nav li.open>ul {
        pointer-events: none !important;
        opacity: 0 !important;
        visibility: hidden;
    }

    nav.horizontally .navbar-nav li:is(:hover, :focus)>ul {
        z-index: 1003;
    }
}

@media (min-width: 1200px) {
    nav.horizontally .navbar-nav {
        padding-left: 30px;
    }
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
    color: #ffffff;
    font-weight: 400;
    text-align: left;
    padding: 12px 15px;
    position: relative;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
}

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

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

@media (min-width: 992px) {
    nav.horizontally li[class*="toplevel"]+li {
        margin-left: 20px;
    }

    nav.horizontally a[class*="toplevel"] {
        padding: 18px 0;
        text-align: center;
    }
}

nav.horizontally a[class*="toplevel"]::before {
    content: "";
    width: 0;
    height: 2px;
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: #ff883e;
    opacity: 0;
    transition: opacity 300ms linear, width 300ms linear;
}

@media (min-width: 992px) {
    nav.horizontally a[class*="toplevel"]::before {
        left: 50%;
        bottom: 12px;
        transform: translateX(-50%);
    }
}

/* toplevel-over */

nav.horizontally li[class*="toplevel"]:is(:hover, :focus-within)>a,
nav.horizontally li[class*="toplevel"]>a:is(:hover, :focus),
nav.horizontally li[class*="toplevel"].open>a,
nav.horizontally li[class*="toplevel"].open>a:is(:hover, :focus),
nav.horizontally li[class*="toplevel"][class*="_over"]>a,
nav.horizontally li[class*="toplevel"][class*="_over"]>a:is(:hover, :focus) {
    color: #ffffff;
}

nav.horizontally li[class*="toplevel"]:is(:hover, :focus-within)>a::before,
nav.horizontally li[class*="toplevel"]>a:is(:hover, :focus)::before,
nav.horizontally li[class*="toplevel"].open>a::before,
nav.horizontally li[class*="toplevel"].open>a:is(:hover, :focus)::before,
nav.horizontally li[class*="toplevel"][class*="_over"]>a::before,
nav.horizontally li[class*="toplevel"][class*="_over"]>a:is(:hover, :focus)::before {
    opacity: 0.4;
    width: 50px;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
    background-color: #bd4800;
}

@media (max-width: 991px) {
    nav.horizontally [class*="toplevel"]>ul {
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    nav.horizontally [class*="toplevel"] ul {
        padding: 4px 0;
    }

    nav.horizontally [class*="toplevel"]>ul {
        left: 15px;
    }

    nav.horizontally [class*="secondlevel"]>ul {
        margin-top: -4px;
        margin-left: 15px;
    }

    nav.horizontally [class*="secondlevel"]>ul::before {
        content: "";
        position: absolute;
        display: block;
        width: 15px;
        top: 0;
        bottom: 0;
        left: -15px;
    }
}

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    color: #ffffff;
    font-weight: 400;
    text-align: left;
    padding: 8px 25px;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
}

@media (max-width: 991px) {
    nav.horizontally a[class*="secondlevel"].dropdown-toggle2 {
        padding-right: 35px;
    }
}

/* secondlevel + thirdlevel over */

nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]):is(:hover, :focus-within)>a,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])>a:is(:hover, :focus),
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a:is(:hover, :focus),
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a:is(:hover, :focus) {
    background: #f57e35;
    color: #282828;
}

/* #endregion ------------------------------- navigation ---------------------------------------- */

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

#slider {
    max-height: clamp(300px, 47vw, 450px);
    overflow: hidden;
    position: relative;
}

@media (min-width: 992px) {
    body.index #slider {
        max-height: clamp(450px, 62vw, 650px);
    }

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

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

    .index #headerpic .nivo-controlNav {
        bottom: 130px;
    }
}

#headerpic {
    padding: 0;
    overflow: hidden;
    position: relative;
}

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

.slider-mask {
    display: block;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(255, 255, 255, 0) 300px);
}

/* #region ------------------------------------ tabs1 ------------------------------------------- */

@media (max-width: 991px) {

    .tab,
    #search,
    #search+ul {
        max-width: 400px;
        margin: 0 auto;
    }
}

#tabs1 {
    padding-top: 30px;
    row-gap: 30px;
}

@media (min-width: 992px) {
    #tabs1 {
        padding-top: 0;
        position: relative;
        z-index: 60;
        margin-top: -60px;
    }
}

#tabs1 .tab-1 {
    padding: 20px;
    position: relative;
    color: #ffffff;
    background: linear-gradient(to bottom, #000000, #1d2229) center bottom / auto 600%;
    height: 110px;
    transition: background 300ms linear;
    overflow: hidden;
}

#tabs1 .tab-2 {
    padding: 30px 20px;
    color: #ffffff;
    background: #2f3742;
    font-size: 1rem;
    font-weight: 300;
    height: 100%;
    min-height: 100%;
}

#tabs1 .tab-1:is(:hover, :focus-within) {
    background-size: auto 100%;
}

#tabs1 .tab :is(h1, h2, h3, h4, h5, h6, a) {
    color: #ffffff;
}

#tabs1 .tab-2 :is(h1, h2, h3, h4, h5, h6) {
    margin: 0 0 10px 0;
    font-size: 1.25rem;
}

#tabs1 .tabHeadline {
    padding: 0 20px;
    margin: 0;
    text-transform: uppercase;
    font-size: clamp(1.25rem, 3vw, 1.5625rem);
    font-weight: 500;
    font-family: inherit;
    position: absolute;
    z-index: 2;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.5);
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    hyphens: auto;
}

#tabs1 .tab-1 img {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0.25;
    max-width: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 300ms linear;
}

#tabs1 .tab-1:is(:hover, :focus-within) img {
    opacity: 0.1;
}

#tabs1 .tab :is(.row, .row>div) {
    margin: 0;
    padding: 0;
    position: static;
}

#tabs1 .tab-2 img {
    display: block;
    margin: -30px -20px 30px -20px;
    width: calc(100% + 40px);
    max-width: calc(100% + 40px);
}

#tabs1 hr {
    margin: 0;
}

/* #endregion --------------------------------- tabs1 ------------------------------------------- */


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

#content {
    text-align: left;
    padding-bottom: clamp(40px, 4vw, 60px);
    padding-top: clamp(40px, 4vw, 60px);
}

hr,
.hrstyle {
    height: 2px;
    opacity: 1;
    background: #ff883e;
    border: none;
}


/* ----------------------------------------------- @10ev events -------------------------------------------- */

#ev10 .tab {
    margin-left: auto;
    margin-right: auto;
    margin-top: 32px;
    position: relative;
    background: #ffffff;
    font-size: 0.9375rem;
    color: #282828;
    border-top: 4px solid #f9853d;
    -webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
    max-width: 300px;
}

#ev10 .tab::before {
    content: "";
    display: block;
    width: 60px;
    height: 60px;
    position: absolute;
    top: -32px;
    left: 50%;
    margin-left: -30px;
    border-radius: 50%;
    background: url("../img/icon-veranstaltungen.png") center no-repeat, #ffffff;
    -webkit-box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.15);
}

#ev10 .tabSpecial {
    padding: 45px 20px 20px 20px;
}

#ev10 .tabSpecial .tabHeadline {
    text-align: center;
    font-size: 1.4375rem;
    font-weight: 400;
    color: #bd4800;
    margin: 0;
    text-transform: uppercase;
}

#ev10 #clr-events-hide {
    margin-top: 25px;
    padding-left: 20px;
    padding-right: 20px;
}

#ev10 .tab .eventclndr-tab {
    margin-bottom: 0;
}

#ev10 .tab .tab_link_title a {
    color: #282828;
    font-weight: 500;
    text-decoration: none !important;
}

#ev10 .tab .tab_link_mandat a {
    color: #282828;
    font-weight: 500;
    text-decoration: none !important;
}

#ev10 .tab #clr-events-hide>p:nth-child(1) {
    display: none !important;
}

#ev10 .tab .tab_spacer {
    height: 15px;
}

#ev10 .tab .tab_link_mehr {
    color: transparent;
    font-size: 0;
    padding-bottom: 20px;
    padding-right: 20px;
}

#ev10 .tab .tab_link_mehr a {
    text-decoration: none;
    text-transform: uppercase;
    display: inline-block;
    font-size: 0.9375rem;
    color: #282828;
    font-weight: 400;
    border-radius: 2px;
    padding: 3px 11px;
    background: #ff883e;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

#ev10 .tab .tab_link_mehr a:hover,
#ev10 .tab .tab_link_mehr a:focus {
    color: #ffffff;
    background: #bd4800;
}
/* -------------------------------------- h1 - h6, newslink ------------------------------------- */

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
    color: #bd4800;
    font-weight: normal;
    line-height: 1.2;
    font-family: "Merriweather", sans-serif;
}

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

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

h3,
.h3,
.legacy_h3 {
    font-size: 1.4375rem;
}

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited) .legacy_h4 {
    font-size: 1.375rem;
}

h5,
.h5,
.legacy_h5 {
    font-size: 1.3125rem;
}

h6,
.h6,
.legacy_h6 {
    font-size: 1.25rem;
}



/* #endregion --------------------------------- tabs2 ------------------------------------------- */

/* -------------------------------------------- tabs4 ------------------------------------------- */

#tabs4 {
    background-color: #f7f7f7;
    padding: clamp(30px, 4vw, 50px) 0;
    color: #ffffff;
    color: #474747;
}

@media (min-width: 992px) {
    #tabs4 {
        font-size: 1.0625rem;
    }
}

#tabs4 .tabHeadline {
    color: #bd4800;
    margin: 0 0 10px 0;
    font-size: clamp(1.5625rem, 4vw, 2.1875rem);
}

#tabs4 ul {
    list-style: none;
}

#tabs4 ul li {
    position: relative;
    padding: 6px 0 6px 38px;
    background: transparent;
}

#tabs4 ul li::before {
    content: "";
    display: block;
    background: url('../img/check.png') center no-repeat;
    width: 28px;
    height: 21px;
    position: absolute;
    left: 0;
    top: 6px;
}

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

footer {
    background: #bd4800;
    padding: clamp(30px, 4vw, 50px) 0;
    font-size: 1rem;
    font-weight: 300;
    color: #ffffff;
}

footer>.row {
    row-gap: 25px;
}

footer .footerTab a {
    color: #ffffff;
    text-decoration: underline;
}

footer :is(h1, h2, h3, h4, h5, h6) {
    color: #ffffff;
    font-family: inherit;
    font-weight: 500;
    font-size: inherit;
    margin: 0;
}

#innerfooter ul {
    padding: 0;
    line-height: 1.8;
}

#innerfooter a {
    color: #ffffff;
}

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

#vernetzt {
    font-size: 0.875rem;
    color: #ffffff;
    line-height: 1.3;
    font-weight: 300;
    text-decoration: none;
}

#vernetzt span {
    display: block;
}

/* ----------------------------------------- scroll top ----------------------------------------- */

#scrollTopBtn {
    color: #ffffff;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 0.875rem;
    text-decoration: none;
    position: relative;
    padding: 8px 48px 8px 0;
}

#scrollTopBtn::after,
#scrollTopBtn::before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
}

#scrollTopBtn::after {
    width: 34px;
    height: 34px;
    border: 2px solid #ffffff;
    right: 0;
    margin-top: -18px;
    transition: border 300ms linear;
}

#scrollTopBtn:is(:hover, :focus)::after {
    border-color: #fff;
    text-decoration: underline;
}

#scrollTopBtn::before {
    margin-top: -3px;
    right: 13px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 6px 7px 6px;
    border-color: transparent transparent #ffffff transparent;
}


#counter {
    display: block;
    border: 2px solid #fff;
    padding: 8px 15px;
    color: #fff;
    text-align: center;
    margin-top: 50px;
}

#counter-l, #counter-r {
    display: inline-block;
}