.tx-powermail {

    h3 {
        display: none;
    }

    .powermail_legend {
        display: none;
    }

    .powermail_fieldwrap {
        margin-bottom: 25px;

        label {
            margin-bottom: 10px;
        }

        .mandatory {
            color: var(--ji-red);

            &:before {
                content: " ";
            }
        }

        .form-control {
            border-radius: 1px;
            padding: 15px;
        }
    }

    select.powermail_select, select.form-control {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        background-color: white;
        border: 1px solid var(--ji-light-grey);
        border-radius: 1px;
        padding: 15px;
        /* room for the triangle on the right */
        padding-right: 2.5em;
        width: 100%;
        font-size: 1em;
        box-sizing: border-box;
        cursor: pointer;
        /* Triangle as SVG background */
        background-image: url("data:image/svg+xml,%3Csvg width='12' height='6' viewBox='0 0 12 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='6,6 12,0 0,0' style='fill:%234D4D4D;'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 1.2em center;
        background-size: 12px 6px;
    }

    input[type="text"]:focus, input[type="email"]:focus, textarea:focus, select:focus {
        border: 1px solid var(--ji-light-grey);
        border-radius: 0;
        outline: none;
        box-shadow: var(--ji-light-grey) 0 0 2px 0;
    }

    .checkbox {

        label {
            display: inline-flex;
            align-items: center;
        }

        input {
            margin-right: 10px;
        }
    }

    .powermail_fieldwrap_anrede > div {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .parsley-errors-list {
        padding: 0;
        margin: 0;
    }

    .powermail_field_error {
        background-color: white !important;
    }

    .powermail-errors-list {
        margin-left: 0 !important;
        border: none !important;

        li {
            color: var(--ji-red) !important;
            background-color: white !important;
            list-style: none;
            margin-top: 0;
            font: inherit;
        }
    }

    .powermail_fieldwrap_datenschutztitel {
        margin-bottom: 10px;
    }

    .powermail_fieldwrap_datenschutz > label {
        font-weight: bold !important;
        color: black !important;
    }

    .powermail_fieldwrap_datenschutz {
        margin-bottom: 0;
    }

    .btn, .btn-primary {
        border-radius: 0;
        margin-top: 15px;
        border: none;
        background: var(--ji-gradient-red);
        padding: 10px 25px 10px 25px;
        cursor: pointer;
        color: white;
        font-weight: bold;
    }

    .powermail_fieldwrap_notwendigefelder > div::before {
        content: "* ";
        color: var(--ji-red);
    }

    .powermail_fieldwrap_type_recaptcha > label {
        font-weight: bold;
    }
}

input[type="checkbox"] {
    width: 1.125rem; /* 18px */
    height: 1.125rem; /* 18px */
    display: inline-block;
    box-sizing: border-box;
    position: relative;
    margin: 0;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: white;
    border-radius: 2px;
    box-shadow: 0 0 2px 0 var(--ji-light-grey);

    &:hover:not(:disabled) {
        cursor: pointer;
    }

    &:disabled, &:disabled:hover {
        background-color: var(--ji-light-grey);
        cursor: not-allowed;
    }
}
