/*
Theme Name:   Signa-Fahnen (Child)
Theme URI:    https://generatepress.com
Description:  Custom child theme for Signa Fahnen
Author:       7einhalb - Maik Bernstein
Author URI:   https://www.7einhalb.de
Template:     generatepress
Version:      0.1
*/



/* ### 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%;
}


/* Contact Form 7 - Feld-Stile */
.wpcf7-form-control.wpcf7-textarea {
    max-height: 175px;
}


/* Contact Form 7 - Column Grid */
.dwp-form {
    width: 100%;
    margin: 0 auto;
}
.dwp-form-row {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.dwp-form-row .wpcf7-form-control,
.wpcf7-form label {
    width: 100%;
}
.dwp-form-column {
    flex: 1;
    padding: 0.5rem 0;
    width: 100%;
}
.dwp-form-column:first-of-type {
    padding-left: 0;
}
.dwp-form-column:last-of-type {
    padding-right: 0;
}
 
/* CF7 Grid - Desktop Ansicht */
@media only screen and ( min-width: 48em ) { 
    .dwp-form-row {
        flex-direction: row;
    }
    .dwp-form-column {
        padding: 0.5rem 1rem;
    }
     
    .dwp-form-column.col-12 {
        width: 100%;
        flex: inherit;
    }
    .dwp-form-column.col-11 {
        width: 91.66666667%;
        flex: inherit;
    }
    .dwp-form-column.col-10 {
        width: 83.33333333%;
        flex: inherit;
    }
    .dwp-form-column.col-9 {
        width: 75%;
        flex: inherit;
    }
    .dwp-form-column.col-8 {
        width: 66.66666667%;
        flex: inherit;
    }
    .dwp-form-column.col-7 {
        width: 58.33333333%;
        flex: inherit;
    }
    .dwp-form-column.col-6 {
        width: 50%;
        flex: inherit;
    }
    .dwp-form-column.col-5 {
        width: 41.66666667%;
        flex: inherit;
    }
    .dwp-form-column.col-4 {
        width: 33.33333333%;
        flex: inherit;
    }
    .dwp-form-column.col-3 {
        width: 25%;
        flex: inherit;
    }
    .dwp-form-column.col-2 {
        width: 16.66666667%;
        flex: inherit;
    }
    .dwp-form-column.col-1 {
        width: 8.33333333%;
        flex: inherit;
    }
}

/* GP Dropdown - Fix Border-Radius */
.gb-accordion__item:not(.gb-accordion__item-open) > button {
    border-radius: 15px;
}