/*
Theme Name:   Consulting Bridge (Child)
Theme URI:    https://generatepress.com
Description:  Custom child theme for Consulting Bridge
Author:       7einhalb - Maik Bernstein
Author URI:   https://www.7einhalb.de
Template:     generatepress
Version:      1.0 (04/2023)
*/



/* ### GeneratePress - Fonts Setup Vorlage - Nicht in Benutzung! */
/* oswald-200 - latin */
@font-face {
font-family: 'Oswald';
font-style: normal;
font-weight: 200;
src: url('./assets/fonts/oswald-v40-latin-200.eot'); /* IE9 Compat Modes */
src: local(''),
        url('./assets/fonts/oswald-v40-latin-200.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('./assets/fonts/oswald-v40-latin-200.woff2') format('woff2'), /* Super Modern Browsers */
        url('./assets/fonts/oswald-v40-latin-200.woff') format('woff'), /* Modern Browsers */
        url('./assets/fonts/oswald-v40-latin-200.ttf') format('truetype'), /* Safari, Android, iOS */
        url('./assets/fonts/oswald-v40-latin-200.svg#Oswald') format('svg'); /* Legacy iOS */
}


/* ### eigene Klassen */

/* Z-Index -1 */
.layer-back {
    z-index: -1;
}

/* Hide Content */
.hideme {
    display: none !important;
}
@media screen and (max-width: 768px) {
    .mobile-hideme {
        display: none !important;
    }
}
@media screen and (min-width: 769px) {
    .desktop-hideme {
        display: none !important;
    }
}

/* Sticky Element */
.stickme {
    position: sticky;
    position: -webkit-sticky;
    top: 5%;
}

/* no margin (for p-Tags) */
.nomargin p {
    margin: 0;
}



/* ##########
GeneratePress Site CSS */ /* navigation letter spacing
########## */

.main-navigation a, .slideout-navigation.main-navigation .main-nav ul li a {
    letter-spacing: 1px;
}

/* navigation line effects */

@media (min-width: 1024px) {
    .main-navigation .main-nav > ul > li > a:before {
    position: absolute;
    content: '';
    width: 1px;
    height: 0;
    background-color: var(--accent-2);
    left: 50%;
    top: -50px;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    -webkit-transition: all .3s ease-out 0s;
    -moz-transition: all .3s ease-out 0s;
    -ms-transition: all .3s ease-out 0s;
    -o-transition: all .3s ease-out 0s;
    transition: all .3s ease-out 0s;
    }

    .main-navigation .main-nav > ul > li:hover > a:before {
    height: 50px;
    }

.main-navigation .main-nav > ul > li.current-menu-item > a:before {
    height: 50px;
    width: 1px;
    }
}

/* line above H1 on global header elements */

.headline-rule h1 {
    position: relative;
}
.headline-rule h1:before {
    content: '';
    position: absolute;
    display: block;
    height: 60px;
    border-left: 1px solid var(--contrast);
    left: 50%;
    transform: translateX(-50%);
    top: -66px;
}

/* mobile header spacing */

.mobile-header-navigation {
    padding: 10px;
    box-sizing: border-box;
}

/* image block styling */

figure.wp-block-image.image-style img {
border-radius: 80px 4px;
box-shadow: 0px 0px 20px rgba(0,0,0,0.1);
}

/* mailchimp form styling */

.mc4wp-form input[type="email"] {
    line-height: 34px;
    margin-bottom: 10px;
    width: 300px;
border: none;
border-radius: 2px;
font-size: 15px;
    background:var(--base-2)
}

@media (max-width: 767px) {
    .mc4wp-form input[type="email"] {
        width: 100%;
        margin-bottom: 10px;
    }
}
    
.mc4wp-form input[type=submit] {
    line-height: 34px;
    font-size: 16px;
    letter-spacing: 1px;
    width: 150px;
border: none;
border-radius: 2px;
    -webkit-transition: all 500ms ease-in-out;
    transition: all 500ms ease-in-out;
}

@media (max-width: 767px) {
    .mc4wp-form input[type="submit"] {
        width: 100%;
    }
}
/* End GeneratePress Site CSS */



/* Table Styles */
.kontakt-cards table,
.kontakt-cards td,
.kontakt-cards th {
    border: unset;
    padding: 0;
}


/* Contact Form 7 - Stylings */
.wpcf7 p {
    margin-bottom: .5em;
}
input[type="email"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="url"],
select,
textarea {
    padding: 5px 10px;
}

/* Contact Form 7 - Input Fix */
span.wpcf7-list-item:first-of-type {
    margin: 0;
}
.wpcf7-form .small {
    font-size: .8em;
}
textarea.wpcf7-textarea {
    max-height: 120px;
}

/* # GenerateBlocks Anpassungen */
/* Liste Accordeon */
.gb-accordion ul {
    margin-bottom: 0;
}