html, body {
  overflow-x: hidden !important;
}

.tag_corrente {
    border: 1px solid #0a4ba6;
    font-size: 20px;
    padding: 5px 10px;
    border-radius: 10px;
    text-decoration: none;
    color: #1e1e1e;
    background-color: transparent;
}

.tag_corrente:hover {
    color: #faf6ee;
    background-color: #0a4ba6;
}


.pannello {
    background-color: #f0ebe4;
    border-radius: 5px;
    margin: 18px 0px 80px 0px;
}



.fade_in {
  animation-name: fadein;
  animation-duration: 2.5s ;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
  animation-direction:alternate;
}

@keyframes fadein {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  50% {
    opacity:1;
    transform:scale(1.2);
  }
  75% {
    opacity:0;
    transform:scale(0.6);
  }
  100% {
    opacity:1;
    transform:scale(1);
  }
}

/*ANIMAZIONE PUNTI INTERESSE*/

/*FLEX TAG E SWITCH*/

.flex_dad {
  display: flex;
  align-items: center;
}

.flex_tag {
  flex: 50%;
  align-items: center;
}

.flex_switch {
  flex: 50%;
  transform: translate(0%,10%);
}

/*FLEX TAG E SWITCH*/

/*PESI E GRANDEZZE FONT*/

h1 {
  margin-top: 30px;
  margin-bottom: 0;
  font-family: "Akzi-bold";
  /* font-size: 40px; */
}

h2 {
  font-family: 'Akzi-medium';
}

.h2_titolo_opera {
  margin-bottom: 20px !important;
  color: #444444 !important;
}

h4 {
  font-family: 'Akzi-medium';
  margin-bottom: 25px;
  opacity: 60%;
}

h5 {
  font-family: 'Akzi-medium';
  margin-bottom: 0;
}

h3 {
  font-family: 'Akzi-medium';
}

/*/PESI E GRANDEZZE FONT*/

.dot {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  display: inline-block;
  background: rgba(255, 252, 246, 0.45);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(0.7px);
  -webkit-backdrop-filter: blur(0.7px);
}
.dot2 {
  height: 20px;
  width: 20px;
  background-color: #faf6ee;
  border-radius: 50%;
  display: inline-block;
  margin: 10px;
}
.punto {
  /* display: inline; */
  z-index: 100;
  position: absolute;
  border: none;
  background-color: transparent;
  padding: 0;
  margin: 0;
  height: 25px;

  /* animation-name: appare;
  animation-duration: 3s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
  animation-iteration-count: 1; */
}

/* @keyframes appare {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
} */


.fix {
  position: relative;
}

/*OFFCANVAS*/
.offcanvas {
  background-color: #0a4ba6 !important;
  color: #faf6ee !important;
  border-radius: 5px 0px 0px 5px !important;
  border: none !important;
  text-align: left !important;
  
}

/*OFFCANVAS*/

.icona_interesse {
  width: 25px;
  transform: translate(0%,-50%);
}
/*switch toggle*/
.switch {
    position: relative;
    display: inline-block;
    width: 70px;
    height: 34px;
  }
  
  .switch input {display:none;}
  
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #44444480; /*ho fatto un po' più chiaro se no non si vede la differenza*/
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: #faf6ee;
    -webkit-transition: .4s;
    transition: .4s;
  }  
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;}
  
  input:checked + .slider {
    background-color: #0a4ba6;
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px #0a4ba6;
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(36px);
    -ms-transform: translateX(36px);
    transform: translateX(36px);
  }

  /*switch toggle*/


  .card_artista {
    background-color: #0a4ba6 !important;
    color: #faf6ee;
    position: relative;
    border-radius: 5px;
    padding: 40px;
    margin-bottom: 40px;
    object-fit: contain;
  }

  .padding_card {
    display: inline-block;
  }

  .imm_artisti {
    height: 100%;
    position: absolute;
    right: 0;
    bottom: 0;
  }

  /*CARDS DIDA E MAPPA*/

  .flex_cont {
    display: flex;
    gap: 40px;
  }

  .card_dida {
    border-radius: 5px;
    background-color: #f0ece4 !important;
    padding: 40px;
    margin-bottom: 60px;
    border-radius: 5px;
    flex: 1;
  }

  .card_mappa {
    border-radius: 5px;
    background-color: #FFFCF6 !important;
    padding: 30px;
    margin-bottom: 60px;
    flex: 2;
  }

  .img_mappa {
    padding-top: 8%;
    margin: 0;
  }

  /*LISTA UL CARD ARTISTA*/

  .card_artista ul {
    padding-left: 30px !important;
  }

  /*LISTA UL CARD ARTISTA*/

  .footlogo {
    height: 40px !important;
    margin: 10px;
}

  @media (max-width:1200px) {
    /* .img_mappa {
      margin: 19% 0%;
    } */
  }

  @media (max-width:991px) {
    .pannello {
      background-color: transparent;
      margin: 20px 0px 40px 0px;
      /*si fa vedere tutta l'immagine del quadro e non il rettangolo intorno*/
    }
    .offcanvas {
      height: fit-content !important;
    }
    .imm_artisti {
      display: block;
      position: relative;
      float: right;
    }
    .img_mappa {
      margin: 6% 0%;
    }
    .card_artista {
      padding-bottom: 0;
      padding-right: 0;
      padding-left: 30px;
      margin-bottom: 30px;
    }
    .card_dida {
      margin-bottom: 30px;
      /*normalmente è 60px perché così si vede tutto il contenuto e non viene coperto dalla barra*/
    }
    .padding_card {
      padding-right: 20px;
    }
    .flex_cont {
      display: block;
      gap: 0px;
    }
    .card_artista ul {
      padding-right: 40px !important;
    }
    .dot {
      height: 25px;
      width: 25px;
    }
    .dot2 {
      height: 15px;
      width: 15px;
      margin: 5px;
    }
  }

  @media (max-width:515px) {
    .pannello {
      margin: 20px 0px -20px 0px;
    }
  }

  @media (max-width:576px) {
    .pannello {
      margin: 20px 0px 40px 0px;
    }
  }

  @media (max-width:476px) {
    .imm_artisti {
      margin-right: 0px;
    }
  }

  @media (max-width:348px) {
    .footlogo {
      height: 25px !important;
      margin: 10px;
    }
  }

