/* Forminator forms in place of the live DealerOn lead forms (Phase 7.6): Forminator's markup, the live look.
 * Live used Bootstrap 3 form controls (.form-group / .control-label / .form-control / .btn) plus each form's own rules:
 * #consultationForm (132 pages' own <style>), #contactUsWidget (team page CSS), #BlogForm (blog dialog CSS),
 * #BookAFreeConsultation (home hero, ported-home.css).
 * Each Forminator form sits in <div class="prlaw-form prlaw-form-<key>"> (importer / template-parts/blog/sidebar.php /
 * template-parts/home/intro.php). */

/* D70 (Leah, 2026-11-26): her disclaimer right below the submit button of every lead form (inc/forms.php). */
.prlaw-form .prlaw-form-disclaimer { clear: both; margin: 10px 0 0; font-size: 12px; line-height: 1.5; font-weight: 400; text-align: left; text-transform: none; color: inherit; }
.prlaw-form .prlaw-form-disclaimer a { color: inherit; text-decoration: underline; }
/* Home hero: white like the field text on the dark box; 10px under the button (the button row's 35px gap moves below
 * the note), and enough room under it to stay above the red slanted band at the hero's foot (measured 320-1920px:
 * 15-34px clear; without it the note ran under the band from 992px up). */
.prlaw-form.prlaw-form-home .prlaw-form-disclaimer { color: #fff; margin: 0 0 25px; }
@media (min-width: 992px) {
	.prlaw-form.prlaw-form-home .prlaw-form-disclaimer { margin-bottom: 70px; }
}

/* One field per row, as on live */
.prlaw-form .forminator-row { display: block; margin: 0; }
.prlaw-form .forminator-col { float: none; width: 100%; max-width: 100%; padding: 0; }
.prlaw-form .forminator-field { margin: 0 0 15px; }                                    /* .form-group */
.prlaw-form .forminator-label {                                                         /* label */
	display: inline-block; max-width: 100%; margin-bottom: 5px; font-weight: 700; color: inherit;
}
.prlaw-form .forminator-required { display: none; }
.prlaw-form .forminator-label:has(.forminator-required)::before { content: "*"; }      /* live: "*First Name" */
.prlaw-form .forminator-input,
.prlaw-form .forminator-textarea {                                                      /* .form-control */
	display: block; width: 100%; height: 34px; margin: 0; padding: 6px 12px; box-sizing: border-box;
	font-family: inherit; font-size: 14px; font-weight: 400; line-height: 1.42857143; color: #555;
	background-color: #fff; background-image: none; border: 1px solid #ccc; border-radius: 4px;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
	transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
.prlaw-form .forminator-input:focus,
.prlaw-form .forminator-textarea:focus {
	border-color: #66afe9; outline: 0;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
}
.prlaw-form .forminator-input::placeholder,
.prlaw-form .forminator-textarea::placeholder { color: #999; opacity: 1; }
.prlaw-form .forminator-textarea { height: calc(6em * 1.42857143 + 14px); min-height: 0; resize: vertical; } /* rows="6" */
.prlaw-form .forminator-row-last .forminator-field { margin-bottom: 0; }
.prlaw-form .forminator-response-message[aria-hidden="true"] { display: none; }
@media (max-width: 991px) {
	.prlaw-form .forminator-input,
	.prlaw-form .forminator-textarea { font-size: 16px; }                     /* live: .form-control 16px up to 991px */
}

/* Empty / invalid fields, checked in the browser on submit (Forminator inline validation; live: jQuery validate +
 * Bootstrap .has-error): red label and border, "This field is required." right under the field. Live showed the
 * message in the surrounding text colour (white on the dark bands); red here at Raheel's request (2026-11-11, D53):
 * #ff4d4d, the red that stays readable (>= 4.5:1) on every form background (black bands, grey home hero) — the
 * site's #e32329 reaches only 3.2:1 on the hero. Forminator's error list in the box above the form stays for screen
 * readers only — live has no such box. Form-specific rules below win where live differs (home hero: no red border;
 * team page: messages hidden). */
.prlaw-form .forminator-has_error .forminator-label { color: #a94442; }
.prlaw-form .forminator-has_error .forminator-input,
.prlaw-form .forminator-has_error .forminator-textarea { border-color: #a94442; box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); }
.prlaw-form .forminator-has_error .forminator-input:focus,
.prlaw-form .forminator-has_error .forminator-textarea:focus {
	border-color: #843534; box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;
}
.prlaw-form .forminator-error-message {                                                 /* label.has-error */
	display: inline-block; max-width: 100%; margin: 0 0 5px; padding: 0; font-weight: 700; color: #ff4d4d; background: none;
}
.prlaw-form .forminator-response-message.forminator-error:has(ul) {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

/* "Request Free Consultation" (live #consultationForm). Default (e.g. /contact-us/): Bootstrap rows — first / last name
 * and phone / e-mail side by side from 768px (.col-sm-6), labels shown, the site's red .btn-cta button. */
.prlaw-form-consultation .forminator-row-last { padding-bottom: 15px; }                 /* .margin-bottom-1x */
.prlaw-form-consultation .prlaw-field-text-2 .forminator-field,
.prlaw-form-consultation .prlaw-field-email-1 .forminator-field { margin-bottom: 22.5px; } /* + .row.margin-bottom_5x */
@media (min-width: 768px) {
	.prlaw-form-consultation .prlaw-field-text-1 .forminator-field,
	.prlaw-form-consultation .prlaw-field-phone-1 .forminator-field { margin-bottom: 22.5px; }
}

/* Two fields per row (consultation + home hero): the rows are Forminator's own (form builder columns, first / last
 * name and phone / e-mail), side by side from 768px with a 30px gap as live's .row / .col-sm-6, stacked below. */
@media (min-width: 768px) {
	.prlaw-form-consultation .forminator-row,
	.prlaw-form-home .forminator-row { display: flex; column-gap: 30px; }
	.prlaw-form-consultation .forminator-row > .forminator-col,
	.prlaw-form-home .forminator-row > .forminator-col { flex: 1 1 0; min-width: 0; }
}

/* ... inside the contact band (.contact-block, most pages): one column, labels hidden, outlined full-width button */
.contact-block .prlaw-form-consultation .forminator-row { display: block; }
.contact-block .prlaw-form-consultation .forminator-label { display: none; }
.contact-block .prlaw-form-consultation .forminator-field { margin-bottom: 15px !important; }
.contact-block .prlaw-form-consultation .forminator-row-last .forminator-field { margin-bottom: 0 !important; }
.contact-block .prlaw-form-consultation .forminator-button.btn,
.prlaw-form-team .forminator-button.btn {
	display: block; width: 100%; padding: 10px 25px; font-size: 16px;
	color: #fff; background-color: transparent; border-color: #fff;
}
.contact-block .prlaw-form-consultation .forminator-button.btn:hover,
.contact-block .prlaw-form-consultation .forminator-button.btn:focus,
.prlaw-form-team .forminator-button.btn:hover,
.prlaw-form-team .forminator-button.btn:focus { color: #000; background-color: #fff; border-color: #fff; }

/* Team page (live #contactUsWidget): labels moved out of the flow, comments 3 rows */
.prlaw-form-team .forminator-label,
.prlaw-form-team .forminator-error-message { position: absolute; z-index: -100000; }  /* live: error labels too */
.prlaw-form-team .forminator-textarea { height: calc(3em * 1.42857143 + 14px); }
.prlaw-form-team .forminator-row-last .forminator-field { margin-bottom: 15px; }       /* the button's .form-group */

/* Home hero (live #BookAFreeConsultation, ported-home.css .dealerOnform rules): labels for screen readers only,
 * underlined transparent inputs, first / last name and phone / e-mail side by side from 768px, button on the right.
 * 17px text, 16px below 768px as on live (measured: 17px at 768 and 1440, 16px at 375). */
.prlaw-form.prlaw-form-home .forminator-label {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}
.prlaw-form.prlaw-form-home .forminator-field,
.prlaw-form.prlaw-form-home .forminator-row-last .forminator-field { margin-bottom: 35px; }  /* .dealerOnform .form-group */
.prlaw-form.prlaw-form-home .forminator-row-last .forminator-field { margin-bottom: 10px; }  /* D70: the disclaimer follows */
.prlaw-form.prlaw-form-home .forminator-row-last .forminator-field { text-align: right; }     /* .form-group.text-right */
.prlaw-form.prlaw-form-home .forminator-input,
.prlaw-form.prlaw-form-home .forminator-textarea {
	font-size: 17px; border-radius: 0; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .5) !important;
	padding: 10px 0; background-color: transparent; color: #fff; box-shadow: none; transition: all 250ms ease-in-out;
}
.prlaw-form.prlaw-form-home .forminator-textarea { height: calc(2em * 1.42857143 + 21px); }  /* no rows attribute: 2 rows */
/* Live's hero form showed a browser pop-up for the first empty field (old DealerOn script), no text under the
 * fields; Forminator shows its message under each field instead (red, as on the other forms). */
.prlaw-form.prlaw-form-home .forminator-input:focus,
.prlaw-form.prlaw-form-home .forminator-textarea:focus {
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(150, 150, 150, .9); padding-left: 10px;
}
.prlaw-form.prlaw-form-home .forminator-input:focus::placeholder,
.prlaw-form.prlaw-form-home .forminator-textarea:focus::placeholder { color: #fff; opacity: 1; }
@media (max-width: 767px) {
	.prlaw-form.prlaw-form-home .forminator-input,
	.prlaw-form.prlaw-form-home .forminator-textarea { font-size: 16px; }
}

/* Blog "Contact Us" dialog (live #BlogForm): the dialog's own input / button rules */
.prlaw-form-blog .forminator-field { margin-bottom: 1rem; }
.prlaw-form-blog .forminator-input,
.prlaw-form-blog .forminator-textarea { padding: 8px 12px; line-height: 1.4; box-shadow: none; transition: border-color .2s; }
.prlaw-form-blog .forminator-textarea { height: calc(6em * 1.42857143 + 14px); padding: 6px 12px; }
.prlaw-form-blog .forminator-input:focus,
.prlaw-form-blog .forminator-textarea:focus { outline: none; border-color: #007bff; box-shadow: none; }
.prlaw-form-blog .forminator-button.btn { display: block; width: auto; padding: 8px 12px; font-size: 14px; border: 0; }
.prlaw-form-blog .forminator-row-last .forminator-field { margin-bottom: 15px; }       /* #BlogSubmitGrid.margin-bottom-1x */

/* D64 (2026-11-24): the three noindex DealerOn form pages, rebuilt as on live. Measured on live at 1440 / 768 / 375. */

/* /blog-contact-form.html (live .dealerOnform "Blog Lead Form" widget; the page's own <style> styles the wrapper, its
 * title and the full-width button): labels moved out of the flow, 37px fields, 75px message box, consent line. */
.prlaw-form-blogcontact .forminator-label { position: absolute; z-index: -1; }          /* .dealerOnform .control-label */
.prlaw-form-blogcontact .forminator-input { height: 37px; }                             /* .form-control min-height */
.prlaw-form-blogcontact .forminator-textarea { height: 75px; }
.prlaw-form-blogcontact .forminator-input::placeholder,
.prlaw-form-blogcontact .forminator-textarea::placeholder { color: #777; }
.prlaw-form-blogcontact .forminator-checkbox { display: block; position: relative; margin: 0 0 10px; padding-left: 20px; font-weight: 400; }
.prlaw-form-blogcontact .forminator-checkbox input { position: absolute; margin: 4px 0 0 -20px; }  /* .checkbox input */
.prlaw-form-blogcontact .forminator-checkbox-box { display: none; }
.prlaw-form-blogcontact .prlaw-field-checkbox-1 .forminator-field { margin-bottom: 10px; }
.prlaw-form-blogcontact .forminator-button.btn { display: block; }

/* /contact-us-city1-lawyers (live #ContactUsForm, DealerOn ContactUs.css): two fields per row from 768px with a 24px
 * gap and .5em between rows, comments and the red .btn-cta button full width below. */
.prlaw-form-contactus .forminator-row { margin-bottom: .5em; }
@media (min-width: 768px) {
	.prlaw-form-contactus .forminator-row { display: flex; column-gap: 24px; }
	.prlaw-form-contactus .forminator-row > .forminator-col { flex: 1 1 0; min-width: 0; }
}
.prlaw-form-contactus .forminator-row-last .forminator-field { margin-bottom: 15px; }    /* #ContactUsSubmitGrid.margin-bottom-1x */
#contactFormDescription:has(~ .prlaw-form-contactus) { display: block; }  /* shown on this page on live (the sitewide rule hides it elsewhere) */

/* /legal-careers-city1 (live #careersForm: Bootstrap 3 panels in a .form-horizontal). The four panels are Forminator
 * Field Groups: two per row from 992px (.row > .col-md-6, 30px gutter), one per row below. In a panel, label (25%,
 * 12px bold, .input-sm) and field (75%) side by side from 768px (.col-sm-3 / .col-sm-9), stacked below. */
@media (min-width: 992px) {
	.prlaw-form-careers form > .forminator-row:has(> .forminator-field-group) { display: flex; column-gap: 30px; align-items: flex-start; }
	.prlaw-form-careers form > .forminator-row > .forminator-field-group { flex: 1 1 0; min-width: 0; }
}
.prlaw-form-careers .forminator-grouped-fields { margin-bottom: 20px; background: #fff; border: 1px solid #ddd; } /* .panel */
.prlaw-form-careers .forminator-grouped-fields > .forminator-row { padding: 0; }
.prlaw-form-careers .forminator-grouped-fields > .forminator-row:nth-child(2) { padding-top: 15px; }        /* .panel-body */
.prlaw-form-careers .forminator-grouped-fields > .forminator-row:last-child { padding-bottom: 15px; }
.prlaw-form-careers .forminator-grouped-fields > .forminator-row:first-child .forminator-field { margin: 0; }
.prlaw-form-careers .panel-heading { padding: 10px 15px; background: #f5f5f5; border-bottom: 1px solid #ddd; }
.prlaw-form-careers .panel-title { margin: 0; font-size: 16px; line-height: 1.1; color: inherit; }
.prlaw-form-careers .prlaw-field-html-3 .forminator-field { margin: 0 0 15px; padding: 5px 10px 0; font-size: 12px; } /* .form-group.input-sm */
.prlaw-form-careers .prlaw-field-html-3 p { margin: 0 0 10px; }
.prlaw-form-careers .forminator-grouped-fields .forminator-label {
	margin: 0 0 5px; padding: 5px 10px; font-size: 12px; line-height: 1.5;                 /* .col-sm-3.input-sm */
}
.prlaw-form-careers .forminator-grouped-fields .forminator-input,
.prlaw-form-careers .forminator-grouped-fields .forminator-textarea,
.prlaw-form-careers .forminator-grouped-fields .forminator-file-upload,
.prlaw-form-careers .forminator-grouped-fields select { width: calc(100% - 30px); margin: 0 15px; }        /* .col-sm-9 padding */
.prlaw-form-careers .forminator-grouped-fields select {                                   /* .form-control */
	display: block; height: 34px; padding: 6px 12px; font-family: inherit; font-size: 14px; color: #555;
	background-color: #fff; border: 1px solid #ccc; border-radius: 4px; box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}
.prlaw-form-careers .forminator-textarea { height: calc(3em * 1.42857143 + 14px); }      /* rows="3" */
.prlaw-form-careers .prlaw-field-date-1 .forminator-input { flex: 0 1 202px; max-width: 202px; }
.prlaw-form-careers .forminator-file-upload input[type="file"] { font-size: 12px; }
.prlaw-form-careers .forminator-file-upload input[type="file"]::file-selector-button {   /* live: a red "Browse..." .btn-cta */
	margin-right: 10px; padding: 12px 35px; font-family: inherit; font-size: 14px; color: #fff; cursor: pointer;
	background-color: #de252b; border: 2px solid #de252b; border-radius: 10px;
}
.prlaw-form-careers .forminator-upload--remove { display: none; }
@media (min-width: 768px) {
	.prlaw-form-careers .forminator-grouped-fields .forminator-field:has(> .forminator-label) { display: flex; align-items: flex-start; }
	.prlaw-form-careers .forminator-grouped-fields .forminator-field > .forminator-label { flex: 0 0 25%; max-width: 25%; margin: 0; }
	.prlaw-form-careers .forminator-grouped-fields .forminator-field > .forminator-label ~ * { flex: 1 1 0; min-width: 0; }
	.prlaw-form-careers .prlaw-field-date-1 .forminator-label { padding-top: 7px; text-align: right; }   /* .control-label */
}
@media (max-width: 991px) {
	.prlaw-form-careers .forminator-grouped-fields select { font-size: 16px; }
}
/* "*Required Fields" left and the outlined Submit button right, under a rule (live: <hr>, .col-md-6 + .text-right) */
.prlaw-form-careers form { display: flex; flex-wrap: wrap; }
.prlaw-form-careers form > * { flex: 0 0 100%; min-width: 0; }
.prlaw-form-careers form > .forminator-row:has(.prlaw-field-html-6),
.prlaw-form-careers form > .forminator-row-last { flex: 0 0 50%; margin-top: 20px; padding-top: 20px; border-top: 1px solid #eee; }
.prlaw-form-careers .prlaw-field-html-6 .forminator-field { margin: 0; }
.prlaw-form-careers form > .forminator-row-last .forminator-field { margin: 0; text-align: right; }
