/* ========================================================================== */
/*                                    POPUP                                   */
/* ========================================================================== */
/* ----------------------------------- var ---------------------------------- */
#wso-popup-main-container {
	--popup-close-bttn-size: 1.5rem;
}
@media only screen and (max-width:959px) {
	#wso-popup-main-container {
		--popup-close-bttn-size: 2rem;
	}
}
/* --------------------------------- layout --------------------------------- */
.fancybox-container {
	z-index: 9999999999999;
}
html.wso-popup-active,
html.wso-popup-active body,
html.wso-megamenu-active {
	overflow: hidden !important;
}
.popup .wso-section-text-img .section_wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 4rem;
	min-height: 50vh;
	align-items: stretch;
}
.popup .wso-section-text-img .section_wrapper::before,
.popup .wso-section-text-img .section_wrapper::after {
	display: none !important;
}
.popup .wso-section-text-img .section_wrapper .wrap {
	position: static;
	float: none;
	height: auto !important;
	width: 40%;
	flex-grow: 1;
}
#Wrapper #wso-popup-main-container .popup .wso-section-text-img .wrap {
	order: 1 !important;
}
#Wrapper #wso-popup-main-container .popup .wso-section-text-img .wrap.wso-float-right {
	order: 2 !important;
}
#Wrapper #wso-popup-main-container .popup .wso-section-text-img .wrap:last-child {
	z-index: -1;
}
#Wrapper #wso-popup-main-container .popup .wso-section-text-img .wrap:first-child {
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: static;
	z-index: 1;
}
#Wrapper #wso-popup-main-container .popup .wso-section-text-img .wrap:first-child .mcb-wrap-inner {
	position: static;
}
@media only screen and (min-width: 768px) {
	.popup .wso-section-text-img .wrap.wso-float-right {
		padding: 0;
	}
	.popup .wso-section-text-img .wrap.wso-float-right + .wrap {
		padding-right: 0rem !important;
		position: relative;
	}
}
/* -------------------------------- on / off -------------------------------- */
#wso-popup-main-container {
	pointer-events: none;
	display: none;
	height: 0 !important;
}
#wso-popup-main-container.wso-active {
	pointer-events: all;
	display: block;
	height: auto !important;
}
/* ---------------------------------- style --------------------------------- */
.wso-popup .column_image {
	position: absolute !important;
}
.popup {
	overflow-Y: auto !important;
}
@media only screen and (max-width: 767px) {
	.wso-popup .column_image {
		position: relative !important;
		height: 40vh !important;
		margin-bottom: 3rem;
	}
	.wso-popup .mcb-wrap:last-child {
		padding-left: 2rem !important;
		padding-right: 2rem !important;
		margin: 3rem 0 !important;
	}
	.popup {
		max-height: 85vh !important;
		width: 85% !important;
		max-width: 85% !important;
	}
}
.wso-option_hide {
	display: none !important;
}
.overlay {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.8);
	transition: opacity 500ms;
	visibility: hidden;
	opacity: 0;
	overflow: auto !important;
	z-index: 9999999999;
}
.overlay.wso-active {
	visibility: visible;
	opacity: 1;
}
.popup {
	position: absolute !important;
	top: 50% !important;
	bottom: auto !important;
	box-sizing: border-box;
	right: auto;
	left: 50%;
	margin-right: 0 !important;
	margin-left: 0 !important;
	width: 75%;
	max-width: 75%;
	transition: all .5s ease-in-out;
	background-color: white;
	z-index: 99999999 !important;
	transform: translate(-50%, -50%) !important;
	padding: 1.5rem;
}
.popup .close img {
	width: 2.5rem;
}
#Wrapper .popup .wso-section-text-img .column {
	margin-bottom: 0 !important;
}
.popup .close {
	position: absolute;
	top: 1.2rem;
	right: 1rem !important;
	z-index: 99;
	text-align: right;
	line-height: 0rem;
	padding-bottom: .5rem;
	opacity: 1;
	color: inherit;
	width: var(--popup-close-bttn-size);
	height: var(--popup-close-bttn-size);
	font-size: 0rem !important;
	overflow: hidden
}
.popup .close::before,
.popup .close::after {
	content: '';
	position: absolute;
	/* 1.414 = root(2) */
	width: calc(var(--popup-close-bttn-size) * 1.414);
	height: .1rem;
	background-color: currentColor;
	inset: 50% auto auto 50%;
	translate: -50% -50%;
}
.popup .close::before {
	rotate: 45deg;
}
.popup .close::after {
	rotate: -45deg;
}
@media only screen and (max-width: 1023px) {
	#Wrapper #wso-popup-main-container .popup .wso-section-text-img .wrap {
		width: 100%;
		overflow: hidden;
	}
	#Wrapper .popup .wso-section-text-img .wrap.wso-float-right + .wrap {
		height: 31rem !important;
		display: block;
	}
	#Wrapper .popup .wso-section-text-img .wrap.wso-float-right {
		padding: 0 1rem 1rem 1rem;
	}
	.popup {
		padding: 0rem !important;
	}
}
@media only screen and (max-width: 767px) {
	#Wrapper .popup .wso-section-text-img .wrap.wso-float-right + .wrap {
		height: auto !important;
	}
	#Wrapper .popup .wso-section-text-img .column {
		margin-bottom: 0 !important;
	}
	#Wrapper .popup .wso-section-text-img .section_wrapper {
		display: flex;
		flex-direction: column;
	}
}
#Wrapper .popup .section {
	padding: 0 !important;
}
.wso-popup-no-img .wrap.mcb-wrap.one-second.valign-top.wso-float-right {
	width: 100% !important;
}
.wso-popup-no-img.wso-section-text-img .wrap:last-child {
	position: relative;
}
#Wrapper .popup .wso-highlight-button {
	top: .5rem;
	left: .5rem;
	z-index: 9999;
}