@import url('https://fonts.verwaltungsportal.de/import/?family=Lato:300,300i,400,400i,700,700i&display=swap');
@import url('https://fonts.verwaltungsportal.de/import/?family=Caveat:400,700&display=swap');
@import url('https://fonts.verwaltungsportal.de/import/?family=Lora:400,400i,700,700i&display=swap');


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

body {
    font-family: Arial, Verdana, Helvetica, sans-serif;
    font-weight: 300;
    color: #444444;
    background: #ffffff;
    font-size: 1.25rem;
}

a {
    color: #045dc1;
}

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

b,
strong {
    font-weight: 600;
}

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

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

button:focus,
#contrast_style button:focus,
.clndr-control-button:focus {
    outline: 3px solid #cc1c0a !important;
}

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

#newsletter_input:focus,
#newsletter_submit:focus,
#search_input:focus,
#search_submit:focus {
    outline: 3px solid #cc1c0a !important;
}
/* ------------------------------------------- logo --------------------------------------------- */

#logo {
    display: inline-block;
}

#logo.contrast_light_font img{
    background: #fff !important;
}

#logo img {
    display: block;
}

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



/* #region ---------------------------------- contrast/style ---------------------------------------- */



#contrast_styleWrapper span {
    margin-right: 10px;
    display: block;
    font-size: 0.9375rem;
    font-weight: 400;
    margin-bottom: 4px;
}

@media (min-width: 768px) {
    #contrast_styleWrapper span {
        width: 100%;
        margin-right: 0;

    }
}

#contrast_style button {
    border: none;
    background: transparent;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    transition: background 200ms linear;
    display: flex;
    align-items: center;
    justify-content: center;
}


#contrast_style button:hover,
#contrast_style button:focus {
    background: rgba(0, 0, 0, 0.1);
    outline: 2px auto;
}

@media (min-width: 992px) {
    #style button {
        border: none;
        color: #fff;
        display: inline-block;
        width: 35px;
        height: 35px;
        border-radius: 50%;
        font-weight: 400;
        text-align: center;
        background-color: #6d7b12;
        position: relative;
        line-height: 1;
        transition: background 200ms linear;
        font-size: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

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

    #style button:hover,
    #style button:focus {
        background: #19853a;
    }
}

#search {
    min-height: 36px;
    display: inline-block;
    position: relative;
    border: 1px solid #6d7b12;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    margin-left: auto;
    width: 100%;
}

@media (min-width: 768px) {
    #search {
        max-width: 280px;

    }
}

#search_input {
    color: #6d7b12;
    font-size: 0.875rem;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    padding-left: 10px;
    padding-right: 43px;
    min-height: 36px;
    width: 100%;
}

#search_submit {
    width: 36px;
    background: #6d7b12 url('../img/lupe-icon.png') center no-repeat;
    padding: 0;
    cursor: pointer;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    font-size: 0;
    transition: background-color 300ms linear;
}

#search_submit:hover {
    background-color: #19853a;
}

#search_input::placeholder,
#search_input::-ms-input-placeholder {
    color: #6d7b12 !important;
}


#search_input.contrast_light_font::placeholder{
    color: #fff !important;
}




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

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

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


@media (max-width: 767px) {
    #topbar {
        padding-bottom: 10px;
    }
}

@media (max-width: 575px) {
    #contrast_style {
        margin-bottom: 10px;
    }
}

/* #region ---------------------------------- 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;
        box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
    }

    #burgerButton::before,
    #burgerButton::after,
    #burgerButtonInner {
        background-color: #19853a;
        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: #ffffff;
        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: 4px;
    }
}

/* menu desktop */

@media (min-width: 992px) {

    #menu-sticky-wrapper {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
    }

    #menu {
        border-top: 5px solid #266dae;
    }

    nav.horizontally .navbar-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }

    nav.horizontally .navbar-nav>li {
        flex-grow: 1;
    }

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

/* toplevel */

nav.horizontally a[class*="toplevel"] {
    color: #fff;
    font-weight: 400;
    text-align: center;
    padding: 10px 35px 15px 35px;
    text-transform: uppercase;
    position: relative;
    font-size: 1.25rem;
    line-height: 1.2;
    text-decoration: none;
    background: rgba(7, 99, 191, 0.85);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

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

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

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


/* 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) {
    background: rgba(25, 133, 58, 0.85);
}


/* secondlevel + thirdlevel dropdown-box */

.navbar-default .navbar-nav>li>.dropdown-menu {
    border-radius: 15px;
    background: rgba(34, 178, 76, 0.85);
    -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    border-radius: 15px;
    background: rgba(7, 89, 188, 0.85);
    -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
}


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

@media (min-width: 992px) {

    .navbar-default .navbar-nav>li>.dropdown-menu::after {
        content: '';
        position: absolute;
        width: 0px;
        height: 0px;
        -webkit-transform: rotate(360deg);
        border-style: solid;
        border-width: 0 14.5px 15px 14.5px;
        border-color: transparent transparent rgba(34, 178, 76, 0.85) transparent;
        top: -15px;
        left: 0;
        right: 0;
        margin: 0 auto;
    }

    nav.horizontally [class*="toplevel"] ul {
        padding-top: 18px;
        padding-bottom: 18px;
        margin-top: 30px;
    }

    nav.horizontally [class*="toplevel"]>ul {
        left: 50%;
        transform: translate(-50%, 0);
    }

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

    nav.horizontally :is([class*="toplevel"], [class*="secondlevel"])>ul::before {
        content: "";
        position: absolute;
        display: block;
    }

    nav.horizontally [class*="toplevel"]>ul::before {
        height: 50px;
        left: 0;
        right: 0;
        top: -50px;
    }

    nav.horizontally [class*="secondlevel"]>ul::before {
        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 {
    color: #fff;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
    padding: 8px 25px;
    text-transform: uppercase;
    position: relative;
    font-size: 1.125rem;
    text-decoration: none;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>a::before,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a::before {
    content: '\00BB';
    position: absolute;
    color: #fff;
    left: 10px;
    opacity: 0;
}

/* 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: transparent;
    color: #fff;
}

nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]):is(:hover, :focus-within)>a::before,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])>a:is(:hover, :focus)::before,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a::before,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a:is(:hover, :focus)::before,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a::before,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a:is(:hover, :focus)::before {
    opacity: 1;
}

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

#headerpic {
    position: relative;
    overflow: hidden;
    background: #19853A;
}

#headerpic a,
#headerpic button{
    color: #fff;
}



@media (min-width: 992px) {

    #overlay {
        position: relative;
        z-index: 12;
        width: 100%;
        margin-top: 2vw;
    }

    #headerpic .slider-wrapper {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }


    #headerpic {
        min-height: 500px;
        display: flex;
        align-items: center;
    }


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

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

    #slider {
        height: 100%;
    }
}

@media (max-width: 991px) {

    #overlay {
        background: #6d7b12;
    }

    #slider {
        overflow: hidden;
        position: relative;
        /*1920px * 768px*/
        height: 26vw;
    }



    #slider-onebanner,
    #slider .nivo-box>div,
    #slider .nivo-slice>div,
    #slider .nivo-main-image,
    #slider div[style*='background-size'] {
        background-attachment: unset !important;
        background-size: 100% auto !important;
    }
}



.slider-mask {
    display: none;
}

#overlay {
    color: #fff;
    font-size: 1.25rem;
    padding-top: 20px;
    padding-bottom: 20px;
}

@media (min-width: 992px) {
    #overlay {
        margin-top: 90px;
        margin-bottom: 20px;
        padding: 0;
    }
}

#overlay :is(h1, h2, h3, h4, h5, h6, a) {
    color: #fff;
    font-weight: 700;
}

#overlay :is(h1, h2, h3) {
	font-size: 2rem;
}

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


#tickerWrapper {
    background: #6d7b12;
    padding:19px 0px 0 0;
    color: #fff;
}

#tickerWrapper h2{
    color: #fff;
}

#tickerWrapper a {
    color: #fff;
}


#contentWrapper {
    line-height: 1.6em;
    text-align: left;
    padding-bottom: 30px;
    padding-top: 30px;
}

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


@media (max-width: 767px) {
    #content {
        margin-top: 30px;

    }
}

#content img {
    display: block;
}
/* -------------------------------------- tabs ------------------------------------- */

.button a {
	background: #6d7b12;
	border-radius: 15px;
	padding: 6px 3px;
	text-align: center;
	color: #fff;
	font-weight: 700;
	display: block;
	width: 100%;
	font-size: 1.575rem;
    hyphens: auto;
}
#news a {
    color: #fff;
}

#bg-left .tab {
    background: #6d7b12;
    border-radius: 15px;
    padding: 3px;
    text-align: center;
    color: #fff;
    font-family: Arial, Verdana, Helvetica, sans-serif;
    margin-top: 15px;
}

#bg-left #events,
#bg-left #news {
    background: url(../img/box-news.png) center bottom no-repeat #6d7b12 ;
    background-size: 100% auto;
}

#bg-left .tabHeadline {
	margin: 20px 0px;
	font-weight: 700;
	color: #fff;
	font-size: 1.575rem;
    hyphens: auto;
}

#bg-left .tabContent {
    padding: 10px 10px 20px 10px;
}

.clr-events-tab-h3,
.tab_link_title a {
    font-weight: 700;
    color: #fff !important;
}

.tab_link_mehr {
    margin-top: 10px;
    text-align: center !important;
    font-size: 0;
}

.tab_link_mehr a {
    color: #fff;
    font-size: 1rem;
    color: #fff;
    font-size: 16px;
    border: 1px solid #fff;
    border-radius: 10px;
    padding: 10px;
    left: 0;
    right: 0;
    margin: 10px auto;
    text-align: center;
    width: 35%;
}


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

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
    color: #6d7b12;
    font-weight: bold;
    line-height: 1.2em;
    font-family: Arial, Verdana, Helvetica, sans-serif;
}

h1,
.h1,
.legacy_h1 {
    font-size: clamp(2rem, 4vw, 2.5rem);
}

h2,
.h2,
.legacy_h2 {
    font-size: clamp(1.875rem, 3.5vw, 2.1875rem);
}

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

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

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

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

/* #region ----------------------------------- footer ------------------------------------------- */

#adresse {
    background: url(../img/welle-unten.png) no-repeat top center / 100% auto, url(../img/footer.jpg) no-repeat center / cover #6d7b12;
}



#adresse .tab {
    color: #fff;
    padding: 10px 0px;
    line-height: 1.5;
}

#adresse .tab a {
    color: #fff;
    text-decoration: underline;
}

#adresse .tabHeadline {
    margin: 20px 0px;
    font-weight: 700;
    font-size: 1.5625rem;
    color: #fff;
}

#adresse {
    padding-top: 100px;
    padding-bottom: 45px;
    position: relative;
}

#footerBottom {
    background: #6d7b12;
    padding: 10px 0;
    position: relative;
}

#footerBottom>.row::after {
    content: '';
    background: url(../img/getreide.png) no-repeat bottom right;
    width: 445px;
    height: 673px;
    display: block;
    position: absolute;
    right: -365.1px;
    bottom: 70.6px;
}

@media (max-width: 767px) {
    footer>.row>.col-xs-12+* {
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        margin-top: 15px;
        padding-top: 15px;
    }
}

@media (max-width: 991px) {
    footer>.row>.col-xs-12:last-child {
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        margin-top: 15px;
        padding-top: 15px;
    }
}

#innerfooter ul {
    padding: 0;
}

#innerfooter a {
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    font-weight: 400;
    font-size: 0.9375rem;
}

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

@media (min-width: 576px) {
    #innerfooter li+li::before {
        content: "•";
        margin: 0 clamp(15px, 2vw, 25px);
        color: #ffffff;
    }

    #innerfooter li {
        display: inline-block;
    }
}

/* #endregion -------------------------------- footer ------------------------------------------- */

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

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

@media (max-width: 767px) {
    #vernetzt{
        margin-top: 15px;
        
    }
}

#vernetzt span span {
    display: block;
}