/* ==================== */
https://www.lawebera.es/como-hacer/ejemplos-css/expandir-imagen-fondo-css.php
/* estilo ventana modal */
/* ==================== */
.img2modal {
    border-radius: 0.5em;
    cursor: pointer;
    transition: 0.3s;
}

.img2modal:hover {
    opacity: 0.7;
}

.modal {
    display: none;	/* Oculto por defecto */
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999;
    height: 100%;
    width: 100%;
    overflow: auto;	/* por si se necesita el scroll */
    background-color: rgb(0, 0, 0, 0.8);	/* background en negro */
	color: #fff;
	font-size: 1.2em;
}

#modalTop {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: fixed;
	top: 0;
	left: 0;
	height: 7%;
	width: 100%;
	padding: 0 2.5em;
}

#cuenta {
	padding: 5px;
	background-color: #000;
}

#comandos i {
	margin-left: 2em;
}

#comandos i, #modalRight i, #modalLeft i {
	padding: 0.35em 0.5em;
	cursor: pointer;
	border: 2px solid #fff;
	background-color: #000;
}

#modalLeft {
	display: flex;
    align-items: center;
    justify-content: center;
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 7%;
}

#modalRight {
	display: flex;
    align-items: center;
    justify-content: center;
	position: fixed;
	top: 0;
	right: 0;
	height: 100%;
	width: 7%;
}

#zonaImagen {
	display: flex;
	justify-content: center;
    align-items: center;
	position: absolute;
	top: 7%;
	left: 7%;
	height: 86%;
	width: 86%
}

#zonaImagen img {
	border-radius: 2px;
	z-index: -1;
	/* object-fit: contain;
	*/
	max-width:100%;
    object-fit: scale-down;
}

#modalBottom {
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	bottom: 0;
	left: 0;
	height: 7%;
	width: 100%;
}

#modalBottom>span {
	padding: 5px;
	background-color: #000;
	color: #fff;
}
