/*
Theme Name: Impreza Child
Template: Impreza
Version: 1.0
Author:	UpSolution
Theme URI: http://impreza.us-themes.com/
Author URI: http://us-themes.com/
*/

/*Add your own styles here:*/


body #page-header a:hover {
    cursor: url('/wp-content/themes/Impreza-child/assets/images/cursor-hover.png'), pointer;
}

.cf7-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

/* 100% / 100% / 50% */
.cf7-field.half-desktop {
    grid-column: span 1; /* Mobile Standard */
}


/* Tablet */
@media (min-width: 600px) {
    .cf7-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cf7-field.half-desktop {
        grid-column: span 2; /* bei 2 Spalten = 100% */
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .cf7-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .cf7-field.half-desktop {
        grid-column: span 2; /* bei 4 Spalten = 50% */
    }
    .cf7-grid.three {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Felder */
.cf7-field {
    width: 100%;
}

/* Elemente über volle Breite */
.cf7-field.full {
    grid-column: 1 / -1;
}



/* Inputs schön machen */
.cf7-grid input,
.cf7-grid textarea {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}
.cf7-grid input[type="checkbox"] {
    width: 45px;
    height: 45px;
}


.mix-blend-multiply img {
    mix-blend-mode: multiply;
}

/*
.racletteSlideControl {
    -webkit-appearance: none;
    width: calc(100% - 40px);
    left: 20px;
    right: 20px;
    height: 3px;
    !*background: var(--illu-color-3);*!
    outline: none;
    position: absolute;
    margin: auto;
    bottom: 1px;
    top: 0;
}
.racletteSlideControl::-webkit-slider-thumb {
    background-image: url('/wp-content/themes/Impreza-child/assets/images/cursor-hover.png')
}*/



/* TABLE */
/* Desktop: Standard-Styling */
.form-wrapper_responsive .wpcf7-form-control-wrap {
     display: inline-block;
}
.form-wrapper_responsive input {
    width: 65px;
    max-width: 100%;
/*    padding-right: 0;*/
    margin-right: 5px;
}
.form-wrapper_responsive textarea {
    width: 100%;
}

.form-wrapper_responsive table {
    width: 100%;
    border-collapse: collapse;
}

.form-wrapper_responsive th,
.form-wrapper_responsive td {
    text-align: left;
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

.form-wrapper_responsive.thead-sticky thead {
    @media screen and (min-width: 600px) {
        position: sticky;
        top: 100px;
        background-color: #ededed;
    }
}

/* Mobile: Unter 600px Viewport-Breite */
@media screen and (max-width: 600px) {

    /* Kopfzeile ausblenden */
    .form-wrapper_responsive thead {
        display: none;
    }

    /* Zellen als Block-Elemente untereinander stapeln */
    .form-wrapper_responsive td {
        display: block;
        text-align: left; /* Inhalt rechtsbündig, Label links */
        border-bottom: 1px solid #eee;
        padding-left: 38%; /* Platz für das Label schaffen */
        position: relative;
    }

    /* Label einfügen */
    .form-wrapper_responsive td::before {
        content: attr(data-label);
        position: absolute;
        left: 8px;
        width: 45%;
        font-weight: bold;
        text-align: left;
    }

    /* Letzte Zelle einer Reihe deutlicher trennen */
    .form-wrapper_responsive tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #ccc;
    }
}