#modal-imagem {
	display: none;
	align-items: center;
	justify-content: center;	
	z-index: 1;
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background: rgb(0,0,0);
	background: rgba(0,0,0,0.7);
}

#modal-imagem-img {
	max-width: 95%;
	max-height: 95%;
	-webkit-animation-name: modal-imagem-zoom;
	-webkit-animation-duration: 0.6s;
	animation-name: modal-imagem-zoom;
	animation-duration: 0.6s;
}

@-webkit-keyframes modal-imagem-zoom {
	from {-webkit-transform:scale(0)} 
	to {-webkit-transform:scale(1)}
}

@keyframes modal-imagem-zoom {
	from {transform:scale(0)} 
	to {transform:scale(1)}
}

.modal-imagem-botao {
	position: absolute;
	transition: 0.3s;
	color: rgb(255,255,255);
	color: rgb(255,255,255,0.8);
	font-weight: bold;
	-webkit-text-stroke: 1px gray;
}

.modal-imagem-botao:hover,
.modal-imagem-botao:focus {
	color: lime;
	-webkit-text-stroke: 1px green;
	cursor: pointer;
}

#modal-imagem-botao-fechar {
	top: 15px;
	right: 35px;
	font-size: 40px;
}


#modal-imagem-botao-anterior {
	left: 15px;
	bottom: 15px;
	font-size: 40px;
	transform: scaleX(-1);	
}

#modal-imagem-botao-proxima {
	right: 15px;
	bottom: 15px;
	font-size: 40px;
}

@keyframes modal-imagem-aguarde-animacao {
        to { transform: rotate(360deg);}
    }
	
#modal-imagem-aguarde {
	display: none;
	border: 8px solid rgba(0, 0, 0, 0.1);
	border-left-color: green;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	animation: modal-imagem-aguarde-animacao 1.2s linear infinite;
	z-index: 2;
	position: absolute;
	margin: auto;
}


@media(max-width: 768px) {
	#modal-imagem-img {
		max-width: 100%;
	}
}