/* GANTRY5 DEVELOPMENT MODE ENABLED.
 *
 * WARNING: This file is automatically generated by Gantry5. Any modifications to this file will be lost!
 *
 * For more information on modifying CSS, please read:
 *
 * http://docs.gantry.org/gantry5/configure/styles
 * http://docs.gantry.org/gantry5/tutorials/adding-a-custom-style-sheet
 */

@charset "UTF-8";
.g-content {
  margin: 0.625rem;
  padding: 1.5rem;
}
.g-flushed .g-content {
  margin: 0;
  padding: 0;
}
body {
  font-size: 1rem;
  line-height: 1.5;
}
h1 {
  font-size: 2.25rem;
}
h2 {
  font-size: 1.9rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.15rem;
}
h5 {
  font-size: 1rem;
}
h6 {
  font-size: 0.85rem;
}
small {
  font-size: 0.875rem;
}
cite {
  font-size: 0.875rem;
}
sub, sup {
  font-size: 0.75rem;
}
code, kbd, pre, samp {
  font-size: 1rem;
  font-family: "Menlo", "Monaco", monospace;
}
textarea, select[multiple=multiple], input[type="color"], input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="email"], input[type="month"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"], input[type="text"], input[type="time"], input[type="url"], input[type="week"], input:not([type]) {
  border-radius: 0.1875rem;
}
/* PERSONALIZZAZIONE FONT */
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url('../fonts/atkinson-hyperlegible-next.woff2') format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url('../fonts/atkinson-hyperlegible-next-italic.woff2') format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
/* Variabili principali */
:root {
  /* Font */
  --font-base: "Atkinson Hyperlegible Next", Arial, sans-serif;
  --font-heading: "Atkinson Hyperlegible Next", Helvetica, sans-serif;
  /* Pesi */
  --font-weight-normal: 400;
  --font-weight-bold: 700;
  /* Dimensioni base */
  --font-size-base: 1rem;
  /* 16px */
  /* Intestazioni (gerarchia scalabile) */
  --font-size-h1: 2.5rem;
  /* 40px */
  --font-size-h2: 2rem;
  /* 32px */
  --font-size-h3: 1.75rem;
  /* 28px */
  --font-size-h4: 1.5rem;
  /* 24px */
  --font-size-h5: 1.25rem;
  /* 20px */
  --font-size-h6: 1.1rem;
  /* 17.6px */
}
/* Link accessibili solo all’interno dell’articolo */
[itemprop="articleBody"] a {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
}
/* Stato hover e focus – leggermente più scuro per feedback visivo */
[itemprop="articleBody"] a:hover, [itemprop="articleBody"] a:focus {
  color: #d4173d;
  text-decoration-thickness: 1.5px;
}
/* Corpo del testo */
body {
  font-family: var(--font-base);
  font-weight: var(--font-weight-normal);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: #222;
  background-color: #fff;
}
/* Intestazioni */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  margin: 1em 0 0.5em;
}
.jl-h1, .jl-h2, .jl-h3, .jl-h4, .jl-h5, .jl-h6, .jl-heading-2xlarge, .jl-heading-large, .jl-heading-medium, .jl-heading-small, .jl-heading-xlarge {
  font-family: var(--font-heading);
}
/* Dimensioni differenziate */
h1 {
  font-size: var(--font-size-h1);
}
h2 {
  font-size: var(--font-size-h2);
}
h3 {
  font-size: var(--font-size-h3);
}
h4 {
  font-size: var(--font-size-h4);
}
h5 {
  font-size: var(--font-size-h5);
}
h6 {
  font-size: var(--font-size-h6);
}
/* Adattamento responsive */
@media (max-width: 768px) {
  :root {
    --font-size-h1: 2rem;
    --font-size-h2: 1.75rem;
    --font-size-h3: 1.5rem;
    --font-size-h4: 1.3rem;
    --font-size-h5: 1.15rem;
    --font-size-h6: 1rem;
  }
}
h3.tm-title.jl-margin-remove-bottom.jl-text-uppercase.jl-h4 {
  font-family: var(--font-heading);
}
.el-horiz-nav {
  padding: 0 0rem;
  margin: 0 0rem;
}
em {
  color: #d4173d;
}
/* Stile personalizzato per gli H1 nelle pagine con body._1522page */
body._1522page h1, body._1522page .jl-article .jl-article-title {
  font-size: var(--font-size-h1);
  font-family: var(--font-heading);
  font-weight: 900;
  /* bold pesante */
  text-transform: uppercase;
  /* tutto maiuscolo */
  color: #d4173d;
  /* colore personalizzato */
  line-height: 1.2;
  margin: 1em 0 0.5em;
}
@media (max-width: 768px) {
  body._1522page h1, body._1522page .jl-article .jl-article-title {
    font-size: 2rem;
  }
}
/*lascia il sito sticky*/
.my-sticky-module {
  top: 0;
  position: sticky;
}
/* ==========================================================================
   Testo di apertura della home (modulo 193, classe «testo-home») 
   SOLO SMARTPHONE (desktop invariato, 32px come gli altri h2).
   DIMENSIONE: cambiare il valore qui sotto.
   ========================================================================== */
@media (max-width: 768px) {
  .testo-home h2 {
    font-size: 1.375rem;
    /* 22px (gli altri h2 su smartphone: 28px) */
  }
}
/* ================================
   SEZIONE: faq
   ================================ */
/* Struttura base */
.faq details {
  border: 1px solid #ccc;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  background-color: #fff;
  transition: background-color 0.3s ease;
}
.faq details[open] {
  background-color: #f9f9f9;
}
/* Domanda */
.faq summary {
  cursor: pointer;
  list-style: none;
  /* nasconde il triangolino di default */
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
  /* nasconde il marker di default anche su Safari */
}
.faq summary:focus {
  outline: 2px solid #005fcc;
  border-radius: 4px;
}
/* Icona + / - */
.faq-icon {
  display: inline-block;
  width: 1em;
  text-align: center;
  margin-right: 0.75rem;
  font-weight: bold;
  font-size: 1.25em;
  color: #d4173d;
  /* colore personalizzabile */
}
.faq details:not([open]) .faq-icon::before {
  content: "+";
}
.faq details[open] .faq-icon::before {
  content: "–";
}
/* Risposta */
.faq details div {
  margin-top: 0.75rem;
  font-size: 1rem;
  line-height: 1.6;
}
/* ================================
   SEZIONE: Mappatura
   ================================ */
.mappatura-regione {
  font-family: "Atkinson Hyperlegible Next", sans-serif;
  color: #4f4d4d;
  line-height: 1.6;
  font-size: 1rem;
}
.mappatura-regione .provincia-titolo {
  color: #d4173d;
  font-size: 1.2rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.mappatura-regione .centro {
  margin-left: 1.5rem;
}
.mappatura-regione .centro p {
  margin-bottom: 0.4rem;
}
.mappatura-regione .telefono {
  color: #d4173d;
  text-decoration: underline;
}
.mappatura-regione .telefono:hover {
  text-decoration: none;
}
.mappatura-regione .divisore {
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1.5rem 0;
}
/* ================================
   SEZIONE: Referenti regionali
   ================================ */
.mappatura-regioni a {
  text-decoration: underline !important;
  color: #d4173d;
}
.mappatura-regioni a:focus, .mappatura-regioni a:hover {
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
  color: #B11131;
  /* colore più scuro per l’hover */
}
.mappatura-regioni ol {
  list-style: decimal;
  padding-left: 1.5rem;
}
.mappatura-regioni ul {
  list-style: none;
  padding-left: 1rem;
}
.mappatura-regioni li {
  margin-bottom: 0.3rem;
}
.mappatura-regioni h4 {
  margin-top: 1rem;
  font-size: 1.1rem;
}
/* ================================
   SEZIONE: Link utili (stile 1522)
   ================================ */
.link-utili {
  color: #4f4d4d;
  line-height: 1.7;
}
.link-utili ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.link-utili li {
  margin-bottom: 1.2rem;
  padding-left: 1.2rem;
  position: relative;
}
.link-utili li::before {
  content: "›";
  color: #d4173d;
  position: absolute;
  left: 0;
  font-size: 1.3rem;
  line-height: 1;
}
.link-utili a {
  color: #d4173d;
  text-decoration: underline;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease-in-out;
}
.link-utili a:hover, .link-utili a:focus {
  color: #a91130;
  text-decoration-thickness: 2px;
  outline: none;
}
.link-utili small {
  display: block;
  color: #4f4d4d;
  font-size: 0.9rem;
  margin-top: 0.25rem;
  line-height: 1.5;
}
/* Accessibilità: contrasto e focus */
.link-utili a:focus-visible {
  outline: 2px solid #d4173d;
  outline-offset: 2px;
  border-radius: 2px;
}
/*stili banner home*/
h3.el-title.jl-margin-remove-bottom.jl-h2.jl-margin-small-top.jl-text-bolder {
  font-family: var(--font-heading);
  line-height: 30px;
}
h2.el-title.jl-margin-remove-bottom.jl-h2.jl-margin-small-top.jl-text-bolder {
  font-family: var(--font-heading);
  line-height: 30px;
}
.jl-grid-divider > :not(.jl-first-column)::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  border-left: 2px solid #d4173d;
}
/* ================================
   SEZIONE: App (stile 1522)
   ================================ */
.app-download-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  /* spazio orizzontale/verticale tra i pulsanti */
  margin-top: 1.5rem;
}
.app-download-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 220px;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  transition: background 0.3s ease, transform 0.2s ease;
}
.app-download-buttons a i {
  margin-right: 8px;
  font-size: 1.25rem;
}
/* Effetto hover/focus accessibile */
.app-download-buttons a:hover, .app-download-buttons a:focus {
  transform: translateY(-2px);
  outline: 2px solid #000;
  outline-offset: 2px;
}
/* --- Disposizione verticale su schermi piccoli --- */
@media (max-width: 640px) {
  .app-download-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .app-download-buttons a {
    width: 100%;
  }
}
/* Accessibilità: contrasto e focus */
.jl-article-meta {
  color: #7B1967;
}
html {
  scroll-padding-bottom: 120px;
}
#g-copyright {
  padding-bottom: 60px;
}
@media (max-width: 767px) {
  #g-copyright {
    padding-bottom: 100px;
  }
  html {
    scroll-padding-bottom: 100px;
  }
}
/* ==========================================================================
   FIX DISTANZA BOX HOME MOBILE (Specificità UIkit)
   ========================================================================== */
@media only all and (max-width: 59.99rem) {
  /* Usiamo il contenitore principale */
  .jlfeaturebox-4982 {
    /* 1. Spazio TRA i box (margine superiore per quelli che vanno a capo) */
    /* 2. Spazio SOTTO l'ultimo box (E' VIOLENZA SE) */
    /* Usiamo :last-child per colpire l'ultimo elemento del contenitore */
    /* In alcuni casi UIkit usa il margine tra griglie adiacenti */
  }
  .jlfeaturebox-4982.jl-grid > .jl-grid-margin {
    margin-top: 90px !important;
  }
  .jlfeaturebox-4982 > div:last-child {
    margin-bottom: 90px !important;
  }
  .jlfeaturebox-4982.jl-grid + .jl-grid {
    margin-top: 90px !important;
  }
}
@media (max-width: 959px) {
  .jlfeaturebox-4982.jl-grid > * + * {
    margin-top: 90px !important;
  }
}
/* ==========================================================================
   Linguetta «Cookie policy» del plugin GDPR (.cc-revoke) 
   ========================================================================== */
body {
  position: relative;
}
body .cc-revoke.cc-bottom {
  position: absolute;
  bottom: 0;
}
/* ==========================================================================
   Selettore lingue GPTranslate (finestra flottante)
   ========================================================================== */
#gpt_float_wrapper {
  bottom: 0 !important;
  line-height: 0;
}
#gpt_float_wrapper .gpt_float_switcher {
  vertical-align: bottom;
  line-height: 20px;
}
/* ==========================================================================
   Selettore lingue GPTranslate in ALTO — SOLO SMARTPHONE 
   ========================================================================== */
:root {
  --lingue-striscia-colore: #fce6ed;
  --lingue-striscia-altezza: 40px;
}
@media (max-width: 767px) {
  body::before {
    content: "";
    display: block;
    height: var(--lingue-striscia-altezza);
    background: var(--lingue-striscia-colore);
  }
  #gpt_float_wrapper {
    position: absolute !important;
    top: 0 !important;
    bottom: auto !important;
    left: auto !important;
    right: 12px;
    margin: 0 !important;
  }
  #gpt_float_wrapper div.gpt_float_switcher {
    display: flex;
    flex-direction: column-reverse;
    background: transparent;
    box-shadow: none;
    font-size: 16px;
  }
  #gpt_float_wrapper div.gpt_float_switcher .gt-selected {
    background: transparent;
  }
  #gpt_float_wrapper div.gpt_float_switcher .gpt-current-lang {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    height: var(--lingue-striscia-altezza);
    padding: 0;
    font-size: 16px;
  }
  #gpt_float_wrapper div.gpt_float_switcher img.gptranslate-flag, #gpt_float_wrapper div.gpt_float_switcher svg.svg-inline--fa {
    width: 24px;
    margin: 0;
  }
  #gpt_float_wrapper div.gpt_float_switcher .gpt_float_switcher-arrow {
    scale: 1 -1;
  }
  #gpt_float_wrapper div.gpt_float_switcher .gpt_options {
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    max-height: 60vh;
    overflow-y: auto;
  }
}
/* ==========================================================================
   Pulsante dell'accessibilità (DJ-Accessibility, immagine personalizzata)
   ========================================================================== */
.djacc__openbtn.djacc__openbtn--custom {
  --acc-bordo: 1px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 var(--acc-bordo) #fff, 0 4px 10px rgba(0, 0, 0, 0.25);
}
.djacc__openbtn.djacc__openbtn--custom img {
  display: block;
  width: 100%;
  height: 100%;
  transform: scale(1.094);
}
/* ================================
   SEZIONE: Mappatura – accordion regioni (file separato)
   ================================ */
/* ==========================================================================
   SEZIONE: Mappatura – accordion regioni (dati Ministero, agg. 02/07/2026)
   Stile ALLINEATO all'accordion .faq del sito (stesse regole).
   Classi usate nell'articolo: .mappa-acc / .mappa-acc-item / .mappa-acc-body
   ========================================================================== */
.mappa-acc {
  line-height: 1.6;
}
.mappa-acc > div:first-child {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}
/* Struttura base – identica alle FAQ */
.mappa-acc-item {
  border: 1px solid #ccc;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  background-color: #fff;
  transition: background-color 0.3s ease;
}
.mappa-acc-item[open] {
  background-color: #f9f9f9;
}
.mappa-acc-item > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  position: relative;
}
.mappa-acc-item > summary::-webkit-details-marker {
  display: none;
}
.mappa-acc-item > summary::before {
  content: "+";
  flex: 0 0 auto;
  width: 1em;
  text-align: center;
  margin-right: 0.75rem;
  font-weight: bold;
  font-size: 1.25em;
  color: #d4173d;
}
.mappa-acc-item > summary:focus {
  outline: 2px solid #005fcc;
  border-radius: 4px;
}
.mappa-acc-item[open] > summary::before {
  content: "–";
}
/* Contenuto della regione */
.mappa-acc-body {
  margin-top: 0.75rem;
  font-size: 1rem;
  line-height: 1.6;
}
.mappa-acc-body > div {
  margin: 0.15rem 0;
}
.mappa-acc-body a {
  color: #d4173d;
  text-decoration: underline;
}
.mappa-acc-body a:hover, .mappa-acc-body a:focus {
  text-decoration: none;
}
/* ==========================================================================
   Home: blocco testo + video sottotitolato
   NON usare font-size con clamp(... + vw ...): il compilatore di Gantry va in errore.
   ========================================================================== */
#g-slideshow:has(.video-1522) > .g-grid:last-child {
  padding: 15px 0 70px;
  /* sopra: video staccato dal menu; sotto: spazio prima della fascia rosa */
  align-items: flex-start;
}
#g-slideshow:has(.video-1522) .testo-home h2 {
  line-height: 1.2;
  max-width: 13.6em;
  /* a capo come nel mockup, con il titolo a 32 px */
  margin-bottom: 2.5rem;
  /* spazio tra titolo e bottone */
}
@media (min-width: 48rem) {
  /* titolo un po' più in basso del video */
  #g-slideshow:has(.video-1522) .testo-home {
    margin-top: 3rem;
  }
}
@media (max-width: 47.99rem) {
  /* smartphone: spazio tra bottone e video */
  #g-slideshow:has(.video-1522) .testo-home {
    margin-bottom: 2.5rem;
  }
}
/* Testo di apertura della home: spazio tra titolo e bottone anche SENZA video  */
.testo-home h2 {
  margin-bottom: 2.5rem;
}
/* Senza video: spazio tra il bottone e la fascia rosa  */
#g-slideshow:not(:has(.video-1522)) .testo-home {
  margin-bottom: 3rem;
}
/* Smartphone: titolo sempre stretto come nella versione con il video */
@media (max-width: 47.99rem) {
  .testo-home h2 {
    max-width: 13.6em;
  }
}
/* ==========================================================================
   Icone social nella fascia rosa (sezione Below) — SOLO SMARTPHONE 
   ========================================================================== */
:root {
  --social-mobile-colore: #7b1967;
  --social-mobile-dimensione: 1.25rem;
}
.social-mobile {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.social-mobile a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--social-mobile-colore);
  font-size: var(--social-mobile-dimensione);
}
.social-mobile a:hover, .social-mobile a:focus-visible {
  opacity: 0.75;
}
.social-mobile a:focus-visible {
  outline: 3px solid #1a1a1a;
  outline-offset: 2px;
}
@media (min-width: 48rem) {
  #g-below .g-block:has(.social-mobile) {
    display: none;
  }
}
/* Smartphone: fascia più bassa . Spazio sopra/sotto le
   icone: --social-mobile-spazio. */
@media (max-width: 47.99rem) {
  #g-below:has(.social-mobile) {
    --social-mobile-spazio: 12px;
    padding-top: var(--social-mobile-spazio);
    padding-bottom: var(--social-mobile-spazio);
  }
  #g-below:has(.social-mobile) .g-block:has(.social-mobile) .g-content {
    margin: 0;
    padding: 0;
  }
}
/* ==========================================================================
   Pagina «Download» (articolo 77)
   ========================================================================== */
.download-logo {
  --download-colore: #d4173d;
  --download-sfondo: #fff;
  --download-bordo: #e6c3cf;
}
.download-logo h2 {
  margin-top: 2.5rem;
}
.download-logo-griglia {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0 1rem;
}
.download-logo-scheda {
  border: 1px solid var(--download-bordo);
  padding: 1.25rem;
}
.download-logo-scheda h3 {
  margin-top: 0;
}
.download-logo-anteprima {
  background: var(--download-sfondo);
  border: 1px solid var(--download-bordo);
  margin-bottom: 1rem;
}
.download-logo-anteprima img {
  display: block;
  width: 100%;
  height: auto;
}
.download-logo-formati {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.download-logo-formati a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.75rem;
  min-height: 44px;
  padding: 0.55rem 0.9rem;
  border: 2px solid var(--download-colore);
  color: var(--download-colore);
  font-weight: 700;
  text-decoration: none;
}
.download-logo-formati a span {
  font-weight: 400;
  font-size: 0.9em;
  color: #444;
}
.download-logo-formati a:hover, .download-logo-formati a:focus-visible {
  background: var(--download-colore);
  color: #fff;
}
.download-logo-formati a:hover span, .download-logo-formati a:focus-visible span {
  color: #fff;
}
.download-logo-formati a:focus-visible {
  outline: 3px solid #1a1a1a;
  outline-offset: 2px;
}
/* Pulsanti rossi dentro gli articoli: al passaggio del mouse/focus testo SEMPRE
   bianco e sfondo appena più scuro (come «Parla con noi in chat» in home).
   Serve perché la regola dei link negli articoli ([itemprop="articleBody"] a:hover)
   li colorava di rosso: testo rosso su rosso, illeggibile. */
[itemprop="articleBody"] a.jl-button-primary:hover, [itemprop="articleBody"] a.jl-button-primary:focus {
  color: #fff;
  background-color: #bd1536;
  text-decoration: none;
}
/* Pulsante del manuale: niente sottolineatura, e se va a capo (smartphone) righe normali */
[itemprop="articleBody"] .jl-button {
  text-decoration: none;
  height: auto;
  min-height: 44px;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  line-height: 1.35;
}
/* Maiuscolo dal CSS, non nel testo (24/11/2026): Google traduce male il testo tutto maiuscolo */
.jl-navbar-nav > li > a, .tm-nav-mobile .jl-nav-default > li > a, .jlfeaturebox-4982 .el-title {
  text-transform: uppercase;
}
.tm-header .jl-navbar-left {
  flex-shrink: 0;
  margin-right: 30px;
}
.tm-header .jl-navbar-right {
  flex-wrap: nowrap;
}
.tm-header .jl-navbar-nav {
  min-width: 0;
}
.tm-header .jl-navbar-nav > li > a {
  max-width: 13em;
}
/*# sourceMappingURL=custom_21.css.map */