/*-------------------------------------
.modal_box
--------------------------------------*/
.modal_open{
	cursor:pointer;
}

.modal-open {
	overflow: hidden;

}

.modal-open .modal {

}

.modal .image_box{
padding:1rem;
}

.modal {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1072;
	display: none;
	width: 100%;
	height: 100%;
	overflow: hidden;.
	outline: 0;
}

.modal-backdrop.show {
	opacity: .8;
}


.modal-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1040;
	width: 100vw;
	height: 100vh;
	background-color: #fff;
}

.modal-backdrop {
	z-index: 1071;
}

.modal.show .modal-dialog {
	-webkit-transform: none;
	transform: none;
	padding-top:20px;
}

.modal-dialog {
	position: relative;
	width: auto;
	margin: 0 auto;
	pointer-events: none;
}



@media (min-width: 576px) {
	.modal-dialog {
		max-width	: 540px;
	}
}

@media (min-width:768px) {
	.modal-dialog {
	max-width	: 720px;
	}

}

@media (min-width: 992px) { 
	.modal-dialog {
	max-width	: 960px;
	}
}

@media (min-width: 1200px) { 
	.modal-dialog {
	max-width	: 1000px;
	}
}

.modal-dialog-centered {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-align: center;
	align-items: center;
	min-height: calc(100% - 1rem);
}

.modal-dialog-centered::before {
	display: block;
	height: calc(100vh - 1rem);
	content: "";
}

@media (min-width: 576px) {
	.modal-dialog-centered::before {
		height: calc(100vh - 3.5rem);
	}
}

.modal-content {
	position: relative;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-direction: column;
	flex-direction: column;
	width: 100%;
	pointer-events: auto;
	outline: 0;
	padding	: 3rem 1rem;
}

.modal-wall{
	position		: relative;
	background-color	: #fff;
	background-clip		: padding-box;
	border-radius		: 1rem;
	padding			: 0.5rem 1rem;
	border			: 1px solid #f2f2f2;
}

.modal-body {
	position		: relative;
	-ms-flex		: 1 1 auto;
	flex			: 1 1 auto;
	width			: 100%;
	max-height		: calc(80vh - 3.5rem);
	overflow		: hidden;
	overflow-y		: auto;
}

.modal_close:hover{
	opacity		: 1;

}

.modal_close{
	position	: absolute;
	top		: -3.5rem;
	right		: 0;
	display		: block;
	padding		: 0 2rem;
	background	: #495057;
	border-radius	: 20px;
	color		: #fff;
	cursor		: pointer;
	opacity		: .75;
	letter-spacing	: 0.2rem;
}