/*
Created By: Dmitriy Vasechka [https://t.me/kardinal9897]
*/
.modal-wrapper {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	overflow-y: auto;
	opacity: 0;
	z-index: -9999;
	transition: all 0.45s ease-in-out;
	padding: 24px 0;
}
.modal-wrapper.modal-opened {
	opacity: 1;
	z-index: 9999999;
}
.modal-layout {
	position: fixed;
	width: 100%;
	height: 100%;
	left: 0px;
	top: 0px;
	background-color: #000000;
	opacity: 0.5;
	overflow: auto;
}
.modal-close {
	text-decoration: none!important;
	border: none!important;
	display: block;
	width: 20px;
	height: 20px;
	font-size: 2rem;
	color: #000000;
	position: absolute;
	top: 5px;
	right: 15px;
	z-index: 99;
}
.modal-content {
	width: 100%;
	max-width: 450px;
	margin: auto;
	background-color: #ffffff;
	border-radius: 10px;
	position: relative;
	z-index: 2;
	border: 1px soli #2395DB;
}
.big-modal .modal-content {
	max-width: 1100px;
	width: 100%;
}
.fullscreen-modal .modal-content {
	max-width: 100%;
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0px;
	top: 0px;
	padding: 0px!important;
	margin: 0px!important;
}
.fullscreen-modal .modal-close {
	top: 35px;
	z-index: 9999;
}
.big-modal .modal-content {
	max-width: 1100px;
	width: 100%;
}
.modal-header {
	padding: 15px 20px 10px;
	border-bottom: 1px solid #2395DB;
}

.modal-title {
	font-size: 24px;
}
.modal-body {
	padding: 10px 20px 15px;
}
body.has-opened-modal {
	overflow: hidden!important;
}