@import url("https://fonts.verwaltungsportal.de/css/?family=Montserrat:400,500,600,800,400i,500i,600i,800i");

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

body {
    font-family: 'Montserrat', sans-serif;
    color: #444444;
    background: #ffffff;
    font-size: 1rem;
    /* 1rem = 16px */
    line-height: 1.5;
}

a {
    color: #006833;
}

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

.content-col a {
    font-style: italic;
}

b,
strong {
    font-weight: 600;
}

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

#logo {
    display: inline-block;
    background: #ffffff;
    padding: 22px 15px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}

#logo img {
    display: block;
}

@media (max-width: 991px) {
    #logo {
        margin-left: -15px;
    }

    #logo img {
        max-width: 150px;
    }
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {

    #burgerButton {
        font-size: 0;
        border: none !important;
        display: block;
        height: 50px;
        width: 50px;
        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: #006833;
        border-radius: 2px;
        position: absolute;
        width: 30px;
        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 5px;
    }

    .navbar-collapse {
        width: calc(100% - 90px);
        max-width: 300px;
        top: 0;
        background: #006833;
        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: 6px;
    }

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

/* menu desktop */

@media (min-width: 992px) {
    header nav.navbar {
        min-height: 335px;
        margin: 70px 0 30px 0;
    }

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

    nav.navbar .navbar-nav li[class*="toplevel"]>ul {
        pointer-events: none;
        position: absolute;
        left: 100%;
        top: 0 !important;
        z-index: 1000;
        display: block !important;
        opacity: 0;
        visibility: hidden;
        transition: opacity 300ms linear;
        min-width: 240px;
    }

    nav.navbar .navbar-nav>li:is(.open, :hover)>ul,
    nav.navbar .navbar-nav>li.open:focus-within>ul {
        pointer-events: auto !important;
        opacity: 1 !important;
        visibility: visible;
        top: 100%;
    }

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

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

    nav.navbar [class*="secondlevel"]>ul {
        display: block !important;
    }
}

/* toplevel */

nav.navbar a[class*="toplevel"] {
    color: #ffffff;
    font-weight: 600;
    text-align: left;
    padding: 10px 35px 10px 15px;
    position: relative;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    overflow-wrap: break-word;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}

nav.navbar li[class*="toplevel"]+li {
    border-top: 2px solid rgba(255, 255, 255, 0.3);
}

main nav.navbar li[class*="toplevel"]+li {
    border-color: rgba(22, 106, 81, 0.3);
}

nav.navbar a[class*="toplevel"]::after {
    content: "";
    position: absolute;
    left: 0;
    top: calc(50% - 8px);
    width: 8px;
    height: 16px;
    background: #ffffff;
    pointer-events: none;
    opacity: 0;
    transition: opacity 300ms linear;
    clip-path: polygon(0 0, 0% 100%, 80% 50%);
}

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

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

    nav.navbar a[class*="toplevel"].dropdown-toggle::before {
        content: "+";
        position: absolute;
        right: 5px;
        top: 50%;
        transform: translateY(-50%);
    }

    main nav.navbar a[class*="toplevel"] {
        color: #444444;
    }

    main nav.navbar a[class*="toplevel"]::after {
        background: #444444;
    }
}

/* toplevel-over */

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

@media (min-width: 992px) {

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

nav.navbar li[class*="toplevel"]:is(:hover, :focus-within)>a::after,
nav.navbar li[class*="toplevel"]>a:is(:hover, :focus)::after,
nav.navbar li[class*="toplevel"].open>a::after,
nav.navbar li[class*="toplevel"].open>a:is(:hover, :focus)::after,
nav.navbar li[class*="toplevel"][class*="_over"]>a::after,
nav.navbar li[class*="toplevel"][class*="_over"]>a:is(:hover, :focus)::after {
    opacity: 1;
}

/* secondlevel + thirdlevel dropdown-box */

nav.navbar [class*="toplevel"]>ul {
    padding: 10px;
    background: #ffffff;
}

@media (min-width: 992px) {
    nav.navbar [class*="toplevel"]>ul {
        padding: 20px 25px;
        margin-left: 30px;
        margin-top: 2px;
    }

    nav.navbar li[class*="secondlevel"]::before {
        content: "";
        display: block;
        position: absolute;
        top: 30px;
        left: 25px;
        bottom: 30px;
        width: 1px;
        background: #dbe2e1;
    }

    nav.navbar [class*="toplevel"]>ul::before,
    nav.navbar [class*="toplevel"]>ul::after {
        content: "";
        position: absolute;
        display: block;
    }

    nav.navbar [class*="toplevel"]>ul::before {
        width: 40px;
        top: 0;
        bottom: 0;
        left: -40px;
    }

    nav.navbar [class*="toplevel"]>ul::after {
        width: 21px;
        height: 30px;
        top: 4px;
        left: -21px;
        background: #ffffff;
        clip-path: polygon(100% 0, 0 50%, 100% 100%);
    }
}

nav.navbar [class*="secondlevel"]>ul {
    padding: 4px 0;
}

/* secondlevel + thirdlevel */

nav.navbar a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    color: #444444;
    font-weight: normal;
    text-align: left;
    position: relative;
    line-height: 1.2;
    text-decoration: none;
    font-size: 1.0625rem;
}

nav.navbar a[class*="secondlevel"] {
    padding: 8px 35px 8px 35px;
    border-radius: 3px;
}

@media (min-width: 992px) {
    nav.navbar a[class*="secondlevel"] {
        padding: 8px 10px 8px 35px;
    }
}

nav.navbar a[class*="secondlevel"]::before,
nav.navbar a[class*="secondlevel"]::after {
    content: "";
    position: absolute;
    z-index: 1;
    width: 0;
    height: 0;
    border-style: solid;
}

nav.navbar a[class*="secondlevel"]::before {
    top: calc(50% - 8px);
    left: 0;
    border-width: 8px 0 8px 14px;
    border-color: transparent transparent transparent #006833;
}

nav.navbar a[class*="secondlevel"]::after {
    top: calc(50% - 6px);
    left: 1px;
    border-width: 6px 0 6px 11px;
    border-color: transparent transparent transparent #ffffff;
    transition: opacity 300ms linear;
}

nav.navbar a[class*="thirdlevel"] {
    padding: 6px 15px 6px 50px;
}

/* secondlevel + thirdlevel over */

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

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

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

/* #region ------------------------------------ banner ------------------------------------------ */

#slider {
    height: clamp(300px, 42vw, 400px);
    position: relative;
}

#slider>* {
    height: 100% !important;
}

@media (min-width: 576px) and (max-width: 991px) {
    #headerpic>.row>div {
        display: flex;
        align-items: center;
        column-gap: 15px;
    }

    #headerpic nav.navbar {
        flex: 0;
    }
}

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

    #slider,
    #headerpic>.row {
        min-height: 400px;
    }

    .index :is(#slider, #headerpic>.row) {
        min-height: 750px;
    }

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

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

    #headerpic .nivo-controlNav {
        font-size: 0;
        bottom: 10px;
        display: flex;
        align-items: center;
        justify-content: end;
        width: calc(100% - 220px);
        right: 55px;
    }

    #headerpic>.row>div {
        z-index: 64;
        padding-left: 0;
    }

    #headerpic::before {
        content: "";
        display: block;
        position: absolute;
        top: 16px;
        left: 0;
        height: 82px;
        width: 41%;
        background: #ffffff;
        clip-path: polygon(0 1%, 100% 0%, 96% 100%, 0% 100%);
        z-index: 63;
        box-shadow: rgb(0, 104, 51) inset 0px 8px 0px 0px;
        border-top: 8px solid #ffffff;
    }

    #headerpic .slider-wrapper {
        height: auto;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: calc(50% - 150px);
        z-index: 62;
    }
}

@media (min-width: 1200px) {
    #headerpic .slider-wrapper {
        left: calc(50% - 280px);
    }
}

.theme-nivo .bg-slider :is(div:not(.slick-slide), .nivo-imageLink) {
  height: 100% !important;
}

#headerpic {
    padding: 0;
    position: relative;
    background: url('../img/schmuck-baum.png') bottom left no-repeat, #006833;
    color: #ffffff;
}

.slider-mask {
    display: none;
}

@media (min-width: 992px) {
    .slider-mask {
        display: block;
        background: #006833;
        clip-path: polygon(31% 0%, 15% 50%, 85% 100%, 0 100%, 0% 50%, 0 0);
        max-width: 170px;
    }
}

/* #endregion --------------------------------- banner ------------------------------------------ */

/* #region ----------------------------------- optionsbar --------------------------------------- */

#optionsbar hr {
    margin: 14px 0 20px 0;
    border-color: #ffffff;
    opacity: 0.5;
    min-width: 100%;
}

@media (min-width: 992px) {
    #optionsbar hr {
        margin-right: -30px;
        width: calc(100% + 30px);
    }

    #optionsbar {
        padding: 8px 0 0px 0;
    }

    body:not(.index) #optionsbar {
        margin-top: 150px;
        padding: 8px 0 60px 0;
    }
}

#style,
#contrast_style {
    padding: 0 20px;
    font-size: 16px;
    line-height: 1;
}

:is(#contrast_style, #style) h2 {
    font-size: 14px;
    font-weight: inherit;
    color: inherit;
    margin: 0 0 10px 0;
}

#style button {
    background: #006833;
    text-align: center;
    font-weight: 400;
    border-radius: 50%;
    min-width: 25px;
    padding: 2px;
    display: inline-grid;
    place-items: center;
}

#style button:is(:hover, :focus) {
    background: #03321a;
}

#contrast_style button {
    background: #f4f4f4;
    text-align: center;
    font-weight: 400;
    border-radius: 50%;
    min-width: 25px;
    padding: 2px;
    display: inline-grid;
    place-items: center;
}

#contrast_style button:is(:hover, :focus) {
    background: #03321a;
}

/* styler */

#style button {
    border: 1px solid #ffffff;
    color: #ffffff;
    min-height: 25px;
}

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

/* contrast  */

#contrast_style {
    border-left: 1px solid rgba(255, 255, 255, 0.5);
}

#contrast_style button {
    border: none;
}

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

/* search */

#search {
    background: #ebf3ef;
    display: flex;
    margin: 20px 0;
    border: 1px solid #ffffff;
    border-radius: 30px;
    width: 100%;
    max-width: 270px;
}

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

#search_input {
    color: #006833;
    font-size: 0.875rem;
    font-style: normal;
    background: transparent;
    padding: 4px 15px;
    border: 0;
    width: 100%;
    border-radius: 30px;
}

#search_submit {
    min-width: 32px;
    flex-shrink: 0;
    background: #006833 url("../img/lupe-icon.png") center no-repeat;
    padding: 0;
    cursor: pointer;
    border: none;
    margin: -1px -1px -1px 0;
    font-size: 0;
    transition: all 150ms linear;
    border-radius: 50%;
    border: 1px solid #ffffff;
}

#search_submit:is(:hover, :focus) {
    background-color: #05543c;
}

#search_input::placeholder {
    color: #006833 !important;
    opacity: 1 !important;
    font-style: normal !important;
}

#search2 {
    background: transparent;
    display: flex;
    margin: 20px 0;
    border: 1px solid #ffffff;
    border-radius: 30px;
    width: 100%;
}

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

#search_input2 {
    color: #ffffff;
    font-size: 0.875rem;
    font-style: normal;
    background: transparent;
    padding: 4px 15px;
    border: 0;
    width: 100%;
    border-radius: 30px;
}

#search_submit2 {
    min-width: 32px;
    flex-shrink: 0;
    background: #03321a url("../img/lupe-icon.png") center no-repeat;
    padding: 0;
    cursor: pointer;
    border: none;
    margin: -1px -1px -1px 0;
    font-size: 0;
    transition: all 150ms linear;
    border-radius: 50%;
    border: 1px solid #ffffff;
}

#search_submit2:is(:hover, :focus) {
    background-color: #05543c;
}

#search_input2::placeholder {
    color: #ffffff !important;
    opacity: 1 !important;
    font-style: normal !important;
}

/* #endregion -------------------------------- optionsbar --------------------------------------- */

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

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

#content>.row {
    row-gap: 30px;
}

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

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

h1,
.h1,
.legacy_h1 {
    font-size: clamp(1.75rem, 4vw, 2.1875rem);
    font-variant: small-caps;
}

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

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

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

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

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

/* #region ------------------------------------- events ----------------------------------------- */

#events {
    background-color: #ffffff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    padding: 20px 20px 60px 20px;
    position: relative;
}

#events .tabHeadline {
    font-size: 1.375rem;
    font-variant: small-caps;
    text-align: center;
    margin-bottom: 22px;
    word-wrap: anywhere;
}

#events .tab_spacer {
    height: 15px;
}

#events a {
    color: inherit;
    font-weight: 500;
}

#events .tab_link_mehr {
    font-size: 0;
}

#events .tab_link_mehr a {
    color: rgba(0, 0, 0, 0);
    font-weight: 600;
    display: inline-block;
    font-size: 0.875rem;
    background: #006833;
    color: #ffffff;
    padding: 9px 14px 9px 14px;
    border-radius: 3px;
    position: absolute;
    bottom: -20px;
    right: 14px;
    text-decoration: none;
}

@media (min-width: 992px) {
    #events .tab_link_mehr a {
        right: -14px;
    }
}

#events .tab_link_mehr a:is(:hover, :focus) {
    background-color: #11523e;
}

#events .tab_link_mehr a::after {
    content: " »";
}

#clr-events-hide>p:first-child {
    margin: 20px 0 15px 0;
}

.eventclndr-tab {
    margin-left: -20px;
    margin-right: -20px;
}

/* #endregion ---------------------------------- events ----------------------------------------- */

/* #region -------------------------------------- news ------------------------------------------ */

#news {
    position: relative;
    z-index: 0;
    background-attachment: fixed;
    background-size: cover;
    padding: 50px 0;
}

#news>.row {
    row-gap: 30px;
}

@media (min-width: 992px) {
    #news::after {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        width: 233px;
        background: #006833;
        clip-path: polygon(100% 0, 100% 50%, 100% 100%, 0% 100%, 28% 64%, 0% 0%);
        z-index: -1;
    }
}

#news .tabHeadline {
    background: #ffffff;
    border-radius: 3px;
    padding: 25px;
    color: #006833;
    font-variant: small-caps;
    font-size: 1.5625rem;
    max-width: 200px;
    word-wrap: anywhere;
}

#news .tab_link_entries {
    display: grid;
    gap: 30px;
}

@media (min-width: 576px) {
    #news .tab_link_entries {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    #news .tab_link_entries {
        grid-template-columns: repeat(3, 1fr);
    }
}

#news .tab_link_entry {
    border-bottom: none !important;
    position: relative;
    background: #ffffff;
    border-radius: 2px;
    width: 100%;
    padding: 150px 30px 40px 30px;
    box-shadow: 0 0 5px 0 rgba(43, 43, 43, 0.2);
    border-radius: 3px;
}

#news .tab_link_entry .tab_link_title a::before,
#news .tab_link_entry .tab_preview_picture {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    overflow: hidden;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.contrast_dark #news .tab_link_entry .tab_link_title a::before,
.contrast_light #news .tab_link_entry .tab_link_title a::before {
    top: -150px;
}

#news .tab_link_entry .tab_link_title a::before {
    content: "";
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#news .tab_preview_picture img {
    margin: 0 !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#news .tab_date {
    font-size: 0.75rem;
    font-weight: 600;
    position: absolute;
    left: 50%;
    top: 104px;
    z-index: 1;
    display: inline-block;
    padding: 4px 10px;
    background: #006833;
    color: #ffffff;
    border-radius: 2px;
    transform: translateX(-50%);
}

#news .tab_link_title a {
    color: #444444;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.2;
    display: block;
    margin-bottom: 10px;
}

#news :is(.tab_spacer, .tab_link_mehr) {
    display: none;
}

#news .template-page,
#news .template-page :is(h1, h2, h3, h4, h5, h6) {
    color: #ffffff;
}

#news .template-page a {
    margin-top: 10px;
    font-weight: 600;
    background: #006833;
    color: #ffffff;
    border-radius: 3px;
    padding: 10px 20px;
    text-align: center;
    font-size: 0.875rem;
    margin-left: 0px;
    display: block;
    text-decoration: none;
}

@media (min-width: 992px) {
    #news .template-page a {
        margin-left: 30px;
    }

    #news .tab_link {
        margin-top: 40px;
    }
}

#news .template-page a:is(:hover, :focus) {
    background: #11523e;
}

#news .template-page a::after {
    content: "\00BB";
    margin-left: 4px;
    display: inline-block;
}

/* #endregion ----------------------------------- news ------------------------------------------ */

/* ---------------------------------------------- social ---------------------------------------- */

#social {
    padding: 33px 0;
}

body:not(.index) #social {
    box-shadow: 0 0px 5px rgba(0, 0, 0, 0.2);
}

@media (max-width: 575px) {
    #social>.row>div+div {
        margin-top: 25px;
        padding-top: 25px;
        border-top: 1px solid #dadada;
    }
}

@media (min-width: 768px) {
    #social>.row>div+div {
        border-left: 1px solid #dadada;
    }
}

.socialTab img {
    margin-right: 18px;
    vertical-align: middle;
}

/* --------------------------------------------- scrollTop -------------------------------------- */

#scrollTopBtn {
    position: relative;
    text-decoration: none;
    padding: 6px 30px 6px 50px;
    display: inline-block;
    border-radius: 30px;
    font-size: 1rem;
    color: #ffffff;
    font-weight: 600;
    background: #006833;
    line-height: 1.2;
}

#scrollTopBtn:is(:hover, :focus) {
    background: #11523e;
}

#scrollTopBtn::after {
    content: "";
    position: absolute;
    display: block;
    left: 25px;
    top: 50%;
    margin-top: -2px;
    width: 7px;
    height: 7px;
    border-radius: 1px;
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(135deg);
}

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

footer {
    background-color: #006833;
    color: #ffffff;
    padding: 50px 0;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    position: relative;
}

footer::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: url(../img/berge-footer.png) bottom center / 100% auto no-repeat;
}

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

footer a {
    color: #ffffff;
}

footer a:is(:hover, :focus) {
    color: #ffffff;
}

@media (min-width: 768px) {
    .footerTab {
        border-left: 1px solid rgba(255, 255, 255, 0.25);
        padding-left: 30px;
    }
}

.footerTab a {
    text-decoration: underline;
    font-style: italic;
}

footer .tabHeadline {
    color: #ffffff;
    font-size: 1.5625rem;
    font-weight: 600;
    margin-bottom: clamp(15px, 2vw, 30px);
}

#innerfooter ul {
    padding: 0;
}

#innerfooter a {
    display: inline-block;
    text-decoration: none;
    padding: 5px 0;
}

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

@media (min-width: 768px) {
    #innerfooter ul {
        padding-right: 15px;
    }
}

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

#vernetzt {
    font-size: 0.9375rem;
    color: #ffffff;
    display: inline-block;
    line-height: 1.3;
    text-decoration: none;
}

#vernetzt span {
    display: block;
}

#vernetzt img {
    margin-bottom: 10px;
}

/* --------------------------------------------- contrast -------------------------------------------- */

footer .contrast_dark_font,
#logo .contrast_dark img {
    background: #ffffff;
}

.contrast_dark_font #events .tab_link_mehr a::before {
    color: #000;
    background: #ffffff;
}

.contrast_light_font #events .tab_link_mehr a::before {
    color: #ffffff;
    background: #000;
}

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

.navbar-default .navbar-nav>li:is(.contrast_light_font, .contrast_dark_font) .dropdown-menu>li:first-child,
.navbar-default .navbar-nav>li:is(.contrast_light_font, .contrast_dark_font) .dropdown-menu>li:last-child {
    display: none !important;
}

.contrast_dark_font .clndr-controls {
    background-color: #000 !important;
}