/* dmain Popups - 프론트 스타일 */

.dmain-popups-root {
	position: fixed;
	inset: 0;
	z-index: 99990;
	pointer-events: none;
}
.dmain-popups-root.is-open {
	pointer-events: auto;
}

.dmain-popups-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.4);
	opacity: 0;
	visibility: hidden;
	transition: opacity .2s ease;
	z-index: 1;
}
.dmain-popups-root.is-open .dmain-popups-overlay {
	opacity: 1;
	visibility: visible;
}

.dmain-popup {
	position: fixed;
	z-index: 2;
	display: none;
	max-width: calc(100vw - 0px);
	background: transparent;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.dmain-popup.is-visible {
	display: block;
}

.dmain-popup__body {
	background: transparent;
}
.dmain-popup__body img {
	display: block;
	max-width: 100%;
	height: auto;
}
.dmain-popup__body p {
	margin: 0;
}

.dmain-popup__bar {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 24px;
	height: 50px;
	padding: 0 16px;
	background: #000;
	color: #fff;
}
.dmain-popup__today {
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	color: #fff;
	font-size: 15px;
	line-height: 1;
	text-decoration: underline;
	cursor: pointer;
}
.dmain-popup__today:hover,
.dmain-popup__today:focus {
	opacity: .85;
}
.dmain-popup__close {
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	color: #fff;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.dmain-popup__close .fa-circle-xmark {
	font-size: 30px;
}
.dmain-popup__close:hover,
.dmain-popup__close:focus {
	opacity: .85;
}

/* 모바일: 좌우 패딩 20px, 가로 100% */
@media (max-width: 767px) {
	.dmain-popup {
		top: var(--dmain-popup-mobile-top, 0px) !important;
		left: 0 !important;
		right: 0;
		width: 100%;
		max-width: 100%;
		padding: 0 20px;
		box-sizing: border-box;
	}
	.dmain-popup__body img {
		width: 100%;
		height: auto;
	}
}
