/*
Theme Name: JOYclub Satellites
Theme URI: https://dev.jc.de/joyclub_satellites/joyclubsatellites-changelog_0.4.html
Author: JOYclub MaGra
Author URI: https://wordpress.org/
Description: JOYclub Satellites is an Extract of Twenty Twenty-Two and built to fit the designguidelines of JOYclub
Requires at least: 5.9
Tested up to: 6.0
Requires PHP: 5.6
Details URI: http://example.com/my-theme-changelog.html
Version: 0.4.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: joyclubsatellites
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments
*/

/* ----------- Dieses Sheet ist historisch gewachsen und soll iterativ aufgebrochen und in die passenden Sheets aufgeräumt werden ------*/

@media screen and (min-width: 1400px) {
    .heroimage, .footerimage {
        height: 734px;
        margin-bottom: -400px !important;
    }

}

@media screen and (max-width: 960px) {
    .heroimage, .footerimage {
        height: 400px;
        margin-bottom: -225px !important;
    }

    #herovector {
        padding-bottom: 150px;
    }
}

@media screen and (min-width: 960px) {
    .alignwide, .alignfull {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
    }

    .heroimage, .footerimage {

        height: 734px;
        margin-bottom: -520px !important;
    }
}

body {
    overflow-x: hidden;
}

.heroimage, .footerimage {
    max-height: 734px !important;
    overflow-y: hidden;
}

.footerimage {
    background-image: url("/wp-content/uploads/2022/08/Gruppe-607.png");
    background-size: contain;
    background-position: center;
}

.footerimage img {
    opacity: 0;
}


body .wp-site-blocks {
}

.wp-block-post-content, .wp-block-post-content, #site-title, footer .wp-block-columns {
}

main {
}

#hero, footer {
}

.wp-block-button__link {
    color: var(--wp--preset--color--foreground);
    background: var(--wp--preset--color--primary);
    border: 2px solid var(--wp--preset--color--tertiary);
    border-radius: 16px !important;
}


/* Eventseiten-Sonderklassen */

@media screen and (max-width: 781px) {
    .cnbt_desktop {
        display: none !important;
    }

    .cnbt_navi {
        padding-bottom: 50px;
    }

    .cnbt_logo_cn a span {
        height: 30px;
        width: 55px;
    }
}

@media screen and (min-width: 781px) {
    .cnbt_mobile {
        display: none !important;
    }

    .cnbt_navi {
        padding-bottom: 210px;
    }

    .cnbt_timetable .wp-block-group p {
        min-height: 90px;
    }

    .cnbt_logo_cn a span {
        height: 50px;
        width: 90px;
    }
}


.cnbt_navi {
    padding-top: 10px;
    padding-bottom: 10px;
    position: sticky;
    top: 0px;
    z-index: 10;
    display: block;
    border-bottom: 1px solid var(--wp--preset--color--primary);
}

.cnbt_navi .wp-block-navigation__submenu-container {
    background-color: var(--wp--preset--color--primary) !important;
    width: 100% !important;
    position: fixed;
    top: 49px;
}

.cnbt_navi {
    padding-top: 15px;
    padding-bottom: 15px;
}


.cnbt_navi span {
    margin: auto;
}

.navigationsanker > *, .cnbt_navi .wp-block-navigation .wp-block-navigation-item a:hover {
    text-decoration: none !important;
}

.navigationsanker li {
    padding-top: 5px;
    padding-bottom: 5px;
}

.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container a:hover {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.navigationsanker span:hover {
    text-decoration: none;
    border: var(--wp--preset--color--foreground) solid 3px !important;
}

.navigationsanker span, .wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
    color: white !important;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 5px;
    border-radius: 8px;
    border: rgba(255, 255, 255, 0) solid 3px !important;
}

.navigationsanker span {
    padding: 10px 20px 10px;
}

.cnbt_mobile .navigationsanker a:hover {
    text-decoration: none !important;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}


/*
.raumplantabelle {

}*/

.planpunkt {
    border: 3px var(--wp--preset--color--foreground) solid;
    background: var(--wp--preset--color--tertiary);
    padding: 8px 15px 5px 15px;
    border-radius: 8px;
    min-width: 15px;
    text-align: center !important;
    font-weight: bold;
}

.cnbt_timetable p.cnbt_timetable_head {
    min-height: 0px !important;
}


.cnbt_logo_cn a span {
    background: url(/wp-content/uploads/2022/08/CN22_Logo_whitedelight_FINAL_220609-1.png);
    content: " " !important;
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
}

.cnbt_highlight {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.fancyborder-left {
    border-top: 3px solid;
    border-image: linear-gradient(to right, var(--wp--preset--color--tertiary), rgba(0, 0, 0, 0)) 1;
}

.fancyborder-right {
    border-top: 3px solid;
    border-image: linear-gradient(to left, var(--wp--preset--color--tertiary), rgba(0, 0, 0, 0)) 1;
    margin-top: 0px !important;
}

.wp-container-6 {
    margin-block-start: 0px !important;
}
