/* Page-header met AAGent-wrapper als achtergrond + donker gradient-overlay */
#header-wrap.has-hero-bg {
    background-image:
        linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .55) 55%, rgba(0, 0, 0, .85) 100%),
        url('../images/AAGent-wrapper.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #161616;
    min-height: 500px;
    padding-top: 120px;
    padding-bottom: 90px;
}
@media only screen and (max-width: 767.88px) {
    #header-wrap.has-hero-bg {
        min-height: 380px;
        padding-top: 80px;
        padding-bottom: 60px;
    }
}

#buffalo-intro {
    background-color: #f5f5f5;
    padding: 50px 0 30px 0;
}
#buffalo-intro .container {
    max-width: 760px;
}
#buffalo-intro p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.05rem;
    line-height: 1.65;
    color: #333;
    margin: 0 0 16px 0;
    text-align: center;
}
#buffalo-intro p.lead {
    font-size: 1.15rem;
    color: #111;
    font-weight: 600;
}

#buffalo-form-wrap {
    background-color: #f5f5f5;
    padding: 20px 0 60px 0;
}
#buffalo-form-wrap .container {
    max-width: 720px;
}
.buffalo-form-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 35px 40px 30px 40px;
}
.buffalo-form-heading {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: #111;
    margin: 0 0 12px 0;
}
.buffalo-form-divider {
    height: 3px;
    width: 50px;
    background-color: #cb1517;
    margin-bottom: 24px;
}

/* Form-fields binnen de buffalo card */
.buffalo-form-card .form-group {
    margin-bottom: 16px;
}
.buffalo-form-card .form-label {
    display: block;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: #555;
    margin: 0 0 6px 2px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.buffalo-form-card .form-control,
.buffalo-form-card .form-select {
    border: 1px solid #d0d0d0;
    border-radius: 3px;
    padding: 11px 14px;
    height: auto;
    background-color: #fafafa;
    margin-bottom: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    color: #333;
    transition: border-color ease-in-out .15s, background-color ease-in-out .15s;
}
.buffalo-form-card .form-control:focus,
.buffalo-form-card .form-select:focus {
    border-color: #cb1517 !important;
    background-color: #fff;
    box-shadow: none;
    outline: none;
}
.buffalo-form-card textarea.form-control {
    min-height: 110px;
    resize: vertical;
}

/* Radio-groep (uit formfields.php) */
.buffalo-form-card .radio-wrapper {
    margin-bottom: 18px;
}
.buffalo-form-card .radio-wrapper > p {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: #555;
    margin: 0 0 8px 2px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.buffalo-form-card .radio-wrapper .form-check {
    padding: 0;
    margin: 0 0 4px 0;
}
.buffalo-form-card .form-check-label {
    color: #333 !important;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
}

/* GDPR / disclaimer alinea */
.buffalo-disclaimer {
    background-color: #f5f5f5;
    border-radius: 3px;
    padding: 12px 16px;
    margin: 18px 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.82rem;
    color: #666;
    line-height: 1.5;
}
.buffalo-required-note {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.78rem;
    color: #999;
    text-align: right;
    margin: 4px 0 18px 0;
}

/* Submit-knop (rood, brand-style) */
.buffalo-submit {
    display: block;
    width: 100%;
    background-color: #cb1517;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: 1.1rem;
    padding: 13px 20px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color ease-in-out .15s;
}
.buffalo-submit:hover,
.buffalo-submit:focus {
    background-color: #f00;
    color: #fff;
    outline: none;
}
.buffalo-recaptcha-notice {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.72rem;
    color: #999;
    line-height: 1.5;
    margin: 14px 0 0 0;
    text-align: center;
}
.buffalo-recaptcha-notice a {
    color: #777;
    text-decoration: underline;
}
.buffalo-recaptcha-notice a:hover {
    color: #cb1517;
}

@media only screen and (max-width: 767.88px) {
    .buffalo-form-card {
        padding: 25px 22px 22px 22px;
    }
    #buffalo-intro {
        padding: 35px 0 20px 0;
    }
    #buffalo-intro p {
        font-size: 0.95rem;
    }
    #buffalo-intro p.lead {
        font-size: 1.05rem;
    }
}
