.hotspot {
  position: absolute;
  width: 28px; height: 28px;
  transform: translate(14px, -14px);
  background: rgba(63,131,191,0.8);
  color: white;
  border: solid 2px white;
  border-radius: 50% 50% 50% 0%;
  text-align: center;
  line-height: 24px;
  cursor: pointer;
  transition: transform .2s;
}


.hotspot:hover {
  transform: scale(1.3) translate(18px, -18px);
}

.hotspot img {
  opacity: 1;
  width: 18px;

}

/* Box testuale centrale visibile solo su mobile */
/*in realtà lo uso anche su fisso ma continuo a chiamarlo mobile*/

.hotspot-info-mobile {
  font-size: .8rem;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 1em;
  border-radius: 10px;
  text-align: center;
  z-index: 20;
  pointer-events: none;
  transition: opacity 0.3s ease;
  opacity: 0;
  visibility: hidden;
}




.hotspot-info-mobile.visible {
transition: opacity 0.3s ease;
opacity: 1;
visibility: visible;
}

.hotspot-info-mobile h4 {
  font-family: 'Cinzel';
  margin-top: 0.5em;
  font-size: 2em;
}

.hotspot-info-mobile img {

  margin:10px; 
  border-radius:8px;
  float:left;
  shape-outside: margin-box;

}

.hotspot_descrizione {
  text-align: left;
}

.hotspot_close_msg{
  font-family: 'Montserrat';
  font-size: .8rem;
  margin-top: 25px;;
}

/* VERSIONE MOBILE: testo al centro, multilinea */
@media (max-width: 576px) {

  .hotspot {
    width: 21px; height: 21px;
    transform: translate(10px, -10px);
    border: solid 1px white;
    line-height: 18px;
  }

  .hotspot img {
      opacity: 1;
      width: 13px;
  }

  .hotspot:hover {
    transform: scale(1.3) translate(13px, -13px);
  }

  .hotspot-info-mobile img {
    width:75px; 
    margin:5px; 

  }
  .hotspot-info-mobile h4 {
    margin-top: 0.2em;
    font-size: 1.5em;
  }

  .hotspot-info-mobile p {
    margin-top: 0.5em;
    font-size: 1em;
  }

  .hotspot_close_msg{

    font-size: .6rem !important;

  }



}
