/**********************************************************************/
/**********************************************************************/
.popup {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, calc(-50% + 20px));
	display: flex;
	flex-direction: column;
	width: 440px;
	max-width: calc(100vw - 80px);
	max-height: calc(100vh - 60px);
	padding: 40px 20px 30px;
	background-color: #007EFF;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.3s;
	z-index: 200;
}
body.admin-bar .popup {
	top: calc(50% + 16px);
	max-height: calc(100vh - 92px);
}
.popup.show {
	pointer-events: initial;
	opacity: 1;
}
.popup__close {
	position: absolute;
	top: -40px;
	right: 0;
	width: 25px;
	height: 25px;
	cursor: pointer;
	transition: opacity 0.3s;
	z-index: 1300;
}
.popup__close:before, .popup__close:after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 32px;
	height: 3px;
	background-color: #FFFFFF;
	transition: opacity 0.3s;
}
.popup__close:before {
	transform: translate(-50%, -50%) rotate(45deg);
}
.popup__close:after {
	transform: translate(-50%, -50%) rotate(-45deg);
}
.popup__close:hover {
	opacity: 0.6;
}
.popup__body {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 0 20px;
	overflow-x: hidden;
	overflow-y: auto;
}
.popup__title {
	margin-bottom: 50px;
	font: normal 500 42px / 60px "Oswald", sans-serif;
    color: #FFFFFF;
}




/**********************************************************************/
/*********************         RESPONSIVE         *********************/
/**********************************************************************/
@media screen and (max-width: 782px) {
	/******************************************************************/
	/******************************************************************/
	body.admin-bar .popup {
		top: calc(50% + 23px);
		max-height: calc(100vh - 106px);
	}
}


@media screen and (max-width: 767px) {
	/******************************************************************/
	/******************************************************************/
	.popup {
		max-width: calc(100vw - 40px);
		padding: 40px 15px 30px;
	}
	.popup__body {
		padding: 0 15px;
	}
	.popup__title {
		margin-bottom: 40px;
		font-size: 32px;
		line-height: 48px;
	}
}