/* unvisited link */
a:link {
  color: rgb(123, 119, 119);text-decoration: underline;
}

/* visited link */
a:visited {
  color: #8b2395;text-decoration: underline;font-style:italic;
}

/* mouse over link */
a:hover {
  color: red;
}

/* selected link */
a:active {
  color: rgb(255, 115, 0);
} 
/* unvisited link */
    article.principal .the-content .wp-block-image figcaption {
    font-size:16px
  }
  /*<figcaption class="wp-element-caption">Nelson Villagra en la exitosa película chilena “El regalo”.</figcaption>*/
  
  .contenedor{
    position: relative;
    display: inline-block;
    text-align: center;
}
.texto-encima{
    position: absolute;
    top: 350px;
    left: 50px;
    color:#ffffff;
}
.centrado{
    position: relative;
    top: 10%;
    left: 50px;
    transform: translate(-50%, -50%);
}
  
figure {
  border: 1px #cccccc solid;
  padding: 4px;
  margin: auto;
}

figcaption {
  position:relative;
  background-color: #fff;
  color: #000000;
  font-style: italic;
  padding: 2px;
  text-align: center;
  top:-40px;
  transform: translate(-50%, -50%);
  opacity: 0.5;
}

/*<figure>
  <img src="pic_trulli.jpg" alt="Trulli" style="width:100%">
  <figcaption>Fig.1 - Trulli, Puglia, Italy</figcaption>
</figure>*/

  /* [Object] Modal
 * =============================== */
.modal {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  text-align: left;
  background: rgba(0,0,0, .8);
  transition: opacity .35s ease;
  z-index: 15;
}

.modal__bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  cursor: pointer;
}

.modal-state {
  display: none;
}

.modal-state:checked + .modal {
  opacity: 1;
  visibility: visible;
}

.modal-state:checked + .modal .modal__inner {
  top: 0;
}

.modal__inner {
  transition: top .25s ease;
  position: absolute;
  top: -20%;
  right: 0;
  bottom: 0;
  left: 0;
  width: 50%;
  margin: auto;
  overflow: auto;
  background: #fff;
  border-radius: 5px;
  padding: 1em 2em;
  height: 60%;
}

.modal__close {
  position: absolute;
  right: 1em;
  top: 1em;
  width: 1.1em;
  height: 1.1em;
  cursor: pointer;
}

.modal__close:after,
.modal__close:before {
  content: '';
  position: relative;
  width: 2px;
  height: 1.5em;
  background: #ccc;
  display: block;
  transform: rotate(45deg);
  left: 50%;
  margin: -3px 0 0 -1px;
  top: 0;
}

.modal__close:hover:after,
.modal__close:hover:before {
  background: #aaa;
  
}

.modal__close:before {
  transform: rotate(-45deg);
}

@media screen and (max-width: 768px) {
	
  .modal__inner {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
  }
}


/* Other
 * =============================== */

.btn {
  cursor: pointer;
  background: #27ae60;
  display: inline-block;
  padding: .1em 1em;
  color: #fff;
  border-radius: 3px;
     
}

.btn:hover,
.btn:focus {
background: #fff;

}

.btn:active {
  background: #27ae60;
  box-shadow: 0 1px 2px rgba(0,0,0, .2) inset;
}

.btn--blue {
  background: #fff;
   max-width: 100%;
  height: auto;
  
}

.btn--grey:hover, img-bt
.btn--blue:focus {
 background: #fff;

}

.btn--blue:active {
  background: #da2e2eff;
}

p img {
  max-width: 100%;
  height: 100%;
  float: left;
  margin: 0 1em 1em 0;
  background: rgba(46, 45, 45, 0.7);
  transition: opacity 700ms;
 
}

img-bt {
  object-fit: cover;
  max-width: 100%;
  height: auto;
  display: inline-block;
  margin: 2px 0 2px 0;
  border: solid 0px;
  margin: 0 1em 1em 0;
  background: rgba(46, 45, 45, 0.7);
  transition: opacity 700ms;
}

.imagen-contenedor {
  position: relative; /* Permite posicionar el ícono de forma absoluta dentro de él */
  display: inline-block; /* Para que el contenedor se ajuste al tamaño de la imagen */
}

.imagen-contenedor img {
  display: block; /* Evita espacios extras debajo de la imagen */
  max-width: 100%; /* Asegura que la imagen no se salga del contenedor si es más grande */
  height: auto;
}

.icono {
  position: absolute; /* Posiciona el ícono sobre la imagen */
  top: 50px;          /* Ajusta la posición vertical (distancia desde arriba) */
  left: 150px;         /* Ajusta la posición horizontal (distancia desde la izquierda) */
  font-size: 40px;    /* Agrandar el tamaño del ícono. Puedes usar `font-size` para fuentes o emojis */
  color: white;       /* Color del ícono */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Sombra para que sea visible sobre la imagen */
  z-index: 1;         /* Asegura que el ícono esté por encima de la imagen */
}

.CircularMax-icon {
  position: relative;
  text-align: left;
  margin: 0.4em 5px -4em -90px;
  width: 50px;
  height: 50px;
  overflow: hidden;
  border-radius: 50%;
  padding:13px;
  float: right;
  background:rgb(160, 161, 160); 
  transition: transform 0.3s ease; /* Agrega una transición suave */
  cursor: pointer; /* Cambia el cursor al pasar por encima */
  z-index: 15;
 }

 .CircularMax-icon:hover {
  background: url("../../images/Ampliar-100px.png") no-repeat right top;
    transform: scale(1.1); /* Escala la imagen al 110% */
      background:rgb(116, 80, 178); 
}

 @media screen and (max-width: 768px) {
	
  .CircularMax-icon {
   width: 50px;
  height: 50px;
    box-sizing: border-box;
  }
}
