.membership_modal_background  {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 10001;
	overflow: auto;
}

.membership_modal_background_fade {
    background-color: rgba(0,0,0, 0.8);
    box-shadow: 4px 4px 30px rgba(0,0,0,0.1)
}

.membership-modal-dialog {
	margin: 0.5rem auto;
	max-width: 50%;
	background: white;
	z-index: 10002;
	pointer-events: none;
}

.membership-modal-pointer-stub {
	pointer-events: auto;
	height: 100%;
}

.membership-modal-header {
	display: flex;
}

.membership-modal-body {
	display: flex;
	height: 100%;
	overflow: auto !important;
	-webkit-overflow-scrolling: touch !important;
}

button.membership-modal-close-btn {
	margin-right: 22px;
	margin-top: 22px;
	margin-left: auto;
	margin-bottom: 4px;
	padding: 0;
	border: none;
	background: transparent;
	cursor: pointer;
}

button.membership-modal-close-btn:hover {
	opacity: 0.8;
}

button.membership-modal-close-btn::after {
	content: url('../svg/cross.svg');
	display: block;
}

.frame-loading {
	height: 90px;
	margin-bottom: 60px;
	background-position: center center;
	background-image: url("../svg/loading.svg");
	background-repeat: no-repeat;/*Заменить на анимированный svg*/
}

@media(min-width: 1200px){
	.membership-modal-dialog {
		max-width: 1100px;
	}
}
@media(max-width: 1200px){
	.membership-modal-dialog {
		max-width: 850px;
	}
}
@media(max-width: 992px){
	.membership-modal-dialog {
		max-width: 90%;
	}
}
@media(max-width: 575.98px){
	button.membership-modal-close-btn {
		padding-bottom: 0;
	}
}
