body.modalAbierto {
	overflow-y: hidden;
}

div.contenedor-modal {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	gap: 1em;
}

div.contenedor-modal .imagenModal {
	font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
	display: flex;
	flex-direction: column;
	align-items: center;
}

div.contenedor-modal .imagenModal .contenedorLupa {
	position: relative;
}

div.contenedor-modal .imagenModal .lupa {
	position: absolute;
	top: 1em;
	right: 1em;
	cursor: zoom-in;
	z-index: 1;
}

div.contenedor-modal .imagenModal .lupa i {
	font-size: 2.5em;
	color: var(--color-recurso, #cccccc);
}

div.contenedor-modal .imagenModal img {
	width: 100%;
	max-width: 400px;
	cursor: zoom-in;
	transition: 0.3s;
}

div.contenedor-modal .imagenModal img:hover {
	opacity: 0.7;
}

div.contenedor-modal .imagenModal p {
	font-size: 0.75em;
	text-align: center;
	margin: 20px 0;
	overflow-wrap: anywhere;
}

div.contenedor-modal .imagenModal button {
	width: 20%;
	background-color: transparent;
	border-color: transparent;
}

div.contenedor-modal .imagenModal .modal {
	display: none;
	position: fixed;
	z-index: 10;
	padding-top: 100px;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0, 0, 0);
	background-color: rgba(0, 0, 0, 0.85);
}

div.contenedor-modal .imagenModal .modal .modal-content {
	margin: auto;
	display: block;
	width: 90%;
	max-width: 800px;
}

div.contenedor-modal .imagenModal .modal #caption {
	margin: auto;
	display: block;
	width: 80%;
	max-width: 700px;
	text-align: center;
	color: #ccc;
	padding: 10px 0;
	height: 150px;
}

div.contenedor-modal .imagenModal .modal .modal-content,
div.contenedor-modal .imagenModal .modal #caption {
	-webkit-animation-name: zoom;
	-webkit-animation-duration: 0.6s;
	animation-name: zoom;
	animation-duration: 0.6s;
}

div.contenedor-modal .imagenModal .modal .modal-content:hover {
	cursor: default;
	opacity: 1;
}

@-webkit-keyframes zoom {
	from {
		-webkit-transform: scale(0)
	}

	to {
		-webkit-transform: scale(1)
	}
}

@keyframes zoom {
	from {
		transform: scale(0)
	}

	to {
		transform: scale(1)
	}
}

div.contenedor-modal .imagenModal .modal .close {
	position: absolute;
	top: 1.5em;
	right: .5em;
	color: #00bcb2;
	font-size: 3em;
	font-weight: bold;
	transition: 0.3s;
    z-index: 999;
}

div.contenedor-modal .imagenModal .modal .close:hover,
div.contenedor-modal .imagenModal .modal .close:focus {
	color: #bbb;
	text-decoration: none;
	cursor: pointer;
}
