/*############################################################## */
/* 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: 14px;
  /* 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: 40px;
  /* da grafica - desktop: 60px*/
  --heading-1-font-weight: bold;
  --heading-1-line-height: 45px;

  --heading-2-font-family: var(--font-2);
  --heading-2-font-size: 35px;
  /* da grafica - desktop: 50px*/
  --heading-2-font-weight: bold;
  --heading-2-line-height: 40px;

  --heading-3-font-family: var(--font-2);
  --heading-3-font-size: 32px;
  /* da grafica - desktop: 40px*/
  --heading-3-font-weight: bold;
  --heading-3-line-height: 37px;

  --heading-4-font-family: var(--font-2);
  --heading-4-font-size: 25px;
  /* da grafica - desktop: 30px*/
  --heading-4-font-weight: bold;
  --heading-4-line-height: 1.3;

  --heading-5-font-family: var(--font-2);
  --heading-5-font-size: 21px;
  /* da grafica - desktop: 26px*/
  --heading-5-font-weight: bold;
  --heading-5-line-height: 1.4;

  --heading-6-font-family: var(--font-2);
  --heading-6-font-size: 16px;
  /* da grafica - desktop: 20px*/
  --heading-6-font-weight: bold;
  --heading-6-line-height: 20px;

  --paragraphs-font-family: var(--font-1);
  --paragraphs-font-size: 15px;
  /* da grafica - desktop: 16px*/
  --paragraphs-font-weight: 400;
  --paragraphs-line-height: 27px;

  --menu-items-font-size: 16px;
  --title-card-font-size: 21px;
  /* 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);
}

.box-shadow-2 {
  box-shadow: 0px 3px 20px #00000029;
}



/*############################################################## */
/* DIMENSIONI E FORMATTAZIONE DEL TESTO E DEGLI EDITOR */
/*############################################################## */

.section-label {
  display: inline-block;
  font-weight: var(--section-label-font-weight);
  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,
#editor h1 {
  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,
#editor h2 {
  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);
}

#editor h2 {
  padding: 10px 0 10px 0;
}

.heading-3,
#editor h3 {
  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);
}

#editor h3 {
  padding: 30px 0 10px 0;
}


.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,
#editor h4 {
  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);
}

#editor h4 {
  padding: 30px 0 10px 0;
}


.heading-5,
#editor h5 {
  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);
}

#editor h5 {
  padding: 40px 0 8px 0;
}

.heading-6,
#editor h6 {
  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,
#editor 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: 15px;
}

#editor h1:first-child,
#editor h2:first-child,
#editor h3:first-child,
#editor h4:first-child,
#editor h5:first-child,
#editor h6:first-child {
  padding-top: 0;
}

#editor ul li {
  position: relative;
}

ul,
#editor ul {
  padding-left: 18px;
  list-style-position: inside;
  /* margin-bottom: 30px; */
  list-style-type: none;
}

#editor ul li {
  padding-bottom: 5px;
}

ul li ul,
#editor ul li ul {
  padding-left: 25px;
}

ul li ul li ul,
#editor ul li ul li ul {
  padding-left: 35px;
}


ul li,
#editor ul li,
ul li ul li,
#editor ul li ul li,
ul li ul li ul li,
#editor ul li ul li 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);
  margin-bottom: 0px;
}

#editor ul li::before,
#editor ul li ul li::before,
#editor ul li ul li ul li::before {
  content: "•";
  color: var(--first-color);
  font-weight: bold;
  display: inline-block;
  font-size: 30px;
  margin-right: 7px;
  line-height: 25px;
  position: absolute;
  top: 2px;
  left: -18px;
}

#editor ul li ul li::before,
#editor ul li ul li ul li::before {
  color: #000;
}

.border-rad {
  border-radius: var(--radius-base);
}

#editor blockquote {
  padding: 40px;
  margin: 30px 0;
  background-color: var(--third-color);
  border-radius: var(--radius-base);
  font-family: var(--font-2);
  font-style: italic;
}

#editor blockquote * {
  color: #777777;
}

#editor a {
  font-family: var(--font-2);
  color: var(--first-color);
  font-weight: bold;
}


#editor h1 strong,
#editor h1 b,
#editor h1 em,
#editor h2 strong,
#editor h2 b,
#editor h2 em,
#editor h3 strong,
#editor h3 b,
#editor h3 em,
#editor h4 strong,
#editor h4 b,
#editor h4 em,
#editor h5 strong,
#editor h5 b,
#editor h5 em,
#editor h6 strong,
#editor h6 b,
#editor h6 em {
  font-family: var(--font-2);
  font-weight: bold;
}

#editor .wp-video {
  float: right;
  margin-left: 150px;
  width: 350px !important;
} 

/*############################################################## */
/* 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: bold;
  font-size: var(--paragraphs-font-size);
  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(--black-color);
  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;
  padding: 4px 15px;
  display: inline-block;
}

/* ################################################ */
/* 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);
  margin-bottom: 0;
}

.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;
  margin: 20px 0 50px 0;
}

.box-grigio::after {
  content: "";
  height: calc(100% + 30px);
  width: 103%;
  top: 50%;
  border-radius: var(--radius-base);
  left: 50%;
  background-color: var(--third-color);
  transform: translate(-50%, -50%);
  position: absolute;
}

.settori-inquinanti-prodotto .box-grigio::after {
  content: "";
  height: 110%;
  width: 103%;
  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: flex-start;
}

#gform_1 .ginput_container_consent,
#gform_2 .ginput_container_consent,
#gform_1 .gfield_checkbox .gchoice,
#gform_2 .gfield_checkbox .gchoice {
  display: flex;
  align-items: flex-start;
}

#gform_1 .ginput_container_consent input[type="checkbox"],
#gform_2 .ginput_container_consent input[type="checkbox"],
#gform_1 .gfield_checkbox input[type="checkbox"],
#gform_2 .gfield_checkbox input[type="checkbox"] {
  position: relative;
  top: 0;
  flex: 0 0 auto;
  margin-top: 0;
}

#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: flex-start;
  align-items: flex-start;
}

#gform_1 #field_1_12 .ginput_container_consent,
#gform_2 #field_2_12 .ginput_container_consent {
  align-items: flex-start;
  margin-top: 0;
}

#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;
}