/* ==========================================================================
   Stili mobile (schermi fino a 1000px)
   Caricato con attributo media="screen and (max-width: 1000px)" in moduli/head.php
   ========================================================================== */

@media screen and (max-width: 1000px) {

  /* ---------- HEADER ---------- */
  header {
    min-height: 70px;
    position: absolute;
    z-index: 15;
  }
  header.fix {
    min-height: 70px;
    position: fixed;
  }

  header .barra .logo {
    position: relative;
    text-align: left;
    width: 230px;
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
  }
  header .barra .logo img {
    margin-top: 5px;
    height: 80px;
    padding: 5px;
  }
  header .barra .logo .text {
    padding-top: 0;
    padding-left: 10px;
    font-size: 1.1em;
    font-weight: 500;
    line-height: 1.2rem;
  }

  /* pulsante menu (hamburger) */
  header .menu {
    position: absolute;
    top: 25px;
    right: 15px;
    width: 40px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    z-index: 16;
  }
  header .menu .linea {
    width: 100%;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
    transform-origin: center;
  }
  header .menu.active .top {
    transform: translateY(13px) rotate(45deg);
  }
  header .menu.active .center {
    opacity: 0;
  }
  header .menu.active .bottom {
    transform: translateY(-13px) rotate(-45deg);
  }

  /* barra in alto con le icone */
  header .navtop ul {
    display: flex;
    flex-direction: row;
    justify-content: right;
    height: 30px;
  }
  header .navtop ul li {
    position: relative;
    padding: 0 5px;
    padding-left: 40px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
  }
  header .navtop ul li span.nascosto {
    display: none;
  }
  header .navtop ul li.info {
    margin-right: 0;
  }
  header .navtop ul li .svg svg {
    width: 30px;
    height: 30px;
    font-size: 30em;
  }
  header .navtop ul li:hover .svg {
    background-color: var(--scuro);
    color: #fff;
  }
  header .barra {
    position: relative;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
  }
  header .navtop ul li.socialicon {
    display: none;
  }

  /* icone tonde (menu, agenda, cerca) */
  header .icon {
    position: absolute;
    right: 10px;
    top: 15px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 1.8rem;
    cursor: pointer;
  }
  header .icon.menu span {
    font-size: 2.6rem;
    color: #fff;
  }
  header .icon.menu:hover span {
    font-size: 2.6rem;
    color: #ffde14;
  }
  header .icon.agenda {
    right: 110px;
    background-color: var(--scuro);
    border-radius: 25px;
    color: #fff;
    display: none;
  }
  header .icon.agenda:hover {
    color: #ffde14;
  }
  header .icon.cerca {
    right: 60px;
    background-color: var(--scuro);
    border-radius: 25px;
    color: #fff;
    display: none;
  }
  header .icon.cerca:hover {
    color: #ffde14;
  }

  header .giallo nav {
    color: #fff;
  }

  /* menu a schermo intero */
  header nav.fix {
    display: inline;
    height: 100vh;
    opacity: 1;
  }
  header nav {
    position: fixed;
    height: 100vh;
    width: 100%;
    color: #fff;
    margin: 0 auto;
    max-width: 1280px;
    z-index: 15;
    display: none;
    background-color: var(--scuro);
    top: 0;
    left: 0;
  }
  header nav .chiudimenu {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    font-size: 1.5em;
    display: block;
  }
  header nav .menu_mobile {
    display: block;
  }
  header nav.fix {
    display: block;
  }
  header nav.compact {
    margin-left: 0;
    width: 100%;
    padding: 20px;
  }
  header nav ul {
    padding-left: 50px;
    padding-top: 50px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: left;
  }
  header nav ul li {
    height: auto;
    line-height: normal;
    padding: 8px 15px;
    font-size: 1.5em;
    cursor: pointer;
    margin: 5px 0;
  }
  header nav ul li:hover {
    background-color: transparent;
    color: #fff;
  }
  header nav ul li span {
    position: absolute;
    top: 8px;
    left: -18px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
  }
  header nav ul li.bianco {
    width: 80%;
    margin-left: 5px;
  }

  /* box a discesa (agenda, ricerca) */
  header .openbox {
    position: relative;
    width: 100%;
    background-color: #fff;
    z-index: 4;
    opacity: 0;
  }
  @keyframes opacity {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
  header .openbox.active {
    opacity: 1;
  }
  header .openbox ul {
    display: flex;
    flex-direction: column;
    padding: 10px;
  }
  header .openbox ul li {
    position: relative;
    margin: 0;
    padding: 5px;
    font-size: 1rem;
    text-align: left;
    color: var(--scuro);
    cursor: pointer;
  }
  header .openbox ul li:hover {
    background-color: #ffde14;
  }

  /* sottomenu sotto l'header */
  header .sotto {
    position: relative;
    background-color: transparent;
    color: #fff;
    box-shadow: 0 0.5rem 1rem transparent !important;
  }
  header .sotto ul {
    position: relative;
    display: flex;
    flex-direction: column;
    max-width: 1480px;
    margin: 0 auto;
    padding-left: 0;
    padding: 0;
    color: #fff;
  }
  header .sotto ul li {
    padding: 5px 10px;
    width: 100%;
    color: #fff;
    margin: 0;
  }
  header .sotto ul li h3 {
    display: none;
  }
  header .sotto ul li ul {
    display: flex;
    flex-direction: column;
    padding: 0;
  }
  header .sotto ul li ul li {
    width: 100%;
    color: #fff;
    font-size: 1rem;
    padding: 5px;
  }
  header .sotto ul li img {
    display: none;
  }
  header .sotto ul li .agenda .risultati {
    display: none;
  }
  header .sotto .agenda ul.sel {
    border: 0;
  }
  header .sotto ul li a:link,
  header .sotto ul li a:visited {
    color: #fff;
  }
  header .sotto .agenda ul.sel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 5px 0;
  }
  header .sotto .agenda ul.sel li {
    font-weight: 600;
    background-color: transparent;
    border-radius: 5px;
    width: auto;
    padding: 5px;
    margin: 5px;
    color: var(--giallo);
  }

  /* ---------- TITOLI ---------- */
  h4.compatto {
    font-size: 1.6em;
    line-height: 1.8rem;
    font-weight: 800;
    padding-left: 50px;
    color: var(--grigiochiaro);
  }
  h1.compatto {
    font-size: 2.5em;
    line-height: 2.5rem;
    font-weight: 800;
    padding-bottom: 15px;
    color: var(--scuro);
  }
  h2.compatto {
    font-size: 2.5em;
    line-height: 2.5rem;
    font-weight: 800;
    padding-bottom: 15px;
    color: var(--grigio);
  }

  /* ---------- ORGANIGRAMMA ---------- */
  main .organigramma ul li {
    justify-content: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 30px 0;
  }
  main .organigramma ul li .box .img {
    width: 280px;
    height: 280px;
    margin: 10px;
    background-size: cover;
    background-position: center;
  }
  main .organigramma ul li .box {
    position: relative;
    width: 320px;
    margin: 5px auto;
    color: #333;
    fill: #666;
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
    height: 420px;
    overflow: hidden;
  }

  /* ---------- SLIDER DELLA HOME ---------- */
  #slide {
    position: relative;
    margin: 100px 0 0 0;
    padding: 0;
    width: 100%;
    height: 55vh;
    overflow: hidden;
    background-color: #fff;
  }
  #slide ul {
    position: absolute;
    width: 100%;
    height: 55vh;
  }
  #slide li {
    position: absolute;
    top: 0;
    width: 100%;
    right: 0;
    background-size: cover;
    cursor: pointer;
    height: 55vh;
    overflow: hidden;
  }
  #slide .conte {
    padding: 0;
  }
  #slide .sopra {
    position: absolute;
    margin-top: 0;
    width: 100%;
    background-size: cover;
    background-position: center;
    height: 55vh;
    overflow: hidden;
    z-index: 2;
    top: 0;
    bottom: auto;
  }
  #slide .colonna {
    position: absolute;
    width: 100%;
    left: 0;
    padding: 10vh 20px 0;
    margin: 0 auto;
    bottom: 0;
    transform: translateX(0);
    z-index: 6;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0));
  }
  #slide .colonna .conte {
    float: right;
  }
  #slide .colonna.center {
    left: 10%;
    transform: translateX(-50%);
    padding: 40px;
    right: auto;
    text-align: center;
  }
  #slide .colonna.left {
    left: 0;
    padding: 40px 10% 40px 40px;
  }
  #slide .colonna.right {
    right: 0;
    left: auto;
    padding: 40px 40px 40px 10%;
  }
  @keyframes vento {
    0% {
      transform: translateY(0) rotate(0) scale(1);
      opacity: 0.5;
    }
    50% {
      transform: translateY(-4px) rotate(2deg) scale(1.03);
      opacity: 0.8;
    }
    100% {
      transform: translateY(0) rotate(0) scale(1);
      opacity: 0.5;
    }
  }
  #slide h2,
  #slide h3,
  #slide p {
    display: block;
    opacity: 0;
    animation-fill-mode: forwards;
  }
  #slide .slides1_on h2,
  #slide .slides1_on h3,
  #slide .slides1_on p {
    display: block;
    opacity: 0;
    animation-fill-mode: forwards;
  }
  #slide .slides1_on h2 {
    font-size: 2rem;
    font-family: Mostra, serif;
    line-height: 1.2em;
    font-weight: 600;
    text-align: right;
    padding: 10px;
    color: #fff;
    animation: fade-in 1s forwards;
    animation-fill-mode: forwards;
  }
  #slide .slides1_on h3 {
    font-size: 1.5rem;
    line-height: 1.2em;
    font-family: Mostra, serif;
    font-weight: 600;
    text-align: right;
    padding: 0 10px;
    animation: fade-in 1s forwards;
    animation-fill-mode: forwards;
  }
  #slide .slides1_on p {
    font-size: 1.3rem;
    line-height: 1.2em;
    padding: 5px 10px;
    text-align: right;
    animation: fade-in 1s forwards;
    animation-fill-mode: forwards;
    color: #fff;
  }
  @keyframes fade-in {
    to {
      opacity: 1;
    }
  }
  @keyframes fade-out {
    to {
      opacity: 0;
    }
  }
  #slide .colonna.right {
    right: 0;
  }
  #slide .colonna.center {
    right: 25%;
  }
  #slide .colonna.right {
    right: 0;
  }
  #slide h3 {
    font-size: 3em;
    padding: 10px;
    font-family: "open sans condensed", sans-serif;
  }
  #slide h2 {
    font-family: "open sans condensed", sans-serif;
    font-size: 4rem;
    line-height: 3.6rem;
    padding: 10px;
    font-weight: 600;
  }
  #slide p {
    padding: 20px 10px;
    font-size: 2em;
  }
  #slide button {
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
    padding: 10px 10px;
    border-radius: 0;
    font-size: 0.91em;
    border: 0;
    margin: 0;
    cursor: pointer;
  }
  /* indicatori (pallini) dello slider */
  #slide .slides_tabs {
    height: 50px;
    position: absolute;
    display: flex;
    justify-content: right;
    bottom: -50px;
    right: 50px;
    z-index: 5;
  }
  #slide .slides_tabs li {
    position: relative;
    margin: 5px;
    height: 10px;
    overflow: hidden;
    width: 50px;
    background-color: var(--scuro);
    cursor: pointer;
  }
  #slide .slides_tabs li a:link {
    color: var(--scuro);
    display: block;
    text-align: center;
  }
  #slide .slides_tabs li.slides_here {
    background-color: var(--celeste);
  }
  #slide .slides_tabs li.slides_here a:link {
    color: var(--celeste);
  }

  /* ---------- CLUB ---------- */
  main.club span.subcat {
    display: none;
  }
  main.club span.club {
    display: none;
  }

  /* ---------- SEZIONI GENERALI ---------- */
  section {
    position: relative;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    overflow: hidden;
  }
  section.minheight {
    min-height: 800px;
  }

  /* ---------- CHI SIAMO ---------- */
  #about {
    position: relative;
    padding: 20px 0;
  }
  #about .flex {
    display: flex;
    flex-direction: column-reverse;
  }
  #about .flex .colonna {
    width: 100%;
    padding: 20px;
  }
  #about .flex .colonna h1 {
    font-size: 2em;
    font-weight: 600;
    color: var(--scuro);
    font-family: Mostra, serif;
    padding: 20px 0;
  }
  #about .flex .colonna h2 {
    font-size: 1.1em;
    font-weight: 400;
    color: var(--grigio);
  }
  #about .flex .colonna p {
    font-size: 1.2em;
    line-height: 1.5em;
    font-weight: 300;
  }
  #about .flex .colonna button {
    font-size: 1em;
    font-weight: 300;
    background-color: var(--scuro);
    color: #fff;
    border: 0;
    border-radius: 5px;
    padding: 10px 20px;
    margin: 20px 0;
    cursor: pointer;
  }
  #about .flex .colonna button:hover {
    background-color: var(--giallo);
    color: var(--scuro);
  }
  #about .flex .img {
    position: relative;
    width: 100%;
  }
  #about .flex .img img {
    float: left;
    width: 100%;
    height: auto;
  }
  #about ul.numeri {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }
  #about ul.numeri li {
    width: 46%;
    margin: 2%;
    padding: 20px;
    background-color: var(--chiaro);
    text-align: center;
    border-radius: 20px;
  }
  #about ul.numeri li .big {
    position: relative;
    font-size: 2em;
    color: var(--scuro);
  }
  #about ul.numeri li .big span {
    font-size: 1.8rem;
    position: absolute;
    right: 0;
    top: 5px;
    color: var(--giallo);
  }
  #about ul.numeri li .testo {
    font-size: 0.9rem;
  }

  /* ---------- OBIETTIVI ---------- */
  #obiettivi .flex {
    display: flex;
    flex-direction: column;
  }
  #obiettivi .colonna {
    width: 100%;
  }
  #obiettivi .conte {
    width: 100%;
  }
  #obiettivi ul {
    display: flex;
    flex-direction: column;
    justify-content: left;
    flex-wrap: wrap;
    padding: 0;
  }
  #obiettivi ul li {
    position: relative;
    margin: 0;
    width: 90%;
    margin: 2% 5%;
    padding: 0;
    padding-left: 40px;
    text-align: left;
    color: var(--scuro);
  }
  #obiettivi ul li h3 {
    padding: 10px;
    font-size: 1rem;
    font-weight: 600;
  }
  #obiettivi ul li .icona {
    position: absolute;
    top: 10px;
    left: 0;
    width: 30px;
    height: 20px;
    border-radius: 5px;
    background-position: center;
    background-size: contain;
  }
  ul.obiettivi {
    display: flex;
    flex-direction: column;
    justify-content: left;
    padding: 20px 0;
  }
  ul.obiettivi li {
    font-size: 1em;
    font-weight: 400;
    line-height: 1.6rem;
    text-align: left;
    padding: 0;
    padding-left: 20px;
    padding-right: 10px;
    position: relative;
    border-radius: 10px;
    margin: 5px 3px;
  }
  ul.obiettivi li span {
    position: absolute;
    top: 8px;
    height: 20px;
    width: 20px;
    left: 10px;
    font-size: 2rem;
    border-radius: 5px;
  }
  ul.obiettivi h3 {
    font-size: 1rem;
    font-weight: 600;
    padding: 5px 0;
    padding-left: 25px;
    color: var(--scuro);
  }
  ul.obiettivi p {
    font-size: 1rem;
    font-weight: 300;
    padding: 0;
    color: var(--scuro);
  }

  /* ---------- LINEE DI PROGRAMMA ---------- */
  #linee {
    position: relative;
    padding: 10px 0;
  }
  #linee .flex {
    display: flex;
    flex-direction: column;
    border-radius: 0;
  }
  #linee .colonnasx {
    width: 100%;
    padding: 5% 10%;
  }
  #linee .colonna {
    width: 100%;
    padding: 5%;
  }

  #linee .colonna p, #linee .colonnasx p {
    font-size: 1em;
    line-height: 1.5em;
    font-weight: 300;
  }

  /* ---------- PROGETTI (carosello) ---------- */
  #progetti {
    padding: 0;
    width: 100%;
    text-align: center;
    position: relative;
    max-width: 1480px;
    margin: 0 auto;
  }
  #progetti .conte {
    width: 90%;
    position: relative;
    height: 700px;
    overflow: hidden;
    margin: 0 auto;
  }
  #progetti ul.home {
    position: absolute;
    display: flex;
    align-items: flex-start;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 20000px;
  }
  #progetti ul.home li {
    width: 340px;
    background-color: #fff;
    position: relative;
  }
  #progetti ul.home li span.colore {
    position: absolute;
    width: 20px;
    height: 20px;
    left: 0;
    top: 4px;
  }
  #progetti ul.home li .box {
    position: absolute;
    top: 250px;
    margin: 0 5%;
    background-color: #fff;
    width: 90%;
    text-align: left;
    color: var(--scuro);
    overflow: hidden;
    border-radius: 0;
    padding: 30px;
    height: 400px;
  }
  #progetti ul.home li .img {
    margin: 5%;
    width: 90%;
    height: 250px;
    border-radius: 0;
    background-size: cover;
    border-radius: 10px;
  }
  #progetti ul.home li h3 {
    font-size: 1.1em;
    font-weight: 400;
    padding: 10px 0;
    color: var(--scuro);
  }
  #progetti ul.home li h4 {
    font-size: 1em;
    font-weight: 400;
    padding: 10px 0;
    color: var(--scuro);
  }
  #progetti ul.home li h5 {
    position: relative;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--grigio);
    padding-left: 30px;
  }
  #progetti ul.home li p {
    position: relative;
    font-size: 0.9rem;
    line-height: 1.3em;
    color: var(--grigio);
  }
  #progetti ul.home li button {
    position: absolute;
    z-index: 2;
    font-size: 0.9rem;
    background-color: #fff;
    color: var(--scuro);
    bottom: 0;
    left: 0;
    width: 100%;
  }
  #progetti .freccia {
    position: absolute;
    top: 500px;
    background-color: var(--chiaro);
    color: var(--grigio);
    font-size: 2rem;
    border-radius: 0;
    width: 30px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    cursor: pointer;
  }

  /* ---------- BANDI (carosello) ---------- */
  #bandi {
    padding: 0;
    text-align: center;
    position: relative;
  }
  #bandi .conte {
    width: 95%;
    position: relative;
    height: 700px;
    overflow: hidden;
  }
  #bandi ul.home.big {
    position: absolute;
    display: flex;
    align-items: flex-start;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
  }
  #bandi ul.home.big li .box .img {
    border-radius: 10px;
    height: 450px;
    width: 100%;
  }


  @media screen and (max-width: 740px) {
    #bandi ul.home.big {
      width: 100%;
    }
    #bandi ul.home.big li {
      width: 100%;
      background-color: #fff;
      position: relative;
    }
    #bandi ul.home.big li .box .img {
      border-radius: 10px;
      height: 250px;
      width: 100%;
      background-size: cover;
    }
  }

  /* ---------- BANNER ---------- */
  .banner {
    padding: 20px 0;
  }
  .banner section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    padding: 10px 0;
  }
  .banner .img {
    width: 100%;
    height: 100px;
    text-align: center;
  }
  .banner .conteggio {
    width: 100%;
  }
  .banner .img img {
    width: 100%;
    height: 100%;
    max-width: 600px;
    object-fit: cover;
  }
  .banner .link {
    width: 100%;
    text-align: center;
    padding: 10px;
  }

  #bandi ul.home.big li .box {
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 0;
    width: 100%;
    padding: 5px;
    margin: 0;
    text-align: left;
    color: var(--scuro);
    overflow: hidden;
    border: 0 solid #ccc;
    border-radius: 30px;
  }
  #bandi .freccia {
    position: absolute;
    top: 500px;
    background-color: var(--chiaro);
    color: var(--grigio);
    font-size: 2rem;
    border-radius: 0;
    width: 30px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    cursor: pointer;
  }
  #bandi ul.home.big li .box .colonna {
    width: 100%;
    padding: 10px;
  }
  #bandi ul.home.big li .box h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--scuro);
  }
  #bandi ul.home.big li .box h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--scuro);
  }
  #bandi ul.home li h5 {
    position: relative;
    font-size: 1em;
    font-weight: 600;
    color: var(--grigio);
    padding: 5px;
    padding-left: 30px;
  }
  #bandi ul.home li p {
    position: relative;
    font-size: 0.9rem;
    max-height: 140px;
    overflow: hidden;
    line-height: 1.6em;
    color: var(--grigio);
    padding: 0;
  }

  /* ---------- BOX DI RICERCA E ACCESSO (a comparsa) ---------- */
  .hover .chiudi {
    top: 10px;
    right: 10px;
  }
  .hover .boxcontenuto {
    background-color: #fff;
  }
  .hover .boxcontenuto .boxcerca {
    padding-top: 30px;
  }
  .hover .boxcontenuto .boxsocia {
    margin: 2%;
    padding: 20px;
  }
  .hover .boxcontenuto .boxsocia h2 {
    font-size: 1.2rem;
    padding: 5px 20px;
    color: var(--scuro);
    text-align: left;
    font-weight: 600;
  }
  .hover .boxcontenuto .boxsocia .flex {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .hover .boxcontenuto .boxsocia .colonnalato {
    width: 100%;
  }
  .hover .boxcontenuto .boxsocia ul li {
    flex-direction: column;
  }
  .hover .boxcontenuto .boxaccesso {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    height: 100vh;
  }
  .hover .boxcontenuto .boxaccesso .colonna {
    position: relative;
    text-align: center;
    padding: 20px;
    width: 100%;
    height: 50vh;
    align-items: center;
  }
  .hover .boxcontenuto .boxaccesso .colonna .box {
    text-align: left;
    max-width: 400px;
    position: relative;
    margin: auto;
  }

  main .paginazione {
    padding: 0 20px 10px;
  }

  main ul.elenco-contenuti.cerca li {
    flex-direction: column;
    font-size: 0.9rem;
  }

  /* ---------- MAPPA CLUB ---------- */
  #club {
    padding: 50px 0 0;
  }
  #club #mappa {
    height: 400px;
  }
  #club .overmappa {
    position: relative;
    top: auto;
    right: auto;
    padding: 10px;
    width: 100%;
    min-height: 100px;
    border-radius: 0;
    border: 1px solid #fff;
    z-index: 3;
    background: rgba(255, 255, 255, 0.8);
    font-size: 0.8em;
    text-align: left;
  }
  #club #mappa .mappa {
    position: absolute;
    top: 0;
    height: 400px;
    background-image: url(../img/mappaclub.webp);
    background-size: cover;
    background-position: center;
    width: 100%;
  }

  /* ---------- BREADCRUMBS E ARCHIVIO ---------- */
  main nav.breadcrumbs ol li.current {
    display: none;
  }
  main .archivio {
    padding: 20px;
  }
  main .archivio h3 {
    padding: 10px;
  }
  main .archivio ul {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
  }
  main .archivio ul li {
    position: relative;
    width: 90%;
    margin: 1% 5%;
    border: 1px dotted #ccc;
    height: 60px;
    padding-left: 70px;
    cursor: pointer;
  }
  main .archivio ul li.sele {
    color: #fff;
    background-color: var(--scuro);
  }
  main .archivio ul li.sele span {
    background-color: var(--giallo);
    color: var(--scuro);
  }
  main .archivio ul li:hover span {
    background-color: var(--giallo);
    color: var(--scuro);
  }
  main .archivio ul li span {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 50px;
    height: 50px;
    font-size: 2em;
    line-height: 50px;
    background-color: var(--scuro);
    border-radius: 50%;
    text-align: center;
    color: #fff;
  }
  main .archivio ul li h4 {
    padding-top: 10px;
    font-weight: 600;
  }

  /* ---------- DONAZIONI ---------- */
  #donazioni ul {
    margin-left: 0;
    margin-bottom: 10px;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
  }
  #donazioni .sottodonazioni {
    display: flex;
    flex-direction: column;
    justify-content: left;
  }
  #donazioni .sottodonazioni .colonna50 {
    width: 100%;
  }

  #club.top {
    margin-top: 80px;
  }

  /* ---------- LISTA ARTICOLI (news, progetti, bandi) ---------- */
  ul.esteso {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: left;
    flex-wrap: wrap;
  }
  ul.esteso li {
    position: relative;
    width: 90%;
    margin: 3% 5%;
    padding: 0;
    height: 550px;
    border-radius: 10px;
  }
  ul.esteso li .box {
    width: 100%;
    margin: 0;
    background-color: #fff;
    border-top: 2px solid var(--giallo);
    position: absolute;
    top: 250px;
    padding: 20px;
    height: 290px;
    overflow: hidden;
  }
  ul.esteso li .img {
    height: 250px;
    position: relative;
    background-position: center;
    background-size: cover;
    border-radius: 10px 10px 0 0;
  }
  ul.esteso.senzadata li .data {
    display: none;
  }
  ul.esteso li .data {
    position: absolute;
    top: -10px;
    right: 30px;
    height: 100px;
    width: 80px;
    background-color: var(--giallo);
    z-index: 3;
    border-radius: 0 0 50px 50px;
  }
  ul.esteso li .data .mese {
    padding-top: 10px;
    font-size: 1.2rem;
    display: block;
    text-align: center;
  }
  ul.esteso li .data .giorno {
    font-size: 2em;
    line-height: 1.8rem;
    display: block;
    text-align: center;
  }
  ul.esteso li .data .anno {
    padding-top: 0;
    font-size: 1rem;
    display: block;
    text-align: center;
  }
  ul.esteso li .icon {
    position: absolute;
    bottom: 0;
    right: 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: right;
    width: 90%;
    margin: 0 5%;
  }
  ul.esteso li .icon span {
    margin: 0 2px;
    color: var(--scuro);
    background-color: var(--giallo);
    border-radius: 5px 5px 0 0;
    padding: 5px 10px;
    font-size: 0.8em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 50%;
  }
  ul.esteso li .club a:link,
  ul.esteso li .club a:visited {
    color: var(--scuro);
  }
  ul.esteso li h3 {
    padding: 10px 0 10px;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--scuro);
    text-align: left;
  }
  ul.esteso li h4 {
    padding: 5px 0;
    font-size: 1em;
    font-weight: 600;
    color: var(--grigio);
    text-align: left;
  }
  ul.esteso li h5 {
    padding: 5px 0;
    font-size: 0.9em;
    font-weight: 400;
    padding-left: 30px;
    color: var(--grigio);
    text-align: left;
    position: relative;
  }
  ul.esteso li p {
    padding: 5px 0;
    font-size: 0.9em;
    line-height: 1.5em;
    color: var(--grigio);
    text-align: left;
  }
  ul.esteso li .autore {
    position: absolute;
    font-size: 0.8rem;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    overflow: hidden;
    line-height: 30px;
    padding: 0;
    padding-left: 10px;
    white-space: nowrap;
    border-top: 1px dotted #ccc;
    text-align: left;
  }
  ul.esteso li .autore span {
    color: var(--grigio);
    font-weight: 600;
  }
  ul.esteso li span.colore {
    position: absolute;
    top: 8px;
    left: 0;
    height: 12px;
    width: 20px;
    z-index: 3;
  }

  /* ---------- FOOTER ---------- */
  footer {
    padding: 10px;
  }
  footer ul {
    display: flex;
    flex-direction: column;
    justify-content: left;
  }
  footer ul li img {
    width: 100%;
    max-width: 350px;
  }
  footer ul li {
    padding-right: 100px;
  }
}
