/*
Theme Name: Freiwillige Feuerwehr Süßen Theme
Author: Christian Funk
Author URI: https://christianfunk-webundapp.de
Description: Theme für die Website der Freiwilligen Feuerwehr Süßen
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.2
Version: 1.0
Text Domain: ffw
*/


.einsatz-vorschau {
    display: flex;
    gap: var(--wp--preset--spacing--40);
    box-sizing: border-box;
}
.einsatz-item {
    box-sizing: border-box;
    box-shadow: var(--wp--preset--shadow--natural);
    flex-basis: calc((100% - (2 * var(--wp--preset--spacing--40))) / 3);
    height: auto;
}
.einsatz-item a {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: fit-content;
    padding: 20px;
}
.einsatz-item a * {
    margin: 0 !important;
    margin-bottom: 10px !important;
}
.einsatz-item a *:last-child {
    margin-bottom: 0 !important;
}


.einsatz-archiv .einsatz-list {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    align-items: stretch;
    padding: 0;
    gap: var(--wp--preset--spacing--40);
    margin: 0;
}
.einsatz-archiv .einsatz-list .einsatz-item {
    display: flex;
    height: auto;
    flex-basis: calc((100% - (2 * var(--wp--preset--spacing--40))) / 3);
    align-self: stretch;
}
.einsatz-archiv .einsatz-list .einsatz-item a {
    height: 100%;
}
.einsatz-archiv .einsatz-kopfzeile {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--wp--preset--spacing--40);
}
.einsatz-archiv .einsatz-kopfzeile select {
    border: 1px solid #d3d3d3;
    border-radius: 4px;
    background: #EEEEEE;
    padding: 8px 16px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: base-select;
    font-size: var(--wp--preset--font-size--medium);
    position: relative;
}
.einsatz-archiv .einsatz-kopfzeile select::picker-icon {
    color: #9b9b9b;
}

@media only screen and (max-width: 992px) {
    .einsatz-archiv .einsatz-list .einsatz-item {
        flex-basis: calc((100% - var(--wp--preset--spacing--40)) / 2);
    }
}

@media only screen and (max-width: 782px) {
    .einsatz-archiv .einsatz-list .einsatz-item {
        flex-basis: 100% !important;
    }
}

.fahrzeug-details {
    display: none;
}



.bereich p:not(.bereiche-headline) {
    display: none;
}

.bereich:hover {
    cursor: pointer;
}
.bereich:hover p:not(.bereiche-headline) {
    display: block;
}
.bereich:focus p:not(.bereiche-headline), .bereich:focus-within p:not(.bereiche-headline) {
    display: block;
}

.bereich img {
    transition: all .3s ease-in-out;
}
.bereich:hover img {
    scale: 1.05;
}

.bereich a {
    text-decoration: none;
}
.bereich a:hover {
    text-decoration: underline;
}

@media only screen and (max-width: 782px) {
    .footer-logos > div {
        display: flex;
        justify-content: center;
    }
    .footer-logos > div > figure {
        margin: 0 !important;
    }
}
@media only screen and (max-width: 781px) {
    .footer-nav p.has-text-align-right {
        text-align: left;
    }
    .fahrzeug .wp-block-column:nth-of-type(2) {
        padding: var(--wp--preset--spacing--30);
        padding-top: 0 !important;
    }
    .fahrzeug .fahrzeug-details {
        margin-block-start: 0;
    }
}

@media only screen and (max-width: 600px) {
    .hero-cover {
        margin-right: calc(var(--wp--style--root--padding-right) * -1) !important;
        margin-left: calc(var(--wp--style--root--padding-left) * -1) !important;
        max-width: unset !important;
    }
}


@media only screen and (max-width: 380px) {
    :root{
        --wp--preset--font-size--medium: 1rem;
    }
}





/*---------------Kontakt-Formular---------------*/
.wpcf7-form > p {
    margin: 0 0 20px 0;
}
.wpcf7-form > p:last-of-type {
    margin: 0;
}

.wpcf7-form label, .wpcf7-form label span, .wpcf7-form label span input , .wpcf7-form label span textarea {
    display: block;
    width: 100%;
}

.wpcf7-form label span input, .wpcf7-form label span textarea {
    margin-top: 8px;
    border-radius: 4px;
    border: 2px solid #D6D6D6;
    padding: 8px 16px;
    font-size: 1.25rem;
    font-family: inherit;
    box-sizing: border-box;
}

.wpcf7-form .wpcf7-list-item {
    margin: 0;
}
.wpcf7-form .wpcf7-list-item label, .wpcf7-form .wpcf7-list-item label span {
    display: inline;
}

.wpcf7-form .wpcf7-submit {
    padding: .75rem 1.5rem;
    font-family: inherit;
    font-size: var(--wp--preset--font-size--medium);
    font-weight: 700;
    background-color: var(--wp--preset--color--accent);
    color: var(--wp--preset--color--base);
    border-radius: 4px;
    border: none;
    margin: 0 auto;
    display: block;
}
.wpcf7-form .wpcf7-submit:hover {
    background-color: #002917;
    cursor: pointer;
}


/*Custom Checkbox*/
.wpcf7-form input[type="checkbox"] { 
    position: absolute; 
    overflow: hidden; 
    clip: rect(0 0 0 0); 
    height: 1px; 
    width: 1px; 
    margin: -1px; 
    padding: 0; 
    border: 0; 
}
.wpcf7-form #inputPreview { 
    display: flex; 
    gap: 20px; 
    justify-content: center;	
}
.wpcf7-form input[type="checkbox"] + span { 
    position: relative; 
    font-size: 20px; 
    cursor: pointer; 
    display: inline-block; 
    align-items: center; 
    height: 24px; 
    color: var(--wp--preset--color--contrast); 
}
.wpcf7-form input[type="checkbox"] + span::before { 
    content: " "; 
    display: inline-block; 
    vertical-align: middle; 
    margin-right: 8px; 
    width: 16px; 
    height: 16px; 
    background-color: unset; 
    border-width: 2px; 
    border-style: solid; 
    border-color: #D6D6D6; 
    border-radius: 2px; 
    box-shadow: rgba(42, 42, 42, 0.75) 0px 0px 0px 0px; 
    transform: translateY(-2px);
}
.wpcf7-form input[type="checkbox"]:checked + span::after { 
    content: " "; 
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBmaWxsPSIjZmZmZmZmIiBkPSJNMTczLjg5OCA0MzkuNDA0bC0xNjYuNC0xNjYuNGMtOS45OTctOS45OTctOS45OTctMjYuMjA2IDAtMzYuMjA0bDM2LjIwMy0zNi4yMDRjOS45OTctOS45OTggMjYuMjA3LTkuOTk4IDM2LjIwNCAwTDE5MiAzMTIuNjkgNDMyLjA5NSA3Mi41OTZjOS45OTctOS45OTcgMjYuMjA3LTkuOTk3IDM2LjIwNCAwbDM2LjIwMyAzNi4yMDRjOS45OTcgOS45OTcgOS45OTcgMjYuMjA2IDAgMzYuMjA0bC0yOTQuNCAyOTQuNDAxYy05Ljk5OCA5Ljk5Ny0yNi4yMDcgOS45OTctMzYuMjA0LS4wMDF6Ii8+PC9zdmc+"); 
    background-repeat: no-repeat; 
    background-size: 12px 12px; 
    background-position: center center; 
    position: absolute; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    margin-left: 0px; 
    left: 0px; 
    top: 7px; 
    text-align: center; 
    background-color: var(--wp--preset--color--accent);
    font-size: 10px; 
    height: 20px; 
    width: 20px; 
    transform: translateY(-1px);
    border-radius: 2px;
}




/*-------------Header Scroll Effect-------------
header {
    transition: all .3s ease;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
}

header.scrolled {
    background-color: #ffffff;
}

.custom-logo {
    transition: all .3s ease;   
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    width: 268px;
    height: auto;
}

header.scrolled .custom-logo {
    width: 138px;
    height: auto;
}*/




.instagram-gallery-item__icon--link {
    display: none;
}