#modal{
	position: fixed;
	left: 0px;
	top: 0px;
	right: 0px;
	bottom: 0px;
	z-index: 7000;
	pointer-events: none;
	}
#modal *{
	pointer-events: none;
	}
.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;
	}
.modal-stage{
	display: table;
	margin: auto;
	/*margin-top: 30px;*/
	max-width: 92%;
	max-height: 100vh;
	width: auto;
	position: relative;
	pointer-events: initial !important;
	}
.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;
	}