@charset "utf-8";
/* CSS Document */
body .modal-backdrop.fade.show {
  background-color: rgba(0, 0, 0, 0.85) !important;
  opacity: 1 !important;
}
.modal-content {
  border: 5px solid #fff !important; /* o el color que prefieras */
  box-sizing: border-box !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); /* sombra bonita y suave */
  border-radius: 4px; /* bordes redondeados para más estilo */
}
.modal-body {
    padding: 0 !important;
    margin: 0 !important;
    background-color: transparent !important;
  }
.carousel-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  padding: 0;
  border: none;
}
	.carousel-item {
  transition: opacity 0.2s ease-in-out;
}
.carousel-item.active {
  opacity: 1;
}
.carousel-inner {
  padding: 0 !important;
}
.carousel-item:not(.active) {
  opacity: 0;
}

	.carousel-inner img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.carousel-indicators button {
  width: 0 !important;
  height: 0 !important;
  padding: 6px !important;
  border-radius: 50% !important;
  background-color:rgba(7,7,7,0.80) !important;
  border: none !important;
  margin: 0 5px !important;
}

.carousel-indicators button.active {
 background: linear-gradient(to bottom,  rgba(0,181,247,1) 0%,rgba(0,114,229,1) 100%) !important;
 padding: 6px !important;
}
.custom-close-link {
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #000;
  color: #fff;
  font-size: 0.9em;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: background-color 0.2s ease-in-out;
  z-index: 1056;
}
.custom-close-link:hover {
  background-color: #333;
}
/* Estilo de las flechas con iconos */
.carousel-control-prev .icon-chevron-left,
.carousel-control-next .icon-chevron-right {
  width: 35px;
  height: 35px;
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
  font-size: 20px; /* ajusta según el icono */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  transition: background-color 0.3s ease;
}

/* Hover: cuando pasamos el mouse sobre las flechas */
.carousel-control-prev:hover .icon-chevron-left,
.carousel-control-next:hover .icon-chevron-right {
  background-color: rgba(0, 0, 0, 1);
  transform: scale(1.1);
}

/* Ocultar los iconos de las flechas de Bootstrap */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  display: none !important;
}

/* Flechas ocultas por defecto */
.carousel-control-prev,
.carousel-control-next {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Mostrar las flechas cuando el mouse está sobre el modal */
.modal-content:hover .carousel-control-prev,
.modal-content:hover .carousel-control-next {
  opacity: 1;
  pointer-events: auto;
}

/* Eliminar el foco visual de las flechas */
.carousel-control-prev:focus,
.carousel-control-next:focus {
  outline: none;
  box-shadow: none;
}