/**
 * Anpassungen am Design (2022-2023).
 */
:root {
    --dash-color-primary-blue: #38638E;
    --dash-color-primary-dark-blue: #254464;
    --dash-color-link: #5E443A;
}

/**
 * Global
 */
a,
.page .page-inner-section a,
.page .page-inner-section .page-section a {
    color: var(--dash-color-link);
    text-decoration-color: initial;
    transition: color .2s ease-in-out;
}

a:hover,
a:active,
a:focus,
.page .page-inner-section a:hover,
.page .page-inner-section a:active,
.page .page-inner-section a:focus,
.page .page-inner-section .page-section a:hover,
.page .page-inner-section .page-section a:active,
.page .page-inner-section .page-section a:focus {
    color: #564635;
    transition: color .2s ease-in-out;
}

@media (max-width: 991px) {
    .page .page-inner-section > .container {
        width: 100%;
    }
}

.page .page-inner-section a.post-teaser {
    text-decoration: none;
}

.page .page-inner-section a.post-teaser:hover, .page .page-inner-section a.post-teaser:focus-visible, .page .page-inner-section a.post-teaser:active {
  text-decoration: underline #fff;
}



/**
 * Kopfbereich
 */
header.main-header {
    background-color: #113856;
    padding-top: 15px;
    padding-bottom: 10px;
}

section.section-blog {
    background-color: #113856;
}

/* Logo */
header.main-header .logo {
    padding-top: 0;
    margin-bottom: 0;
}

header.main-header .logo img {
    height: 96px;
    width: auto;
}

/* Navigation im Kopfbereich  */
header.main-header .main-header-content {
    display: flex;
    justify-content: space-between;
    margin-left: -15px;
    margin-right: -15px;
}

header.main-header .right-content {
    display: flex;
    justify-content: flex-end;
}

header.main-header .header-nav {
    display: flex;
    position: relative;
}

header.main-header .header-nav > ul {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (max-width: 768px) {
  div.header-nav ul {
    background-color: #254464 !important;
  }
}

header.main-header .header-nav > ul > li {
    display: block;
}

header.main-header .header-nav > ul > li > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    line-height: 1.25rem;
    letter-spacing: 0;
    text-align: center;
    text-decoration: none;
    padding-left: 14px;
    padding-right: 14px;
    height: 60px;
    /*background-color: var(--dash-color-primary-blue);*/
    background-color: #113856;
    white-space: nowrap;
}

header.main-header .header-nav > ul > li.donate {
    padding-right: .5rem;
    padding-left: .5rem;
}

header.main-header .header-nav > ul > li.donate a {
    background: #97d9b8;
    border-radius: 1rem;
    color: #113856;
    font-weight: bold;
    line-height: 1.5rem;
    height: auto;
    padding: .25rem .5rem;
    text-transform: uppercase;
}

@media (min-width: 1025px) {

    header.main-header .header-nav > ul > li.donate {
        padding-right: 0;
        padding-left: 0;
    }

    header.main-header .header-nav > ul > li.donate a {
        border-radius: 1.5rem;
        padding: .75rem 1rem;
        position: absolute; top: 1.625rem; right: 485px;
        transform: translateX(50%);
    }

}

@media (min-width: 1200px) {

    header.main-header .header-nav > ul > li.donate a {
        padding: .75rem 1.5rem;
        right: 570px;
    }

}

header.main-header .header-nav > ul > li.donate a:hover, header.main-header .header-nav > ul > li.donate a:focus-visible, header.main-header .header-nav > ul > li.donate a:active {
    background: #fff;
    color: #113856;
}

@media (max-width: 400px) {
    header.main-header .header-nav > ul > li > a {
        padding-left: 10px;
        padding-right: 10px;
    }
}

header.main-header .header-nav > ul > li > a.active {
    background-color: var(--dash-color-primary-dark-blue);
}

header.main-header .header-nav > ul > li > a > * {
    pointer-events: none;
}

header.main-header .header-nav > ul > li a.has-icon {
    font-size: .5rem;
    font-weight: bold;
    line-height: 1;
    text-transform: uppercase;
}

header.main-header .header-nav > ul > li a.has-icon > span.fa {
    font-size: 1.5625rem;
    font-weight: 400;
    margin-bottom: 3px;
}

header.main-header .header-nav > ul > li > a:hover,
header.main-header .header-nav > ul > li > a:active,
header.main-header .header-nav > ul > li > a:focus {
    background-color: var(--dash-color-primary-dark-blue);
}

/* Einkaufswagen */
header.main-header .ah-menu-shop-cart {
    position: relative;
}

header.main-header .ah-menu-shop-cart .cart-count {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(15px);
    font-size: .75rem;
    line-height: 1.875rem;
    font-weight: 400;
}

header.main-header .ah-menu-shop-cart:not(.ah-menu-shop-has-cart-items) .cart-count {
    display: none;
}

/* Dropdown */
header.main-header .header-nav-dropdown {
    display: none;
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 1000;
    margin-top: 5px;
    padding: 30px 47px;
    background-color: var(--dash-color-primary-dark-blue);
}

/* Zielgruppen */
header.main-header ul.target-groups {
    list-style: none;
    padding: 0;
    margin: 0;
}

header.main-header ul.target-groups > li > a {
    color: #fff;
    font-size: 1rem;
    line-height: 1.875rem;
    letter-spacing: 0;
}

header.main-header ul.target-groups > li > a.active {
    font-weight: 700;
}

/* User Profil */
header.main-header ul.user-profile {
    list-style: none;
    padding: 0;
    margin: 0;
}

header.main-header ul.user-profile a {
    color: #fff;
}

header.main-header ul.user-profile a:hover,
header.main-header ul.user-profile a:active,
header.main-header ul.user-profile a:focus {
    color: #fff;
    text-decoration: underline;
}

header.main-header ul.user-profile > li {
    margin-bottom: 8px;
}

header.main-header ul.user-profile > li:last-child {
    margin-bottom: 0;
}

header.main-header ul.user-profile .dash-username {
    font-weight: 700;
}

header.main-header ul.user-profile .dash-divider {
    border-top: 1px solid #fff;
    margin-top: 22px;
    margin-bottom: 22px;
    transform: translateX(-47px);
}

header.main-header ul.user-profile .dash-logout {
    font-weight: 700;
}

/**
 * Kopfbereich (mobile)
 */

@media (max-width: 768px) {
    body {
        margin-top: 46px !important;
    }

    body.admin-bar header.main-header .header-nav {
        top: 46px;
    }

    header.main-header .header-nav {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
    }

    header.main-header .header-nav > ul {
        gap: 1px;
        width: 100%;
        background-color: #fff;
    }

    header.main-header .header-nav > ul > li:not(.fixed-width) {
        flex: 1;
    }

    header.main-header .header-nav > ul > li > a {
        font-size: .75rem;
        font-weight: 400;
        height: 45px;
        background-color: var(--dash-color-primary-dark-blue);
    }

    header.main-header .header-nav > ul > li a.has-icon {
        font-size: .375rem;
    }

    header.main-header .ah-menu-shop-cart .cart-count {
        font-size: .625rem;
        line-height: 1.25rem;
    }

    header.main-header .header-nav-dropdown {
        margin-top: 1px;
        padding: 12px 22px;
    }

    header.main-header .logo img {
        height: 46px;
        margin-left: 15px;
        margin-bottom: 5px;
    }

    header.main-header nav {
        position: relative;
    }

    header.main-header nav .navbar-toggle {
        top: 0;
        transform: translateY(-10px);
        margin-right: 0;
    }

    header.main-header ul.user-profile > li {
        margin-bottom: 4px;
    }

    header.main-header ul.user-profile .dash-divider {
        margin: 11px -22px;
        transform: translateX(0);
    }
}

/**
 * Startseite Header-Bild
 */
body.page-template-template-frontpage .section-slider {
    position: relative;
    width: 100%;
}

/*
body.page-template-template-frontpage .section-slider .slide:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent linear-gradient(180deg, #FFF0 0%, #a47e6205 100%) 0 0 no-repeat padding-box;
    border-radius: 2px;
}
*/

body.page-template-template-frontpage .section-slider .slider-textbox {
    position: absolute;
    bottom: 5%;
    padding: 0;
    width: 500px;
    box-shadow: none;
    background: none;
    z-index: 900;
}

@media (max-width: 768px) {
    body.page-template-template-frontpage .section-slider .slider-textbox {
        width: 100%;
        padding-left: 8%;
        padding-right: 8%;
        bottom: 5%;
    }
}

body.page-template-template-frontpage .section-slider .img-responsive {
    min-height: 400px;
    height: 60vh;
    max-height: 600px;
    object-fit: cover;
}

@media (max-width: 768px) {
    body.page-template-template-frontpage .section-slider .img-responsive {
        min-height: 276px;
        height: 35vh;
        max-height: 400px;
        object-fit: cover;
    }
    body.page-template-template-frontpage .section-slider .slick-list,
    body.page-template-template-frontpage .section-slider .slick-track,
    body.page-template-template-frontpage .section-slider .slick-slide {
        width: 100% !important;
    }
}

body.page-template-template-frontpage .slider-textbox h1 {
    font-size: 4.75rem;
    font-weight: 500;
    line-height: 6rem;
    letter-spacing: 0;
    color: #FCFAFA;
    text-shadow: 0 3px 11px #0000009E;
}

@media (max-width: 768px) {
    body.page-template-template-frontpage .slider-textbox h1 {
        font-size: 3.0rem;
        line-height: 4.0rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .dropdown-menu {
        font-size: 1.1875rem;
    }
}


.section-slider .slick-slide:has(.slider-textbox) {
  position: relative;
}

/*
.section-slider .slick-slide:has(.slider-textbox)::before {
  background: rgba(0,0,0,.35);
  content: '';
  position: absolute; inset: 0;
  z-index: 4;
}
*/


/**
 * Startseite Blog
 */
@media (max-width: 500px) {
    body.page-template-template-frontpage .section-blog .vc_col-xs-6 {
        width: 100%;
    }
}

@media (max-width: 768px) {
    body.page-template-template-frontpage .section-blog {
        padding-top: 15px;
    }
}

/**
 * Social Network Links left
 */

@media (max-width: 768px) {
    li.social-mail {
        display: none;
    }

    li.social-facebook {
        display: none;
    }
}


/**
 * Content Header Image
 */

.header-banner {
    max-height: 300px;
    width: 100%;
    overflow: hidden;
    position: relative;
}


/**
 * Listen
 */
ol.wp-block-list li {
  list-style-type: decimal;
  margin-left: 1.5rem;
}

/**
 * Team Images
 */

figure.wp-block-image.team img {
    border-radius: 6px;
}

figure.wp-block-image.team_klein {
    width: 58%;
}

@media (max-width: 576px) {

    figure.wp-block-image.team img {
        border-radius: 3px;
    }


    figure.wp-block-image.team_klein {
        width: 75%;
    }
}


.header-banner > img {
    width: 100%;
}

aside.sidebar {
    margin-right: 0;
}
/*
#ah-sidebar {

}

#ah-sidebar li {
    padding: 0;
    border: none;
}

#ah-sidebar li a {
    hyphens: auto;
}

#ah-sidebar > li {
    border-bottom: 1px solid #766048;
}

#ah-sidebar > li:first-child {
    border-top: 1px solid #766048;
}

#ah-sidebar > li > a {
    font-size: 1rem;
    font-weight: bold;
    padding-top: 13px;
    padding-bottom: 10px;
}

#ah-sidebar li > a {
    display: block;
    text-transform: none;
}

#ah-sidebar > li .sub-menu {
    display: none;
    padding-top: 10px;
    padding-bottom: 20px;
}

#ah-sidebar > li > .sub-menu {
    border-top: 1px solid #766048;
}
#ah-sidebar > li .sub-menu > li:not(:last-child) {
    margin-bottom: 8px;
}
#ah-sidebar > li .sub-menu > li.current-menu-item > a {
    font-weight: bold;
}

#ah-sidebar li.menu-item-has-children > a {
    position: relative;
    padding-right: 30px;
}

#ah-sidebar li.menu-item-has-children > a:before {
    content: '';
    position: absolute;
    top: 50%;
    right: 15px;
    width: 8px;
    height: 8px;
    border: 1.5px solid #766048;
    border-left: none;
    border-bottom: none;
    transform-origin: center center;
    transform: translateY(calc(-50% - 1px)) rotate(-225deg);
    transition: transform .4s ease-in-out;
}
*/
/*#ah-sidebar li.menu-item-has-children.current-menu-parent > a:before,
#ah-sidebar li.menu-item-has-children.current-menu-item > a:before,*/
/*
#ah-sidebar li.menu-item-has-children.open > a:before {
    transform: translateY(calc(-50% + 3px)) rotate(-45deg);
}

#ah-sidebar li.menu-item-has-children.current-menu-parent > .sub-menu,
#ah-sidebar li.menu-item-has-children.current-menu-item > .sub-menu {
    display: block;
}
*/
/**
 * Breadcumb
 */
#ah-breadcrumbs {
    font-size: 1rem;
    margin-bottom: 18px;
    color: #535353;
}
#ah-breadcrumbs a {
    color: #535353;
}

#ah-breadcrumbs .dash-breadcrumb-slash:nth-last-child(2),
#ah-breadcrumbs .breadcrumb_last {
    display: none;
}

/**
 * Page Navigation
 */
#ah-page-navigation {
    display: flex;
    justify-content: space-between;
    max-width: 700px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #766048;
    gap: 80px;
}
@media (max-width: 768px) {
    #ah-page-navigation {
        flex-direction: column;
        gap: 0;
        padding-top: 0;
        border: none;
    }
}
#ah-page-navigation a {
    position: relative;
    display: block;
    color: #3F5E65;
    font-size: 1.125rem;
}
@media (max-width: 768px) {
    #ah-page-navigation a {
        padding-top: 20px;
        padding-bottom: 20px;
        border-top: 1px solid #766048;
    }
}
#ah-page-navigation a:before {
    content:'';
    display: block;
    position: absolute;
    top: 50%;
    width: 10px;
    height: 14px;
    transform: translateY(-50%);
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbDpzcGFjZT0icHJlc2VydmUiIHN0eWxlPSJmaWxsLXJ1bGU6ZXZlbm9kZDtjbGlwLXJ1bGU6ZXZlbm9kZDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6MiIgdmlld0JveD0iMCAwIDEwIDE0Ij48cGF0aCBkPSJNMCAwaDEwdjE0SDB6IiBzdHlsZT0iZmlsbDpub25lIi8+PHBhdGggZD0iTTMuMjEzIDkuODgzYy0uMTg5LjQxNS0uMDc1LjkyLjMwMiAxLjIwOWw3LjEyNyA1LjQ2NGExIDEgMCAwIDAgMS4yMTctMS41ODdsLTYuMTY1LTQuNzI2IDYuMjEtNS4zNjNhMS4wMDIgMS4wMDIgMCAwIDAtMS4zMDgtMS41MTRMMy40ODMgOS41MDlhMS4wMDEgMS4wMDEgMCAwIDAtLjI3LjM3NFoiIHN0eWxlPSJmaWxsOiMzZjVlNjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yLjY4NyAtMi45NDMpIi8+PC9zdmc+")
}

#ah-page-navigation .prev a {
    padding-left: 20px;
}
#ah-page-navigation .prev a:before {
    left: 0;
}
#ah-page-navigation .next a {
    padding-right: 20px;
}
#ah-page-navigation .next a:before {
    right: 0;
    transform: translateY(-50%) rotate(180deg);
}
@media (max-width: 768px) {
    #ah-page-navigation .next a {
        text-align: right;
    }
}

/**
 * Float fix
 */
.page-content::after {
    clear: both;
    content: '';
    display: block;
}


/**
 * Cookie
 */
.BorlabsCookie.BorlabsCookie ._brlbs-btn-switch ._brlbs-slider {
    border: .125rem currentColor solid;
    color: #bdc1c8 !important;
}
.BorlabsCookie.BorlabsCookie ._brlbs-btn-switch input[data-borlabs-cookie-switch]:checked + ._brlbs-slider {
    color: #31508c !important;
}
.BorlabsCookie.BorlabsCookie ._brlbs-btn-switch ._brlbs-slider::before {
    border: .125rem currentColor solid;
    bottom: .125rem;
    color: #fff;
}
.BorlabsCookie.BorlabsCookie  ._brlbs-btn-switch input:checked + ._brlbs-slider::before {
    background: currentColor;
    color: #fff;
    transform: translateX(22px);
}


/**
 * Rank Math Breadcrumb
 */
nav.rank-math-breadcrumb {

    height: auto !important;

    ul {
        display: flex;
        flex-wrap: wrap;
        gap: .25rem;
    }

}


/**
 * Woocommerce
 */
.woocommerce-cart-form td.product-quantity .quantity:has(input[type="hidden"]) label {
  display: none;
}

form.checkout_coupon.woocommerce-form-coupon label.screen-reader-text,
.woocommerce-checkout .form-row.address-field  label.screen-reader-text {
  clip: auto;
  clip-path: none;
  height: auto;
  position: static !important;
  overflow: hidden;
  width: auto;
  word-wrap: normal !important;
}
form.checkout_coupon.woocommerce-form-coupon .form-row.form-row-last {
  padding-top: 1.625rem;
}

.ah-shop-required-info .required.required {
  color: var(--wc-red);
}

.woocommerce ul.products li.product a:hover, .woocommerce ul.products li.product a:focus-visible, .woocommerce ul.products li.product a:active {
  text-decoration: underline;
}


/**
 * BorlabsCookie
 */
#BorlabsCookieBox a:not([role="button"]) {
  text-decoration: underline;
}
#BorlabsCookieBox a:not([role="button"]):hover,
#BorlabsCookieBox a:not([role="button"]):focus-visible {
  text-decoration: none;
}

body #BorlabsCookieBox ._brlbs-legal a,
body #BorlabsCookieBox ._brlbs-legal a:hover {
  color: #757575;
}


/**

Woocommerce

*/
.woocommerce .payment_methods {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.page .woocommerce .payment_methods ul, .page .woocommerce .payment_methods ul li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce .payment_methods ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 1rem;
}

.woocommerce .payment_methods ul li {
  flex: 1 0 10rem;
  text-align: center;
}


/**

Mailpoet

*/
.mailpoet_form {
    padding: 0;
}

.mailpoet_form p.mailpoet_form_paragraph {
    margin-top: 0 !important;
}

.mailpoet_form input.mailpoet_text {
    border: .125rem #113856 solid !important;
}

.mailpoet_form input.mailpoet_submit {
    background: #113856;
    border: .125rem #113856 solid !important;
    color: #fff;
    font-weight: bold;
}

.mailpoet_form input.mailpoet_submit:hover, .mailpoet_form input.mailpoet_submit:focus-visible, .mailpoet_form input.mailpoet_submit:active {
    background: #fff;
    border: .125rem #113856 solid;
    color: #113856;
}


/**

Startseite

*/
body.page-template-template-frontpage {
    background: #113856;
}

