/**
 * CF7 Captcha Shield – Styles
 *
 * Diese Datei kann frei angepasst werden, um das Captcha
 * an das Theme der Website anzupassen.
 *
 * Alternativ können alle Klassen im Theme-CSS oder Customizer
 * überschrieben werden (die Selektoren sind bewusst einfach gehalten).
 *
 * @version 3.1.0
 */


/* =================================================================
 * WRAPPER
 * ================================================================= */

.cf7cs-shield {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}


/* =================================================================
 * BILD-CONTAINER
 * ================================================================= */

.cf7cs-img {
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    min-width: 220px;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
}

.cf7cs-img svg {
    display: block;
    max-width: 100%;
    height: auto;
}


/* =================================================================
 * LADEANZEIGE
 * ================================================================= */

.cf7cs-load {
    color: #999;
    font-size: 12px;
    padding: 16px;
}


/* =================================================================
 * EINGABEFELD
 * ================================================================= */

.cf7cs-answer {
    width: 72px !important;
    text-align: center;
    font-size: 18px;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    -moz-appearance: textfield;
}

/* Spinner-Buttons im Zahlenfeld ausblenden */
.cf7cs-answer::-webkit-inner-spin-button,
.cf7cs-answer::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Fokus-Zustand */
.cf7cs-answer:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
}


/* =================================================================
 * HINWEISTEXT
 * ================================================================= */

.cf7cs-hint {
    font-size: 12px;
    color: #888;
    width: 100%;
}


/* =================================================================
 * FEHLERZUSTAND (CF7 setzt .wpcf7-not-valid)
 * ================================================================= */

.cf7cs-answer.wpcf7-not-valid {
    border-color: #dc3232;
}

.cf7cs-answer.wpcf7-not-valid:focus {
    box-shadow: 0 0 0 2px rgba(220, 50, 50, 0.2);
}


/* =================================================================
 * RESPONSIVE
 * ================================================================= */

@media (max-width: 480px) {
    .cf7cs-shield {
        flex-direction: column;
        align-items: flex-start;
    }

    .cf7cs-img {
        min-width: 100%;
    }

    .cf7cs-answer {
        width: 100% !important;
    }
}

/* W P - F O R M S */

.wpcf7-form p{
    padding: 10px 0 0 0;
    margin-bottom: 0;
}

.wpcf7-form label, .wpcf7-form span, .wpcf7-form input, .wpcf7-form textarea{
    width: 100%;
    display: inline-block;
    font-weight: normal;
    line-height: 1em;

}

.wpcf7-form p input, .wpcf7-form p textarea{
    padding: 10px 10px 10px 10px;
    border: 1px solid #ddd;
}

.wpcf7-form p input[type="submit"] {
    background-color: #066aab;
    color: #fff;
    padding: 12px 20px !important;
}

.wpcf7-form p input[type="checkbox"]{
    display: block;
    float: left;
    width: auto;
    cursor: pointer;
}

.wpcf7-form .wpcf7-list-item-label{
    display: block;
    float: left;
    width: calc(100% - 20px);
    padding-left: 10px;
    font-size: 14px;
    line-height: 20px;
}

.wpcf7-form p input[type="submit"]:hover {
    background-color: #03558a;
}

.wpcf7-form .cf7cs-img, .wpcf7-form .cf7cs-answer {
    border-radius: 3px;
}

.wpcf7-form .wpcf7-list-item {
    display: inline-block;
    margin: 20px 0 20px 0;
}

.wpcf7-form .wpcf7-response-output {
    border: 0 !important;
}

.wpcf7-form .wpcf7-spinner{
    width: 24px !important;
    margin: 10px 0 10px 0 !important;
}
