/*

Global Styles
jj-ideenschmiede neve fse childtheme

*/

/* Contact Form 7 styles and overrides */
/*.wpcf7{}*/
/*.wpcf7-form-control-wrap{}*/

.wpcf7 input,
.wpcf7 input:not([type=search]),
.wpcf7 input:not([type=submit]),
.wpcf7 select,
.wpcf7 textarea{
    font-size: 1rem;
    border-width: 1px;
}

.wpcf7 input[type=submit]{
    border-radius: 100px;
}

.wpcf7 .fieldwrap{
    margin: var(--wp--preset--spacing--40) 0;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: var(--wp--preset--spacing--40);
}

.wpcf7 .fieldwrap:first-of-type{
    margin-top: 0;
}

.wpcf7 .fieldwrap:last-child{
    margin-bottom: 0;
}

.wpcf7-form-control-wrap{
    width: 100%;
    line-height: 1;
}

.wpcf7-form-control-wrap .wpcf7-acceptance {
    line-height: 1.2em;
}

.wpcf7-list-item{
    margin: 0;
}

.wpcf7-list-item-label{
    line-height: 1.45;
}

h1, h2{
    word-break: break-word;
    hyphens: auto;
}

@media screen and (max-width: 585px) {
    .sm--full,
    .wp-block-search__no-button{
        width: 100%;
    }
    .sm--hide{
        display: none !important;
    }

    footer .is-layout-flex {
        justify-content: center;
    }

    .meta-nav{
        justify-content: space-between;
    }
}

@media screen and (max-width: 950px) {

    :root{
        --wp--preset--spacing--80: 2rem;
        --wp--preset--spacing--70: 1.35rem;
    }

    .wp-block-site-logo img{
        max-width: 220px;
    }
    /* Show the hamburger button */
    .wp-block-navigation__responsive-container-open {
        display: block !important;
    }

    /* Hide the full menu, but only when the modal is closed */
    .wp-block-navigation__responsive-container:not(.is-menu-open.has-modal-open) {
        display: none !important;
    }

    .wp-block-navigation__responsive-container-close{
        right: 20px;
    }

    .wp-block-navigation.items-justified-right{
        --navigation-layout-justification-setting: center;
    }
}

/*Cleverreach Button overwrite*/
.wp-site-blocks .cr_button{
    height: auto;
    max-height: none;
}

.wp-site-blocks .cr_page{
    width: auto;
}

/*WP Search overwrites*/
.wp-block-search__input,
.wp-block-search__input:read-write{
    border: none;
    padding: 2px 10px;
    opacity: 0.5;
}

.wp-block-search__input:focus{
    opacity: 1;
}