/*############################################################## */
/* FONT DEL SITO */
/*############################################################## */

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

/*############################################################## */
/* VARIABILI DEL SITO */
/*############################################################## */

:root {
  --first-color: #d90016;
  --first-color-rgb: 217, 0, 22;
  /* hover / focus */
  --first-color-1: #b80013;

  /* active / pressed / border strong */
  --first-color-2: #760000;

  /* background light = con trasparenza / subtle hover */
  --first-color-3: rgba(217, 0, 22, 0.1);

  --second-color: #333333;
  --second-color-1: ;
  --second-color-2: ;
  --second-color-3: ;

  --third-color: #f2f2f2;
  --third-color-1: ;
  --third-color-2: ;
  --third-color-3: ;

  --white-color: #ffffff;
  --gray-border: #d9d9d9;
  --line-footer: #e7e7e7;
  --gray-border-input: #eeeeee;
  --darkgray-border: #999999;
  --black-color: #000000;

  /* FONT BASE */
  --font-1: "Roboto", sans-serif;
  /* testo */
  --font-2: "Work Sans", sans-serif;
  /* titoli */

  --section-label-font-family: var(--font-2);
  --section-label-font-size: clamp(0.875rem,
      1vw,
      1rem);
  /* da grafica - desktop: 16px*/
  --section-label-font-weight: bold;
  --section-label-text-transform: uppercase;
  --section-label-line-height: 1.2;

  --heading-1-font-family: var(--font-2);
  --heading-1-font-size: clamp(2rem, 5vw, 3.75rem);
  /* da grafica - desktop: 60px*/
  --heading-1-font-weight: 700;
  --heading-1-line-height: 1.1;

  --heading-2-font-family: var(--font-2);
  --heading-2-font-size: clamp(1.75rem, 4vw, 3.125rem);
  /* da grafica - desktop: 50px*/
  --heading-2-font-weight: 600;
  --heading-2-line-height: 1.2;

  --heading-3-font-family: var(--font-2);
  --heading-3-font-size: clamp(1.5rem,
      3vw,
      2.5rem);
  /* da grafica - desktop: 40px*/
  --heading-3-font-weight: 600;
  --heading-3-line-height: 1.3;

  --heading-4-font-family: var(--font-2);
  --heading-4-font-size: clamp(1.25rem, 2.2vw, 1.875rem);
  /* da grafica - desktop: 30px*/
  --heading-4-font-weight: 500;
  --heading-4-line-height: 1.3;

  --heading-5-font-family: var(--font-2);
  --heading-5-font-size: clamp(1.125rem, 1.8vw, 1.625rem);
  /* da grafica - desktop: 26px*/
  --heading-5-font-weight: 500;
  --heading-5-line-height: 1.4;

  --heading-6-font-family: var(--font-2);
  --heading-6-font-size: clamp(1rem, 1.4vw, 1.25rem);
  /* da grafica - desktop: 20px*/
  --heading-6-font-weight: 500;
  --heading-6-line-height: 1.4;

  --paragraphs-font-family: var(--font-1);
  --paragraphs-font-size: clamp(0.9375rem, 1vw, 1rem);
  /* da grafica - desktop: 16px*/
  --paragraphs-font-weight: 400;
  --paragraphs-line-height: 30px;

  --menu-items-font-size: 18px;
  --title-card-font-size: clamp(1.125rem, 1.5vw, 1.5rem);
  /* da grafica - desktop: 24px*/

  --menu-list-font-size: clamp(1rem, 1.2vw, 1.125rem);
  /* da grafica - desktop: 18px*/
  --menu-list-font-weight: bold;

  --icona-card: clamp(1.625rem, 2vw, 2.1875rem);
  /* da grafica - desktop: 35px, minimo 26px */

  /* impostazioni utili */
  --radius-base: 10px;
  --radius-minimo: 6px;


  --subtitle-font-size: clamp(0.75rem, 1vw, 0.875rem);
  /* da grafica - desktop: 12px*/

  --box-shadow-1: 0 10px 30px 0 rgba(105, 63, 63, 0.16);
}





/*############################################################## */
/* CLASSI FONT */
/*############################################################## */

* {
  font-family: var(--font-1);
}

.font-1 {
  font-family: var(--font-1);
}

.font-2 {
  font-family: var(--font-2);
}







/*############################################################## */
/* COLORI DEL TESTO E SFONDI */
/*############################################################## */

.first-color {
  color: var(--first-color) !important;
}

.second-color {
  color: var(--second-color) !important;
}

.third-color {
  color: var(--third-color) !important;
}

.white-color {
  color: var(--white-color) !important;
}

.black-color {
  color: var(--black-color) !important;
}

.first-bg {
  background-color: var(--first-color);
}

.first-bg-1 {
  background-color: var(--first-color-1);
}

.first-bg-2 {
  background-color: var(--first-color-2);
}

.first-bg-3 {
  background-color: var(--first-color-3);
}

.second-bg {
  background-color: var(--second-color);
}

.second-bg-1 {
  background-color: var(--second-color-1);
}

.second-bg-2 {
  background-color: var(--second-color-2);
}

.second-bg-3 {
  background-color: var(--second-color-3);
}

.third-bg {
  background-color: var(--third-color);
}

.third-bg-1 {
  background-color: var(--third-color-1);
}

.third-bg-2 {
  background-color: var(--third-color-2);
}

.third-bg-3 {
  background-color: var(--third-color-3);
}

.white-bg {
  background-color: var(--white-color) !important;
}

.box-shadow-1 {
  box-shadow: var(--box-shadow-1);
}



/*############################################################## */
/* DIMENSIONI E FORMATTAZIONE DEL TESTO E DEGLI EDITOR */
/*############################################################## */

.section-label {
  display: inline-block;
  font-family: var(--section-label-font-family);
  text-transform: var(--section-label-text-transform);
  /*font-weight: var(--section-label-font-weight);*/
  font-size: var(--section-label-font-size);
  color: var(--first-color);
}

.heading-1 {
  font-family: var(--font-2);
  font-size: var(--heading-1-font-size);
  text-transform: var(--heading-1-text-transform);
  font-weight: var(--heading-1-font-weight);
  line-height: var(--heading-1-line-height);
}

.heading-2 {
  font-family: var(--font-2);
  font-size: var(--heading-2-font-size);
  text-transform: var(--heading-2-text-transform);
  font-weight: var(--heading-2-font-weight);
  line-height: var(--heading-2-line-height);
}

.heading-3 {
  font-family: var(--font-2);
  font-size: var(--heading-3-font-size);
  text-transform: var(--heading-3-text-transform);
  font-weight: var(--heading-3-font-weight);
  line-height: var(--heading-3-line-height);
}


.heading-page {
  font-family: var(--font-2);
  font-size: var(--heading-3-font-size);
  text-transform: var(--heading-3-text-transform);
  font-weight: var(--heading-1-font-weight);
  line-height: var(--heading-3-line-height);
}

.heading-4 {
  font-family: var(--font-2);
  font-size: var(--heading-4-font-size);
  text-transform: var(--heading-4-text-transform);
  font-weight: var(--heading-4-font-weight);
  line-height: var(--heading-4-line-height);
}

.heading-5 {
  font-family: var(--font-2);
  font-size: var(--heading-5-font-size);
  text-transform: var(--heading-5-text-transform);
  font-weight: var(--heading-5-font-weight);
  line-height: var(--heading-5-line-height);
}

.heading-6 {
  font-family: var(--font-2);
  font-size: var(--heading-6-font-size);
  text-transform: var(--heading-6-text-transform);
  font-weight: var(--heading-6-font-weight);
  line-height: var(--heading-6-line-height);
}

p {
  font-family: var(--paragraphs-font-family);
  font-size: var(--paragraphs-font-size);
  color: var(--black-color);
  text-transform: var(--paragraphs-text-transform);
  font-weight: var(--paragraphs-font-weight);
  line-height: var(--paragraphs-line-height);
  margin-top: 0;
  margin-bottom: 0;
}

ul {
  padding-left: 18px;
}

ul li {
  font-family: var(--paragraphs-font-family);
  font-size: var(--paragraphs-font-size);
  text-transform: var(--paragraphs-text-transform);
  line-height: var(--paragraphs-line-height);
}

.border-rad {
  border-radius: var(--radius-base);
}







/*############################################################## */
/* LINK E ANCORE */
/* ############################################################## */
a {
  color: var(--first-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--first-color-2);
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--first-color-3);
  outline-offset: 2px;
}



.icam-red{
  color: var(--first-color);
}



/*############################################################## */
/* PULSANTI */
/*############################################################## */
.btn-custom,
#gform_submit_button_1,
#gform_submit_button_2 {
  width: auto !important;
  display: inline-block !important;
  padding: 12px 30px;
  font-family: var(--font-2);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-base);
  border: 2px solid transparent;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-custom:hover,
.btn-custom:focus,
#gform_submit_button_1:hover,
#gform_submit_button_1:focus,
#gform_submit_button_2:hover,
#gform_submit_button_2:focus,
.btn-custom:active,
#gform_submit_button_1:active,
#gform_submit_button_2:active {
  color: inherit;
}

.btn-custom,
.btn-custom:hover,
.btn-custom:focus,
.btn-custom:active {
  text-decoration: none;
}

/* Bottone primario - rosso */
.btn-primary-custom,
#gform_submit_button_1,
#gform_submit_button_2 {
  background-color: var(--first-color);
  color: var(--white-color);
}

.btn-primary-custom:hover,
#gform_submit_button_1:hover,
#gform_submit_button_2:hover {
  background-color: var(--first-color-1);
  color: var(--white-color);
}

.btn-primary-custom:active,
#gform_submit_button_1:active,
#gform_submit_button_2:active,
.btn-primary-custom:focus,
#gform_submit_button_1:focus,
#gform_submit_button_2:focus {
  background-color: var(--first-color-2);
  color: #ffffff !important;
}

/* Bottone secondario - nero */
.btn-dark-custom {
  background-color: var(--black-color);
  color: var(--white-color);
}

.btn-dark-custom:hover {
  background-color: #222;
  color: var(--white-color);
}

.btn-dark-custom:active {
  background-color: #000;
}

/* Bottone outline chiaro - bianco con bordo nero */
.btn-outline-custom {
  background-color: var(--third-color);
  color: var(--black-color);
  border: 2px solid var(--black-color);
}

.btn-outline-custom:hover {
  background-color: var(--black-color);
  color: var(--white-color);
}

.btn-outline-custom:active {
  background-color: var(--second-color);
}

/* Bottone outline rosso */
.btn-outline-red-custom {
  background-color: var(--white-color);
  color: var(--first-color);
  border: 2px solid var(--first-color);
}

.btn-outline-red-custom:hover {
  background-color: var(--first-color-3);
  color: var(--first-color);
}

.btn-outline-red-custom:active {
  background-color: var(--first-color);
  color: var(--white-color);
}

/* Focus-visible per accessibilità */
.btn-custom:focus-visible {
  outline: 3px solid var(--first-color-3);
  outline-offset: 3px;
}













/*############################################################## */
/* STILI SPECIFICI PER IL TEMPLATE DI PAGINA - INTESTAZIONE */
/*############################################################## */
.label-slider {
  background-color: var(--first-color);
  text-transform: uppercase;
}

/* ################################################ */
/* STILI SPECIFICI PER alert */
/* ################################################ */
.alert-rimuovi-filtro {
  background-color: var(--first-color-3);
  color: var(--first-color);
  border: 2px solid var(--first-color);
  border-radius: var(--radius-base);
  padding: 15px 20px;
}

.alert-rimuovi-filtro p {
  color: var(--first-color);
}

.alert-rimuovi-filtro a {
  display: inline-block;
  padding: 0.2rem 1rem;
  font-family: var(--font-2);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-base);
  transition: all 0.25s ease;
  cursor: pointer;
}


















.box-grigio {
  position: relative;
}

.box-grigio::after {
  content: "";
  height: 100%;
  width: 100%;
  top: 50%;
  border-radius: var(--radius-base);
  left: 50%;
  background-color: var(--third-color);
  transform: translate(-50%, -50%);
  position: absolute;
}


.box-white {
  position: relative;
}

.box-white::after {
  content: "";
  height: 105%;
  width: 105%;
  top: 50%;
  border-radius: var(--radius-base);
  left: 50%;
  background-color: var(--white-color);
  transform: translate(-50%, -50%);
  position: absolute;
}













/* ############################################################## */
/* STILE FORM */
/* ############################################################## */

#gform_1 label,
#gform_2 label,
#gform_1 legend,
#gform_2 legend {
  font-weight: 600;
  font-size: var(--paragraphs-font-size);
  line-height: 1;
}

#label_1_14_0,
#label_1_14_1 {
  font-weight: 300 !important;
}

#gform_1 .gfield--type-checkbox label,
#gform_2 .gfield--type-checkbox label,
#gform_1 .gfield--type-checkbox label a,
#gform_2 .gfield--type-checkbox label a {
  font-weight: 400 !important;
}

.gform_required_legend {
  margin: 2% auto;
}

#gform_1 .gfield_consent_label,
#gform_2 .gfield_consent_label {
  font-weight: 400;
  font-size: var(--paragraphs-font-size);
  line-height: 0;
}

#gform_1 .gchoice,
#gform_2 .gchoice {
  align-items: start;
}

#gform_1 .gfield_consent_label a,
#gform_2 .gfield_consent_label a {
  font-weight: 400;
}

#gform_1 #field_1_12,
#gform_2 #field_2_12 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
}

#gform_1 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
#gform_2 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
#gform_1 textarea,
#gform_2 textarea,
#gform_1 select,
#gform_2 select {
  border: 1px solid #EEEEEE;
  box-shadow: none;
  border-radius: var(--radius-base);
}

#gform_1 .gfield--type-submit {
  justify-content: center;
}

#gform_submit_button_1,
#gform_submit_button_1.gform-button--width-full,
input[type="submit"]#gform_submit_button_1.gform-button.gform-button--white.button.gform-button--width-full {
  width: fit-content !important;
  inline-size: fit-content !important;
  display: block !important;
}