/*css para el hostpot*/

.popover .popover-body {
  text-align: center;
  /* Centrar el texto y la imagen */
}

.popover img {
  max-width: 100%;
  /* Asegurar que la imagen no sea más ancha que el popover */
  height: auto;
  /* Mantener la proporción de la imagen */
}

/* Stili personalizzati per i popover */
.popover {
  max-width: 500px;
  width: 100%;
}

/* Spazio tra il bottone PDF e il contenuto */
.popover .btn {
  margin-top: 10px;
}

/* Responsive design per popover */
@media (max-width: 576px) {
  .popover {
    max-width: 300px;
  }
}

/* Assicurarsi che gli hotspot siano cliccabili */
.image-hotspot {
  cursor: pointer !important;
  width: 30px !important;
  height: 30px !important;
  z-index: 100 !important;
  pointer-events: auto !important;
  /*background-color: rgba(255, 0, 0, 0.3) !important;*/
}

/* Solo per hotspot con icona Bootstrap: centra e ingrandisci leggermente l’icona */
.image-hotspot > i.bi {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: 16px;                /* icona più leggibile */
  color: currentColor;             /* coerenza cromatica del tipo */
  text-shadow: 0 0 2px rgba(0,0,0,.35); /* contrasto migliore */
}
/* Se l’hotspot ha un’icona, togli sfondo interno (circle) */
.image-hotspot > i.bi ~ .circle {
  opacity: 0 !important;
  background: transparent !important;
}

/* Rendere visibili gli hotspot */
.image-hotspot .circle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 28px;
  margin: -0.666em auto auto -0.666em;
  background: #CCCCCC2E;
  border-radius: 50%;
  opacity: 0.8;
  transform-origin: 50% 50%;
  transition: opacity .2s ease-in, transform .1s ease-out;
  color: white;
  font-size: 1.5em;
  padding: 0;
  text-align: center;
  line-height: 28px;
  overflow: hidden;
}

/* Adatta la dimensione del testo dentro la pallina in base alla lunghezza
   per evitare che testi come "Q20" o "A12" vengano tagliati dal cerchio.
   Si usa font-size in px (non em) per essere indipendenti dal contesto.

   IMPORTANTE: il margin di centramento e' qui in px fissi (-14px = -width/2)
   per non dipendere dalla font-size: la regola base usa "-0.666em" che con
   font-size dinamica sfalsa il circle rispetto al .ring (l'animazione pulse). */
.image-hotspot .circle.circle-text {
  font-weight: 700;
  letter-spacing: 0;
  line-height: 28px;
  white-space: nowrap;
  padding: 0 2px;
  margin: -14px 0 0 -14px;
}
.image-hotspot .circle.circle-text.circle-len-1 { font-size: 15px; }
.image-hotspot .circle.circle-text.circle-len-2 { font-size: 13px; }
.image-hotspot .circle.circle-text.circle-len-3 { font-size: 12px; letter-spacing: -0.5px; }
.image-hotspot .circle.circle-text.circle-len-4 { font-size: 8px;  letter-spacing: -0.5px; }

/* Modalita' "Solo ring pulse": il cerchio interno diventa trasparente
   mentre l'animazione .ring resta visibile (pulsa attorno alla posizione). */
.image-hotspot .circle.circle-transparent {
    background: transparent !important;
    opacity: 1 !important;
}

/* Colore icona/testo dentro il cerchio.
   Targetiamo sia il .circle (per il testo) sia i child <i> (icone Bootstrap)
   che ereditano color via currentColor. Il text-shadow leggero migliora
   la leggibilita' su planimetrie con sfondi chiari/sporchi. */
.image-hotspot .circle.circle-color-black,
.image-hotspot .circle.circle-color-black i {
    color: #000 !important;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.55) !important;
}
.image-hotspot .circle.circle-color-blu,
.image-hotspot .circle.circle-color-blu i {
    color: #035087 !important;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.55) !important;
}

/* Sold/Reserved/Booking states are handled at the bottom of the file for better overrides */

/*css bg cosas*/
/*Banner*/
.bg-color-banner-1 {
  background-color: #654b48 !important;
}

.bg-color-banner-2 {
  background-color: #f80303 !important;
}


.text-color-banner-1 {
  color: #eceff2 !important;
}

.text-color-renovo {
  color: #064780 !important;
}


.p-color-banner-1 {
  color: #d2cccc;
  line-height: 26px;
  margin: 0 0 20px;
  margin-bottom: 20px;
}



/* padding text*/
.pe-5a {
  padding-left: 4rem !important;
}

/* alinea text*/
.tx-aj {
  text-align: justify;
}

.tx-aleft {
  text-align: left;
}

/*color bg*/
.p-bg-color-white {
  background-color: #fff !important;
}

/*link a*/

.text-color-light1 {
  color: bisque;
  text-decoration: bisque;
}

.a1:hover,
a:focus {
  color: #816005;
}

/*btn*/
.btn-modern1 {
  text-transform: uppercase;
  font-size: 1.5em;
  font-weight: 600;
}

.btn-modern2 {
  text-transform: uppercase;
  font-size: 1.3em;
  font-weight: 100;
}

.btn-modern3 {
  text-transform: lowercase;
  font-size: 1.5em;
  font-weight: 100;
}

.btn-outline-primary {
  --bs-btn-color: #035087;
  --bs-btn-border-color: #035087;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #035087;
  --bs-btn-hover-border-color: #035087;
  --bs-btn-focus-shadow-rgb: 13,110,253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #035087;
  --bs-btn-active-border-color: #035087;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #035087;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #035087;
  --bs-gradient: none;
}

/*bg color div*/
.bg-sudovest {
  background-color: rgb(226, 131, 131, 0.4);
  padding-top: 10px;
}


/*fullscreen img*/
.container-xxl-custom {
  max-width: 100%;
}

/*col-md-pull-#*/
.col-md-pull-1a {
  margin-left: -1.3%;
}

/*positions thumbnail gallery*/

.pos4 {
  left: 235px;
  top: 475.333px;
}


/*icons Mod*/
/*altura del font text e=.5*/
.lh-1e {
  font-family: simple-line-icons;
  font-style: normal;
  font-weight: 400;
  font-variant: normal;
  text-transform: none;
  line-height: 1.5 !important;
}

/*rotate things*/
.r--45 {
  transform: rotate(-45deg);
}

.r-45 {
  transform: rotate(45deg);
}

.r-90 {
  transform: rotate(90deg);
}

.r--90 {
  transform: rotate(-90deg);
}

.r-110 {
  transform: rotate(110deg);
}

.r--140 {
  transform: rotate(-140deg);
}

.r-180 {
  transform: rotate(-180deg);
}

.r-215 {
  transform: rotate(-215deg);
}



.color-white {
  color: #fff;
}

.color-gray {
  color: #918f8f !important;
}

.image-hotspot strong1 {
  color: #070000 !important;
  z-index: 5;
  font-size: 0.75em;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  font-weight: 600 !important;
}

.image-hotspot strong2 {
  color: #ee6666 !important;
  z-index: 5;
  font-size: 0.75em;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  font-weight: 600 !important;
}

/*bg colore indirizzo dei box in index.hmtl*/
.thumb-info .thumb-info-type1 {
  background-color: #4F4D4BBF !important;
  /*new color #4F4D4BBF;*/
}

.thumb-info .thumb-info-type1 {
  background-color: #CCC;
  border-radius: 2px;
  /*display: inline-block;*/
  float: left;
  font-size: 0.6em;
  font-weight: 600;
  letter-spacing: 0;
  margin: 4px -2px -15px 0px;
  padding: 2px 12px;
  text-transform: uppercase;
  z-index: 2;
  line-height: 2;
  border-radius: 5px;
}

.border-radius-20 {
  border-radius: 20px !important;
}

.border-radius-10 {
  border-radius: 10px !important;
}

.border-radius-5 {
  border-radius: 5px !important;
}


/* Stile personalizzato per mostrare card con overlay */
.thumb-info-1 {
  background: transparent;
}

.thumb-info-1 .thumb-info-wrapper:after {
  background: rgba(3, 80, 135, 0.5);
  opacity: 1;
}

.thumb-info-1 .thumb-info-title {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.thumb-info-1 .thumb-info-action {
  opacity: 1;
}

/*spazio entre las voces de los links filtro*/
.custom-nav-link1 {
  font-size: 13px;
  font-size: .8125rem;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 0 !important;
  padding: .25rem 0 !important;
  margin: 0 20px;
  margin: 0 0.4rem;
  border-bottom: 4px solid transparent;
}


/* Stati NON-DISPONIBILI (Venduto, Opzionato, Riservato) */
.image-hotspot-sold .circle,
.image-hotspot-booking .circle,
.image-hotspot-warning .circle,
.reserved .circle {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    font-weight: 800 !important;
}

/* Colore anello per stato (Opzionato/Riservato) */
.image-hotspot-booking .ring,
.image-hotspot-warning .ring,
.reserved .ring {
    border-color: rgba(255, 193, 7, 0.9) !important;
}

/* Colore anello per stato (Venduto) */
.image-hotspot-sold .ring {
    border-color: rgba(220, 53, 69, 0.9) !important;
}

/* Forzatura colore icona nero per tutti gli stati non-disponibili */
.image-hotspot-sold > i.bi,
.image-hotspot-booking > i.bi,
.image-hotspot-warning > i.bi,
.reserved > i.bi {
    color: #000 !important;
}


