/**
 * FP24 – Formularerweiterungen
 * Individuelle Formatierungen für Anfrageformulare.
 */

/* Deaktivierte Checkbox */
.wpcf7 input[name="nachreichen[]"]:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Direkt danebenliegende Beschriftung */
.wpcf7 input[name="nachreichen[]"]:disabled + .wpcf7-list-item-label {
    color: #999 !important;
    cursor: not-allowed;
}
/* Abstand zwischen den Planarten-Checkboxen */
.fp24-planarten .wpcf7-list-item {
    margin-right: 35px;
}

/* ==========================================
   FP24 – Checkboxen im WooCommerce-Stil
   ========================================== */

.wpcf7 input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;

    width: 30px;
    height: 30px;
    min-width: 30px;

    border: 1px solid #009640;
    border-radius: 0;
    background-color: #fff;

    cursor: pointer;
    vertical-align: middle;
    position: relative;
    margin: 0 8px 0 0;
    padding: 0;
    box-sizing: border-box;
}

.wpcf7 input[type="checkbox"]:checked {
    background-color: #009640;
    border-color: #009640;
}

.wpcf7 input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 9px;
    top: 4px;
    width: 7px;
    height: 13px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.wpcf7 .wpcf7-list-item-label {
    vertical-align: middle;
}

.wpcf7 input[type="checkbox"]:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
/* Linken Einzug der Planart-Checkboxen entfernen */
.fp24-planarten .wpcf7-list-item:first-child {
    margin-left: 0;
}
/* FP24 – Einzug der Nachreichen-Checkbox entfernen */
.wpcf7 input[name="nachreichen[]"] {
    margin-left: -15px;
}