/* Contact page Gravity Forms overrides â€” loaded after GF theme to beat Orbital defaults. */

.contact-form>.gform_wrapper.gform-theme {
    --gf-color-primary: #f7941e !important;
    --gf-color-primary-rgb: 247, 148, 30 !important;
    --gf-color-primary-contrast: #000 !important;
    --gf-color-in-ctrl-primary: #f7941e !important;
    --gf-ctrl-border-color: #ddd !important;
    --gf-ctrl-label-color-primary: #000 !important;
    --gf-ctrl-label-color-secondary: #333 !important;
    --gf-radius: 4px !important;
    max-width: 542px !important;
    padding: 28px 28px 20px !important;
    border-radius: 10px !important;
    border: 1px solid #afadad;
    background: #ccc;
    box-shadow: none !important
}

.contact-form>.gform_wrapper .gform_heading,
.contact-form>.gform_wrapper .gform_validation_container,
.contact-form>.gform_wrapper .gform_required_legend {
    display: none !important
}

.contact-form>.gform_wrapper .gform_fields {
    display: flex;
    flex-direction: column;
    gap: 0
}

.contact-form>.gform_wrapper .gfield {
    margin-bottom: 28px !important;
    padding: 0 !important
}

.contact-form>.gform_wrapper .gfield_label,
.contact-form>.gform_wrapper .gfield_label_before_complex,
.contact-form>.gform_wrapper legend.gfield_label {
    font-family: azo-sans-web, sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    color: #000 !important;
    margin-bottom: 8px !important
}

.contact-form>.gform_wrapper .gfield_description {
    font-family: azo-sans-web, sans-serif !important;
    font-size: 12px !important;
    color: #888 !important;
    margin: 0 0 8px !important;
    line-height: 1.4 !important
}

.contact-form>.gform_wrapper .ginput_container {
    margin-top: 0 !important
}

.contact-form>.gform_wrapper fieldset.gfield {
    border: none !important;
    margin: 0 0 28px !important;
    padding: 0 !important;
    min-width: 0
}

.contact-form>.gform_wrapper .ginput_container_name {
    display: flex !important;
    gap: 12px
}

.contact-form>.gform_wrapper .ginput_container_name .name_first,
.contact-form>.gform_wrapper .ginput_container_name .name_last {
    flex: 1;
    min-width: 0
}

.contact-form>.gform_wrapper input[type=text],
.contact-form>.gform_wrapper input[type=email],
.contact-form>.gform_wrapper input[type=tel],
.contact-form>.gform_wrapper input[type=url],
.contact-form>.gform_wrapper textarea {
    width: 100% !important;
    height: 45px !important;
    padding: 0 14px !important;
    background: #f1f1f1 !important;
    border: 1px solid transparent !important;
    border-radius: 4px !important;
    font-family: azo-sans-web, sans-serif !important;
    font-size: 14px !important;
    color: #000 !important;
    box-shadow: none !important;
    transition: border-color .2s ease, background .2s ease
}

.contact-form>.gform_wrapper input[type=text]:focus,
.contact-form>.gform_wrapper input[type=email]:focus,
.contact-form>.gform_wrapper input[type=tel]:focus,
.contact-form>.gform_wrapper input[type=url]:focus,
.contact-form>.gform_wrapper textarea:focus {
    outline: none !important;
    border-color: #f7941e !important;
    background: #fff !important;
    box-shadow: none !important
}

.contact-form>.gform_wrapper input::placeholder,
.contact-form>.gform_wrapper textarea::placeholder {
    color: #aaa !important
}

.contact-form>.gform_wrapper textarea {
    min-height: 150px !important;
    height: auto !important;
    padding: 12px 14px !important;
    line-height: 1.5 !important;
    resize: vertical
}

.contact-form>.gform_wrapper .ginput_counter {
    font-family: azo-sans-web, sans-serif !important;
    font-size: 11px !important;
    color: #aaa !important;
    margin-top: 6px !important
}

.contact-form>.gform_wrapper .gfield_error input,
.contact-form>.gform_wrapper .gfield_error textarea {
    border-color: #c26464 !important
}

.contact-form>.gform_wrapper .gfield_validation_message {
    font-family: azo-sans-web, sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    color: #c26464 !important;
    margin-top: 6px !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important
}

.contact-form>.gform_wrapper .gform_validation_errors {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 0 20px !important
}

.contact-form>.gform_wrapper .gform_validation_errors h2 {
    font-family: azo-sans-web, sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    color: #c26464 !important;
    letter-spacing: .06em !important
}

.contact-form>.gform_wrapper .gform_validation_errors ol,
.contact-form>.gform_wrapper .gform_validation_errors li {
    font-family: azo-sans-web, sans-serif !important;
    font-size: 11px !important;
    color: #c26464 !important
}

.contact-form>.gform_wrapper .gform_confirmation_message {
    font-family: azo-sans-web, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: .06em !important;
    color: #000 !important
}

.contact-form>.gform_wrapper .gform_footer {
    margin: 8px 0 0 !important;
    padding: 0 !important
}

.contact-form>.gform_wrapper .gform_button {
    background: 0 0 !important;
    color: #000 !important;
    cursor: pointer;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-family: azo-sans-web, sans-serif !important;
    width: auto !important;
    padding: 0 !important;
    font-size: 32px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    float: right;
    margin-top: 8px !important;
    min-height: 0 !important;
    line-height: 1 !important
}

.contact-form>.gform_wrapper .gform_button:hover,
.contact-form>.gform_wrapper .gform_button:focus {
    color: #f7941e !important;
    background: 0 0 !important;
    box-shadow: none !important
}

.contact-form>.gform_wrapper .gform_ajax_spinner {
    display: none !important
}

.site-footer.thankyouG {
    position: relative
}

.site-footer.thankyouG .page-agency-restore-btn {
    position: absolute;
    left: 50%;
    top: clamp(96px, 12vw, 132px);
    bottom: auto;
    z-index: 10000;
    transform: translateX(-50%) translateY(12px);
    opacity: 0;
    pointer-events: none;
    font-family: azo-sans-web, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #000;
    background: #f7941e;
    border: 2px solid #000;
    border-radius: 4px;
    padding: 14px 28px;
    cursor: pointer;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .18);
    transition: opacity .35s ease, transform .35s ease, background .2s ease, color .2s ease
}

.site-footer.thankyouG .page-agency-restore-btn--visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto
}

.site-footer.thankyouG .page-agency-restore-btn:hover,
.site-footer.thankyouG .page-agency-restore-btn:focus {
    color: #f7941e;
    background: #000;
    outline: none
}

div#gform_confirmation_wrapper_1,
div#gform_confirmation_wrapper_3 {
    background: white;
    border: 0;
}