/* ----------------------------------------------
	JS Simple Modal - Created by orionce
  Version: 1.0
---------------------------------------------- */

*[rel='simple_modal'] {
	display: inline-block;
}
.simple_modal, .modal_content {
	visibility: hidden;
	position: fixed;
	opacity: 0;
}
.simple_modal {
	width: 100%;
	height: 100vh;
	background: rgb(0,0,0);
	top: 0; left: 0;
	transition: all ease .4s;
	z-index: 1000;
}

.simple_modal.show_modal {
	visibility: visible;
	opacity: 0.9;
}

.modal_content {
	display: inline-block;
	background: #fff;
	top: 50%; left: 50%;
  z-index: 1001;
  transform: translate(-50%, -50%);
  border-radius: 8px;
  padding: 10px;
/*  max-width: 80vw;
  max-height: 80vh;
  overflow: auto;*/

}

.modal_content.blur-in-expand {
	animation: blur-in-expand 0.2s linear both;
	visibility: visible;
}

.modal_content .close_modal {
	position: absolute;
	top: 5px; right: 0;
	cursor: pointer;
}

.modal_box img {
	width: 100%;
}

@keyframes blur-in-expand {
	0% {transform:scale(.4); opacity: 0}
	100% {transform:scale(1); opacity: 1}
}

.overflow {
	height: 100vh;
	overflow: hidden;
}