/* ==========================================================================
   Pennine Gravity Forms
   Dedicated styling for rebuilt canonical Gravity Forms
   ========================================================================== */

/* ==========================================================================
   1. Shared Gravity Forms safety fixes
   Prevent cloned/live-site CSS from hiding Gravity Forms submit areas
   ========================================================================== */

body .module-content-gravity-form__lower .gform_footer,
body .module-content-gravity-form__lower .gform-footer {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  overflow: visible !important;
  position: relative !important;
  z-index: 5 !important;
}

body .module-content-gravity-form__lower .gform_footer input[type="submit"],
body .module-content-gravity-form__lower .gform-footer input[type="submit"],
body .module-content-gravity-form__lower .gform_button {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  position: relative !important;
  z-index: 10 !important;
}

/* ==========================================================================
   2. Shared Pennine form wrapper
   ========================================================================== */

body .module-content-gravity-form__lower .gform_wrapper {
  max-width: 1500px;
  margin: 0 auto;
}

/* ==========================================================================
   3. Shared desktop layout
   Form 1: Pennine - Free Quotation
   Form 2: Pennine - General Enquiry
   Form 3: Pennine - Book Appointment
   ========================================================================== */

body .module-content-gravity-form__lower #gform_1,
body .module-content-gravity-form__lower #gform_2,
body .module-content-gravity-form__lower #gform_3 {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 4px;
  align-items: start;
}

/* Let individual Gravity Forms fields be placed directly in the form grid */
body .module-content-gravity-form__lower #gform_1 .gform-body,
body .module-content-gravity-form__lower #gform_1 #gform_fields_1,
body .module-content-gravity-form__lower #gform_2 .gform-body,
body .module-content-gravity-form__lower #gform_2 #gform_fields_2,
body .module-content-gravity-form__lower #gform_3 .gform-body,
body .module-content-gravity-form__lower #gform_3 #gform_fields_3 {
  display: contents;
}

/* Reset common spacing */
body .module-content-gravity-form__lower #gform_1 .gfield,
body .module-content-gravity-form__lower #gform_1 fieldset.gfield,
body .module-content-gravity-form__lower #gform_2 .gfield,
body .module-content-gravity-form__lower #gform_2 fieldset.gfield,
body .module-content-gravity-form__lower #gform_3 .gfield,
body .module-content-gravity-form__lower #gform_3 fieldset.gfield {
  min-width: 0;
  width: 100%;
  max-width: none;
  margin: 0 !important;
  padding: 0 !important;
}

/* Section headings */
body .module-content-gravity-form__lower #gform_1 .gsection,
body .module-content-gravity-form__lower #gform_2 .gsection,
body .module-content-gravity-form__lower #gform_3 .gsection {
  margin: 0 0 6px !important;
  padding: 0 !important;
  border: 0 !important;
}

body .module-content-gravity-form__lower #gform_1 .gsection_title,
body .module-content-gravity-form__lower #gform_2 .gsection_title,
body .module-content-gravity-form__lower #gform_3 .gsection_title {
  margin: 0 !important;
  padding: 0 !important;
  color: #1f232b;
  font-size: 25px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
}

/* ==========================================================================
   4. Shared field placement: Your Details column
   ========================================================================== */

body .module-content-gravity-form__lower #field_1_1,
body .module-content-gravity-form__lower #field_2_1,
body .module-content-gravity-form__lower #field_3_1 {
  grid-column: 1 / 4;
  grid-row: 1;
}

body .module-content-gravity-form__lower #field_1_3,
body .module-content-gravity-form__lower #field_2_3,
body .module-content-gravity-form__lower #field_3_3 {
  grid-column: 1 / 2;
  grid-row: 2;
}

body .module-content-gravity-form__lower #field_1_4,
body .module-content-gravity-form__lower #field_2_4,
body .module-content-gravity-form__lower #field_3_4 {
  grid-column: 2 / 3;
  grid-row: 2;
}

body .module-content-gravity-form__lower #field_1_5,
body .module-content-gravity-form__lower #field_2_5,
body .module-content-gravity-form__lower #field_3_5 {
  grid-column: 3 / 4;
  grid-row: 2;
}

body .module-content-gravity-form__lower #field_1_6,
body .module-content-gravity-form__lower #field_2_6,
body .module-content-gravity-form__lower #field_3_6 {
  grid-column: 1 / 4;
  grid-row: 3;
}

body .module-content-gravity-form__lower #field_1_7,
body .module-content-gravity-form__lower #field_2_7,
body .module-content-gravity-form__lower #field_3_7 {
  grid-column: 1 / 4;
  grid-row: 4;
}

body .module-content-gravity-form__lower #field_1_8,
body .module-content-gravity-form__lower #field_2_8,
body .module-content-gravity-form__lower #field_3_8 {
  grid-column: 1 / 4;
  grid-row: 5;
}

body .module-content-gravity-form__lower #field_1_9,
body .module-content-gravity-form__lower #field_2_9,
body .module-content-gravity-form__lower #field_3_9 {
  grid-column: 1 / 4;
  grid-row: 6;
}

/* ==========================================================================
   5. Shared field placement: Product/Quote options column
   ========================================================================== */

body .module-content-gravity-form__lower #field_1_10,
body .module-content-gravity-form__lower #field_2_10,
body .module-content-gravity-form__lower #field_3_10 {
  grid-column: 4 / 7;
  grid-row: 1;
}

body .module-content-gravity-form__lower #field_1_11,
body .module-content-gravity-form__lower #field_2_11,
body .module-content-gravity-form__lower #field_3_11 {
  grid-column: 4 / 7;
  grid-row: 2 / span 5;
  align-self: start;
}

/* ==========================================================================
   6. Form 1 and Form 2: Further Information column
   ========================================================================== */

body .module-content-gravity-form__lower #field_1_12,
body .module-content-gravity-form__lower #field_2_12 {
  grid-column: 7 / 10;
  grid-row: 1;
}

body .module-content-gravity-form__lower #field_1_13,
body .module-content-gravity-form__lower #field_2_13 {
  grid-column: 7 / 10;
  grid-row: 2 / span 3;
  align-self: start;
}

body .module-content-gravity-form__lower #field_1_14,
body .module-content-gravity-form__lower #field_2_14 {
  grid-column: 7 / 10;
  grid-row: 5;
  align-self: start;
}

body .module-content-gravity-form__lower #gform_1 .gform_footer,
body .module-content-gravity-form__lower #gform_1 .gform-footer,
body .module-content-gravity-form__lower #gform_2 .gform_footer,
body .module-content-gravity-form__lower #gform_2 .gform-footer {
  grid-column: 7 / 10;
  grid-row: 6;
  margin-top: 10px !important;
}

/* ==========================================================================
   7. Form 3: Book Appointment right column
   ========================================================================== */

body .module-content-gravity-form__lower #field_3_12 {
  grid-column: 7 / 10;
  grid-row: 1;
}

body .module-content-gravity-form__lower #field_3_19 {
  grid-column: 7 / 10;
  grid-row: 2;
  align-self: start;
}

body .module-content-gravity-form__lower #field_3_20 {
  grid-column: 7 / 10;
  grid-row: 3;
  align-self: start;
}

body .module-content-gravity-form__lower #field_3_14 {
  grid-column: 7 / 10;
  grid-row: 4;
  align-self: start;
  margin-top: 10px !important;
}

body .module-content-gravity-form__lower #gform_3 .gform_footer,
body .module-content-gravity-form__lower #gform_3 .gform-footer {
  grid-column: 7 / 10;
  grid-row: 5;
  margin-top: 18px !important;
}

/* ==========================================================================
   8. Labels and accessibility
   ========================================================================== */

/* Hide normal field labels visually but keep them available to screen readers */
body .module-content-gravity-form__lower #field_1_3 > label,
body .module-content-gravity-form__lower #field_1_4 > label,
body .module-content-gravity-form__lower #field_1_5 > label,
body .module-content-gravity-form__lower #field_1_6 > label,
body .module-content-gravity-form__lower #field_1_7 > label,
body .module-content-gravity-form__lower #field_1_8 > label,
body .module-content-gravity-form__lower #field_1_9 > label,
body .module-content-gravity-form__lower #field_2_3 > label,
body .module-content-gravity-form__lower #field_2_4 > label,
body .module-content-gravity-form__lower #field_2_5 > label,
body .module-content-gravity-form__lower #field_2_6 > label,
body .module-content-gravity-form__lower #field_2_7 > label,
body .module-content-gravity-form__lower #field_2_8 > label,
body .module-content-gravity-form__lower #field_2_9 > label,
body .module-content-gravity-form__lower #field_3_3 > label,
body .module-content-gravity-form__lower #field_3_4 > label,
body .module-content-gravity-form__lower #field_3_5 > label,
body .module-content-gravity-form__lower #field_3_6 > label,
body .module-content-gravity-form__lower #field_3_7 > label,
body .module-content-gravity-form__lower #field_3_8 > label,
body .module-content-gravity-form__lower #field_3_9 > label,
body .module-content-gravity-form__lower #field_3_19 > label,
body .module-content-gravity-form__lower #field_3_20 > label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

/* Required text */
body .module-content-gravity-form__lower #gform_1 .gfield_required,
body .module-content-gravity-form__lower #gform_1 .gfield_required_text,
body .module-content-gravity-form__lower #gform_2 .gfield_required,
body .module-content-gravity-form__lower #gform_2 .gfield_required_text,
body .module-content-gravity-form__lower #gform_3 .gfield_required,
body .module-content-gravity-form__lower #gform_3 .gfield_required_text {
  color: #c8102e;
  font-size: 12px;
  font-weight: 600;
}

/* ==========================================================================
   9. Inputs, selects and textarea
   ========================================================================== */

body .module-content-gravity-form__lower #gform_1 input[type="text"],
body .module-content-gravity-form__lower #gform_1 input[type="email"],
body .module-content-gravity-form__lower #gform_1 input[type="tel"],
body .module-content-gravity-form__lower #gform_1 select,
body .module-content-gravity-form__lower #gform_1 textarea,
body .module-content-gravity-form__lower #gform_1 .select2-selection,
body .module-content-gravity-form__lower #gform_2 input[type="text"],
body .module-content-gravity-form__lower #gform_2 input[type="email"],
body .module-content-gravity-form__lower #gform_2 input[type="tel"],
body .module-content-gravity-form__lower #gform_2 select,
body .module-content-gravity-form__lower #gform_2 textarea,
body .module-content-gravity-form__lower #gform_2 .select2-selection,
body .module-content-gravity-form__lower #gform_3 input[type="text"],
body .module-content-gravity-form__lower #gform_3 input[type="email"],
body .module-content-gravity-form__lower #gform_3 input[type="tel"],
body .module-content-gravity-form__lower #gform_3 select,
body .module-content-gravity-form__lower #gform_3 textarea,
body .module-content-gravity-form__lower #gform_3 .select2-selection {
  width: 100% !important;
  min-height: 52px;
  border: 1px solid #dddddd !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  color: #2e323b !important;
  font-size: 16px;
  line-height: 1.4;
  padding: 12px 16px;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

/* Placeholder styling */
body .module-content-gravity-form__lower #gform_1 ::placeholder,
body .module-content-gravity-form__lower #gform_2 ::placeholder,
body .module-content-gravity-form__lower #gform_3 ::placeholder {
  color: #9da3aa;
  opacity: 1;
}

/* Date field width correction */
body .module-content-gravity-form__lower #field_3_19 .ginput_container,
body .module-content-gravity-form__lower #field_3_19 input {
  width: 100% !important;
  max-width: none !important;
}

/* Preferred Time dropdown width correction */
body .module-content-gravity-form__lower #field_3_20 .ginput_container,
body .module-content-gravity-form__lower #field_3_20 .select2-container,
body .module-content-gravity-form__lower #field_3_20 .select2-selection {
  width: 100% !important;
  max-width: none !important;
}

/* ==========================================================================
   10. Title dropdown / Salient Select2 alignment
   ========================================================================== */

body .module-content-gravity-form__lower #field_1_3 .ginput_container,
body .module-content-gravity-form__lower #field_1_3 .ginput_container_select,
body .module-content-gravity-form__lower #field_1_3 .fancy-select-wrap,
body .module-content-gravity-form__lower #field_1_3 .select2-container,
body .module-content-gravity-form__lower #field_1_3 .select2-selection,
body .module-content-gravity-form__lower #field_2_3 .ginput_container,
body .module-content-gravity-form__lower #field_2_3 .ginput_container_select,
body .module-content-gravity-form__lower #field_2_3 .fancy-select-wrap,
body .module-content-gravity-form__lower #field_2_3 .select2-container,
body .module-content-gravity-form__lower #field_2_3 .select2-selection,
body .module-content-gravity-form__lower #field_3_3 .ginput_container,
body .module-content-gravity-form__lower #field_3_3 .ginput_container_select,
body .module-content-gravity-form__lower #field_3_3 .fancy-select-wrap,
body .module-content-gravity-form__lower #field_3_3 .select2-container,
body .module-content-gravity-form__lower #field_3_3 .select2-selection {
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body .module-content-gravity-form__lower #field_1_3 .select2-container,
body .module-content-gravity-form__lower #field_2_3 .select2-container,
body .module-content-gravity-form__lower #field_3_3 .select2-container {
  display: block !important;
  width: 100% !important;
  height: 52px !important;
  line-height: 52px !important;
}

body .module-content-gravity-form__lower #field_1_3 .select2-selection,
body .module-content-gravity-form__lower #field_2_3 .select2-selection,
body .module-content-gravity-form__lower #field_3_3 .select2-selection {
  display: flex !important;
  align-items: center !important;
  height: 52px !important;
  min-height: 52px !important;
  max-height: 52px !important;
  padding: 12px 16px !important;
}

body .module-content-gravity-form__lower #gform_1 .select2-container,
body .module-content-gravity-form__lower #gform_2 .select2-container,
body .module-content-gravity-form__lower #gform_3 .select2-container {
  width: 100% !important;
}

body .module-content-gravity-form__lower #gform_1 .select2-selection__rendered,
body .module-content-gravity-form__lower #gform_2 .select2-selection__rendered,
body .module-content-gravity-form__lower #gform_3 .select2-selection__rendered {
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
  padding: 0 !important;
  color: #2e323b !important;
  line-height: 1 !important;
}

body .module-content-gravity-form__lower #gform_1 .select2-selection__arrow,
body .module-content-gravity-form__lower #gform_2 .select2-selection__arrow,
body .module-content-gravity-form__lower #gform_3 .select2-selection__arrow {
  top: 0 !important;
  right: 12px !important;
  height: 100% !important;
  transform: none !important;
}

/* ==========================================================================
   11. Textarea
   ========================================================================== */

body .module-content-gravity-form__lower #gform_1 textarea,
body .module-content-gravity-form__lower #gform_2 textarea {
  min-height: 255px;
  resize: vertical;
}

/* ==========================================================================
   12. Quote/product options as boxed choices
   ========================================================================== */

body .module-content-gravity-form__lower #field_1_11,
body .module-content-gravity-form__lower #field_1_11 .ginput_container,
body .module-content-gravity-form__lower #field_1_11 .gfield_checkbox,
body .module-content-gravity-form__lower #field_2_11,
body .module-content-gravity-form__lower #field_2_11 .ginput_container,
body .module-content-gravity-form__lower #field_2_11 .gfield_checkbox,
body .module-content-gravity-form__lower #field_3_11,
body .module-content-gravity-form__lower #field_3_11 .ginput_container,
body .module-content-gravity-form__lower #field_3_11 .gfield_checkbox {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

body .module-content-gravity-form__lower #field_1_11 .gfield_checkbox,
body .module-content-gravity-form__lower #field_2_11 .gfield_checkbox,
body .module-content-gravity-form__lower #field_3_11 .gfield_checkbox {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

body .module-content-gravity-form__lower #field_1_11 .gchoice,
body .module-content-gravity-form__lower #field_2_11 .gchoice,
body .module-content-gravity-form__lower #field_3_11 .gchoice {
  position: relative;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body .module-content-gravity-form__lower #field_1_11 input[type="checkbox"],
body .module-content-gravity-form__lower #field_2_11 input[type="checkbox"],
body .module-content-gravity-form__lower #field_3_11 input[type="checkbox"] {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body .module-content-gravity-form__lower #field_1_11 label,
body .module-content-gravity-form__lower #field_1_11 .gform-field-label,
body .module-content-gravity-form__lower #field_1_11 .gform-field-label--type-inline,
body .module-content-gravity-form__lower #field_2_11 label,
body .module-content-gravity-form__lower #field_2_11 .gform-field-label,
body .module-content-gravity-form__lower #field_2_11 .gform-field-label--type-inline,
body .module-content-gravity-form__lower #field_3_11 label,
body .module-content-gravity-form__lower #field_3_11 .gform-field-label,
body .module-content-gravity-form__lower #field_3_11 .gform-field-label--type-inline {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 52px !important;
  margin: 0 !important;
  padding: 12px 16px !important;
  border: 1px solid #dddddd !important;
  background: #ffffff !important;
  color: #2e323b !important;
  font-size: 15px !important;
  line-height: 1.3 !important;
  font-weight: 400 !important;
  text-align: center !important;
  white-space: normal !important;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

/* Selected/hover state should match Pennine red */
body .module-content-gravity-form__lower #field_1_11 input[type="checkbox"]:checked + label,
body .module-content-gravity-form__lower #field_1_11 label:hover,
body .module-content-gravity-form__lower #field_2_11 input[type="checkbox"]:checked + label,
body .module-content-gravity-form__lower #field_2_11 label:hover,
body .module-content-gravity-form__lower #field_3_11 input[type="checkbox"]:checked + label,
body .module-content-gravity-form__lower #field_3_11 label:hover {
  border-color: #c8102e !important;
  background: #c8102e !important;
  color: #ffffff !important;
}

/* ==========================================================================
   13. Marketing checkbox
   ========================================================================== */

body .module-content-gravity-form__lower #field_1_14,
body .module-content-gravity-form__lower #field_1_14 .ginput_container,
body .module-content-gravity-form__lower #field_1_14 .gfield_checkbox,
body .module-content-gravity-form__lower #field_2_14,
body .module-content-gravity-form__lower #field_2_14 .ginput_container,
body .module-content-gravity-form__lower #field_2_14 .gfield_checkbox,
body .module-content-gravity-form__lower #field_3_14,
body .module-content-gravity-form__lower #field_3_14 .ginput_container,
body .module-content-gravity-form__lower #field_3_14 .gfield_checkbox {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

body .module-content-gravity-form__lower #field_1_14 .gfield_checkbox,
body .module-content-gravity-form__lower #field_2_14 .gfield_checkbox,
body .module-content-gravity-form__lower #field_3_14 .gfield_checkbox {
  display: block !important;
}

body .module-content-gravity-form__lower #field_1_14 .gchoice,
body .module-content-gravity-form__lower #field_2_14 .gchoice,
body .module-content-gravity-form__lower #field_3_14 .gchoice {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body .module-content-gravity-form__lower #field_1_14 input[type="checkbox"],
body .module-content-gravity-form__lower #field_2_14 input[type="checkbox"],
body .module-content-gravity-form__lower #field_3_14 input[type="checkbox"] {
  flex: 0 0 18px !important;
  width: 18px !important;
  height: 18px !important;
  margin: 3px 0 0 !important;
}

body .module-content-gravity-form__lower #field_1_14 label,
body .module-content-gravity-form__lower #field_1_14 .gform-field-label,
body .module-content-gravity-form__lower #field_1_14 .gform-field-label--type-inline,
body .module-content-gravity-form__lower #field_2_14 label,
body .module-content-gravity-form__lower #field_2_14 .gform-field-label,
body .module-content-gravity-form__lower #field_2_14 .gform-field-label--type-inline,
body .module-content-gravity-form__lower #field_3_14 label,
body .module-content-gravity-form__lower #field_3_14 .gform-field-label,
body .module-content-gravity-form__lower #field_3_14 .gform-field-label--type-inline {
  display: block !important;
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  color: #1f232b !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  font-weight: 400 !important;
  white-space: normal !important;
}

/* Prevent marketing checkbox label from inheriting red/selected styling */
body .module-content-gravity-form__lower #field_1_14 input[type="checkbox"]:checked + label,
body .module-content-gravity-form__lower #field_2_14 input[type="checkbox"]:checked + label,
body .module-content-gravity-form__lower #field_3_14 input[type="checkbox"]:checked + label,
body .module-content-gravity-form__lower #field_1_14 label:hover,
body .module-content-gravity-form__lower #field_2_14 label:hover,
body .module-content-gravity-form__lower #field_3_14 label:hover {
  background: transparent !important;
  color: #1f232b !important;
  border-color: transparent !important;
}

/* ==========================================================================
   14. Submit buttons
   ========================================================================== */

body .module-content-gravity-form__lower #gform_1 input[type="submit"].gform_button,
body .module-content-gravity-form__lower #gform_1 .gform_footer input[type="submit"],
body .module-content-gravity-form__lower #gform_1 .gform-footer input[type="submit"],
body .module-content-gravity-form__lower #gform_2 input[type="submit"].gform_button,
body .module-content-gravity-form__lower #gform_2 .gform_footer input[type="submit"],
body .module-content-gravity-form__lower #gform_2 .gform-footer input[type="submit"],
body .module-content-gravity-form__lower #gform_3 input[type="submit"].gform_button,
body .module-content-gravity-form__lower #gform_3 .gform_footer input[type="submit"],
body .module-content-gravity-form__lower #gform_3 .gform-footer input[type="submit"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  min-height: 58px !important;
  padding: 14px 34px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #c8102e !important;
  color: #ffffff !important;
  font-size: 17px;
  line-height: 1;
  font-weight: 700;
  text-align: center !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: none !important;
  position: relative !important;
  z-index: 10 !important;
}

body .module-content-gravity-form__lower #gform_1 input[type="submit"].gform_button:hover,
body .module-content-gravity-form__lower #gform_1 .gform_footer input[type="submit"]:hover,
body .module-content-gravity-form__lower #gform_1 .gform-footer input[type="submit"]:hover,
body .module-content-gravity-form__lower #gform_2 input[type="submit"].gform_button:hover,
body .module-content-gravity-form__lower #gform_2 .gform_footer input[type="submit"]:hover,
body .module-content-gravity-form__lower #gform_2 .gform-footer input[type="submit"]:hover,
body .module-content-gravity-form__lower #gform_3 input[type="submit"].gform_button:hover,
body .module-content-gravity-form__lower #gform_3 .gform_footer input[type="submit"]:hover,
body .module-content-gravity-form__lower #gform_3 .gform-footer input[type="submit"]:hover {
  background: #a3131d !important;
  color: #ffffff !important;
}

/* ==========================================================================
   15. Confirmation message
   ========================================================================== */

body .module-content-gravity-form__lower .gform_confirmation_message {
  max-width: 1100px;
  margin: 0 auto;
  color: #1f232b;
  font-size: 20px;
  line-height: 1.6;
}

/* ==========================================================================
   17. Form 4: Customer Care
   ========================================================================== */

/* Customer Care desktop layout */
body .module-content-gravity-form__lower #gform_4 {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 4px;
  align-items: start;
}

body .module-content-gravity-form__lower #gform_4 .gform-body,
body .module-content-gravity-form__lower #gform_4 #gform_fields_4 {
  display: contents;
}

body .module-content-gravity-form__lower #gform_4 .gfield,
body .module-content-gravity-form__lower #gform_4 fieldset.gfield {
  min-width: 0;
  width: 100%;
  max-width: none;
  margin: 0 !important;
  padding: 0 !important;
}

/* Customer Care section headings */
body .module-content-gravity-form__lower #gform_4 .gsection {
  margin: 0 0 6px !important;
  padding: 0 !important;
  border: 0 !important;
}

body .module-content-gravity-form__lower #gform_4 .gsection_title {
  margin: 0 !important;
  padding: 0 !important;
  color: #1f232b;
  font-size: 25px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
}

/* Column 1: Your details */
body .module-content-gravity-form__lower #field_4_1 {
  grid-column: 1 / 4;
  grid-row: 1;
}

body .module-content-gravity-form__lower #field_4_3 {
  grid-column: 1 / 2;
  grid-row: 2;
}

body .module-content-gravity-form__lower #field_4_4 {
  grid-column: 2 / 3;
  grid-row: 2;
}

body .module-content-gravity-form__lower #field_4_5 {
  grid-column: 3 / 4;
  grid-row: 2;
}

body .module-content-gravity-form__lower #field_4_6 {
  grid-column: 1 / 4;
  grid-row: 3;
}

body .module-content-gravity-form__lower #field_4_7 {
  grid-column: 1 / 4;
  grid-row: 4;
}

body .module-content-gravity-form__lower #field_4_8 {
  grid-column: 1 / 4;
  grid-row: 5;
}

body .module-content-gravity-form__lower #field_4_9 {
  grid-column: 1 / 4;
  grid-row: 6;
}

/* Column 2: Enquiry type and contract number */
body .module-content-gravity-form__lower #field_4_10 {
  grid-column: 4 / 7;
  grid-row: 1;
}

body .module-content-gravity-form__lower #field_4_11 {
  grid-column: 4 / 7;
  grid-row: 2 / span 4;
  align-self: start;
}

body .module-content-gravity-form__lower #field_4_19 {
  grid-column: 4 / 7;
  grid-row: 6;
  align-self: start;
}

/* Column 3: Further information and marketing */
body .module-content-gravity-form__lower #field_4_12 {
  grid-column: 7 / 10;
  grid-row: 1;
}

body .module-content-gravity-form__lower #field_4_13 {
  grid-column: 7 / 10;
  grid-row: 2 / span 3;
  align-self: start;
}

body .module-content-gravity-form__lower #field_4_20 {
  grid-column: 7 / 10;
  grid-row: 5;
  align-self: start;
  margin-top: 18px !important;
}

body .module-content-gravity-form__lower #field_4_14 {
  grid-column: 7 / 10;
  grid-row: 6;
  align-self: start;
}

body .module-content-gravity-form__lower #gform_4 .gform_footer,
body .module-content-gravity-form__lower #gform_4 .gform-footer {
  grid-column: 7 / 10;
  grid-row: 7;
  margin-top: 18px !important;
}

/* Hide normal field labels visually but keep them available to screen readers */
body .module-content-gravity-form__lower #field_4_3 > label,
body .module-content-gravity-form__lower #field_4_4 > label,
body .module-content-gravity-form__lower #field_4_5 > label,
body .module-content-gravity-form__lower #field_4_6 > label,
body .module-content-gravity-form__lower #field_4_7 > label,
body .module-content-gravity-form__lower #field_4_8 > label,
body .module-content-gravity-form__lower #field_4_9 > label,
body .module-content-gravity-form__lower #field_4_19 > label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

/* Inputs, selects and textarea */
body .module-content-gravity-form__lower #gform_4 input[type="text"],
body .module-content-gravity-form__lower #gform_4 input[type="email"],
body .module-content-gravity-form__lower #gform_4 input[type="tel"],
body .module-content-gravity-form__lower #gform_4 select,
body .module-content-gravity-form__lower #gform_4 textarea,
body .module-content-gravity-form__lower #gform_4 .select2-selection {
  width: 100% !important;
  min-height: 52px;
  border: 1px solid #dddddd !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  color: #2e323b !important;
  font-size: 16px;
  line-height: 1.4;
  padding: 12px 16px;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

body .module-content-gravity-form__lower #gform_4 ::placeholder {
  color: #9da3aa;
  opacity: 1;
}

/* Title dropdown / Salient Select2 alignment */
body .module-content-gravity-form__lower #field_4_3 .ginput_container,
body .module-content-gravity-form__lower #field_4_3 .ginput_container_select,
body .module-content-gravity-form__lower #field_4_3 .fancy-select-wrap,
body .module-content-gravity-form__lower #field_4_3 .select2-container,
body .module-content-gravity-form__lower #field_4_3 .select2-selection {
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body .module-content-gravity-form__lower #field_4_3 .select2-container {
  display: block !important;
  width: 100% !important;
  height: 52px !important;
  line-height: 52px !important;
}

body .module-content-gravity-form__lower #field_4_3 .select2-selection {
  display: flex !important;
  align-items: center !important;
  height: 52px !important;
  min-height: 52px !important;
  max-height: 52px !important;
  padding: 12px 16px !important;
}

body .module-content-gravity-form__lower #gform_4 .select2-container {
  width: 100% !important;
}

body .module-content-gravity-form__lower #gform_4 .select2-selection__rendered {
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
  padding: 0 !important;
  color: #2e323b !important;
  line-height: 1 !important;
}

body .module-content-gravity-form__lower #gform_4 .select2-selection__arrow {
  top: 0 !important;
  right: 12px !important;
  height: 100% !important;
  transform: none !important;
}

/* Customer Care textarea */
body .module-content-gravity-form__lower #gform_4 textarea {
  min-height: 255px;
  resize: vertical;
}

/* Enquiry type boxed choices */
body .module-content-gravity-form__lower #field_4_11,
body .module-content-gravity-form__lower #field_4_11 .ginput_container,
body .module-content-gravity-form__lower #field_4_11 .gfield_checkbox {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

body .module-content-gravity-form__lower #field_4_11 .gfield_checkbox {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

body .module-content-gravity-form__lower #field_4_11 .gchoice {
  position: relative;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body .module-content-gravity-form__lower #field_4_11 input[type="checkbox"] {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body .module-content-gravity-form__lower #field_4_11 label,
body .module-content-gravity-form__lower #field_4_11 .gform-field-label,
body .module-content-gravity-form__lower #field_4_11 .gform-field-label--type-inline {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 52px !important;
  margin: 0 !important;
  padding: 12px 16px !important;
  border: 1px solid #dddddd !important;
  background: #ffffff !important;
  color: #2e323b !important;
  font-size: 15px !important;
  line-height: 1.3 !important;
  font-weight: 400 !important;
  text-align: center !important;
  white-space: normal !important;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

body .module-content-gravity-form__lower #field_4_11 input[type="checkbox"]:checked + label,
body .module-content-gravity-form__lower #field_4_11 label:hover {
  border-color: #c8102e !important;
  background: #c8102e !important;
  color: #ffffff !important;
}

/* Marketing checkbox */
body .module-content-gravity-form__lower #field_4_14,
body .module-content-gravity-form__lower #field_4_14 .ginput_container,
body .module-content-gravity-form__lower #field_4_14 .gfield_checkbox {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

body .module-content-gravity-form__lower #field_4_14 .gfield_checkbox {
  display: block !important;
}

body .module-content-gravity-form__lower #field_4_14 .gchoice {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body .module-content-gravity-form__lower #field_4_14 input[type="checkbox"] {
  flex: 0 0 18px !important;
  width: 18px !important;
  height: 18px !important;
  margin: 3px 0 0 !important;
}

body .module-content-gravity-form__lower #field_4_14 label,
body .module-content-gravity-form__lower #field_4_14 .gform-field-label,
body .module-content-gravity-form__lower #field_4_14 .gform-field-label--type-inline {
  display: block !important;
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  color: #1f232b !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  font-weight: 400 !important;
  white-space: normal !important;
}

/* Prevent marketing checkbox label from inheriting red/selected styling */
body .module-content-gravity-form__lower #field_4_14 input[type="checkbox"]:checked + label,
body .module-content-gravity-form__lower #field_4_14 label:hover {
  background: transparent !important;
  color: #1f232b !important;
  border-color: transparent !important;
}

/* Customer Care submit button */
body .module-content-gravity-form__lower #gform_4 input[type="submit"].gform_button,
body .module-content-gravity-form__lower #gform_4 .gform_footer input[type="submit"],
body .module-content-gravity-form__lower #gform_4 .gform-footer input[type="submit"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  min-height: 58px !important;
  padding: 14px 34px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #c8102e !important;
  color: #ffffff !important;
  font-size: 17px;
  line-height: 1;
  font-weight: 700;
  text-align: center !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: none !important;
  position: relative !important;
  z-index: 10 !important;
}

body .module-content-gravity-form__lower #gform_4 input[type="submit"].gform_button:hover,
body .module-content-gravity-form__lower #gform_4 .gform_footer input[type="submit"]:hover,
body .module-content-gravity-form__lower #gform_4 .gform-footer input[type="submit"]:hover {
  background: #a3131d !important;
  color: #ffffff !important;
}

/* ==========================================================================
   18. Form 5: Request Brochure
   ========================================================================== */

/* Brochure form wrapper */
body .module-content-downloads-form__lower .gform_wrapper {
  max-width: 1500px;
  margin: 0 auto;
}

/* Main brochure form layout */
body .module-content-downloads-form__lower #gform_5 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 50px;
  row-gap: 12px;
  align-items: start;
}

/* Let fields sit directly in the main grid */
body .module-content-downloads-form__lower #gform_5 .gform-body,
body .module-content-downloads-form__lower #gform_5 #gform_fields_5 {
  display: contents;
}

/* Reset field spacing */
body .module-content-downloads-form__lower #gform_5 .gfield,
body .module-content-downloads-form__lower #gform_5 fieldset.gfield {
  min-width: 0;
  width: 100%;
  max-width: none;
  margin: 0 !important;
  padding: 0 !important;
}

/* Section headings */
body .module-content-downloads-form__lower #gform_5 .gsection {
  margin: 0 0 8px !important;
  padding: 0 !important;
  border: 0 !important;
}

body .module-content-downloads-form__lower #gform_5 .gsection_title {
  margin: 0 !important;
  padding: 0 !important;
  color: #1f232b;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
}

/* Left side: brochure selector */
body .module-content-downloads-form__lower #field_5_1 {
  grid-column: 1 / 9;
  grid-row: 1;
}

body .module-content-downloads-form__lower #field_5_19 {
  grid-column: 1 / 9;
  grid-row: 2 / span 8;
  align-self: start;
}

/* Right side: your details */
body .module-content-downloads-form__lower #field_5_20 {
  grid-column: 9 / 13;
  grid-row: 1;
}

body .module-content-downloads-form__lower #field_5_3 {
  grid-column: 9 / 10;
  grid-row: 2;
}

body .module-content-downloads-form__lower #field_5_4 {
  grid-column: 10 / 11;
  grid-row: 2;
}

body .module-content-downloads-form__lower #field_5_5 {
  grid-column: 11 / 13;
  grid-row: 2;
}

body .module-content-downloads-form__lower #field_5_6 {
  grid-column: 9 / 13;
  grid-row: 3;
}

body .module-content-downloads-form__lower #field_5_7 {
  grid-column: 9 / 13;
  grid-row: 4;
}

body .module-content-downloads-form__lower #field_5_8 {
  grid-column: 9 / 13;
  grid-row: 5;
}

body .module-content-downloads-form__lower #field_5_9 {
  grid-column: 9 / 13;
  grid-row: 6;
}

body .module-content-downloads-form__lower #field_5_14 {
  grid-column: 9 / 13;
  grid-row: 7;
  align-self: start;
  margin-top: 8px !important;
}

body .module-content-downloads-form__lower #gform_5 .gform_footer,
body .module-content-downloads-form__lower #gform_5 .gform-footer {
  grid-column: 9 / 13;
  grid-row: 8;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  overflow: visible !important;
  margin-top: 20px !important;
  padding: 0 !important;
  position: relative !important;
  z-index: 5 !important;
}

/* Hide normal field labels visually but keep them accessible */
body .module-content-downloads-form__lower #field_5_3 > label,
body .module-content-downloads-form__lower #field_5_4 > label,
body .module-content-downloads-form__lower #field_5_5 > label,
body .module-content-downloads-form__lower #field_5_6 > label,
body .module-content-downloads-form__lower #field_5_7 > label,
body .module-content-downloads-form__lower #field_5_8 > label,
body .module-content-downloads-form__lower #field_5_9 > label,
body .module-content-downloads-form__lower #field_5_14 > label,
body .module-content-downloads-form__lower #field_5_19 > legend,
body .module-content-downloads-form__lower #field_5_19 > label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

/* Inputs and selects */
body .module-content-downloads-form__lower #gform_5 input[type="text"],
body .module-content-downloads-form__lower #gform_5 input[type="email"],
body .module-content-downloads-form__lower #gform_5 input[type="tel"],
body .module-content-downloads-form__lower #gform_5 select,
body .module-content-downloads-form__lower #gform_5 .select2-selection {
  width: 100% !important;
  min-height: 52px;
  border: 1px solid #dddddd !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  color: #2e323b !important;
  font-size: 16px;
  line-height: 1.4;
  padding: 12px 16px;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

body .module-content-downloads-form__lower #gform_5 ::placeholder {
  color: #9da3aa;
  opacity: 1;
}

/* Title dropdown / Salient Select2 alignment */
body .module-content-downloads-form__lower #field_5_3 .ginput_container,
body .module-content-downloads-form__lower #field_5_3 .ginput_container_select,
body .module-content-downloads-form__lower #field_5_3 .fancy-select-wrap,
body .module-content-downloads-form__lower #field_5_3 .select2-container,
body .module-content-downloads-form__lower #field_5_3 .select2-selection {
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body .module-content-downloads-form__lower #field_5_3 .select2-container {
  display: block !important;
  width: 100% !important;
  height: 52px !important;
  line-height: 52px !important;
}

body .module-content-downloads-form__lower #field_5_3 .select2-selection {
  display: flex !important;
  align-items: center !important;
  height: 52px !important;
  min-height: 52px !important;
  max-height: 52px !important;
  padding: 12px 16px !important;
}

body .module-content-downloads-form__lower #gform_5 .select2-container {
  width: 100% !important;
}

body .module-content-downloads-form__lower #gform_5 .select2-selection__rendered {
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
  padding: 0 !important;
  color: #2e323b !important;
  line-height: 1 !important;
}

body .module-content-downloads-form__lower #gform_5 .select2-selection__arrow {
  top: 0 !important;
  right: 12px !important;
  height: 100% !important;
  transform: none !important;
}

/* Brochure choices grid */
body .module-content-downloads-form__lower #field_5_19,
body .module-content-downloads-form__lower #field_5_19 .ginput_container,
body .module-content-downloads-form__lower #field_5_19 .gfield_checkbox {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

body .module-content-downloads-form__lower #field_5_19 .gfield_checkbox {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 24px 22px !important;
}

body .module-content-downloads-form__lower #field_5_19 .gchoice {
  position: relative;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body .module-content-downloads-form__lower #field_5_19 input[type="checkbox"] {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body .module-content-downloads-form__lower #field_5_19 label,
body .module-content-downloads-form__lower #field_5_19 .gform-field-label,
body .module-content-downloads-form__lower #field_5_19 .gform-field-label--type-inline {
  position: relative;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 190px !important;
  margin: 0 !important;
  padding: 118px 16px 24px !important;
  border: 3px solid transparent !important;
  background-color: #e5e5e5 !important;
  color: #111111 !important;
  font-size: 18px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  text-align: center !important;
  white-space: normal !important;
  cursor: pointer;
  box-sizing: border-box !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

body .module-content-downloads-form__lower #field_5_19 label::before,
body .module-content-downloads-form__lower #field_5_19 .gform-field-label::before,
body .module-content-downloads-form__lower #field_5_19 .gform-field-label--type-inline::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 18px;
  right: 18px;
  height: 78px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  pointer-events: none;
}

/* Brochure card images - order must match Gravity Forms checkbox choices */
body .module-content-downloads-form__lower #field_5_19 .gchoice:nth-child(1) label::before,
body .module-content-downloads-form__lower #field_5_19 .gchoice:nth-child(1) .gform-field-label::before {
  background-image: url("/wp-content/uploads/2026/04/windows-brochure-download.png");
}

body .module-content-downloads-form__lower #field_5_19 .gchoice:nth-child(2) label::before,
body .module-content-downloads-form__lower #field_5_19 .gchoice:nth-child(2) .gform-field-label::before {
  background-image: url("/wp-content/uploads/2026/04/Featured-Doors-Brochure.png");
}

body .module-content-downloads-form__lower #field_5_19 .gchoice:nth-child(3) label::before,
body .module-content-downloads-form__lower #field_5_19 .gchoice:nth-child(3) .gform-field-label::before {
  background-image: url("/wp-content/uploads/2026/04/forte-composite-doors-brochure.png");
}

body .module-content-downloads-form__lower #field_5_19 .gchoice:nth-child(4) label::before,
body .module-content-downloads-form__lower #field_5_19 .gchoice:nth-child(4) .gform-field-label::before {
  background-image: url("/wp-content/uploads/2026/04/living-spaces-brochure-download.png");
}

body .module-content-downloads-form__lower #field_5_19 .gchoice:nth-child(5) label::before,
body .module-content-downloads-form__lower #field_5_19 .gchoice:nth-child(5) .gform-field-label::before {
  background-image: url("/wp-content/uploads/2026/04/solid-roofs-download.png");
}

body .module-content-downloads-form__lower #field_5_19 .gchoice:nth-child(6) label::before,
body .module-content-downloads-form__lower #field_5_19 .gchoice:nth-child(6) .gform-field-label::before {
  background-image: url("/wp-content/uploads/2026/04/Solid-Roof-Brochure.png");
}

/* Brochure selected and hover states */
body .module-content-downloads-form__lower #field_5_19 input[type="checkbox"]:checked + label,
body .module-content-downloads-form__lower #field_5_19 label:hover {
  border-color: #c8102e !important;
  background-color: #f3f3f3 !important;
  box-shadow: 0 0 0 1px #c8102e !important;
  color: #111111 !important;
}

/* Marketing checkbox */
body .module-content-downloads-form__lower #field_5_14,
body .module-content-downloads-form__lower #field_5_14 .ginput_container,
body .module-content-downloads-form__lower #field_5_14 .gfield_checkbox {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

body .module-content-downloads-form__lower #field_5_14 .gfield_checkbox {
  display: block !important;
}

body .module-content-downloads-form__lower #field_5_14 .gchoice {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body .module-content-downloads-form__lower #field_5_14 input[type="checkbox"] {
  flex: 0 0 18px !important;
  width: 18px !important;
  height: 18px !important;
  margin: 3px 0 0 !important;
}

body .module-content-downloads-form__lower #field_5_14 label,
body .module-content-downloads-form__lower #field_5_14 .gform-field-label,
body .module-content-downloads-form__lower #field_5_14 .gform-field-label--type-inline {
  display: block !important;
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  color: #1f232b !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  font-weight: 400 !important;
  white-space: normal !important;
}

/* Prevent marketing checkbox label from inheriting selected styling */
body .module-content-downloads-form__lower #field_5_14 input[type="checkbox"]:checked + label,
body .module-content-downloads-form__lower #field_5_14 label:hover {
  background: transparent !important;
  color: #1f232b !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

/* Submit button */
body .module-content-downloads-form__lower #gform_5 input[type="submit"].gform_button,
body .module-content-downloads-form__lower #gform_5 .gform_footer input[type="submit"],
body .module-content-downloads-form__lower #gform_5 .gform-footer input[type="submit"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  min-height: 58px !important;
  padding: 14px 34px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #c8102e !important;
  color: #ffffff !important;
  font-size: 17px;
  line-height: 1;
  font-weight: 700;
  text-align: center !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: none !important;
  position: relative !important;
  z-index: 10 !important;
}

body .module-content-downloads-form__lower #gform_5 input[type="submit"].gform_button:hover,
body .module-content-downloads-form__lower #gform_5 .gform_footer input[type="submit"]:hover,
body .module-content-downloads-form__lower #gform_5 .gform-footer input[type="submit"]:hover {
  background: #a3131d !important;
  color: #ffffff !important;
}

/* Confirmation message */
body .module-content-downloads-form__lower .gform_confirmation_message {
  max-width: 1100px;
  margin: 0 auto;
  color: #1f232b;
  font-size: 20px;
  line-height: 1.6;
}

/* Brochure form responsive */
@media (max-width: 999px) {
  body .module-content-downloads-form__lower #gform_5 {
    display: block;
  }

  body .module-content-downloads-form__lower #gform_5 .gform-body,
  body .module-content-downloads-form__lower #gform_5 #gform_fields_5 {
    display: block;
  }

  body .module-content-downloads-form__lower #gform_5 .gsection {
    margin-top: 34px !important;
  }

  body .module-content-downloads-form__lower #gform_5 .gsection:first-child {
    margin-top: 0 !important;
  }

  body .module-content-downloads-form__lower #field_5_19 .gfield_checkbox {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body .module-content-downloads-form__lower #gform_5 .gform_footer,
  body .module-content-downloads-form__lower #gform_5 .gform-footer {
    margin-top: 24px !important;
  }
}

@media (max-width: 690px) {
  body .module-content-downloads-form__lower #gform_5 .gsection_title {
    font-size: 22px;
  }

  body .module-content-downloads-form__lower #field_5_19 .gfield_checkbox {
    grid-template-columns: 1fr !important;
  }

  body .module-content-downloads-form__lower #field_5_19 label,
  body .module-content-downloads-form__lower #field_5_19 .gform-field-label,
  body .module-content-downloads-form__lower #field_5_19 .gform-field-label--type-inline {
    min-height: 180px !important;
    padding-top: 112px !important;
    font-size: 17px !important;
  }

  body .module-content-downloads-form__lower #gform_5 input[type="text"],
  body .module-content-downloads-form__lower #gform_5 input[type="email"],
  body .module-content-downloads-form__lower #gform_5 input[type="tel"],
  body .module-content-downloads-form__lower #gform_5 select,
  body .module-content-downloads-form__lower #gform_5 .select2-selection {
    min-height: 50px;
    font-size: 15px;
  }
}

/* Brochure form: improve right-column field proportions */
@media (min-width: 1000px) {
  body .module-content-downloads-form__lower #gform_5 {
    grid-template-columns: repeat(21, minmax(0, 1fr));
    column-gap: 14px;
  }

  body .module-content-downloads-form__lower #field_5_1 {
    grid-column: 1 / 14;
  }

  body .module-content-downloads-form__lower #field_5_19 {
    grid-column: 1 / 14;
  }

  body .module-content-downloads-form__lower #field_5_20 {
    grid-column: 14 / 22;
  }

  body .module-content-downloads-form__lower #field_5_3 {
    grid-column: 14 / 16;
    grid-row: 2;
  }

  body .module-content-downloads-form__lower #field_5_4 {
    grid-column: 16 / 19;
    grid-row: 2;
  }

  body .module-content-downloads-form__lower #field_5_5 {
    grid-column: 19 / 22;
    grid-row: 2;
  }

  body .module-content-downloads-form__lower #field_5_6,
  body .module-content-downloads-form__lower #field_5_7,
  body .module-content-downloads-form__lower #field_5_8,
  body .module-content-downloads-form__lower #field_5_9,
  body .module-content-downloads-form__lower #field_5_14,
  body .module-content-downloads-form__lower #gform_5 .gform_footer,
  body .module-content-downloads-form__lower #gform_5 .gform-footer {
    grid-column: 14 / 22;
  }
}

/* ==========================================================================
   Offers page: stacked Priority Quote form
   Reuses Form 1 only inside blocks with the "offers-priority-quote-form" class.
   ========================================================================== */

/* Quote panel containment */
body .offers-priority-quote-form .quote_col {
  overflow: hidden !important;
  box-sizing: border-box !important;
}

body .offers-priority-quote-form .quote_col > .vc_column-inner,
body .offers-priority-quote-form .quote_col > .vc_column-inner > .wpb_wrapper {
  box-sizing: border-box !important;
}

body .offers-priority-quote-form .quote_col > .vc_column-inner > .wpb_wrapper {
  padding-left: 42px !important;
  padding-right: 42px !important;
  padding-bottom: 42px !important;
}

/* Keep the blue heading full-width inside the grey quote panel */
body .offers-priority-quote-form .quote_col .custom-triangle {
  margin-left: -42px !important;
  margin-right: -42px !important;
}

/* Wrapper */
body .offers-priority-quote-form .gform_wrapper {
  max-width: none;
  width: 100%;
  margin: 0;
}

/* Force Form 1 into a stacked layout only in the Offers block */
body .offers-priority-quote-form #gform_1,
body .offers-priority-quote-form #gform_1 .gform-body,
body .offers-priority-quote-form #gform_1 #gform_fields_1 {
  display: block !important;
  box-sizing: border-box !important;
  max-width: 100% !important;
}

/* Reset Form 1 grid placement inside the Offers block */
body .offers-priority-quote-form #gform_1 .gfield,
body .offers-priority-quote-form #gform_1 fieldset.gfield,
body .offers-priority-quote-form #gform_1 .ginput_container {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  grid-column: auto !important;
  grid-row: auto !important;
  margin: 0 0 13px !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

/* Section headings inside the compact Offers form */
body .offers-priority-quote-form #gform_1 .gsection {
  border: 0 !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
}

body .offers-priority-quote-form #gform_1 .gsection_title {
  margin: 0 !important;
  padding: 0 !important;
  color: #1f232b;
  font-size: 18px !important;
  line-height: 1.25;
  font-weight: 700;
  text-transform: none;
}

/* Your details section spacing */
body .offers-priority-quote-form #field_1_1 {
  margin-bottom: 10px !important;
}

/* Hide visible field labels but keep placeholders */
body .offers-priority-quote-form #field_1_3 > label,
body .offers-priority-quote-form #field_1_4 > label,
body .offers-priority-quote-form #field_1_5 > label,
body .offers-priority-quote-form #field_1_6 > label,
body .offers-priority-quote-form #field_1_7 > label,
body .offers-priority-quote-form #field_1_8 > label,
body .offers-priority-quote-form #field_1_9 > label,
body .offers-priority-quote-form #field_1_11 > legend,
body .offers-priority-quote-form #field_1_11 > label,
body .offers-priority-quote-form #field_1_14 > label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

/* Hide Further information section and textarea on Offers only */
body .offers-priority-quote-form #gform_1 #field_1_12,
body .offers-priority-quote-form #gform_1 #field_1_13,
body .offers-priority-quote-form #gform_1 .gfield#field_1_12,
body .offers-priority-quote-form #gform_1 .gfield#field_1_13 {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* Inputs and selects */
body .offers-priority-quote-form #gform_1 input[type="text"],
body .offers-priority-quote-form #gform_1 input[type="email"],
body .offers-priority-quote-form #gform_1 input[type="tel"],
body .offers-priority-quote-form #gform_1 select,
body .offers-priority-quote-form #gform_1 .select2-selection {
  width: 100% !important;
  min-height: 44px !important;
  border: 1px solid #dddddd !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  color: #2e323b !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  padding: 10px 13px !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

body .offers-priority-quote-form #gform_1 ::placeholder {
  color: #9da3aa;
  opacity: 1;
}

/* Title dropdown alignment */
body .offers-priority-quote-form #field_1_3 .ginput_container,
body .offers-priority-quote-form #field_1_3 .ginput_container_select,
body .offers-priority-quote-form #field_1_3 .fancy-select-wrap,
body .offers-priority-quote-form #field_1_3 .select2-container,
body .offers-priority-quote-form #field_1_3 .select2-selection {
  width: 100% !important;
  margin: 0 !important;
}

body .offers-priority-quote-form #field_1_3 .select2-selection {
  display: flex !important;
  align-items: center !important;
  min-height: 44px !important;
  height: 44px !important;
}

body .offers-priority-quote-form #gform_1 .select2-selection__rendered {
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
  padding: 0 !important;
  line-height: 1 !important;
}

body .offers-priority-quote-form #gform_1 .select2-selection__arrow {
  top: 0 !important;
  right: 10px !important;
  height: 100% !important;
  transform: none !important;
}

/* Quote options: compact two-column button grid */
body .offers-priority-quote-form #field_1_11 {
  margin-top: 10px !important;
}

body .offers-priority-quote-form #field_1_11 .gfield_checkbox {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

body .offers-priority-quote-form #field_1_11 .gchoice {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
}

body .offers-priority-quote-form #field_1_11 input[type="checkbox"] {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body .offers-priority-quote-form #field_1_11 label,
body .offers-priority-quote-form #field_1_11 .gform-field-label,
body .offers-priority-quote-form #field_1_11 .gform-field-label--type-inline {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 9px 10px !important;
  border: 1px solid #dddddd !important;
  background: #ffffff !important;
  color: #2e323b !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
  font-weight: 400 !important;
  text-align: center !important;
  white-space: normal !important;
  cursor: pointer;
  box-sizing: border-box !important;
}

body .offers-priority-quote-form #field_1_11 input[type="checkbox"]:checked + label,
body .offers-priority-quote-form #field_1_11 label:hover {
  border-color: #c8102e !important;
  background: #c8102e !important;
  color: #ffffff !important;
}

/* Marketing checkbox */
body .offers-priority-quote-form #field_1_14 {
  margin-top: 14px !important;
}

body .offers-priority-quote-form #field_1_14 .gfield_checkbox {
  display: block !important;
}

body .offers-priority-quote-form #field_1_14 .gchoice {
  display: flex !important;
  align-items: flex-start !important;
  gap: 9px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body .offers-priority-quote-form #field_1_14 input[type="checkbox"] {
  flex: 0 0 16px !important;
  width: 16px !important;
  height: 16px !important;
  margin: 2px 0 0 !important;
}

body .offers-priority-quote-form #field_1_14 label,
body .offers-priority-quote-form #field_1_14 .gform-field-label,
body .offers-priority-quote-form #field_1_14 .gform-field-label--type-inline {
  flex: 1 1 auto !important;
  width: auto !important;
  margin: 0 !important;
  color: #1f232b !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  font-weight: 400 !important;
  white-space: normal !important;
}

body .offers-priority-quote-form #field_1_14 input[type="checkbox"]:checked + label,
body .offers-priority-quote-form #field_1_14 label:hover {
  background: transparent !important;
  color: #1f232b !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

/* Submit footer */
body .offers-priority-quote-form #gform_1 .gform_footer,
body .offers-priority-quote-form #gform_1 .gform-footer {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  margin: 18px 0 0 !important;
  padding: 0 !important;
}

/* Submit button */
body .offers-priority-quote-form #gform_1 input[type="submit"].gform_button,
body .offers-priority-quote-form #gform_1 .gform_footer input[type="submit"],
body .offers-priority-quote-form #gform_1 .gform-footer input[type="submit"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center !important;
  width: 100% !important;
  min-height: 52px !important;
  padding: 13px 28px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #c8102e !important;
  color: #ffffff !important;
  font-size: 15px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  text-align: center !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  cursor: pointer;
  box-shadow: none !important;
}

body .offers-priority-quote-form #gform_1 input[type="submit"].gform_button:hover,
body .offers-priority-quote-form #gform_1 .gform_footer input[type="submit"]:hover,
body .offers-priority-quote-form #gform_1 .gform-footer input[type="submit"]:hover {
  background: #a3131d !important;
  color: #ffffff !important;
}

/* Responsive */
@media (max-width: 999px) {
  body .offers-priority-quote-form .quote_col > .vc_column-inner > .wpb_wrapper {
    padding-left: 28px !important;
    padding-right: 28px !important;
    padding-bottom: 36px !important;
  }

  body .offers-priority-quote-form .quote_col .custom-triangle {
    margin-left: -28px !important;
    margin-right: -28px !important;
  }
}

@media (max-width: 690px) {
  body .offers-priority-quote-form .quote_col > .vc_column-inner > .wpb_wrapper {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  body .offers-priority-quote-form .quote_col .custom-triangle {
    margin-left: -20px !important;
    margin-right: -20px !important;
  }

  body .offers-priority-quote-form #field_1_11 .gfield_checkbox {
    grid-template-columns: 1fr !important;
  }
}


/* ===========================================================================
   19. Form 6: Careers Application
   ========================================================================== */

body .module-content-gravity-form__lower #gform_6 {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 4px;
  align-items: start;
}

body .module-content-gravity-form__lower #gform_6 .gform-body,
body .module-content-gravity-form__lower #gform_6 #gform_fields_6 {
  display: contents;
}

body .module-content-gravity-form__lower #gform_6 .gfield,
body .module-content-gravity-form__lower #gform_6 fieldset.gfield {
  min-width: 0;
  width: 100%;
  max-width: none;
  margin: 0 !important;
  padding: 0 !important;
}

body .module-content-gravity-form__lower #gform_6 .gsection {
  margin: 0 0 6px !important;
  padding: 0 !important;
  border: 0 !important;
}

body .module-content-gravity-form__lower #gform_6 .gsection_title {
  margin: 0 !important;
  padding: 0 !important;
  color: #1f232b;
  font-size: 25px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
}

/* Careers column placement */
body .module-content-gravity-form__lower #field_6_1 { grid-column: 1 / 4; grid-row: 1; }
body .module-content-gravity-form__lower #field_6_3 { grid-column: 1 / 2; grid-row: 2; }
body .module-content-gravity-form__lower #field_6_4 { grid-column: 2 / 3; grid-row: 2; }
body .module-content-gravity-form__lower #field_6_5 { grid-column: 3 / 4; grid-row: 2; }
body .module-content-gravity-form__lower #field_6_6 { grid-column: 1 / 4; grid-row: 3; }
body .module-content-gravity-form__lower #field_6_7 { grid-column: 1 / 4; grid-row: 4; }
body .module-content-gravity-form__lower #field_6_8 { grid-column: 1 / 4; grid-row: 5; }
body .module-content-gravity-form__lower #field_6_9 { grid-column: 1 / 4; grid-row: 6; }

body .module-content-gravity-form__lower #field_6_10 { grid-column: 4 / 7; grid-row: 1; }
body .module-content-gravity-form__lower #field_6_11 { grid-column: 4 / 7; grid-row: 2 / span 5; align-self: start; }
body .module-content-gravity-form__lower #field_6_19 { grid-column: 4 / 7; grid-row: 7; align-self: start; }

body .module-content-gravity-form__lower #field_6_12 { grid-column: 7 / 10; grid-row: 1; }
body .module-content-gravity-form__lower #field_6_13 { grid-column: 7 / 10; grid-row: 2 / span 3; align-self: start; }
body .module-content-gravity-form__lower #field_6_14 { grid-column: 7 / 10; grid-row: 5; align-self: start; }

body .module-content-gravity-form__lower #gform_6 .gform_footer,
body .module-content-gravity-form__lower #gform_6 .gform-footer {
  grid-column: 7 / 10;
  grid-row: 6;
  margin-top: 18px !important;
}

/* Hide normal field labels visually but keep them available to screen readers */
body .module-content-gravity-form__lower #field_6_3 > label,
body .module-content-gravity-form__lower #field_6_4 > label,
body .module-content-gravity-form__lower #field_6_5 > label,
body .module-content-gravity-form__lower #field_6_6 > label,
body .module-content-gravity-form__lower #field_6_7 > label,
body .module-content-gravity-form__lower #field_6_8 > label,
body .module-content-gravity-form__lower #field_6_9 > label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

/* Careers inputs */
body .module-content-gravity-form__lower #gform_6 input[type="text"],
body .module-content-gravity-form__lower #gform_6 input[type="email"],
body .module-content-gravity-form__lower #gform_6 input[type="tel"],
body .module-content-gravity-form__lower #gform_6 select,
body .module-content-gravity-form__lower #gform_6 textarea,
body .module-content-gravity-form__lower #gform_6 .select2-selection {
  width: 100% !important;
  min-height: 52px;
  border: 1px solid #dddddd !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  color: #2e323b !important;
  font-size: 16px;
  line-height: 1.4;
  padding: 12px 16px;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

body .module-content-gravity-form__lower #gform_6 ::placeholder {
  color: #9da3aa;
  opacity: 1;
}

body .module-content-gravity-form__lower #gform_6 textarea {
  min-height: 255px;
  resize: vertical;
}

/* Careers title dropdown */
body .module-content-gravity-form__lower #field_6_3 .ginput_container,
body .module-content-gravity-form__lower #field_6_3 .ginput_container_select,
body .module-content-gravity-form__lower #field_6_3 .fancy-select-wrap,
body .module-content-gravity-form__lower #field_6_3 .select2-container,
body .module-content-gravity-form__lower #field_6_3 .select2-selection {
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body .module-content-gravity-form__lower #field_6_3 .select2-container {
  display: block !important;
  width: 100% !important;
  height: 52px !important;
  line-height: 52px !important;
}

body .module-content-gravity-form__lower #field_6_3 .select2-selection {
  display: flex !important;
  align-items: center !important;
  height: 52px !important;
  min-height: 52px !important;
  max-height: 52px !important;
  padding: 12px 16px !important;
}

body .module-content-gravity-form__lower #gform_6 .select2-container { width: 100% !important; }

body .module-content-gravity-form__lower #gform_6 .select2-selection__rendered {
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
  padding: 0 !important;
  color: #2e323b !important;
  line-height: 1 !important;
}

body .module-content-gravity-form__lower #gform_6 .select2-selection__arrow {
  top: 0 !important;
  right: 12px !important;
  height: 100% !important;
  transform: none !important;
}

/* Careers role choices */
body .module-content-gravity-form__lower #field_6_11,
body .module-content-gravity-form__lower #field_6_11 .ginput_container,
body .module-content-gravity-form__lower #field_6_11 .gfield_checkbox {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

body .module-content-gravity-form__lower #field_6_11 .gfield_checkbox {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

body .module-content-gravity-form__lower #field_6_11 .gchoice {
  position: relative;
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body .module-content-gravity-form__lower #field_6_11 input[type="checkbox"] {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body .module-content-gravity-form__lower #field_6_11 label,
body .module-content-gravity-form__lower #field_6_11 .gform-field-label,
body .module-content-gravity-form__lower #field_6_11 .gform-field-label--type-inline {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 52px !important;
  margin: 0 !important;
  padding: 12px 16px !important;
  border: 1px solid #dddddd !important;
  background: #ffffff !important;
  color: #2e323b !important;
  font-size: 15px !important;
  line-height: 1.3 !important;
  font-weight: 400 !important;
  text-align: center !important;
  white-space: normal !important;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

body .module-content-gravity-form__lower #field_6_11 input[type="checkbox"]:checked + label,
body .module-content-gravity-form__lower #field_6_11 label:hover {
  border-color: #c8102e !important;
  background: #c8102e !important;
  color: #ffffff !important;
}

/* CV upload: keep the original grid stable, then visually tighten only this field */
@media (min-width: 1000px) {
  body .module-content-gravity-form__lower #field_6_19 {
    position: relative;
    top: -165px;
    margin-bottom: -165px !important;
    z-index: 2;
  }
}

body .module-content-gravity-form__lower #field_6_19 > label,
body .module-content-gravity-form__lower #field_6_19 > legend {
  display: block !important;
  margin: 0 0 8px !important;
  color: #1f232b !important;
  font-size: 17px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
}

body .module-content-gravity-form__lower #field_6_19 .ginput_container_fileupload {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body .module-content-gravity-form__lower #field_6_19 input[type="file"] {
  display: block !important;
  width: 100% !important;
  min-height: 52px !important;
  padding: 11px 14px !important;
  border: 1px solid #dddddd !important;
  background: #ffffff !important;
  color: #2e323b !important;
  font-size: 15px !important;
  box-sizing: border-box !important;
}

body .module-content-gravity-form__lower #field_6_19 input[type="file"]::file-selector-button,
body .module-content-gravity-form__lower #field_6_19 input[type="file"]::-webkit-file-upload-button {
  min-height: 30px;
  margin: 0 12px 0 0;
  padding: 6px 14px;
  border: 1px solid #d7d7d7;
  border-radius: 0;
  background: #f4f4f4;
  color: #2e323b;
  font-size: 14px;
  cursor: pointer;
}

body .module-content-gravity-form__lower #field_6_19 .gfield_description,
body .module-content-gravity-form__lower #field_6_19 .gform_fileupload_rules,
body .module-content-gravity-form__lower #field_6_19 .instruction {
  margin: 8px 0 0 !important;
  padding: 0 !important;
  color: #4f5965 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

/* Careers marketing checkbox */
body .module-content-gravity-form__lower #field_6_14 .gchoice {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
}

body .module-content-gravity-form__lower #field_6_14 input[type="checkbox"] {
  flex: 0 0 18px !important;
  width: 18px !important;
  height: 18px !important;
  margin: 3px 0 0 !important;
}

body .module-content-gravity-form__lower #field_6_14 label,
body .module-content-gravity-form__lower #field_6_14 .gform-field-label,
body .module-content-gravity-form__lower #field_6_14 .gform-field-label--type-inline {
  display: block !important;
  flex: 1 1 auto !important;
  margin: 0 !important;
  color: #1f232b !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  font-weight: 400 !important;
}

body .module-content-gravity-form__lower #field_6_14 input[type="checkbox"]:checked + label,
body .module-content-gravity-form__lower #field_6_14 label:hover {
  background: transparent !important;
  color: #1f232b !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

/* Careers submit button */
body .module-content-gravity-form__lower #gform_6 input[type="submit"].gform_button,
body .module-content-gravity-form__lower #gform_6 .gform_footer input[type="submit"],
body .module-content-gravity-form__lower #gform_6 .gform-footer input[type="submit"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center !important;
  width: 100% !important;
  min-height: 58px !important;
  padding: 14px 34px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #c8102e !important;
  color: #ffffff !important;
  font-size: 17px;
  line-height: 1;
  font-weight: 700;
  text-align: center !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: none !important;
}

body .module-content-gravity-form__lower #gform_6 input[type="submit"].gform_button:hover,
body .module-content-gravity-form__lower #gform_6 .gform_footer input[type="submit"]:hover,
body .module-content-gravity-form__lower #gform_6 .gform-footer input[type="submit"]:hover {
  background: #a3131d !important;
  color: #ffffff !important;
}

@media (max-width: 999px) {
  body .module-content-gravity-form__lower #gform_6,
  body .module-content-gravity-form__lower #gform_6 .gform-body,
  body .module-content-gravity-form__lower #gform_6 #gform_fields_6 {
    display: block;
  }

  body .module-content-gravity-form__lower #gform_6 .gsection {
    margin-top: 34px !important;
  }

  body .module-content-gravity-form__lower #gform_6 .gsection:first-child {
    margin-top: 0 !important;
  }

  body .module-content-gravity-form__lower #field_6_11 .gfield_checkbox {
    grid-template-columns: 1fr !important;
  }

  body .module-content-gravity-form__lower #gform_6 .gform_footer,
  body .module-content-gravity-form__lower #gform_6 .gform-footer {
    margin-top: 24px !important;
  }
}

@media (max-width: 690px) {
  body .module-content-gravity-form__lower #gform_6 .gsection_title {
    font-size: 22px;
  }

  body .module-content-gravity-form__lower #gform_6 input[type="text"],
  body .module-content-gravity-form__lower #gform_6 input[type="email"],
  body .module-content-gravity-form__lower #gform_6 input[type="tel"],
  body .module-content-gravity-form__lower #gform_6 select,
  body .module-content-gravity-form__lower #gform_6 textarea,
  body .module-content-gravity-form__lower #gform_6 .select2-selection {
    min-height: 50px;
    font-size: 15px;
  }
}

/* ==========================================================================
   16. Responsive layout
   ========================================================================== */

@media (max-width: 999px) {
  body .module-content-gravity-form__lower #gform_1,
  body .module-content-gravity-form__lower #gform_2,
  body .module-content-gravity-form__lower #gform_3 {
    display: block;
  }

  body .module-content-gravity-form__lower #gform_1 .gform-body,
  body .module-content-gravity-form__lower #gform_1 #gform_fields_1,
  body .module-content-gravity-form__lower #gform_2 .gform-body,
  body .module-content-gravity-form__lower #gform_2 #gform_fields_2,
  body .module-content-gravity-form__lower #gform_3 .gform-body,
  body .module-content-gravity-form__lower #gform_3 #gform_fields_3 {
    display: block;
  }

  body .module-content-gravity-form__lower #gform_1 .gsection,
  body .module-content-gravity-form__lower #gform_2 .gsection,
  body .module-content-gravity-form__lower #gform_3 .gsection {
    margin-top: 34px !important;
  }

  body .module-content-gravity-form__lower #gform_1 .gsection:first-child,
  body .module-content-gravity-form__lower #gform_2 .gsection:first-child,
  body .module-content-gravity-form__lower #gform_3 .gsection:first-child {
    margin-top: 0 !important;
  }

  body .module-content-gravity-form__lower #field_1_11 .gfield_checkbox,
  body .module-content-gravity-form__lower #field_2_11 .gfield_checkbox,
  body .module-content-gravity-form__lower #field_3_11 .gfield_checkbox {
    grid-template-columns: 1fr !important;
  }

  body .module-content-gravity-form__lower #gform_1 .gform_footer,
  body .module-content-gravity-form__lower #gform_1 .gform-footer,
  body .module-content-gravity-form__lower #gform_2 .gform_footer,
  body .module-content-gravity-form__lower #gform_2 .gform-footer,
  body .module-content-gravity-form__lower #gform_3 .gform_footer,
  body .module-content-gravity-form__lower #gform_3 .gform-footer {
    margin-top: 24px !important;
  }
}

@media (max-width: 690px) {
  body .module-content-gravity-form__lower #gform_1 .gsection_title,
  body .module-content-gravity-form__lower #gform_2 .gsection_title,
  body .module-content-gravity-form__lower #gform_3 .gsection_title {
    font-size: 22px;
  }

  body .module-content-gravity-form__lower #gform_1 input[type="text"],
  body .module-content-gravity-form__lower #gform_1 input[type="email"],
  body .module-content-gravity-form__lower #gform_1 input[type="tel"],
  body .module-content-gravity-form__lower #gform_1 select,
  body .module-content-gravity-form__lower #gform_1 textarea,
  body .module-content-gravity-form__lower #gform_1 .select2-selection,
  body .module-content-gravity-form__lower #gform_2 input[type="text"],
  body .module-content-gravity-form__lower #gform_2 input[type="email"],
  body .module-content-gravity-form__lower #gform_2 input[type="tel"],
  body .module-content-gravity-form__lower #gform_2 select,
  body .module-content-gravity-form__lower #gform_2 textarea,
  body .module-content-gravity-form__lower #gform_2 .select2-selection,
  body .module-content-gravity-form__lower #gform_3 input[type="text"],
  body .module-content-gravity-form__lower #gform_3 input[type="email"],
  body .module-content-gravity-form__lower #gform_3 input[type="tel"],
  body .module-content-gravity-form__lower #gform_3 select,
  body .module-content-gravity-form__lower #gform_3 textarea,
  body .module-content-gravity-form__lower #gform_3 .select2-selection {
    min-height: 50px;
    font-size: 15px;
  }
}