/*
Theme Name: Böblinger Weiterbildungstag
Author: Völker Digital GmbH
Author URI: https://www.voelkerdigital.com
Description: WordPress Theme für die Website des Böblinger Weiterbildungstags
Version: 1.0
Requires at least: 6.2
Tested up to: 6.2
Requires PHP: 7.4
*/


:root {
    --white: #F5F5F5;
    --black: #000000;
    --green: #1CA03B;
    --orange: #F59B15;
    --pink: #d9027f;
    --nav-desktop: 80px;
}

.bg-green {
    background-color: var(--green);
}

.bg-orange {
    background-color: var(--orange);
}

.bg-pink {
    background-color: var(--pink);
}

.bg-white {
    background-color: var(--white);
}

@font-face {
    font-display: swap;
    font-family: 'Noto Sans';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/noto-sans-v28-latin-regular.woff2') format('woff2'); 
  }

@font-face {
    font-display: swap;
    font-family: 'Noto Sans';
    font-style: normal;
    font-weight: 600;
    src: url('fonts/noto-sans-v28-latin-600.woff2') format('woff2'); 
}


/* ---------- GLOBAL STYLES ---------- */

html, 
body {
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--green);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.pojo-a11y-grayscale {
    background-color: gray;
}

.hidden {
    visibility: hidden;
}

button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Sans', Helvetica, Arial, sans-serif;
    font-weight: 600;
    margin-top: 0;
    color: var(--white);
}

h1, h2 {
    font-size: 32px;
    line-height: normal;
    margin-bottom: 36px;

}

h3, h4, h5, h6 {
    font-size: 18px;
    line-height: normal;
    margin-bottom: 20px;
}

ul {
    padding-left: 20px;
}

p,li {
    font-family: 'Noto Sans', 'Times New Roman', Times, serif;
    font-size: 18px;
    line-height: normal;
    margin-top: 0;
    color: var(--white);
}

p:last-child {
    margin-bottom: 0;
}

a {
    font-family: 'Noto Sans', 'Times New Roman', Times, serif;
    font-size: 18px;
    line-height: normal;
    color: var(--white);
    transition: all 0.2s;
}

a:hover {
    text-decoration: none;
}

button {
    color: var(--black);
}

strong {
    font-weight: 700;
}

/* ---------- GLOBAL : BUTTON ---------- */

.button-container.button-green a {
    background-color: var(--green);
}

.button-container {
    margin-top: 40px;
    margin-bottom: 10px;
}

.button-container a {
    padding: 10px 15px 10px 15px;
    text-decoration: none;
    color: var(--white) !important;
    font-weight: 600;
    font-size: 16px;
    line-height: normal;
}

.filter-btn {
    padding: 10px 15px 10px 15px;
    text-decoration: none;
    color: var(--green);
    background-color: var(--white);
    font-weight: 600;
    font-size: 16px;
    line-height: normal;
    margin-right: 5px;
    transition: opacity 0.25s;
    opacity: 0.5;
}

.filter-btn.active,
.filter-btn:hover {
    opacity: 1;
}

.button-container a:hover {
    opacity: 0.5;
}

/* ---------- GLOBAL : GRID ---------- */

.grid-container,
.inner-grid {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    flex-wrap: wrap;
}

.container-max-width {
    max-width: 1680px;
    margin-left: auto;
    margin-right: auto;
}

.grid-container.has-gaps {
    gap: 0 20px;
}

.inner-grid.has-gaps {
    gap: 0 10px;
}

.grid-container.reverse-all {
    flex-direction: row-reverse;
}

.grid-container.full-height {
    min-height: calc(100vh - var(--nav-desktop));
    min-height: calc(100dvh - var(--nav-desktop));
}

.col-12 {
    width: 100%;
}

.col-10 {
    width: 83.25%;
}

.has-gaps .col-10 {
    width: calc(83.25% - 10px);
}

.col-6 {
    width: 50%;
}

.has-gaps .col-6 {
    width: calc(50% - 10px);
}

.col-5 {
    width: 41.6%;
}

.has-gaps .col-5 {
    width: calc(41.6% - 10px);
}

.col-4 {
    width: 33.3%;
}

.col-3 {
    width: 25%;
}

.col-2  {
    width: 16.65%
}

.has-gaps .col-2 {
    width: calc(16.65% - 10px);
}


.has-gaps .col-4 {
    width: calc(33.3% - 14px);
}

.col-inner {
    padding: 55px 40px;
}

/* ---------- GLOBAL : RICH TEXT BOX ---------- */

.rich-text-box.max-width {
    max-width: 480px;
}

.rich-text-box.paragraph-big.max-width,
.rich-text-box.max-width-large {
    max-width: 680px;
}

.rich-text-box h1:last-child,
.rich-text-box h2:last-child,
.rich-text-box h3:last-child,
.rich-text-box h4:last-child,
.rich-text-box h5:last-child,
.rich-text-box h6:last-child {
    margin-bottom: 0;
}

/* ---------- HEADER ---------- */

.main-global-header {
    position: fixed;
    top: 0;
    height: 95px;
    width: 100%;
    background-color: var(--green);
    z-index: 1000;
    box-shadow: 0 5px 5px 0px rgba(0,0,0,.2);
}

.header-spacer {
    height: 95px;
    width: 100%;
}

.header-inner {
    position: relative;
    margin: 15px 40px;
}

.header-logo {
    background-image: url('assets/Boeblinger-Weiterbildungstag-Logo-Small.png');
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    width: 180px;
    height: 80px;
    margin-top: -8px;
}

.menu-button {
    width: 45px;
    height: 45px;
    position: absolute;
    right: -10px;
    top: -2px;
}

.menu-button-container {
    top: 12px;
    position: absolute;
    right: 0;
    display: none;
}

.menu-button span {
    height: 3px;
    width: 40px;
    background-color: var(--white);
    position: absolute;
    left: 2px;
}

.menu-button span.first {
    top: 16px
}

.menu-button span.second {
    bottom: 16px
}

.header-info-text {
    position: absolute;
    left: 270px;
    top: 10px;
}

.header-info-text p {
    color: var(--white);
    font-weight: 600;
    font-size: 16px;
    line-height: normal;
}

.socials-outer-container {
    position: absolute;
    right: 0px;
    top: 17px;
}

.social-link {
    width: 30px;
    height: 30px;
    display: block;
}

.social-link:hover {
    opacity: 0.5;
}

.social-icon {
    width: 100%;
    height: 100%;
}

.icon-fb {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url('assets/fb-icon.svg');
    width: 100%;
    height: 100%;
}

/* ---------- DESKTOP MENU ---------- */

.desktop-menu-container {
    position: absolute;
    right: 50px;
    top: 18px;
}

.desktop-menu-container ul {
    margin: 0;
    padding: 0;
}

.desktop-menu-container ul li {
    list-style: none;
    display: inline;
    padding-right: 12px;
}

.desktop-menu-container ul li a {
    font-size: 18px;
    line-height: normal;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
}

.desktop-menu-container ul li.current-menu-item a {
    text-decoration: underline;
}


/* ---------- MENU ---------- */

.menu-container {
    height: 100vh;
    height: 100dvh;
    position: fixed;
    top: 0;
    right: 0;
    width: 45%;
    z-index: 999;
}

.menu-container-inner {
    padding: 140px 40px 40px 40px;
}

.menu-container-inner ul {
    margin: 0;
    padding: 0;
}

.menu-container-inner ul li {
    list-style: none;
    margin-bottom: 15px;
}

.menu-container-inner ul li a {
    font-size: 28px;
    line-height: normal;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
}

.menu-container-inner ul li a:hover {
    color: #FFFFFF;
    opacity: 0.5;
}

.menu-container-inner ul li.current_page_item a {
    color: #FFFFFF;
    text-decoration: underline;
}

.menu-opacity-container {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    display: none;
    position: fixed;
    background: var(--black);
    opacity: 0;
    z-index: 998;
}

.menu-booking-button-container {
    position: absolute;
    bottom: 40px;
    left: 20px;
}

/* ---------- SLIDER SECTION ---------- */

.carousel-cell {
    width: 100%;
    height: auto;
}

.carousel-cell-image {
    display: block;
    height: auto;
    width: 100%;
}

/* ---------- SECTION TEXT HIGHLIGHT ---------- */

.text-highlight {
    color: var(--white);
    text-align: center;
}

.text-highlight .text-box {
    margin-top: 30px;
}

.text-box.bg-white h1,
.text-box.bg-white h2,
.text-box.bg-white h3,
.text-box.bg-white h4,
.text-box.bg-white h5,
.text-box.bg-white h6,
.text-box.bg-white p,
.text-box.bg-white a {
    color: var(--black);
}

/* ---------- DEFAULT TEXT SECTION ---------- */

.default-text-section {
    margin-top: 20px;
    margin-bottom: 80px;
}

.back-link {
    margin-bottom: 45px;
}

.text-section .col-12 .col-inner {
    padding-bottom: 0px;
}

/* ---------- AUSSTELLER SECTION ---------- */  

.aussteller-text-section {
    margin-top: 20px;
}

.aussteller-section {
    padding-top: 20px;
}

.aussteller-section .col-6,
.aussteller-section .col-4 {
    margin-bottom: 20px;
}

.aussteller-container {
    margin-top: 20px;
    margin-bottom: 40px;
    padding: 0px 40px;
}

.button-group {
    margin-top: 60px;
    padding: 0px 40px;
}

.filter-btn,
.button-group button {
    padding: 4px 12px;
    color: var(--white);
    background-color: green;
    border: 1px solid white;
    border-radius: 8px;
    margin-right: 5px;
    font-family: 'Noto Sans', 'Times New Roman', Times, serif;
    font-size: 18px;
    line-height: normal;
    opacity: 1;
    transition: opacity 0.25s ease-in-out;
}

.filter-btn:hover,
.filter-btn.active,
.button-group button:hover,
.button-group button.is-checked {
    opacity: 1;
    background-color: var(--white);
    color: var(--green);
}

.grid-item {
    float: left;
    width: calc(33.3% - 14px);
    margin: 7px;
    min-height: 90px;
    background-color: var(--white);
}
    
.aussteller-box {
    padding: 20px;
}

.link-box {
    background-color: var(--white);
    height: 100%;
    display: block;
}

.link-box:hover {
    opacity: 0.75;
}

/* ---------- PITCH SECTION ---------- */  

.pitch-intro-text .col-inner{
    padding-bottom: 0;
}

.pitch-container {
    margin-top: 0;
    margin-bottom: 40px;
}

.pitch-headline-col {
    padding-top: 0;
    padding-bottom: 0;
}

.pitch-filter-container {
    position: sticky;
    top: 95px;
    background-color: var(--green);
}

.pitch-filter-container .col-inner {
    padding-bottom: 20px;
    padding-top: 20px;
}

.pitch-items-outer-container {
    /* padding-top: 35px; */
}

.pitch-items-container {
    padding-top: 0;
    padding-bottom: 20px;
}

.pitch-box {
    padding: 40px;
}

.pitch-headline-col .text-box h2 {
    margin-bottom: 20px;
}

.pitch-time {
    font-weight: 700;
}

/* ---------- WORKSHOP SECTION ---------- */  

.workshop-section {
    padding-bottom: 60px;
}

.read-more-container {
    font-family: 'Noto Sans', 'Times New Roman', Times, serif;
    font-size: 18px;
    line-height: normal;
}

.read-more-btn {
    color: var(--green);
    text-decoration: underline;
    cursor: pointer;
}

.read-more-btn:hover {
    text-decoration: none;
}

.workshops-text-col {
    padding-bottom: 35px;
}

.workshop-location {
    margin-top: -15px;
}

.workshop-col {
    padding: 20px 40px 0 40px;
}

.workshop-box {
    padding: 40px;
}

.workshop-title-container {
    margin-bottom: 16px;
}

.workshop-title-container h3 {
    margin-bottom: 0;
}

.read-more-btn {
    margin-top: 16px;
}

.additional-content {
    margin-top: 28px;
}

.image-legal p {
    font-size: 10px;
}

.workshop-image-name {
    font-weight: 600;
    margin-top: 5px;
}

/* ---------- PRORAMM SECTION ---------- */  

.page-id-1249 .back-link {
    display: none;
}



/* ---------- SPECIAL HEADLINES ---------- */  

.special-headlines h1,
.special-headlines h2, 
.special-headlines h3 {
    display: inline-flex;
    transform: rotate(-3deg);
    padding: 6px 20px 6px 20px;
    background: var(--orange);
    color: var(--white) !important;
    filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.25));
    margin-top: 20px;
    margin-bottom: 50px;
}

.match-height {
    background-color: var(--white);
    height: 100%;
    display: block;
}

/* ---------- FOOTER SECTION ---------- */

.footer-section {
    padding-top: 0;
    color: var(--white);
}

.footer-section a {
    color: var(--white);
}

.footer-text-cols {
    padding-bottom: 0;
}

.footer-link-wrapper:hover {
    opacity: 0.5;
}


.footer-section.bg-orange h1,
.footer-section.bg-orange h2,
.footer-section.bg-orange h3,
.footer-section.bg-orange h4,
.footer-section.bg-orange h5,
.footer-section.bg-orange h6,
.footer-section.bg-orange a,
.footer-section.bg-orange p {
    color: var(--black);
}

.footer-section.bg-pink h1,
.footer-section.bg-pink h2,
.footer-section.bg-pink h3,
.footer-section.bg-pink h4,
.footer-section.bg-pink h5,
.footer-section.bg-pink h6,
.footer-section.bg-pink a,
.footer-section.bg-pink p {
    color: var(--white);
}

.footer-section h1,
.footer-section h2,
.footer-section h3,
.footer-section h4,
.footer-section h5,
.footer-section h6,
.footer-section a,
.footer-section p {
    font-size: 16px;
}

.footer-logo-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    /* justify-content: center; */
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    width: 100%;
}

.footer-logo-wrapper {
    flex-grow: 1;
    width: 20%;
    max-width: 320px;
}

.logo-footer {
    padding: 0px 40px;
}

.footer-logo-wrapper .col-inner {
    padding: 55px 0px;
}

@media (max-width: 1200px) { 

    .header-info-text {
        left: 220px;
    }

    .desktop-menu-container {
        right: 42px;
    }

    .desktop-menu-container ul li {
        padding-right: 8px;
    }

}


/* ---------- less than 992px  ---------- */

@media (max-width: 991.98px) { 

    .hidden-md-down {
        display: none;
    }    

    .hidden-md-up {
        display: block;
    }  

    h1, h2 {
        font-size: 26px;
        line-height: normal;
        margin-bottom: 26px;
    }

    h3, h4, h5, h6 {
        font-size: 16px;
        line-height: normal;
        margin-bottom: 16px;
    }

    p, a, li {
        font-size: 16px;
        line-height: normal;
    }

    /* ---------- 991PX GRID  ---------- */

    .col-inner {
        padding: 25px;
    }

    .col-3.col-md-6 {
        width: 50%;
    }

    /* ---------- 991PX HEADER  ---------- */

    .header-inner {
        margin: 12px 25px;
    }

    .menu-container {
        width: 75%;
    }

    .main-global-header {
        height: 85px;
    }

    .header-spacer {
        height: 85px;
    }

    .menu-button-container {
        display: block;
    }

    .desktop-menu-container {
        display: none;
    }

    .socials-outer-container {
        right: 60px;
    }

    /* ---------- 991PX DEFAULT PAGE ---------- */

    .back-link {
        margin-bottom: 35px;
    }


    /* ---------- 991PX AUSSTELLER SECTION ---------- */

    .aussteller-section {
        padding: 0 10px;
    }

    .col-inner.match-height {
        padding: 0 10px;
    }

    .aussteller-container {
        padding: 0px 15px;
    }

    .button-group {
        margin-top: 60px;
        padding: 0px 20px;
    }

    .filter-btn,
    .button-group button {
        font-size: 16px;
    }

    .grid-item {
        width: calc(50% - 14px);
    }

    /* ---------- 991PX PITCH SECTION ---------- */

    .pitch-filter-container {
        top: 85px;
    }

    .pitch-box {
        padding: 20px;
    }

    .col-inner.pitch-headline-col {
        padding-top: 0;
        padding-bottom: 0;
    }

    .col-inner.pitch-items-container {
        padding-top: 0;
        padding-bottom: 10px;
    }

    /* ---------- 991PX WORKSHOP SECTION ---------- */

    .workshop-section {
        padding-bottom: 60px;
    }

    .workshop-col {
        padding-bottom: 0;
    }


    /* ---------- 991PX Footer SECTION ---------- */

    .footer-logo-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 0;
        justify-content: flex-start;
        flex-direction: row;
        align-items: center;
        align-content: center;
    }   

    .footer-logo-wrapper {
        width: 33.33%;
        flex-grow: 0;
    }
    


}

/* ---------- less than 768px ---------- */
@media (max-width: 767.98px) { 

    #pojo-a11y-toolbar {
        top: 85px !important;
    }

    h1, h2 {
        font-size: 18px;
        line-height: normal;
        margin-bottom: 22px;
    }

    h3, h4, h5, h6, p, a, li {
        font-size: 14px;
        line-height: normal;
    }

    .filter-btn {
        font-size: 14px;
        padding: 8px 12px 8px 12px;
        margin-bottom: 10px;
    }
    
    /* ---------- 767PX GRID  ---------- */

    .grid-container.has-gaps {
        gap: 0 0;
    }

    .col-inner {
        padding: 20px;
    }
    
    .col-10,
    .col-6,
    .col-5,
    .col-4,
    .col-3,
    .col-2 {
        width: 100%;
    }

    .col-3.col-xs-6 {
        width: 50%;
    }

    .has-gaps .col-10,
    .has-gaps .col-6,
    .has-gaps .col-5,
    .has-gaps .col-4,
    .has-gaps .col-3,
    .has-gaps .col-2 {
        width: calc(100%);
    }

    .menu-container-inner ul li a {
        font-size: 20px;
        line-height: normal;
    }

    .menu-container-inner {
        padding: 120px 40px 40px 40px; 
    }

    .header-logo {
        margin-top: -4px;
        width: 150px;
        height: 70px;
        margin-left: -14px;
    }

    .socials-outer-container {
        right: 60px;
        top: 20px;
    }

    .social-link {
        width: 25px;
        height: 25px;
    }


    /* ---------- 767PX SPECIAL HEADLINES  ---------- */

    .special-headlines h1,
    .special-headlines h2, 
    .special-headlines h3 {
        margin-top: 10px;
        margin-bottom: 30px; 
    }

    /* ---------- 767PX AUSSTELLER  ---------- */

    .aussteller-section {
        padding: 0;
    }

    .aussteller-container {
        padding: 0px 20px;
    }

    .filter-btn,
    .button-group button {
        width: 100%;
        margin: 0 0 5px 0;
        font-size: 14px;
        padding: 8px 12px;
    }

    .grid-item {
        width: 100%;
        margin: 0 0 7px 0;
        min-height: 100px;
    }

    /* ---------- 767PX WORKSHOP SECTION  ---------- */

    .workshop-box {
        padding: 20px;
    }

    .workshop-title-container {
        margin-top: 16px;
    }

    .read-more-container {
        font-size: 14px;
    }

    .workshop-image-name {
        margin-top: 0;
        margin-bottom: 20px;
    }

    /* ---------- 767PX PITCH SECTION  ---------- */

    .pitch-filter-container {
        top: 80px;
    }

    .col-inner.pitch-headline-col {
        padding-top: 0;
        padding-bottom: 0;
    }

    .col-inner.pitch-items-container {
        padding-top: 0;
        padding-bottom: 10px;
    }

    .pitch-filter-container .col-inner {
        padding-bottom: 5px;
    }

    .pitch-time {
        margin-bottom: 16px;
    }

    /* ---------- 767PX WORKSHOP SECTION ---------- */

    .workshop-section {
        padding-bottom: 40px;
    }
    
    .workshop-col {
        padding-bottom: 0;
    }

    /* ---------- 767PX FOOTER  ---------- */

    .logo-footer {
        padding: 0px 20px;
    }

    .footer-logo-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 0;
        justify-content: flex-start;
        flex-direction: row;
        align-items: center;
        align-content: center;
    }   

    .footer-logo-wrapper {
        width: 50%;
        flex-grow: 0;
    }



  
    




}