/* Match the stretched content to the viewport even before Elementor initializes. */
#pxl-main > .elementor-container > .pxl-content-wrap.no-sidebar {
  margin-inline: 0;
}
#pxl-main .elementor-top-section.elementor-section-stretched {
  left: 0 !important;
  width: 100% !important;
}
#pxl-main .pxl-full-content-with-space-start {
  padding-left: max(20px, calc((100% - 1355px) / 2)) !important;
}
#pxl-main .pxl-full-content-with-space-end {
  padding-right: max(20px, calc((100% - 1355px) / 2)) !important;
}
.ots-contact-form { width: 100%; color: #202125; }
.ots-contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.ots-contact-form label { display: block; font-weight: 600; margin: 0; }
.ots-contact-message { grid-column: 1 / -1; }
.ots-contact-form input:not([type="checkbox"]),
.ots-contact-form select,
.ots-contact-form textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin-top: 5px;
  padding: 12px 14px;
  border: 1px solid #bdbdc1;
  border-radius: 4px;
  background: #fff;
  color: #202125;
  font: inherit;
  font-weight: 400;
}
.ots-contact-form .nice-select { display: none !important; }
.ots-contact-form select { display: block !important; appearance: auto; }
.ots-contact-form textarea { min-height: 110px; resize: vertical; }
.ots-contact-form label.ots-contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 400;
  margin-top: 16px;
}
.ots-contact-consent input[type="checkbox"] {
  position: static;
  opacity: 1;
  appearance: auto;
  accent-color: #b82922;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
}
.ots-contact-form a { text-decoration: underline; }
.ots-contact-help { margin: 14px 0; font-size: 14px; }
.ots-contact-form .ots-contact-button, .ots-map-card a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 18px;
  border: 0;
  border-radius: 4px;
  background: #a7221c;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.ots-contact-form :focus-visible, .ots-map-card a:focus-visible {
  outline: 2px solid #a7221c;
  outline-offset: 3px;
}
.ots-contact-ready { margin: 14px 0 0; }
.ots-contact-ready span { display: block; margin-bottom: 8px; }
.ots-contact-ready[hidden] { display: none !important; }
.ots-map-card {
  display: grid;
  justify-items: start;
  gap: 8px;
  padding: clamp(16px, 4vw, 32px);
  border: 1px solid #e1e1e4;
  background: #f5f5f6;
  color: #202125;
}
.ots-map-card address { margin: 0; font-style: normal; }
@media (max-width: 600px) {
  .ots-contact-grid { grid-template-columns: minmax(0, 1fr); }
}
.ots-contact-form .ots-contact-button, .ots-map-card a { line-height: 1.35; }

/* OTS - Sistemazione riquadro contatti */
.ots-map-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
    padding: 32px !important;
    background: #f5f5f6 !important;
    border: 1px solid #e1e1e4;
    box-sizing: border-box;
}

.ots-map-card strong {
    display: block !important;
    font-size: 24px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    margin: 0 !important;
}

.ots-map-card address {
    display: block !important;
    font-size: 17px !important;
    line-height: 1.5 !important;
    font-style: normal !important;
    margin: 0 !important;
}

.ots-map-card a {
    display: inline-block !important;
    width: fit-content !important;
    padding: 14px 24px !important;
    margin-top: 8px !important;
    background: #b32624 !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-radius: 4px;
}

@media (max-width: 767px) {
    .ots-map-card {
        padding: 22px !important;
    }

    .ots-map-card strong {
        font-size: 21px !important;
    }
}