.modal{
	position: absolute;
	left: 0px;
	top: 0px;
	right: 0px;
	bottom: 0px;
	display: flex;
	align-content: center;
	justify-content: center;
	align-items: center;
	}

.modal-background{
	position: absolute;
	left: 0px;
	top: 0px;
	right: 0px;
	bottom: 0px;
	background-color: rgba(0,0,0,0.7);
	pointer-events: initial !important;
	animation-duration: 0.3s;
	animation-name: modalBackground;
	animation-timing-function: ease-in-out;
	animation-fill-mode: forwards; 
	opacity: 0;
	}
@keyframes modalBackground {
	    0% {
			opacity: 0;
	    	}
	    100% {
	      opacity: 1;
	    }
	}
.modal-stage{
	display: table;
	margin: auto;
	/*margin-top: 30px;*/
	width: 100%;
	max-width: 50vw;
	max-height: 100vh;
	width: auto;
	position: relative;
	pointer-events: initial !important;
	animation-duration: 0.5s;
	animation-name: modalInit;
	animation-timing-function: ease-in-out;
	animation-fill-mode: forwards; 
	transform: translatey(50px);
	opacity: 0;
	}

@keyframes modalInit {
	    0% {
			transform: translatey(50px);
			opacity: 0;
	    	}
	    100% {
	      transform: translatey(0px);
	      opacity: 1;
	    }
	}

.modal-close{
	position: absolute;
	width: 32px;
	height: 32px;
	top: -15px;
	right: -10px;
	padding: 3px;
	background-color: #FFF;
	-moz-border-radius: 50px; 
	-webkit-border-radius: 50px;
	-moz-box-shadow: 1px 1px 5px rgba(0,0,0,0.5); 
	-webkit-box-shadow: 1px 1px 5px rgba(0,0,0,0.5); 
	box-shadow: 1px 1px 5px rgba(0,0,0,0.5);
	cursor: pointer;
	display: flex;
	align-content: center;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	pointer-events: initial !important;
	}
.modal-close > i{
	margin: 0;
	padding: 0;
	line-height: 100%;
	}
.modal-close:hover{
	background-color: #CCC;
	}
.modal-content{
	overflow: auto;
	max-height: 88vh;
	padding: 20px;
	background-color: #FFF;
	-moz-border-radius: 5px; 
	-webkit-border-radius: 5px;
	-moz-box-shadow: 2px 2px 4px rgba(0,0,0,0.2); 
	-webkit-box-shadow: 2px 2px 4px rgba(0,0,0,0.2); 
	box-shadow: 2px 2px 4px rgba(0,0,0,0.2);
	pointer-events: initial !important;
	}
.modal-content *{
	pointer-events: initial !important;
	}