.ht__hero__section__contatti .l-section-overlay {
  background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 17.92%,
      rgba(0, 0, 0, 0.6) 55.56%,
      #333 100%
    ),
    linear-gradient(270deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 40.74%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 40.74%) !important;
}

/* ::::::::::::::::::::::::::::::::::::::::::::::. */
#gform_2 #input_2_7 {
  border-radius: 24px !important;
}
#gform_2 #gform_fields_2 {
  grid-row-gap: 40px !important;
}
#gform_2 #input_2_8_1 {
  height: 14px !important;
  width: 14px !important;
  border-radius: 2px !important;
  border: 1px solid #fff !important;
  top: 6px;
  position: relative;
}
#gform_2
  .gform-field-label.gform-field-label--type-inline.gfield_consent_label {
  color: #fff !important;
}
#gform_2 .gform-footer.gform_footer.top_label {
  justify-content: center;
}
#gform_2 .gfield_label.gform-field-label {
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 160% !important;
  letter-spacing: 0.4px !important;
  margin-bottom: 16px !important;
}

#gform_2 #field_2_5 {
  align-self: start;
}

#gform_2 #field_2_5 .gfield_label,
#gform_2 #field_2_5 legend.gfield_label {
  margin: 0 0 16px !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 300 !important;
  line-height: 1.4 !important;
  letter-spacing: 0 !important;
}

#gform_2 #input_2_5.gfield_radio {
  --gform-2-fornitore-icon: url("data:image/svg+xml,%3Csvg%20viewBox=%270%200%2016%2016%27%20xmlns=%27http://www.w3.org/2000/svg%27%3E%3Cpath%20fill=%27none%27%20stroke=%27%23000%27%20stroke-width=%271%27%20d=%22M8%2013.5H3a.5.5%200%200%201-.5-.5V8a.5.5%200%200%201%20.5-.5h5m0%206v-6m0%206h5a.5.5%200%200%200%20.5-.5V8a.5.5%200%200%200-.5-.5H8m2.5.5v2m-2-7v2m-3%203v2m-1-7v4.5h7V3a.5.5%200%200%200-.5-.5H5a.5.5%200%200%200-.5.5Z%22/%3E%3C/svg%3E");
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

#gform_2 #input_2_5 .gchoice {
  flex: 0 0 auto;
  position: relative;
  margin: 0;
  min-width: 0;
}

#gform_2 #input_2_5 .gfield-choice-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

#gform_2 #input_2_5 .gform-field-label {
  position: relative;
  display: flex;
  align-items: center;
  width: auto;
  min-height: auto;
  padding: 8px 24px;
  border: 1px solid #4d4d4d;
  border-radius: 80px;
  background: transparent;
  color: rgba(183, 183, 183, 0.4);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease,
    color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

/* Annulla la regola core di Gravity Forms sui label dei radio (max-width/vertical-align) */
#gform_2 #input_2_5 .gfield-choice-input + label,
#gform_2 #input_2_5 .gform-field-label {
  max-width: none;
  vertical-align: baseline;
}

#gform_2 #input_2_5 .gform-field-label::before {
  content: "";
  margin-right: 8px;
  left: 24px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

#gform_2 #label_2_5_0::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20viewBox=%270%200%2024%2024%27%20xmlns=%27http://www.w3.org/2000/svg%27%3E%3Cpath%20fill=%27%23000%27%20d=%22M18%2015h-2v2h2m0-6h-2v2h2m2%206h-8v-2h2v-2h-2v-2h2v-2h-2V9h8M10%207H8V5h2m0%206H8V9h2m0%206H8v-2h2m0%206H8v-2h2M6%207H4V5h2m0%206H4V9h2m0%206H4v-2h2m0%206H4v-2h2m6-10V3H2v18h20V7z%22/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20viewBox=%270%200%2024%2024%27%20xmlns=%27http://www.w3.org/2000/svg%27%3E%3Cpath%20fill=%27%23000%27%20d=%22M18%2015h-2v2h2m0-6h-2v2h2m2%206h-8v-2h2v-2h-2v-2h2v-2h-2V9h8M10%207H8V5h2m0%206H8V9h2m0%206H8v-2h2m0%206H8v-2h2M6%207H4V5h2m0%206H4V9h2m0%206H4v-2h2m0%206H4v-2h2m6-10V3H2v18h20V7z%22/%3E%3C/svg%3E");
}

#gform_2 #label_2_5_1::before,
#gform_2 #input_2_5 .gform-field-label.is-fornitore::before {
  -webkit-mask-image: var(--gform-2-fornitore-icon);
  mask-image: var(--gform-2-fornitore-icon);
}

#gform_2 #label_2_5_2::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20viewBox=%270%200%2024%2024%27%20xmlns=%27http://www.w3.org/2000/svg%27%3E%3Cg%20fill=%27none%27%3E%3Cpath%20fill=%27%23000%27%20d=%22M4%2018a4%204%200%200%201%204-4h8a4%204%200%200%201%204%204a2%202%200%200%201-2%202H6a2%202%200%200%201-2-2%22%20opacity=%27.16%27/%3E%3Cpath%20stroke=%27%23000%27%20stroke-linejoin=%27round%27%20stroke-width=%272%27%20d=%22M4%2018a4%204%200%200%201%204-4h8a4%204%200%200%201%204%204a2%202%200%200%201-2%202H6a2%202%200%200%201-2-2Z%22/%3E%3Ccircle%20cx=%2712%27%20cy=%277%27%20r=%273%27%20stroke=%27%23000%27%20stroke-width=%272%27/%3E%3C/g%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20viewBox=%270%200%2024%2024%27%20xmlns=%27http://www.w3.org/2000/svg%27%3E%3Cg%20fill=%27none%27%3E%3Cpath%20fill=%27%23000%27%20d=%22M4%2018a4%204%200%200%201%204-4h8a4%204%200%200%201%204%204a2%202%200%200%201-2%202H6a2%202%200%200%201-2-2%22%20opacity=%27.16%27/%3E%3Cpath%20stroke=%27%23000%27%20stroke-linejoin=%27round%27%20stroke-width=%272%27%20d=%22M4%2018a4%204%200%200%201%204-4h8a4%204%200%200%201%204%204a2%202%200%200%201-2%202H6a2%202%200%200%201-2-2Z%22/%3E%3Ccircle%20cx=%2712%27%20cy=%277%27%20r=%273%27%20stroke=%27%23000%27%20stroke-width=%272%27/%3E%3C/g%3E%3C/svg%3E");
}

#gform_2 #input_2_5 .gfield-choice-input:checked + .gform-field-label {
  border-color: #4d4d4d;
  background: #4d4d4d;
  color: #fff;
}

#gform_2 #input_2_5 .gfield-choice-input:focus-visible + .gform-field-label {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.22);
}

#gform_2 #input_2_5 .gform-field-label:hover {
  border-color: #4d4d4d;
  background: #4d4d4d;
  color: #fff;
}

@media (max-width: 640px) {
  #gform_2 #field_2_5 .gfield_label,
  #gform_2 #field_2_5 legend.gfield_label {
    margin-bottom: 14px !important;
    font-size: 1.35rem !important;
  }

  #gform_2 #input_2_5.gfield_radio {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  #gform_2 #input_2_5 .gchoice {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
  }

  #gform_2 #input_2_5 .gform-field-label {
    min-height: auto;
    padding: 8px 24px;
    font-size: 1rem;
  }

  #gform_2 #input_2_5 .gform-field-label::before {
    width: 16px;
    height: 16px;
  }
}
/* ::::::::::::::::::::::::::::::::::::::::::::::: */
.ht__maps iframe {
  width: 100% !important;
  height: 530px !important;
}

.layout_248 .sede-active .usg_vwrapper_1 {
  border: 1px solid #f60d1a !important;
  background: rgba(246, 13, 26, 0.2) !important;
}
.layout_248 .sede-active .usg_hwrapper_2 {
  background: red !important;
  border: 1px solid #f60d1a !important;
}

.layout_248 .usg_vwrapper_1:hover .usg_hwrapper_2 {
  background: red !important;
  border: 1px solid #f60d1a !important;
}
.layout_248 .usg_vwrapper_1:hover {
  border: 1px solid #f60d1a !important;
  background: rgba(246, 13, 26, 0.2) !important;
}
/* ::::::::::::::::::::::::::::::::::::::::::::::::::::: */
.layout_248 .w-grid-item,
.layout_255 .w-grid-item {
  cursor: pointer;
}

.layout_255 .usg_post_content_1 {
  display: none !important;
}

.layout_248 .w-grid-item.active .usg_vwrapper_1,
.layout_248 .w-grid-item.sede-active .usg_vwrapper_1,
.layout_255 .w-grid-item.active .w-grid-item-h,
.layout_255 .w-grid-item.sede-active .w-grid-item-h {
  border-color: #f60d1a !important;
  border-radius: 16px;
  background: #f60d1a;
}

.layout_255 .w-grid-item.active .usg_post_title_1,
.layout_255 .w-grid-item.sede-active .usg_post_title_1 {
  color: #fff !important;
}
