/* Anfrageformular (kontakt/anfrage.php, en/contact/inquiry.php) */

.inquiry-form {
    max-width: 640px;
    color: #444;
}

/* Gruppen wie im Original: grau hinterlegt, Überschrift groß rechts */
.inquiry-fieldset {
    clear: left;
    margin: 0 0 20px 0;
    padding: 10px;
    border: 1px solid #bbb;
    background: #eee;
}
.inquiry-fieldset legend {
    float: right;
    width: auto;
    margin: 3px 0 10px 0;
    padding: 0;
    border: 0;
    color: #bbb;
    font-size: 200%;
    line-height: 1.2;
    white-space: normal;
}
.inquiry-fieldset .form-group {
    clear: both;
}
.inquiry-fieldset .control-label {
    color: #444;
    font-weight: bold;
}
.inquiry-form .mandatory {
    color: #a94442;
}
.inquiry-note {
    margin: 0 0 20px 0;
    color: #fff;
}

/* Fehlerdarstellung: rote Umrandung, Text direkt am Feld und Zusammenfassung */
.inquiry-form .is-invalid {
    border: 2px solid #d9534f;
    background-color: #fdf3f3;
}
.inquiry-form .field-error {
    color: #a94442;
    font-weight: bold;
}
.inquiry-form .field-error::before {
    content: "\e101"; /* glyphicon-exclamation-sign */
    display: inline-block;
    margin-right: 5px;
    font-family: 'Glyphicons Halflings';
    font-weight: normal;
    line-height: 1;
}
.inquiry-error-summary {
    color: #a94442;
}
.inquiry-error-summary ul {
    margin: 0;
    padding-left: 20px;
}
.inquiry-error-summary a {
    color: inherit;
    text-decoration: underline;
}
.inquiry-captcha {
    padding: 2px;
}
.inquiry-captcha.is-invalid {
    border: 2px solid #d9534f;
}
.inquiry-form altcha-widget {
    display: block;
    max-width: 100%;
}

/* Honeypot: für Besucher und Screenreader unsichtbar, aber für Bots ausfüllbar */
.hp-field {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.inquiry-form .btn {
    min-height: 40px;
    padding-left: 25px;
    padding-right: 25px;
}

@media (max-width: 767px) {
    .inquiry-fieldset legend {
        float: left;
        width: 100%;
        font-size: 150%;
    }
}
