/* Sticky main navigation */

header.site-header.is-sticky {
    position: fixed;
    margin-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/* Mobile styles */

/* Remove styles in default */
.custom-mobile-logo-link,
.bottom-of-header .branding .mobile-logo,
.mobile-menu-opener {
    display: none;
}

/* Add mobile styles */
@media(max-width: 759px) {

    /* ANFANG STYLES VON JCPW */

    .bottom-of-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: white;
    }

    .bottom-of-header .branding {
        position: absolute;
        top: 8px;
        left: 7px;
    }

    .bottom-of-header .branding .custom-logo-link {
        display: block;
    }

    .bottom-of-header .branding .mobile-logo {
        height: 40px;
        width: auto;
        display: block;
    }

    .bottom-of-header .branding .custom-logo {
        display: none;
    }

    .bottom-of-header .menu-main-container{
        width: 100%;
    }

    .menu-main-container #menu-main.primary-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        /*align-items: flex-end;*/
        /*flex-direction: row-reverse;*/

    }

    .menu-main-container #menu-main.primary-menu > li {
       min-width: 50px;
        order: 2;
    }

    .menu-main-container #menu-main.primary-menu > li:not(.menu-btn) a  {
        font-size: 16px;
        padding: 8px;
        height: auto;
        margin: 0;
    }

    .menu-main-container #menu-main.primary-menu > li.menu-btn  {
        width: 100%;
        order: 1;
        text-align: right;
        padding-top: 8px;
        padding-right: 8px;
    }

    .menu-main-container #menu-main.primary-menu > li.menu-btn > a {
       font-size: 15px;
    }

    .menu-main-container #menu-main.primary-menu > li.menu-btn > a:after { content: none; }

    .bottom-of-header .divider {
        opacity: 1;
        left: 0;
        right: 0;
    }


    /* ENDE STYLES VON JCPW */









/*

    .mobile-logo {
        width: 175px;
        height: auto;
        margin: 4px 0 0px 10px;
    }*/

    body.mobile-menu-opened {
        overflow: hidden;
    }

    /* Hide and clean some stuff */
    header.site-header ul, .sticky-navi ul,
    header.site-header .header-search,
    header.site-header .top-of-header,
    header.site-header .top-of-header .facebook-icon {
        display: none;
    }

    .custom-mobile-logo-link {
        display: inline-block;
    }

    .custom-mobile-logo {
        height: 66px;
        margin: 3px 0 0px 10px;
    }

    .mobile-menu-opener {
        position: absolute;
        /*font-family: BsgIcons;*/
        display: inline-block;
        right: 0px;
    }

    .mobile-menu-opener .hamburger {
        padding: 20px 10px;
    }

    .mobile-menu-opener .hamburger-inner,
    .mobile-menu-opener .hamburger-inner:after,
    .mobile-menu-opener .hamburger-inner:before {
        width: 28px;
    }

    /*    .mobile-menu-opener:after {
            content: '\e92d';
            font-family: BsgIcons;
            font-size: 17px;
            position: absolute;
            top: 23px;
            right: 27px;
            cursor: pointer;
        }*/

    /*    .mobile-menu-opener.active:after {
            content: '\e905';
            font-family: BsgIcons;
        }*/

    .header-wrapper {
        width: 100%;
        position: fixed;
        top: 0;
        display: block;
        z-index: 1000;
    }

    header.site-header {
        position: fixed;
        width: 100%;
        margin: 0;
        background-color: #ffffff;
        padding: 0;
        border-radius: 0;
        min-height: 66px;
        box-shadow: 0 2px 5px 0 rgba(0,0,0,0.25);
    }

    header.site-header.hover {
        border-radius: 0;
    }

    /*header.site-header .branding .custom-logo {
        display: none;
    }*/
/*
    header.site-header #menu-main li {
        display: block;
        min-width: 100%;
        float: none;
    }*/

    /* Define all mobile menus */
    .mobile-menu {
        display: none;                          /*!!!*/
        /*display: block;*/
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        overflow-x: hidden;
        z-index: 50;
        height: 1000px;
    }

    .mobile-menu ul > li {
        list-style-type: none;
        border-bottom: 1px solid rgba(0,0,0,0.1);
        padding: 20px 30px;
    }

    .mobile-menu ul > li > a {
        color: #000000;
        text-decoration: none;
        color: #333333;
        font-family: "Open Sans";
        font-size: 21px;
    }

    .mobile-menu ul > li.sub-menu-opened:after {
        content: '\e901';
        display: inline-block;
        float: right;
        font-family: BsgIcons;
        font-size: 18px;
        padding-top: 5px;
    }

    .mobile-menu ul > ul {
        display: none;                          /*!!!*/
        /*display: block;*/
        padding: 0px 0 15px 30px;
    }

    .mobile-menu #menu-main .sub-menu .sub-menu li {
        border-bottom: none;
        margin: 8px 0 8px 0;
    }

    .mobile-menu ul > ul > li {
        padding: 18px 0;
    }

    .mobile-menu ul > ul > li a {
        width: 80%;
        display: inline-block;
    }

    .mobile-menu ul > ul > li.menu-item-has-children .after:after {
        content: '\e918';
        display: inline-block;
        float: right;
        font-family: BsgIcons;
        font-size: 18px;
        padding-top: 5px;
        padding-right: 30px;
    }

    .mobile-menu ul > ul > li.menu-item-has-children.open .after:after {
        content: '\e905';
    }

    .mobile-menu ul > ul > li > ul {
        display: none;                          /*!!!*/
    }

    .mobile-menu ul > ul > li > ul > li > a {
        font-size: 18px;
        color: #333333;
    }

    .mobile-menu ul > li.sub-menu-opened {
        background-color: #F0F0F0;
    }

    .head-slider .slick-arrow {
        display: none !important;
    }

    .head-slider .slick-dots {
        left: 20px;
        right: 20px;
        bottom: 25px;
    }

    .head-slider {
        height: 350px;
    }

    .head-slider .inner-slide p {
        display: none;
    }

    .head-slider .inner-slide {
        padding: 0 20px;
        line-height: 1.2;
    }

    .footer-donation-slider .slick-arrow {
        display: none !important;
    }

    .footer-donation-wrapper {
        height: 400px !important;
    }

    .footer-donation-description p {
        display: none;
    }

    .footer-donation-text-flex-wrapper {
        flex-direction: column;
        align-items: center !important;
    }

    .footer-donation-description {
        width: 100% !important;
    }

    .footer-donation-description h2 {
        font-size: 24px !important;
        text-align: center;
        line-height: 1.2;
    }

    .footer-donation-text-flex-wrapper > a {
        position:relative;
        top: 50px
    }

    .footer-donation-text-wrapper {
        width: auto !important;
        margin-left: 15px !important;
        margin-right: 15px !important;
    }

    .footer-donation-progress-wrapper {
        position: relative;
        top: -90px;
    }

    .footer-donation-text-wrapper {
        padding: 15px 20px 30px !important;
    }

    .footer-donation-slider .slick-dots {
        top: calc(100% - 250px) !important;
        left: 11px !important;
        right: 11px !important;
    }

    .termin_container .description {
        font-size: 18px;
        line-height: 1.2;
        padding-left: 15px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .termin_container .date .day {
        font-size: 26px;
    }

    .termin_container .date .month {
        font-size: 13px;
    }

    .termin_container .date {
        min-height: 70px;
        width: 68px;
        padding: 0;
    }

    .roundthing {
        display: none !important;
    }
}