/* [LIGHTBOX BACKGROUND] */
#imagen-maximizada {
  visibility: hidden;
}
#imagen-maximizada.maximizado {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  visibility: visible;
  opacity: 1;
  transition: all ease 0.4s;
}
#imagen-maximizada.maximizado .paginador:hover {
  text-decoration: none;
}
#imagen-maximizada.maximizado .paginador {
  background-color: blue;
  opacity: 0.6;
}
.andreani #imagen-maximizada.maximizado .paginador {
  background-color: red;
  opacity: 0.6;
}
#imagen-maximizada.maximizado .paginador {
  text-decoration: none;
  position: fixed;
  z-index: 1001;
  opacity: 1;
  width: 80px;
  height: 80px;

  color: white;
  font-size: 4em;
  text-align: center;
  border-radius: 50%;
}
#imagen-maximizada.maximizado.tiene-pagina-siguiente
  #imagen-maximizada-maximizado-dch {
  visibility: visible;
  top: 50%;
  right: 30px;
}
#imagen-maximizada.maximizado.tiene-pagina-anterior
  #imagen-maximizada-maximizado-izq {
  visibility: visible;
  top: 50%;
  left: 0px;
}

#imagen-maximizada .paginador {
  visibility: hidden;
}

.maximizado #imagen-maximizada-wrapper {
  margin: auto;
}

/* ---------------------------------------------------------------------- */
/* spinner con background semitransparente.
   http://www.menucool.com/9499/CSS-loading-spinner-with-a-semi-transparent-background
*/
#cover-spin {
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 9999;
}

@-webkit-keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

#cover-spin::after {
  content: "";
  display: block;
  position: absolute;
  left: 48%;
  top: 40%;
  width: 40px;
  height: 40px;
  border-style: solid;
  border-color: rgb(34, 73, 137);
  border-top-color: transparent;
  border-width: 4px;
  border-radius: 50%;
  -webkit-animation: spin 0.8s linear infinite;
  animation: spin 0.8s linear infinite;
}