@import url("https://fonts.verwaltungsportal.de/import/?family=Exo:400,600,700,400i,600i,700i");


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

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

a {
    color: #2c6e30;
}

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

b,
strong {
    font-weight: 600;
}


/* #region --------------------------------------- logo ----------------------------------------- */

#topbarWrapper {
    padding-top: 25px;
}

.mitgliedButton,
#shopButton,
#logo {
    display: inline-block;
    z-index: 12;
    position: relative;
}

.mitgliedButton+#shopButton {
    margin-left: 35px;
}

.mitgliedButton a,
#shopButton a {
    font-size: 1.125rem;
    position: relative;
    display: inline-block;
    padding-left: 40px;
}

.mitgliedButton a::before {
    content: '';
    background: url(../img/icon-mitglied.png) no-repeat left center;
    width: 27px;
    height: 27px;
    position: absolute;
    left: 6px;
    top: -2px;
}

#shopButton a::before {
    content: '';
    background: url(../img/icon-fanshop.png) no-repeat left center;
    width: 24px;
    height: 27px;
    position: absolute;
    left: 6px;
    top: -2px;
}



#logo img {
    display: block;
}

.logoWord {
    font-size: 1.375rem;
    z-index: 12;
    position: relative;
}

.logoWord :is(h1, h2, h3) {
    font-size: clamp(1.25rem, 3vw, 2.25rem);
    margin: 0;
}

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

    #logo .row {
        margin-left: -15px;
        margin-right: -15px;
    }
}

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


/* #endregion ----------------------------------- logo ------------------------------------------ */

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

/* burgermenu for tablet */

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

    #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: #2c6e30;
        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 {
        padding: 20px 10px;
    }

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

    .dropdown-toggle-button-wrapper2 {
        top: 6px;
        right: 0;
    }
}

/* menu desktop */

@media (min-width: 992px) {
    nav.horizontally {
        transition: background 300ms linear;
    }

    .is-sticky nav.horizontally {
        left: 0 !important;
        width: 100% !important;
        background: rgba(0, 0, 0, 0.95);
    }

    .horizontally>.row {
        max-width: 1200px;
        width: 100%;
    }

    #myNavbar {
        max-width: 1200px;
        margin: auto;
    }

    nav.horizontally .navbar-nav {
        padding: 20px 0;
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .is-sticky nav.horizontally .navbar-nav {
        border-top-color: transparent;
    }

    nav.horizontally li[class*="toplevel"] {
        flex-grow: 1;
    }

    nav.horizontally [class*="toplevel"]>ul {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
    }

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

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

    nav.horizontally .navbar-nav li :is([class*="toplevel"]>ul, [class*="secondlevel"]>ul) {
        display: block !important;
        pointer-events: none;
        opacity: 0;
        visibility: hidden;
        transition: opacity 300ms linear;
    }

    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: #ffffff;
    font-weight: 600;
    text-align: left;
    padding: 14px 5px;
    position: relative;
    font-size: 1.375rem;
    line-height: 1.2;
    text-decoration: none;
    transition: border 300ms linear;
}

@media (max-width: 991px) {
    nav.horizontally li[class*="toplevel"]+li {
        margin-top: 2px;
    }

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

@media (min-width: 992px) {
    nav.horizontally a[class*="toplevel"] {
        padding: 6px 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 100%;
    }
}



/* 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: #e20e17;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
    padding: 10px;
    background: #ffffff;
    box-shadow: 0 20px 30px 0 rgba(0, 0, 0, 0.2);
}

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

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

    nav.horizontally [class*="toplevel"]>ul {
        margin-top: 20px;
    }

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

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

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

    nav.horizontally [class*="secondlevel"]>ul::before {
        width: 52px;
        top: 0;
        bottom: 0;
        left: -52px;
    }
}

/* secondlevel + thirdlevel */

nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]):not(:nth-child(2)) {
    border-top: 1px solid #e7e5e5;
}

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    color: #444444;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 400;
    padding: 11px 0;
    line-height: 1.2;
    text-decoration: none;
    position: relative;
}

@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) {
    color: #2c6e30;
}

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

/* #region ------------------------------------- resp-gaps -------------------------------------- */

#topbar .row {
    row-gap: 25px;
}

:is(#headerpic, #footer)>.row {
    row-gap: 40px;
}

/* #endregion ---------------------------------- resp-gaps -------------------------------------- */

/* #region -------------------------------------- header ---------------------------------------- */

#headerpic {
    background: #172830;
    position: relative;
    min-height: 450px;
}

#headerpic button {
    color: #fff;
}

/* banner */

#slider {
    position: relative;
    height: 100%;
}


@media (min-width: 992px) {
    #headerpic a.nivo-prevNav {
        left: 65px;
    }

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

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

@media (min-width: 992px) {
    .index #headerpic {
        min-height: 800px;
    }
}

#headerpic .slider-mask {
    display: block;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.75) 220px, rgba(255, 255, 255, 0));
}

#headerpic .nivo-main-image {
    min-height: 100% !important;
}

/* #endregion ----------------------------------- header ---------------------------------------- */

/* ------------------------------------------- content & sections ------------------------------------------ */

#content {
    padding-top: 30px;
}


.hrSpecialStyle {
    background: #2c6e30;
    opacity: 1;
    margin-top: 55px;
    margin-bottom: 55px;
}

.hrSpecialStyle::before {
    content: '';
    background: url(../img/logo-sv-schriesheim-trenner.png?v=1) no-repeat center;
    width: 92px;
    height: 92px;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
}


.sectionElement {
    background-position: center;
    background-repeat: no-repeat;
}

.sectionElement .tab a {
    display: inline-block;
    color: #e20e17;
    font-size: 1.125rem;
    font-weight: 400;
    border: 1px solid #e20e17;
    border-radius: 60px;
    padding: 10px 40px 10px 50px;
    background-color: #fff;
    text-decoration: none;
}

.sectionElement .tab a::after {
    content: '\203A';
    margin-left: 20px;
    font-weight: 600;
}

.sectionElement .tab a:hover,
.sectionElement .tab a:focus {
    background: #e20e17;
    color: #fff;
}

.buttonStyle a {
    display: inline-block;
    color: #e20e17;
    font-size: 1.125rem;
    font-weight: 400;
    border: 1px solid #e20e17;
    border-radius: 60px;
    padding: 10px 40px 10px 50px;
    background-color: #fff;
    text-decoration: none;
}

.buttonStyle a::after {
    content: '\203A';
    margin-left: 20px;
    font-weight: 600;
}

.buttonStyle a:hover,
.buttonStyle a:focus {
    background: #e20e17;
    color: #fff;
}

#nw6 {
    font-size: 1rem;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-bottom: 40px;
}


#nw6 .tabContent {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #444444;
}

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

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

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

@media (min-width: 768px) {
    #nw6 .tab_link {
        margin-top: 18px;
    }

    #nw6 .tab_link_entries {
        grid-template-columns: repeat(3, 1fr);
    }
}

#nw6 .tab_link_entry {
    text-align: center;
    position: relative;
    width: 100%;
    border-bottom: none !important;
    padding: 165px 20px 20px 20px;
    background: #ffffff;
    box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    overflow: hidden;
}

#nw6 .tab_link_entry::before {
    content: "";
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: center / cover no-repeat, #666666;
}

#nw6 .tab_link_entry .tab_preview_picture {
    position: absolute;
    display: block;
    left: 0;
    right: 0;
    top: 0;
    height: 150px;
    overflow: hidden;
    background: #ffffff;
}

#nw6 .tab_preview_picture img {
    position: absolute;
    left: 50%;
    top: 50%;
    max-width: none;
    min-width: 100%;
    min-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
}

#nw6 .tab_date {
    position: absolute;
    display: inline-block;
    z-index: 1;
    left: 50%;
    top: 134px;
    font-weight: 400;
    font-size: 1rem;
    color: #fff;
    padding: 4px 10px;
    background: #2c6e30;
    transform: translateX(-50%);
    border-radius: 20px;
}

#nw6 .tab_link_title a {
    color: #e20e17;
    font-weight: 600;
    font-size: 1.375rem;
    line-height: 1.2;
    text-decoration: none;
}

#nw6 .tab_link_entry>div:nth-last-child(2) {
    font-size: 0;
    line-height: 0;
}

#nw6 .tab_link_entry>div:nth-last-child(2)>a {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    text-align: center;
    font-size: 0;
    color: #ffffff;
    font-weight: 400;
    display: flex !important;
    justify-content: center;
    align-items: center;
    align-content: center;
    background: linear-gradient(to bottom, rgba(213, 29, 16, 0.8), rgba(213, 29, 16, 1) 150px);
    opacity: 0;
    transition: opacity 200ms linear;
}

#nw6 .tab_link_entry:hover div:nth-last-child(2)>a {
    opacity: 1;
}

#nw6 .tab_link_entry div:nth-last-child(2)>a::before {
    content: "";
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    margin-left: -40px;
    margin-top: -60px;
    width: 80px;
    height: 80px;
    background: url("../img/mehr-erfahren.png") center no-repeat;
}

#nw6 div:nth-last-child(2)>a::after {
    content: "mehr erfahren";
    margin-top: 100px;
    font-size: 1.25rem;
}

#nw6 a:hover,
#nw6 a:focus {
    text-decoration: none;
}


/* ----------------------------------------- @6nw tab_link_mehr_main ---------------------------------------- */

#nw6 .tab_link_mehr_main {
    color: transparent;
    font-size: 0;
    text-align: right;
}

#nw6 .tab_link_mehr_main a {
    text-decoration: none;
    text-transform: uppercase;
    display: inline-block;
    position: relative;
    font-size: 1rem;
    font-weight: 700;
    color: #0c5c82;
    padding: 13px 25px;
    background: #ccdc65;
    transition: color 300ms linear, background 300ms linear;
}

@media (min-width: 992px) {
    #nw6 .tab_link_mehr_main a {
        padding: 13px 55px;
    }
}

#nw6 .tab_link_mehr_main a:hover,
#nw6 .tab_link_mehr_main a:focus {
    color: #ffffff;
    background: #004261;
}


/* ------------------------------------------------ @26tab ----------------------------------------------- */

#tab26 {
    margin: auto;
    width: 100%;
    max-width: 1200px;
    padding: 40px 0;
}

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

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

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

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

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 ------------------------------------------- */

#footerBottom {
    background: #e20e17;
    color: #fff;
}

#footerTop {
    padding-bottom: 40px;
}

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

#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.9375rem;
    color: #ffffff;
    line-height: 1.3;
    font-weight: 400;
    text-decoration: none;
}

#vernetzt span span {
    display: block;
}