/* Riverside Quality Windows: Ninja Forms skin. Enqueued LAST (depends on rqw-main).
   Element-level .leadform--nf selectors, every rule !important so Divi and the Ninja
   Forms default styles never win. Ninja Forms wraps fields as
   nf-fields-wrap > nf-field > .nf-field-container, so the grid goes on nf-fields-wrap
   with nf-field as the items. No border-radius anywhere: squared corners by design. */

.leadform--nf .nf-form-cont,.leadform--nf .nf-form-wrap,.leadform--nf .nf-form-layout,.leadform--nf form{margin:0 !important;padding:0 !important;background:transparent !important;border:0 !important;border-radius:0 !important}
.leadform--nf .nf-form-title,.leadform--nf .nf-form-title h3{display:none !important}
.leadform--nf .nf-form-fields-required,.leadform--nf .nf-before-form-content{display:none !important}
.leadform--nf .nf-form-content{padding:0 !important;margin:0 !important;max-width:none !important;display:block !important}
.leadform--nf nf-fields-wrap{display:grid !important;grid-template-columns:1fr 1fr !important;gap:12px !important;margin:0 !important;padding:0 !important}
.leadform--nf nf-field{display:block !important;grid-column:1/-1 !important;margin:0 !important;padding:0 !important;min-width:0 !important}
.leadform--nf nf-field:has(> .phone-container),.leadform--nf nf-field:has(> .city-container),.leadform--nf nf-field:has(> .nf-field-container.phone-container),.leadform--nf nf-field:has(> .nf-field-container.city-container){grid-column:auto !important}
.leadform--nf nf-field:has(> .hidden-container),.leadform--nf .hidden-container{grid-column:1/-1 !important;display:none !important}
.leadform--nf .nf-field-container{margin:0 !important;padding:0 !important}
.leadform--nf .nf-field-label{margin:0 0 7px !important;padding:0 !important}
.leadform--nf .nf-field-label label,.leadform--nf label{display:block !important;font:600 11.5px/1 var(--sans) !important;letter-spacing:.13em !important;text-transform:uppercase !important;color:var(--ink2) !important;margin:0 0 7px !important;padding:0 !important}
.leadform--nf .nf-field-label label .ninja-forms-req-symbol{color:var(--clay) !important;font-weight:600 !important}
.leadform--nf .nf-field-element{margin:0 !important;padding:0 !important}
.leadform--nf input[type="text"],.leadform--nf input[type="tel"],.leadform--nf input[type="email"],.leadform--nf input[type="number"],.leadform--nf select,.leadform--nf textarea{width:100% !important;min-height:50px !important;height:auto !important;padding:13px 14px !important;margin:0 !important;font:400 16px/1.4 var(--sans) !important;color:var(--ink) !important;background:#fff !important;border:1px solid var(--line-str) !important;border-radius:0 !important;box-shadow:none !important;-webkit-appearance:none !important;appearance:none !important;outline:0 !important}
.leadform--nf textarea{min-height:96px !important;resize:vertical !important}
.leadform--nf input:focus,.leadform--nf select:focus,.leadform--nf textarea:focus{outline:2px solid var(--clay) !important;outline-offset:-2px !important;border-color:var(--clay) !important;box-shadow:none !important}
.leadform--nf ::placeholder{color:#9A968F !important;opacity:1 !important}
.leadform--nf input[type="button"],.leadform--nf input[type="submit"],.leadform--nf button[type="submit"],.leadform--nf .submit-container input{display:inline-flex !important;width:100% !important;min-height:52px !important;padding:14px 24px !important;margin:4px 0 0 !important;justify-content:center !important;align-items:center !important;font:600 15.5px/1 var(--sans) !important;letter-spacing:.01em !important;color:#fff !important;background:var(--ink) !important;border:1px solid var(--ink) !important;border-radius:0 !important;cursor:pointer !important;box-shadow:none !important;text-shadow:none !important;transition:background .15s,border-color .15s !important}
.leadform--nf input[type="button"]:hover,.leadform--nf input[type="submit"]:hover,.leadform--nf button[type="submit"]:hover,.leadform--nf .submit-container input:hover{background:var(--clay) !important;border-color:var(--clay) !important;color:#fff !important}
.leadform--nf .nf-error-msg,.leadform--nf .nf-error-required-error{font:500 12.5px/1.4 var(--sans) !important;color:var(--clay) !important;margin:6px 0 0 !important;padding:0 !important;background:transparent !important;border:0 !important}
.leadform--nf .nf-error .ninja-forms-field{border-color:var(--clay) !important}
.leadform--nf .nf-error-wrap,.leadform--nf .nf-form-errors{margin:0 !important;padding:0 !important}
.leadform--nf .nf-form-errors .nf-error-msg{margin-top:8px !important}
.leadform--nf .nf-response-msg{margin:0 !important;padding:16px !important;border:1px solid var(--ink) !important;background:var(--paper2) !important;color:var(--ink) !important;font:400 15.5px/1.5 var(--sans) !important}
.leadform--nf .nf-response-msg p{color:var(--ink) !important;margin:0 !important}
.leadform--nf .nf-field-description{font:400 13px/1.4 var(--sans) !important;color:var(--ink3) !important;margin:6px 0 0 !important}
.leadform--nf .nf-form-hp{position:absolute !important;left:-9999px !important}
/* Dark-section guard: labels, inputs and fine print stay dark-on-light inside dark bands. */
.ctaband .leadform--nf label,.hero--img .leadform--nf label,.hero--photo .leadform--nf label,.sect--ink .leadform--nf label{color:var(--ink2) !important}
.ctaband .leadform--nf input,.ctaband .leadform--nf textarea,.ctaband .leadform--nf select,.hero--img .leadform--nf input,.hero--img .leadform--nf textarea,.sect--ink .leadform--nf input,.sect--ink .leadform--nf textarea{color:var(--ink) !important;background:#fff !important}
.ctaband .leadbox .leadbox__sub,.ctaband .leadbox .leadform__note,.hero--img .leadbox .leadbox__sub,.hero--img .leadbox .leadform__note,.sect--ink .leadbox .leadbox__sub,.sect--ink .leadbox .leadform__note{color:var(--ink3) !important}
.ctaband .leadbox .leadbox__title,.ctaband .leadbox .leadform__success-hd{color:var(--ink) !important}
@media(max-width:640px){
.leadform--nf nf-fields-wrap{grid-template-columns:1fr !important}
.leadform--nf nf-field:has(> .phone-container),.leadform--nf nf-field:has(> .city-container){grid-column:1/-1 !important}
}
