.dces-consent[hidden],
.dces-consent__options[hidden],
.dces-consent__actions button[hidden],
.dces-consent-reopen[hidden] {
  display: none !important;
}

html.dces-consent-open {
  overflow: hidden;
}

.dces-consent {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: end center;
  padding: 20px;
  background: rgb(0 0 0 / 45%);
}

.dces-consent__inner {
  width: min(760px, 100%);
  padding: 24px;
  border-radius: 12px;
  background: #fff;
  color: #1f2933;
  box-shadow: 0 16px 48px rgb(0 0 0 / 24%);
}

.dces-consent__inner h2 {
  margin: 0 0 10px;
  color: inherit;
  font-size: 1.45rem;
}

.dces-consent__inner p {
  margin: 8px 0;
}

.dces-consent__options {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.dces-consent__options label {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.dces-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.dces-consent__actions button,
.dces-cookie-settings,
.dces-consent-reopen {
  min-height: 44px;
  padding: 9px 16px;
  border: 2px solid #273043;
  border-radius: 7px;
  background: #fff;
  color: #273043;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.dces-consent__actions button:hover,
.dces-consent__actions button:focus-visible,
.dces-cookie-settings:hover,
.dces-cookie-settings:focus-visible,
.dces-consent-reopen:hover,
.dces-consent-reopen:focus-visible {
  background: #273043;
  color: #fff;
  outline: 3px solid #f0b429;
  outline-offset: 2px;
}

.dces-consent-reopen {
  position: fixed;
  z-index: 2147482999;
  left: 12px;
  bottom: 12px;
  min-height: 36px;
  padding: 6px 10px;
  border-width: 1px;
  font-size: 13px;
}

.dces-legal {
  max-width: 900px;
  margin: 0 auto;
}

.dces-legal h1,
.dces-legal h2,
.dces-legal h3 {
  line-height: 1.25;
}

/* Contact Form 7: main enquiry form and the compact callback popup. */
[id^="wpcf7-f314-"] .dces-contact-form,
[id^="wpcf7-f343-"] .dces-call-form {
  display: grid;
  gap: 18px;
}

[id^="wpcf7-f314-"] .dces-contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

[id^="wpcf7-f314-"] .dces-contact-form__grid > p {
  display: contents;
}

[id^="wpcf7-f314-"] .dces-contact-form__grid > p > br,
[id^="wpcf7-f314-"] .dces-form-field > br,
[id^="wpcf7-f343-"] .dces-form-field > br {
  display: none;
}

[id^="wpcf7-f314-"] .dces-form-field--full {
  grid-column: 1 / -1;
}

[id^="wpcf7-f314-"] .dces-form-field,
[id^="wpcf7-f343-"] .dces-form-field {
  display: grid;
  gap: 7px;
  margin: 0 !important;
  color: #2f3e27;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

[id^="wpcf7-f314-"] .dces-form-field input,
[id^="wpcf7-f314-"] .dces-form-field textarea,
[id^="wpcf7-f343-"] .dces-form-field input {
  width: 100%;
  min-height: 52px;
  margin: 0 !important;
  padding: 12px 14px;
  border: 1px solid #b9c1b4;
  border-radius: 5px;
  background: #fff;
  color: #1d271a;
  box-shadow: none;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
}

[id^="wpcf7-f314-"] .dces-form-field textarea {
  min-height: 132px;
  resize: vertical;
}

[id^="wpcf7-f314-"] .dces-form-field input:focus,
[id^="wpcf7-f314-"] .dces-form-field textarea:focus,
[id^="wpcf7-f343-"] .dces-form-field input:focus {
  border-color: #304129;
  outline: 3px solid rgb(48 65 41 / 20%);
  outline-offset: 1px;
}

.dces-form-consent .wpcf7-list-item {
  margin: 0;
}

.dces-form-consent .wpcf7-list-item label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #3f463c;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  cursor: pointer;
}

.dces-form-consent input[type="checkbox"],
.dces-call-form__times input[type="radio"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: #304129;
}

[id^="wpcf7-f314-"] .dces-form-submit,
[id^="wpcf7-f343-"] .dces-form-submit {
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 12px 22px;
  border: 2px solid #304129;
  border-radius: 3px;
  background: #304129;
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

[id^="wpcf7-f314-"] .wpcf7-form .dces-form-submit,
[id^="wpcf7-f343-"] .wpcf7-form .dces-form-submit {
  min-height: 52px !important;
  padding: 12px 22px !important;
  border: 2px solid #304129 !important;
  background: #304129 !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}

[id^="wpcf7-f314-"] .wpcf7-form .dces-form-submit:disabled,
[id^="wpcf7-f343-"] .wpcf7-form .dces-form-submit:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

[id^="wpcf7-f314-"] .dces-form-submit:hover,
[id^="wpcf7-f314-"] .dces-form-submit:focus-visible,
[id^="wpcf7-f343-"] .dces-form-submit:hover,
[id^="wpcf7-f343-"] .dces-form-submit:focus-visible {
  background: #fff !important;
  color: #304129 !important;
  outline: 3px solid rgb(48 65 41 / 25%);
  outline-offset: 2px;
}

.dces-call-form__times {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.dces-call-form > p,
.dces-call-form__times > p,
.dces-form-consent > p {
  margin: 0;
}

.dces-call-form > p:first-child {
  display: grid;
  gap: 18px;
}

.dces-call-form__times legend {
  margin: 0 0 9px;
  padding: 0;
  color: #2f3e27;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.dces-call-form__times .wpcf7-radio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.dces-call-form__times .wpcf7-list-item {
  margin: 0;
}

.dces-call-form__times .wpcf7-list-item label {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 46px;
  padding: 8px 10px;
  border: 1px solid #cbd2c7;
  border-radius: 5px;
  color: #3f463c;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
}

#jet-popup-344 .jet-popup__container-inner {
  width: min(590px, calc(100vw - 24px));
  max-height: calc(100dvh - 32px);
  overflow-x: hidden;
  overflow-y: auto;
}

#jet-popup-344 .elementor-344 h2 {
  font-size: clamp(34px, 4.3vw, 44px);
  line-height: 1.06;
}

#jet-popup-344 .wpcf7-spinner {
  position: absolute;
}

#jet-popup-344 .wpcf7-response-output {
  margin: 0;
}

.page-id-33 #jet-popup-344 {
  display: none !important;
}

html,
body {
  overflow-x: clip;
}

body:has(#jet-popup-344.jet-popup--show-state) #callnowbutton,
body:has(#jet-popup-344.jet-popup--show-state) #dces-consent-reopen {
  display: none !important;
}

@media (max-width: 640px) {
  .dces-consent {
    padding: 10px;
  }

  .dces-consent__inner {
    max-height: calc(100vh - 20px);
    overflow: auto;
    padding: 18px;
  }

  .dces-consent__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  [id^="wpcf7-f314-"] .dces-contact-form__grid,
  .dces-call-form__times .wpcf7-radio {
    grid-template-columns: 1fr;
  }

  [id^="wpcf7-f314-"] .dces-form-field textarea {
    height: 160px;
    min-height: 160px;
  }

  .page-id-33 #callnowbutton {
    display: none !important;
  }

  .dces-consent-reopen {
    position: static;
    width: max-content;
    max-width: calc(100% - 24px);
    margin: 12px;
  }

  #jet-popup-344 .jet-popup__container-inner {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
    padding: 16px;
  }

  #jet-popup-344 .elementor-344 h2 {
    font-size: 31px;
  }
}
