/* ---------------------------------------- Popup */
.popup-main {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 999999;
	background-color: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(10px);
	overflow: hidden;
	visibility: hidden;
	opacity: 0;
	transition: all 0.3s ease-in-out;
}

.popup-main.active {
	opacity: 1;
	visibility: visible;
}


.popup-container {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	width: 100%;
}

.popup-wrap {
	position: relative;
}

.popup-holder {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
}

.popup-block {
	width: 800px;
	min-height: 100px;
	max-width: calc(100vw - 60px);
	max-height: calc(100vh - 60px);
	background-color: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(90px);
	-webkit-box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.05);
	-moz-box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.05);
	box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.05);
	overflow-y: auto;
}

button.close-popup {
	border: none;
	outline: none;
	padding: 0;
	margin: 0;
	line-height: 1;
	height: 30px;
	width: 30px;
	border-radius: 50%;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	font-size: 18px;
	color: #000;
	background-color: #fff;
	position: absolute;
	z-index: 999;
	right: -12px;
	top: -12px;
	-webkit-box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.05);
	-moz-box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.05);
	box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease-in-out;
}

.popup-content {
	--popup_padding: 30px;
	padding: var(--popup_padding);
}

.auto-popup {
	display: none;
}

.child-popup {
	border-radius: 20px;
	backdrop-filter: blur(2px);
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	display: none;
	justify-content: center;
	align-items: center;
}

.child-popup-content {
	-webkit-box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.05);
	-moz-box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.05);
	box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.05);
	border-radius: 20px;
	position: relative;
	background-color: #fff;
	padding: 30px 60px;
}

@media screen and (max-width: 576px) {
	.popup-block {
		max-width: calc(100vw - 20px);
		max-height: calc(100vh - 90px);
	}

	button.close-popup {
		height: 26px;
		width: 26px;
		right: -8px;
		top: -8px;
	}
	.popup-content {
		--popup_padding: 24px;
	}
}


/* --------------------------- Video Popup */
.video-popup .popup-block {
	/* width: auto; */
	min-height: auto;
}

.video-popup .popup-content {
	--popup_padding: 0px;
}

.video-popup .popup-block {
	overflow-y: auto;
}

.video-popup .popup-content iframe {
	width: 65.8vw;
	height: 37vw;
	margin-bottom: -12px;
}