/* ==========================================================================
   Budget Windows Gravity Forms
   Scoped compatibility, layout and accessibility styles.
   ========================================================================== */

/* Keep the captured legacy stylesheet from hiding modern form output. */
body .module-content-gravity-form__lower .gform_wrapper .gform_footer,
body .module-content-gravity-form__lower .gform_wrapper .gform-footer {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  position: relative !important;
  z-index: 5 !important;
}

body .module-content-gravity-form__lower .gform_wrapper .gform_validation_errors,
body .module-content-gravity-form__lower .gform_wrapper .gfield_validation_message,
body .module-content-gravity-form__lower .gform_wrapper .validation_message {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
}

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

body .module-content-gravity-form__lower .gform_wrapper .gform_body {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body .module-content-gravity-form__lower .budget-form .screen-reader-text {
  position: absolute !important;
  left: auto !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Three-column enquiry grids with explicit rows for predictable spacing. */
body .module-content-gravity-form__lower :is(.budget-form--free-quotation, .budget-form--three-column-enquiry, .budget-form--appointment) {
  display: grid;
  grid-template-columns:
    minmax(0, 0.75fr)
    minmax(0, 1.125fr)
    minmax(0, 1.125fr)
    repeat(6, minmax(0, 1fr));
  grid-template-rows: auto repeat(4, 56px) auto auto;
  column-gap: 18px;
  row-gap: 16px;
  align-items: start;
}

body .module-content-gravity-form__lower :is(.budget-form--free-quotation, .budget-form--three-column-enquiry, .budget-form--appointment) .gform-body,
body .module-content-gravity-form__lower :is(.budget-form--free-quotation, .budget-form--three-column-enquiry, .budget-form--appointment) .gform_body,
body .module-content-gravity-form__lower :is(.budget-form--free-quotation, .budget-form--three-column-enquiry, .budget-form--appointment) .gform_fields {
  display: contents;
}

body .module-content-gravity-form__lower :is(.budget-form--free-quotation, .budget-form--three-column-enquiry, .budget-form--appointment) .gform-body::before,
body .module-content-gravity-form__lower :is(.budget-form--free-quotation, .budget-form--three-column-enquiry, .budget-form--appointment) .gform-body::after,
body .module-content-gravity-form__lower :is(.budget-form--free-quotation, .budget-form--three-column-enquiry, .budget-form--appointment) .gform_body::before,
body .module-content-gravity-form__lower :is(.budget-form--free-quotation, .budget-form--three-column-enquiry, .budget-form--appointment) .gform_body::after,
body .module-content-gravity-form__lower :is(.budget-form--free-quotation, .budget-form--three-column-enquiry, .budget-form--appointment) .gform_fields::before,
body .module-content-gravity-form__lower :is(.budget-form--free-quotation, .budget-form--three-column-enquiry, .budget-form--appointment) .gform_fields::after {
  display: none !important;
  content: none !important;
}

body .module-content-gravity-form__lower :is(.budget-form--free-quotation, .budget-form--three-column-enquiry, .budget-form--appointment) .gfield,
body .module-content-gravity-form__lower :is(.budget-form--free-quotation, .budget-form--three-column-enquiry, .budget-form--appointment) fieldset.gfield {
  display: block;
  float: none !important;
  min-width: 0;
  width: 100% !important;
  max-width: none;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

body .module-content-gravity-form__lower .budget-form__section {
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: 0 !important;
}

body .module-content-gravity-form__lower .budget-form__section .gsection_title {
  margin: 0 !important;
  padding: 0 !important;
  color: #111111;
  font-size: 23px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

body .module-content-gravity-form__lower .budget-form__section--details {
  grid-column: 1 / 4;
  grid-row: 1;
}

body .module-content-gravity-form__lower .budget-form__field--title {
  grid-column: 1 / 2;
  grid-row: 2;
}

body .module-content-gravity-form__lower .budget-form__field--first-name {
  grid-column: 2 / 3;
  grid-row: 2;
}

body .module-content-gravity-form__lower .budget-form__field--surname {
  grid-column: 3 / 4;
  grid-row: 2;
}

body .module-content-gravity-form__lower .budget-form__field--telephone {
  grid-column: 1 / 4;
  grid-row: 3;
}

body .module-content-gravity-form__lower .budget-form__field--email {
  grid-column: 1 / 4;
  grid-row: 4;
}

body .module-content-gravity-form__lower .budget-form__field--address {
  grid-column: 1 / 4;
  grid-row: 5;
}

body .module-content-gravity-form__lower .budget-form__field--postcode {
  grid-column: 1 / 4;
  grid-row: 6;
}

body .module-content-gravity-form__lower :is(.budget-form__section--quote, .budget-form__section--product-interest) {
  grid-column: 4 / 7;
  grid-row: 1;
}

body .module-content-gravity-form__lower :is(.budget-form__options--quote, .budget-form__options--product-interest) {
  grid-column: 4 / 7;
  grid-row: 2 / 6;
  align-self: start;
}

body .module-content-gravity-form__lower .budget-form__section--further-information {
  grid-column: 7 / 10;
  grid-row: 1;
}

body .module-content-gravity-form__lower .budget-form__field--further-information {
  grid-column: 7 / 10;
  grid-row: 2 / 6;
  align-self: stretch;
}

body .module-content-gravity-form__lower .budget-form__field--further-information .ginput_container {
  height: 100%;
}

body .module-content-gravity-form__lower .budget-form__field--further-information textarea {
  display: block;
  height: 100% !important;
  min-height: 0;
}

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

body .module-content-gravity-form__lower :is(.budget-form--free-quotation, .budget-form--three-column-enquiry, .budget-form--appointment) .gform_footer,
body .module-content-gravity-form__lower :is(.budget-form--free-quotation, .budget-form--three-column-enquiry, .budget-form--appointment) .gform-footer {
  grid-column: 7 / 10;
  grid-row: 7;
  margin: 0 !important;
  padding: 0 !important;
}

/* Book Appointment uses date and location controls in its third column. */
body .module-content-gravity-form__lower .budget-form--appointment .budget-form__section--appointment {
  grid-column: 7 / 10;
  grid-row: 1;
}

body .module-content-gravity-form__lower .budget-form--appointment .budget-form__field--appointment-date {
  grid-column: 7 / 10;
  grid-row: 2;
}

body .module-content-gravity-form__lower .budget-form--appointment .budget-form__field--appointment-location {
  grid-column: 7 / 10;
  grid-row: 3;
}

body .module-content-gravity-form__lower .budget-form--appointment .budget-form__field--marketing {
  grid-column: 7 / 10;
  grid-row: 4;
}

body .module-content-gravity-form__lower .budget-form--appointment .gform_footer,
body .module-content-gravity-form__lower .budget-form--appointment .gform-footer {
  grid-column: 7 / 10;
  grid-row: 5;
}

/* Customer Care adds an enquiry grid, contract number and marketing heading. */
body .module-content-gravity-form__lower .budget-form--customer-care {
  grid-template-rows: auto repeat(4, 56px) auto auto auto;
}

body .module-content-gravity-form__lower .budget-form--customer-care .budget-form__section--enquiry-type {
  grid-column: 4 / 7;
  grid-row: 1;
}

body .module-content-gravity-form__lower .budget-form--customer-care .budget-form__options--customer-care {
  grid-column: 4 / 7;
  grid-row: 2 / 5;
  align-self: start;
}

body .module-content-gravity-form__lower .budget-form--customer-care .budget-form__field--contract-number {
  grid-column: 4 / 7;
  grid-row: 5;
}

body .module-content-gravity-form__lower .budget-form--customer-care .budget-form__section--marketing-preferences {
  grid-column: 7 / 10;
  grid-row: 6;
  margin: 0 !important;
}

body .module-content-gravity-form__lower .budget-form--customer-care .budget-form__field--marketing {
  grid-column: 7 / 10;
  grid-row: 7;
}

body .module-content-gravity-form__lower .budget-form--customer-care .gform_footer,
body .module-content-gravity-form__lower .budget-form--customer-care .gform-footer {
  grid-column: 7 / 10;
  grid-row: 8;
}

/* Request a Service Call: details, product information and fault description. */
body .module-content-gravity-form__lower .budget-form--request-service-call {
  grid-template-rows: auto repeat(5, 56px);
}

body .module-content-gravity-form__lower .budget-form--request-service-call .budget-form__section--product-purchased {
  grid-column: 4 / 7;
  grid-row: 1;
}

body .module-content-gravity-form__lower .budget-form--request-service-call .budget-form__options--product-purchased {
  grid-column: 4 / 7;
  grid-row: 2 / 6;
  align-self: start;
}

body .module-content-gravity-form__lower .budget-form--request-service-call .budget-form__field--contract-number {
  grid-column: 4 / 7;
  grid-row: 6;
}

body .module-content-gravity-form__lower .budget-form--request-service-call .budget-form__section--product-fault {
  grid-column: 7 / 10;
  grid-row: 1;
}

body .module-content-gravity-form__lower .budget-form--request-service-call .budget-form__field--product-fault {
  grid-column: 7 / 10;
  grid-row: 2 / 6;
  align-self: stretch;
}

body .module-content-gravity-form__lower .budget-form--request-service-call .budget-form__field--product-fault .ginput_container {
  height: 100%;
}

body .module-content-gravity-form__lower .budget-form--request-service-call .budget-form__field--product-fault textarea {
  display: block;
  height: 100% !important;
  min-height: 0;
}

body .module-content-gravity-form__lower .budget-form--request-service-call .gform_footer,
body .module-content-gravity-form__lower .budget-form--request-service-call .gform-footer {
  grid-column: 7 / 10;
  grid-row: 6;
}

/* Careers: role choices and CV upload in the middle, introduction on the right. */
body .module-content-gravity-form__lower .budget-form--careers .budget-form__section--career-interest {
  grid-column: 4 / 7;
  grid-row: 1;
}

body .module-content-gravity-form__lower .budget-form--careers .budget-form__options--careers {
  grid-column: 4 / 7;
  grid-row: 2 / 5;
  align-self: start;
}

body .module-content-gravity-form__lower .budget-form--careers .budget-form__file-upload--cv {
  grid-column: 4 / 7;
  grid-row: 5 / 7;
  align-self: start;
}

body .module-content-gravity-form__lower .budget-form--careers .budget-form__section--about-you {
  grid-column: 7 / 10;
  grid-row: 1;
}

body .module-content-gravity-form__lower .budget-form--careers .budget-form__field--about-you {
  grid-column: 7 / 10;
  grid-row: 2 / 6;
  align-self: stretch;
}

body .module-content-gravity-form__lower .budget-form--careers .budget-form__field--about-you .ginput_container {
  height: 100%;
}

body .module-content-gravity-form__lower .budget-form--careers .budget-form__field--about-you textarea {
  display: block;
  height: 100% !important;
  min-height: 0;
}

body .module-content-gravity-form__lower .budget-form--careers .budget-form__field--marketing {
  grid-column: 7 / 10;
  grid-row: 6;
}

body .module-content-gravity-form__lower .budget-form--careers .gform_footer,
body .module-content-gravity-form__lower .budget-form--careers .gform-footer {
  grid-column: 7 / 10;
  grid-row: 7;
}

body .module-content-gravity-form__lower .budget-form--careers .budget-form__file-upload--cv > .gfield_label,
body .module-content-gravity-form__lower .budget-form--careers .budget-form__file-upload--cv > legend {
  display: block !important;
  margin: 0 0 10px !important;
  color: #111111 !important;
  font-size: 23px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
}

body .module-content-gravity-form__lower .budget-form--careers .budget-form__file-upload--cv .ginput_container_fileupload {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body .module-content-gravity-form__lower .budget-form--careers .budget-form__file-upload--cv input[type="file"] {
  display: block !important;
  width: 100% !important;
  min-height: 56px !important;
  margin: 0 !important;
  padding: 11px 14px !important;
  border: 1px solid #dddddd !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  color: #2e323b !important;
  font-size: 15px !important;
  box-sizing: border-box !important;
}

body .module-content-gravity-form__lower .budget-form--careers .budget-form__file-upload--cv input[type="file"]::file-selector-button,
body .module-content-gravity-form__lower .budget-form--careers .budget-form__file-upload--cv 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 .budget-form--careers .budget-form__file-upload--cv :is(.gfield_description, .gform_fileupload_rules, .instruction) {
  margin: 8px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #2e323b !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
}

/* Visually hide ordinary labels while preserving them for assistive tools. */
body .module-content-gravity-form__lower .budget-form__field > .gfield_label,
body .module-content-gravity-form__lower .budget-form__field > legend,
body .module-content-gravity-form__lower .budget-form__options > legend {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

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

body .module-content-gravity-form__lower .budget-form input:focus,
body .module-content-gravity-form__lower .budget-form select:focus,
body .module-content-gravity-form__lower .budget-form textarea:focus,
body .module-content-gravity-form__lower .budget-form .select2-selection:focus {
  border-color: #be1622 !important;
  outline: 2px solid rgba(190, 22, 34, 0.2) !important;
  outline-offset: 1px;
}

body .module-content-gravity-form__lower .budget-form ::placeholder {
  color: #a4a9ae;
  opacity: 1;
}

body .module-content-gravity-form__lower .budget-form .select2-container {
  display: block !important;
  width: 100% !important;
  height: 56px !important;
  margin: 0 !important;
}

body .module-content-gravity-form__lower .budget-form .select2-selection {
  display: flex !important;
  align-items: center !important;
  height: 56px !important;
  max-height: 56px !important;
}

body .module-content-gravity-form__lower .budget-form .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 .budget-form .select2-selection__arrow {
  top: 0 !important;
  right: 12px !important;
  height: 100% !important;
  transform: none !important;
}

body .module-content-gravity-form__lower .budget-form textarea {
  min-height: 277px;
  resize: vertical;
}

/* Quote choices presented as the Budget boxed-button grid. */
body .module-content-gravity-form__lower :is(.budget-form__options--quote, .budget-form__options--product-interest, .budget-form__options--customer-care, .budget-form__options--product-purchased, .budget-form__options--careers),
body .module-content-gravity-form__lower :is(.budget-form__options--quote, .budget-form__options--product-interest, .budget-form__options--customer-care, .budget-form__options--product-purchased, .budget-form__options--careers) .ginput_container,
body .module-content-gravity-form__lower :is(.budget-form__options--quote, .budget-form__options--product-interest, .budget-form__options--customer-care, .budget-form__options--product-purchased, .budget-form__options--careers) .gfield_checkbox {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

body .module-content-gravity-form__lower :is(.budget-form__options--quote, .budget-form__options--product-interest, .budget-form__options--customer-care, .budget-form__options--product-purchased, .budget-form__options--careers) .gfield_checkbox {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
}

body .module-content-gravity-form__lower :is(.budget-form__options--quote, .budget-form__options--product-interest, .budget-form__options--customer-care, .budget-form__options--product-purchased, .budget-form__options--careers) .gchoice {
  position: relative;
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body .module-content-gravity-form__lower :is(.budget-form__options--quote, .budget-form__options--product-interest, .budget-form__options--customer-care, .budget-form__options--product-purchased, .budget-form__options--careers) input[type="checkbox"] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

body .module-content-gravity-form__lower :is(.budget-form__options--quote, .budget-form__options--product-interest, .budget-form__options--customer-care, .budget-form__options--product-purchased, .budget-form__options--careers) label {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 53px !important;
  margin: 0 !important;
  padding: 12px 14px !important;
  border: 1px solid #dddddd !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  color: #111111 !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-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

body .module-content-gravity-form__lower :is(.budget-form__options--quote, .budget-form__options--product-interest, .budget-form__options--customer-care, .budget-form__options--product-purchased, .budget-form__options--careers) input[type="checkbox"]:checked + label {
  border-color: #be1622 !important;
  background: #be1622 !important;
  color: #ffffff !important;
}

body .module-content-gravity-form__lower :is(.budget-form__options--quote, .budget-form__options--product-interest, .budget-form__options--customer-care, .budget-form__options--product-purchased, .budget-form__options--careers) input[type="checkbox"]:focus-visible + label {
  outline: 3px solid rgba(190, 22, 34, 0.3) !important;
  outline-offset: 2px;
}

@media (hover: hover) {
  body .module-content-gravity-form__lower :is(.budget-form__options--quote, .budget-form__options--product-interest, .budget-form__options--customer-care, .budget-form__options--product-purchased, .budget-form__options--careers) label:hover {
    border-color: #be1622 !important;
    background: #be1622 !important;
    color: #ffffff !important;
  }
}

/* Marketing preference: retain a conventional, accessible checkbox. */
body .module-content-gravity-form__lower .budget-form__field--marketing .gchoice {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
}

body .module-content-gravity-form__lower .budget-form__field--marketing input[type="checkbox"] {
  position: static !important;
  flex: 0 0 18px !important;
  width: 18px !important;
  height: 18px !important;
  margin: 3px 0 0 !important;
  opacity: 1 !important;
}

body .module-content-gravity-form__lower .budget-form__field--marketing label {
  display: block !important;
  flex: 1 1 auto !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #111111 !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
  font-weight: 400 !important;
  white-space: normal !important;
}

/* Budget submit button, including the live-site chevron treatment. */
body .module-content-gravity-form__lower .budget-form input[type="submit"].gform_button,
body .module-content-gravity-form__lower .budget-form button[type="submit"].gform_button,
body .module-content-gravity-form__lower .budget-form .gform_footer input[type="submit"],
body .module-content-gravity-form__lower .budget-form .gform-footer input[type="submit"],
body .module-content-gravity-form__lower .budget-form .gform_footer button[type="submit"],
body .module-content-gravity-form__lower .budget-form .gform-footer button[type="submit"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  min-height: 63px !important;
  margin: 0 !important;
  padding: 15px 44px 15px 24px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background-color: #be1622 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='16' viewBox='0 0 10 16'%3E%3Cpath d='M1 1l7 7-7 7' fill='none' stroke='%23fff' stroke-width='3'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: calc(50% + 68px) center !important;
  background-size: 10px 16px !important;
  color: #ffffff !important;
  font-size: 18px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  text-align: center !important;
  text-transform: uppercase !important;
  letter-spacing: 0 !important;
  cursor: pointer;
  box-shadow: none !important;
}

/* Keep longer button labels centred and place their chevrons safely at the right. */
body .module-content-gravity-form__lower :is(.budget-form--request-service-call, .budget-form--careers) input[type="submit"].gform_button,
body .module-content-gravity-form__lower :is(.budget-form--request-service-call, .budget-form--careers) button[type="submit"].gform_button,
body .module-content-gravity-form__lower :is(.budget-form--request-service-call, .budget-form--careers) .gform_footer input[type="submit"],
body .module-content-gravity-form__lower :is(.budget-form--request-service-call, .budget-form--careers) .gform-footer input[type="submit"],
body .module-content-gravity-form__lower :is(.budget-form--request-service-call, .budget-form--careers) .gform_footer button[type="submit"],
body .module-content-gravity-form__lower :is(.budget-form--request-service-call, .budget-form--careers) .gform-footer button[type="submit"] {
  padding-right: 44px !important;
  padding-left: 44px !important;
  background-position: calc(100% - 34px) center !important;
}

body .module-content-gravity-form__lower .budget-form input[type="submit"].gform_button:hover,
body .module-content-gravity-form__lower .budget-form input[type="submit"].gform_button:focus,
body .module-content-gravity-form__lower .budget-form button[type="submit"].gform_button:hover,
body .module-content-gravity-form__lower .budget-form button[type="submit"].gform_button:focus {
  background-color: #98111b !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

body .module-content-gravity-form__lower .budget-form input[type="submit"].gform_button:focus-visible,
body .module-content-gravity-form__lower .budget-form button[type="submit"].gform_button:focus-visible {
  outline: 3px solid rgba(190, 22, 34, 0.3) !important;
  outline-offset: 3px;
}

/* Validation and confirmation states hidden by the captured legacy CSS. */
body .module-content-gravity-form__lower .gform_wrapper .gform_validation_errors {
  margin: 0 0 24px !important;
  padding: 16px 18px !important;
  border: 1px solid #be1622 !important;
  border-radius: 0 !important;
  background: #fff4f5 !important;
  color: #7c0d16 !important;
  box-shadow: none !important;
}

body .module-content-gravity-form__lower .gform_wrapper .gform_validation_errors h2 {
  margin: 0 !important;
  color: #7c0d16 !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
}

body .module-content-gravity-form__lower .gform_wrapper .gfield_error input,
body .module-content-gravity-form__lower .gform_wrapper .gfield_error select,
body .module-content-gravity-form__lower .gform_wrapper .gfield_error textarea {
  border-color: #be1622 !important;
}

body .module-content-gravity-form__lower .gform_wrapper .gfield_validation_message,
body .module-content-gravity-form__lower .gform_wrapper .validation_message {
  margin: 7px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #9b111e !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
}

body .module-content-gravity-form__lower .gform_confirmation_message {
  max-width: 900px;
  margin: 0 auto;
  padding: 22px 24px;
  border-left: 4px solid #be1622;
  background: #f7f7f7;
  color: #111111;
  font-size: 19px;
  line-height: 1.55;
}

/* Tablet and mobile: follow the document order in one readable column. */
@media (max-width: 999px) {
  body .module-content-gravity-form__lower :is(.budget-form--free-quotation, .budget-form--three-column-enquiry, .budget-form--appointment),
  body .module-content-gravity-form__lower :is(.budget-form--free-quotation, .budget-form--three-column-enquiry, .budget-form--appointment) .gform-body,
  body .module-content-gravity-form__lower :is(.budget-form--free-quotation, .budget-form--three-column-enquiry, .budget-form--appointment) .gform_body {
    display: block;
  }

  body .module-content-gravity-form__lower :is(.budget-form--free-quotation, .budget-form--three-column-enquiry, .budget-form--appointment) .gform_fields {
    display: block !important;
  }

  body .module-content-gravity-form__lower :is(.budget-form--free-quotation, .budget-form--three-column-enquiry, .budget-form--appointment) .gfield,
  body .module-content-gravity-form__lower :is(.budget-form--free-quotation, .budget-form--three-column-enquiry, .budget-form--appointment) fieldset.gfield {
    display: block !important;
    width: 100% !important;
    margin-right: 0 !important;
    margin-top: 14px !important;
  }

  body .module-content-gravity-form__lower :is(.budget-form--free-quotation, .budget-form--three-column-enquiry, .budget-form--appointment) .budget-form__section {
    margin-top: 38px !important;
    margin-bottom: 16px !important;
  }

  body .module-content-gravity-form__lower :is(.budget-form--free-quotation, .budget-form--three-column-enquiry, .budget-form--appointment) .budget-form__section:first-child {
    margin-top: 0 !important;
  }

  body .module-content-gravity-form__lower :is(.budget-form--free-quotation, .budget-form--three-column-enquiry, .budget-form--appointment) .gform_footer,
  body .module-content-gravity-form__lower :is(.budget-form--free-quotation, .budget-form--three-column-enquiry, .budget-form--appointment) .gform-footer {
    margin-top: 24px !important;
  }

  body .module-content-gravity-form__lower .budget-form__field--further-information .ginput_container {
    height: auto;
  }

  body .module-content-gravity-form__lower .budget-form__field--further-information textarea {
    height: auto !important;
    min-height: 210px;
  }

  body .module-content-gravity-form__lower .budget-form--request-service-call .budget-form__field--product-fault .ginput_container {
    height: auto;
  }

  body .module-content-gravity-form__lower .budget-form--request-service-call .budget-form__field--product-fault textarea {
    height: auto !important;
    min-height: 210px;
  }

  body .module-content-gravity-form__lower .budget-form--careers .budget-form__field--about-you .ginput_container {
    height: auto;
  }

  body .module-content-gravity-form__lower .budget-form--careers .budget-form__field--about-you textarea {
    height: auto !important;
    min-height: 210px;
  }
}

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

  body .module-content-gravity-form__lower .budget-form input[type="text"],
  body .module-content-gravity-form__lower .budget-form input[type="email"],
  body .module-content-gravity-form__lower .budget-form input[type="tel"],
  body .module-content-gravity-form__lower .budget-form select,
  body .module-content-gravity-form__lower .budget-form textarea,
  body .module-content-gravity-form__lower .budget-form .select2-selection {
    min-height: 52px;
    font-size: 15px !important;
  }

  body .module-content-gravity-form__lower .budget-form .select2-container,
  body .module-content-gravity-form__lower .budget-form .select2-selection {
    height: 52px !important;
    max-height: 52px !important;
  }

  body .module-content-gravity-form__lower .budget-form textarea {
    min-height: 210px;
  }

  body .module-content-gravity-form__lower :is(.budget-form__options--quote, .budget-form__options--product-interest, .budget-form__options--customer-care, .budget-form__options--product-purchased, .budget-form__options--careers) .gfield_checkbox {
    grid-template-columns: 1fr !important;
  }

  body .module-content-gravity-form__lower :is(.budget-form--request-service-call .budget-form__options--product-purchased, .budget-form--careers .budget-form__options--careers) .gfield_checkbox {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body .module-content-gravity-form__lower .budget-form--careers .budget-form__file-upload--cv > .gfield_label,
  body .module-content-gravity-form__lower .budget-form--careers .budget-form__file-upload--cv > legend {
    font-size: 22px !important;
  }

  body .module-content-gravity-form__lower .budget-form input[type="submit"].gform_button,
  body .module-content-gravity-form__lower .budget-form button[type="submit"].gform_button {
    min-height: 58px !important;
    font-size: 16px !important;
    background-position: calc(50% + 60px) center !important;
  }
}

@media (max-width: 360px) {
  body .module-content-gravity-form__lower :is(.budget-form--request-service-call .budget-form__options--product-purchased, .budget-form--careers .budget-form__options--careers) .gfield_checkbox {
    grid-template-columns: 1fr !important;
  }
}

/* ========================================================================== 
   Request Brochure
   ========================================================================== */

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

body .module-content-downloads-form__lower .budget-form--request-brochure {
  display: grid;
  grid-template-columns: repeat(21, minmax(0, 1fr));
  grid-template-rows: auto repeat(5, 56px) auto auto;
  column-gap: 14px;
  row-gap: 16px;
  align-items: start;
}

body .module-content-downloads-form__lower .budget-form--request-brochure .gform-body,
body .module-content-downloads-form__lower .budget-form--request-brochure .gform_body,
body .module-content-downloads-form__lower .budget-form--request-brochure .gform_fields {
  display: contents;
}

body .module-content-downloads-form__lower .budget-form--request-brochure .gform-body::before,
body .module-content-downloads-form__lower .budget-form--request-brochure .gform-body::after,
body .module-content-downloads-form__lower .budget-form--request-brochure .gform_body::before,
body .module-content-downloads-form__lower .budget-form--request-brochure .gform_body::after,
body .module-content-downloads-form__lower .budget-form--request-brochure .gform_fields::before,
body .module-content-downloads-form__lower .budget-form--request-brochure .gform_fields::after {
  display: none !important;
  content: none !important;
}

body .module-content-downloads-form__lower .budget-form--request-brochure .gfield,
body .module-content-downloads-form__lower .budget-form--request-brochure fieldset.gfield {
  display: block;
  float: none !important;
  min-width: 0;
  width: 100% !important;
  max-width: none;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

body .module-content-downloads-form__lower .budget-form--request-brochure .budget-form__section {
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: 0 !important;
}

body .module-content-downloads-form__lower .budget-form--request-brochure .gsection_title {
  margin: 0 !important;
  padding: 0 !important;
  color: #111111;
  font-size: 23px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

body .module-content-downloads-form__lower .budget-form--request-brochure .budget-form__section--brochure-selection {
  grid-column: 1 / 14;
  grid-row: 1;
}

body .module-content-downloads-form__lower .budget-form--request-brochure .budget-form__brochure-options {
  grid-column: 1 / 14;
  grid-row: 2 / 9;
  align-self: start;
}

body .module-content-downloads-form__lower .budget-form--request-brochure .budget-form__section--brochure-details {
  grid-column: 14 / 22;
  grid-row: 1;
}

body .module-content-downloads-form__lower .budget-form--request-brochure .budget-form__field--title {
  grid-column: 14 / 16;
  grid-row: 2;
}

body .module-content-downloads-form__lower .budget-form--request-brochure .budget-form__field--first-name {
  grid-column: 16 / 19;
  grid-row: 2;
}

body .module-content-downloads-form__lower .budget-form--request-brochure .budget-form__field--surname {
  grid-column: 19 / 22;
  grid-row: 2;
}

body .module-content-downloads-form__lower .budget-form--request-brochure .budget-form__field--telephone {
  grid-column: 14 / 22;
  grid-row: 3;
}

body .module-content-downloads-form__lower .budget-form--request-brochure .budget-form__field--email {
  grid-column: 14 / 22;
  grid-row: 4;
}

body .module-content-downloads-form__lower .budget-form--request-brochure .budget-form__field--address {
  grid-column: 14 / 22;
  grid-row: 5;
}

body .module-content-downloads-form__lower .budget-form--request-brochure .budget-form__field--postcode {
  grid-column: 14 / 22;
  grid-row: 6;
}

body .module-content-downloads-form__lower .budget-form--request-brochure .budget-form__field--marketing {
  grid-column: 14 / 22;
  grid-row: 7;
  align-self: start;
}

body .module-content-downloads-form__lower .budget-form--request-brochure .gform_footer,
body .module-content-downloads-form__lower .budget-form--request-brochure .gform-footer {
  display: block !important;
  visibility: visible !important;
  grid-column: 14 / 22;
  grid-row: 8;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 5 !important;
}

body .module-content-downloads-form__lower .budget-form--request-brochure .budget-form__field > .gfield_label,
body .module-content-downloads-form__lower .budget-form--request-brochure .budget-form__field > legend,
body .module-content-downloads-form__lower .budget-form--request-brochure .budget-form__brochure-options > .gfield_label,
body .module-content-downloads-form__lower .budget-form--request-brochure .budget-form__brochure-options > legend {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body .module-content-downloads-form__lower .budget-form--request-brochure input[type="text"],
body .module-content-downloads-form__lower .budget-form--request-brochure input[type="email"],
body .module-content-downloads-form__lower .budget-form--request-brochure input[type="tel"],
body .module-content-downloads-form__lower .budget-form--request-brochure select,
body .module-content-downloads-form__lower .budget-form--request-brochure .select2-selection {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 56px;
  margin: 0 !important;
  padding: 14px 16px !important;
  border: 1px solid #dddddd !important;
  border-radius: 0 !important;
  background-color: #ffffff !important;
  color: #2e323b !important;
  font-size: 16px !important;
  line-height: 1.4;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

body .module-content-downloads-form__lower .budget-form--request-brochure input:focus,
body .module-content-downloads-form__lower .budget-form--request-brochure select:focus,
body .module-content-downloads-form__lower .budget-form--request-brochure .select2-selection:focus {
  border-color: #111111 !important;
  outline: 2px solid rgba(229, 218, 61, 0.65) !important;
  outline-offset: 1px;
}

body .module-content-downloads-form__lower .budget-form--request-brochure ::placeholder {
  color: #a4a9ae;
  opacity: 1;
}

body .module-content-downloads-form__lower .budget-form--request-brochure .select2-container {
  display: block !important;
  width: 100% !important;
  height: 56px !important;
  margin: 0 !important;
}

body .module-content-downloads-form__lower .budget-form--request-brochure .select2-selection {
  display: flex !important;
  align-items: center !important;
  height: 56px !important;
  max-height: 56px !important;
}

body .module-content-downloads-form__lower .budget-form--request-brochure .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 .budget-form--request-brochure .select2-selection__arrow {
  top: 0 !important;
  right: 12px !important;
  height: 100% !important;
  transform: none !important;
}

body .module-content-downloads-form__lower .budget-form--request-brochure .budget-form__brochure-options,
body .module-content-downloads-form__lower .budget-form--request-brochure .budget-form__brochure-options .ginput_container,
body .module-content-downloads-form__lower .budget-form--request-brochure .budget-form__brochure-options .gfield_checkbox {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

body .module-content-downloads-form__lower .budget-form--request-brochure .budget-form__brochure-options .gfield_checkbox {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
}

body .module-content-downloads-form__lower .budget-form--request-brochure .budget-form__brochure-options .gchoice {
  position: relative;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body .module-content-downloads-form__lower .budget-form--request-brochure .budget-form__brochure-options input[type="checkbox"] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  opacity: 0 !important;
}

body .module-content-downloads-form__lower .budget-form--request-brochure .budget-form__brochure-options label {
  position: relative;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 310px !important;
  margin: 0 !important;
  padding: 184px 16px 36px !important;
  border: 3px solid transparent !important;
  border-radius: 0 !important;
  background-color: #e5e5e5 !important;
  color: #111111 !important;
  font-size: 20px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  text-align: center !important;
  white-space: normal !important;
  cursor: pointer;
  box-sizing: border-box !important;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

body .module-content-downloads-form__lower .budget-form--request-brochure .budget-form__brochure-options label::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 22px;
  right: 22px;
  height: 145px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
}

body .module-content-downloads-form__lower .budget-form--request-brochure .budget-form__brochure-options .gchoice:nth-child(1) label::before {
  background-image: url("/wp-content/themes/salient-child/assets/images/budget-forms/budget-windows-brochure.jpg");
}

body .module-content-downloads-form__lower .budget-form--request-brochure .budget-form__brochure-options .gchoice:nth-child(2) label::before {
  background-image: url("/wp-content/themes/salient-child/assets/images/budget-forms/budget-composite-doors-brochure.jpg");
}

body .module-content-downloads-form__lower .budget-form--request-brochure .budget-form__brochure-options .gchoice:nth-child(3) label::before {
  background-image: url("/wp-content/themes/salient-child/assets/images/budget-forms/budget-feature-doors-brochure.jpg");
}

body .module-content-downloads-form__lower .budget-form--request-brochure .budget-form__brochure-options .gchoice:nth-child(4) label::before {
  background-image: url("/wp-content/themes/salient-child/assets/images/budget-forms/budget-conservatory-roof-conversions-brochure.jpg");
}

body .module-content-downloads-form__lower .budget-form--request-brochure .budget-form__brochure-options input[type="checkbox"]:checked + label {
  border-color: #e5da3d !important;
  background-color: #e5da3d !important;
  color: #111111 !important;
}

body .module-content-downloads-form__lower .budget-form--request-brochure .budget-form__brochure-options input[type="checkbox"]:focus-visible + label {
  outline: 3px solid rgba(17, 17, 17, 0.7) !important;
  outline-offset: 3px;
}

@media (hover: hover) {
  body .module-content-downloads-form__lower .budget-form--request-brochure .budget-form__brochure-options label:hover {
    border-color: #d5ca31 !important;
    background-color: #eee75e !important;
  }
}

body .module-content-downloads-form__lower .budget-form--request-brochure .budget-form__field--marketing .gchoice {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
}

body .module-content-downloads-form__lower .budget-form--request-brochure .budget-form__field--marketing input[type="checkbox"] {
  position: static !important;
  flex: 0 0 18px !important;
  width: 18px !important;
  height: 18px !important;
  margin: 3px 0 0 !important;
  opacity: 1 !important;
}

body .module-content-downloads-form__lower .budget-form--request-brochure .budget-form__field--marketing label {
  display: block !important;
  flex: 1 1 auto !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #111111 !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
  font-weight: 400 !important;
  white-space: normal !important;
}

body .module-content-downloads-form__lower .budget-form--request-brochure input[type="submit"].gform_button,
body .module-content-downloads-form__lower .budget-form--request-brochure button[type="submit"].gform_button,
body .module-content-downloads-form__lower .budget-form--request-brochure .gform_footer input[type="submit"],
body .module-content-downloads-form__lower .budget-form--request-brochure .gform-footer input[type="submit"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  visibility: visible !important;
  width: 100% !important;
  min-height: 63px !important;
  margin: 0 !important;
  padding: 15px 52px 15px 24px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background-color: #e5da3d !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='16' viewBox='0 0 10 16'%3E%3Cpath d='M1 1l7 7-7 7' fill='none' stroke='%23111' stroke-width='3'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: calc(50% + 112px) center !important;
  background-size: 10px 16px !important;
  color: #111111 !important;
  font-size: 18px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  text-align: center !important;
  text-transform: uppercase !important;
  opacity: 1 !important;
  cursor: pointer;
  box-shadow: none !important;
}

body .module-content-downloads-form__lower .budget-form--request-brochure input[type="submit"].gform_button:hover,
body .module-content-downloads-form__lower .budget-form--request-brochure input[type="submit"].gform_button:focus,
body .module-content-downloads-form__lower .budget-form--request-brochure button[type="submit"].gform_button:hover,
body .module-content-downloads-form__lower .budget-form--request-brochure button[type="submit"].gform_button:focus {
  background-color: #d5ca31 !important;
  color: #111111 !important;
}

@media (max-width: 999px) {
  body .module-content-downloads-form__lower .budget-form--request-brochure,
  body .module-content-downloads-form__lower .budget-form--request-brochure .gform-body,
  body .module-content-downloads-form__lower .budget-form--request-brochure .gform_body {
    display: block;
  }

  body .module-content-downloads-form__lower .budget-form--request-brochure .gform_fields {
    display: block !important;
  }

  body .module-content-downloads-form__lower .budget-form--request-brochure .gfield,
  body .module-content-downloads-form__lower .budget-form--request-brochure fieldset.gfield {
    display: block !important;
    width: 100% !important;
    margin-top: 14px !important;
  }

  body .module-content-downloads-form__lower .budget-form--request-brochure .budget-form__section {
    margin-top: 38px !important;
    margin-bottom: 16px !important;
  }

  body .module-content-downloads-form__lower .budget-form--request-brochure .budget-form__section:first-child {
    margin-top: 0 !important;
  }

  body .module-content-downloads-form__lower .budget-form--request-brochure .budget-form__brochure-options .gfield_checkbox {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  body .module-content-downloads-form__lower .budget-form--request-brochure .budget-form__brochure-options label {
    min-height: 240px !important;
    padding: 142px 14px 24px !important;
    font-size: 18px !important;
  }

  body .module-content-downloads-form__lower .budget-form--request-brochure .budget-form__brochure-options label::before {
    top: 16px;
    left: 14px;
    right: 14px;
    height: 116px;
  }

  body .module-content-downloads-form__lower .budget-form--request-brochure .gform_footer,
  body .module-content-downloads-form__lower .budget-form--request-brochure .gform-footer {
    margin-top: 24px !important;
  }
}

@media (max-width: 480px) {
  body .module-content-downloads-form__lower .budget-form--request-brochure .gsection_title {
    font-size: 22px;
  }

  body .module-content-downloads-form__lower .budget-form--request-brochure .budget-form__brochure-options label {
    min-height: 222px !important;
    padding: 128px 10px 20px !important;
    font-size: 16px !important;
  }

  body .module-content-downloads-form__lower .budget-form--request-brochure .budget-form__brochure-options label::before {
    top: 13px;
    left: 10px;
    right: 10px;
    height: 105px;
  }

  body .module-content-downloads-form__lower .budget-form--request-brochure input[type="text"],
  body .module-content-downloads-form__lower .budget-form--request-brochure input[type="email"],
  body .module-content-downloads-form__lower .budget-form--request-brochure input[type="tel"],
  body .module-content-downloads-form__lower .budget-form--request-brochure select,
  body .module-content-downloads-form__lower .budget-form--request-brochure .select2-selection {
    min-height: 52px;
    font-size: 15px !important;
  }

  body .module-content-downloads-form__lower .budget-form--request-brochure .select2-container,
  body .module-content-downloads-form__lower .budget-form--request-brochure .select2-selection {
    height: 52px !important;
    max-height: 52px !important;
  }
}

@media (max-width: 360px) {
  body .module-content-downloads-form__lower .budget-form--request-brochure .budget-form__brochure-options .gfield_checkbox {
    grid-template-columns: 1fr !important;
  }
}
