/* Modal */
.ns_modal-open #ns_site {
	/* overflow: hidden;
	height: 100vh; */
}

.mfp-bg {
	position: fixed;
	height: 100%;
	width: 100%;
	left: 0px;
	top: 0px;

	background: var(--hipnos-color-background-1);
	backdrop-filter: blur(20px);
}

.mfp-wrap,
.mfp-container {
	position: fixed;
	height: 100%;
	width: 100%;
	overflow: scroll;
	left: 0px;
	top: 0px;
	padding: 0px;
}

.mfp-content {
	overflow-x: hidden;
	/* overflow-y: scroll; */
}

.ns_mfp-fade-in.mfp-bg,
.ns_mfp-fade-in .mfp-content {
	opacity: 0;
	-webkit-transition: opacity 0.18s ease-in-out;
	transition: opacity 0.18s ease-in-out;
}

.ns_mfp-fade-in.mfp-bg.mfp-ready,
.ns_mfp-fade-in.mfp-ready .mfp-content {
	opacity: 1;
}

.ns_mfp-fade-in.mfp-bg.mfp-removing,
.ns_mfp-fade-in.mfp-removing .mfp-content {
	opacity: 0;
}

.ns_modal {
	position: relative;
	margin: 32px auto;
	width: 94%;
	max-width: 480px;
	padding: 32px;
	border-radius: var(--hipnos-border-radius);
	box-shadow: var(--hipnos-box-shadow-style-1);
	background: var(--hipnos-color-neutral-5);
	display: none;
}

.ns_modal[data-size="big"] {
	max-width: 768px;
}

.ns_modal[data-size="fullscreen"] {
	width: 100%;
	max-width: 100%;
	height: 100%;
	max-height: 100%;
	background: transparent;
	box-shadow: none;
	padding: 0px;
	margin: 0px;
}

.ns_modal[data-type="nogap"] {
	padding: 0px;
}

.mfp-content .ns_modal {
	display: block;
}

.mfp-close {
	display: none !important;
}

.ns_modal .ns_modal-close,
.ns_modal .ns_modal-close-alt {
	position: absolute;
	top: -20px;
	right: -20px;
	width: 40px;
	height: 40px;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border-radius: 50%;
	background-color: var(--hipnos-color-secondary-1);
	box-shadow: var(--hipnos-box-shadow-style-1);
	z-index: 9;
}

@media only screen and (max-width: 767px) {
	.ns_modal {
		padding-left: 16px;
		padding-right: 16px;
	}
}