* {
	font-family: "Noto Sans KR", sans-serif;
	font-weight: 400;
	font-style: normal;
}

.page-loading {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	-webkit-transition: all .4s .2s ease-in-out;
	transition: all .4s .2s ease-in-out;
	background-color: #fff;
	opacity: 0;
	visibility: hidden;
	z-index: 9999;
}

.text-gradient-primary {
	background: linear-gradient(to right, #6366f1, #8B5CF6, #D946EF);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.dark-mode .page-loading {
	background-color: #0b0f19;
}

.page-loading.active {
	opacity: 1;
	visibility: visible;
}

.page-loading-inner {
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	text-align: center;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	-webkit-transition: opacity .2s ease-in-out;
	transition: opacity .2s ease-in-out;
	opacity: 0;
}
.page-loading.active > .page-loading-inner {
	opacity: 1;
}
.page-loading-inner > span {
	display: block;
	font-size: 1rem;
	font-weight: normal;
	color: #9397ad;
}
.dark-mode .page-loading-inner > span {
	color: #fff;
	opacity: .6;
}
.page-spinner {
	display: inline-block;
	width: 2.75rem;
	height: 2.75rem;
	margin-bottom: .75rem;
	vertical-align: text-bottom;
	border: .15em solid #b4b7c9;
	border-right-color: transparent;
	border-radius: 50%;
	-webkit-animation: spinner .75s linear infinite;
	animation: spinner .75s linear infinite;
}
.dark-mode .page-spinner {
	border-color: rgba(255,255,255,.4);
	border-right-color: transparent;
}
@-webkit-keyframes spinner {
	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}
@keyframes spinner {
	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

.btn.hover-effect {
	transition: filter 0.2s ease;
	color: var(--ar-btn-hover-color);
	background-color: var(--ar-btn-hover-bg);
	border-color: var(--ar-btn-hover-border-color);
}

/* 레이어팝업 */
.layer-popup {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
}

.layer-popup.hide {
    display: none;
}

.layer-popup .inner {
    position: fixed;
    width: 600px;
    height: auto;

    top: 60px;
    /* left: 10%; */
}

.layer-popup .inner .img-box {
    background: #FFFFFF;
    overflow: hidden;
    line-height: 1;
}

.layer-popup .inner .img-box img {
    width: 100%;
}

.layer-popup .inner .img-box div {}

.layer-popup .inner .btn-box {
    display: flex;
    align-items: center;
    background: white;
}

.layer-popup .inner .btn-box button {
    width: 50%;
    background: none;
    border: 0;
    padding: 13px 0;
    font-weight: bold;
    color: #3e4265;
}

.layer-popup .inner .btn-box button:first-child {
    position: relative;
}

.layer-popup .inner .btn-box button:first-child::after {
    position: absolute;
    content: "";
    width: 1px;
    height: 24px;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    color: #000;
    background: #ddd;
}

@media (max-width: 1200px) {

}

@media (max-width: 992px) {
    .layer-popup .inner {
        width: 560px;
    }
}

/* 태블릿 */
@media (max-width: 768px) {
    .layer-popup .inner {
        width: 500px;
    }
}

/* 모바일 */
@media (max-width: 576px) {
    .layer-popup .inner {
        width: 360px;
        top: 70%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

.toss-pay {
	content: url("../images/toss-pay.png");
	height: 24px;
}

.dark-mode .toss-pay {
	content: url("../images/toss-pay-blue.png");
}

.kakao-pay {
	content: url("../images/kakao-pay-sm.png");
	height: 24px;
}

/* Spin animation */
@-webkit-keyframes hero-spin {
	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}
@keyframes hero-spin {
	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}
.hero-animation-spin {
	-webkit-animation: hero-spin 35s linear infinite;
	animation: hero-spin 35s linear infinite;
}

/* Fade animation */
@-webkit-keyframes hero-fade {
	0%, 100% { opacity: 0 }
	50% { opacity: 1 }
}
@keyframes hero-fade {
	0%, 100% { opacity: 0 }
	50% { opacity: 1 }
}
.hero-animation-fade {
	-webkit-animation: hero-fade 4s ease-in infinite;
	animation: hero-fade 4s ease-in infinite;
}
.hero-animation-delay-1,
.hero-animation-delay-2,
.hero-animation-delay-3 {
	opacity: 0;
}
.hero-animation-delay-1 { animation-delay: .75s; }
.hero-animation-delay-2 { animation-delay: 1.5s; }
.hero-animation-delay-3 { animation-delay: 2s; }

#layer-popup.bg-campaign-overlay {
	background: transparent;
	position: fixed;
	padding: 0;
	z-index: 9990;
	zoom: 1;
	-ms-overflow-style: none;
	overflow: hidden;
}

div.bg-campaign-overlay::-webkit-scrollbar {
	display: none;
}

#layer-popup div.bg-backdrop {
	background: rgba(0, 0, 0, 0.3);
	width: 100vw;
	height: 100vh;
}

#layer-popup div.bg-campaign-container {
	height: auto;
	display: block;
}

#layer-popup div.bg-campaign-panel {
	background: #ffffff;
	position: relative;
	overflow: auto;
	padding: 0;
	z-index: 30;
	border-radius: 20px;
}

#layer-popup div.bg-dimmed-layer {
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.6);
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10;
}

#layer-popup div.bg-campaign-container.bg-dimmed {
	z-index: 20;
}

#layer-popup div.bg-campaign-close-upper {
	position: absolute;
	width: 20px;
	height: 20px;
	background-color: transparent;
	border-radius: 10px;
	right: 0;
	top: 0;
	margin: 16px;
	z-index: 100;
	cursor: pointer;
}

#layer-popup div.bg-campaign-close-upper div.bg-campaign-close-upper-icon {
	position: absolute;
	width: 20px;
	height: 20px;
}

#layer-popup .bg-campaign-close-upper-icon.black:after {
	position: absolute;
	content: "";
	height: 20px;
	width: 20px;
	background: no-repeat center url("https://image.bigin.io/sdk/ic-close.svg");
}

#layer-popup div.bg-campaign-close-upper.white {
	position: absolute;
	width: 24px;
	height: 24px;
	background-color: transparent;
	right: 0;
	top: 0;
	margin: 24px;
	z-index: 100;
	cursor: pointer;
}

#layer-popup div.bg-campaign-close-upper div.bg-campaign-close-upper-icon.white {
	position: absolute;
	width: 24px;
	height: 24px;
}

#layer-popup .bg-campaign-close-upper-icon.white:after {
	position: absolute;
	content: "";
	height: 24px;
	width: 24px;
	background: no-repeat center url("https://image.bigin.io/sdk/ic-close-white.svg");
}

#layer-popup div.bg-campaign-media-container {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	display: block;
	border-width: 0 0 1px 0;
	border-style: solid;
	border-color: #DCE0E8;
}

#layer-popup div.bg-campaign-media-container.bg-border-none {
	border-width: 0;
	box-sizing: border-box;
}

#layer-popup div.bg-campaign-content-container {
	width: 100%;
	height: 100%;
	display: flex;
	background: #ffffff;
}

#layer-popup div.bg-campaign-content-container>div.bg-campaign-content.bg-space {
	width: 20px;
	height: 120px;
	border-style: solid;
	border-color: transparent;
	border-width: 0 0 1px 0;
}

#layer-popup div.bg-campaign-content-container>div.bg-campaign-content.bg-center {
	border-style: solid;
	border-color: #DCE0E8;
	border-width: 0 0 1px 0;
}

#layer-popup div.bg-campaign-content-title {
	padding: 0px;
	margin-top: 16px;
	text-align: center;
	font-family: 'Spoqa Han Sans Neo';
	font-style: normal;
	font-weight: 700;
	font-size: 15px;
	line-height: 24px;
	text-align: center;
	color: #3D4046;
	word-break: break-all;
}

#layer-popup div.bg-campaign-content-container.bg-border-none .bg-campaign-content.bg-center {
	border-color: transparent;
}

#layer-popup div.bg-campaign-button-container {
	display: table;
}

#layer-popup div.bg-campaign-button-container>div.bg-campaign-button {
	display: table-cell;
	width: 50%;
	height: 100%;
	min-height: 30px;
	vertical-align: middle;
	text-align: center;
	font-family: 'Spoqa Han Sans Neo';
	font-style: normal;
	font-weight: 700;
	font-size: 16px;
	cursor: pointer;
	color: #626871;
}

#layer-popup button.bg-campaign-button.positive {
	height: 48px;
	padding: 0px;
	margin: 12px 0 20px 0;
	border: none;
	border-radius: 8px;
	background: #2A2E37;
	font-family: 'Spoqa Han Sans Neo';
	font-style: normal;
	font-weight: 700;
	font-size: 16px;
	line-height: 24px;
	text-align: center;
	color: #FFFFFF;
	position: absolute;
}

#layer-popup div.bg-campaign-button-container>div.bg-campaign-button.close-today {
	border-right-width: 1px;
	border-right-style: solid;
	border-image: linear-gradient(to bottom, transparent 35.94%, #DCE0E8 35.94% 64.06%, transparent 64.06%) 0 50% stretch;
}

#layer-popup div.bg-campaign-button-container>div.bg-campaign-button.close-now>div.bg-campaign-close-timer-wrapper>div.bg-campaign-close-timer-container {
	display: flex;
	flex-direction: row;
	align-content: center;
	justify-content: center;
	align-items: center;
}

#layer-popup div.bg-campaign-button-container>div.bg-campaign-button.close-now>div.bg-campaign-close-timer-wrapper>div.bg-campaign-close-timer-container>div.close-now {
	text-align: center;
	color: #626871;
	font-family: 'Spoqa Han Sans Neo';
	font-style: normal;
	font-weight: 700;
	font-size: 16px;
	line-height: 16px;
}

#layer-popup div.bg-campaign-close-timer-container>div.bg-campaign-close-timer {
	width: 14px;
	height: 14px;
	margin-right: 9px;
	position: relative;
	border-radius: 999px;
}

#layer-popup .bg-campaign-close-timer>.bg-left-half,
#layer-popup .bg-campaign-close-timer>.bg-right-half {
	float: left;
	width: 7px;
	height: 14px;
	overflow: hidden;
}

#layer-popup .bg-campaign-close-timer>.bg-left-half::before {
	border-right: none;
	border-top-left-radius: 999px;
	border-bottom-left-radius: 999px;
	-webkit-transform-origin: center right;
	-webkit-animation-name: l-rotate;
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	border-style: solid;
	border-color: #626871;
	border-width: 1px 0 1px 1px;
	-webkit-animation-duration: 5s;
	-webkit-animation-iteration-count: 1;
	-webkit-animation-timing-function: linear;
	-webkit-animation-fill-mode: forwards;
}

#layer-popup .bg-campaign-close-timer>.bg-right-half::before {
	border-left: none;
	border-top-right-radius: 999px;
	border-bottom-right-radius: 999px;
	-webkit-transform-origin: center left;
	-webkit-animation-name: r-rotate;
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	border-style: solid;
	border-color: #626871;
	border-width: 1px 1px 1px 0;
	-webkit-animation-duration: 5s;
	-webkit-animation-iteration-count: 1;
	-webkit-animation-timing-function: linear;
	-webkit-animation-fill-mode: forwards;
}

#layer-popup .bg-campaign-close-timer>.bg-closing-count {
	top: 0px;
	left: 0px;
	position: absolute;
	width: 14px;
	text-align: center;
	color: #626871;
	font-family: 'Spoqa Han Sans Neo';
	font-style: normal;
	font-weight: 700;
	font-size: 10px;
	line-height: 16px;
	z-index: 2;
	-webkit-animation-fill-mode: forwards;
}

@-webkit-keyframes l-rotate {
	0% {
		-webkit-transform: rotate(-360deg);
	}

	50% {
		-webkit-transform: rotate(-360deg);
	}

	100% {
		-webkit-transform: rotate(-180deg);
	}
}

@-webkit-keyframes r-rotate {
	0% {
		-webkit-transform: rotate(0deg);
	}

	50% {
		-webkit-transform: rotate(180deg);
	}

	100% {
		-webkit-transform: rotate(180deg);
	}
}

@media only screen and (max-width: 759px) {
	#layer-popup.bg-campaign-overlay {
		transform: none;
	}

	#layer-popup.bg-campaign-overlay.bg-dimmed {
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
	}

	#layer-popup div.bg-campaign-container {
		position: relative;
		box-sizing: content-box;
	}

	#layer-popup div.bg-campaign-container.bg-dimmed {
		position: absolute;
	}

	#layer-popup div.bg-campaign-panel {
		border-radius: 20px;
		overflow-x: hidden;
	}

	#layer-popup div.bg-campaign-content-container {
		justify-content: center;
	}

	#layer-popup div.bg-campaign-content-container>div.bg-campaign-content.bg-center {
		width: 100%;
	}

	#layer-popup div.bg-campaign-content-title {
		width: 100%;
		text-align: center;
	}

	#layer-popup button.bg-campaign-button.positive {
		width: calc(100% - 40px);
	}

	#layer-popup div.bg-campaign-button-container {
		width: 100%;
		height: 64px;
	}
}

@media only screen and (min-width: 760px) {
	#layer-popup.bg-campaign-overlay {
		transform: none;
		top: 0;
		left: 0;
	}

	#layer-popup.bg-campaign-overlay.bg-dimmed {
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
	}

	#layer-popup div.bg-campaign-container {
		width: auto;
		position: fixed;
	}

	#layer-popup div.bg-campaign-container.bg-dimmed {
		position: absolute;
	}

	#layer-popup div.bg-campaign-panel {
		width: 360px;
		border-radius: 20px;
		box-shadow: 0px 8px 36px rgba(0, 0, 0, 0.1);
	}

	#layer-popup div.bg-campaign-content-title {
		width: calc(360px - 40px);
		text-align: center;
	}

	#layer-popup button.bg-campaign-button.positive {
		width: calc(360px - 40px);
	}

	#layer-popup div.bg-campaign-button-container {
		width: 360px;
		height: 56px;
	}
}

@media only screen and (min-width: 760px) {
	#layer-popup.bg-campaign-overlay {
		transform: none;
		top: 0;
		left: 0;
	}

	#layer-popup.bg-campaign-overlay.bg-dimmed {
		top: 0;
		right: 50px;
		bottom: 50px;
		left: 0;
	}

	#layer-popup div.bg-campaign-container {
		width: auto;
		position: fixed;
		right: 0;
		bottom: 0;
	}

	#layer-popup div.bg-campaign-container:not(.bg-dimmed) {
		margin-top: 0px;
		margin-bottom: 50px;
		margin-left: 0px;
		margin-right: 50px;
	}
}

@media only screen and (max-width: 759px) {
	#layer-popup.bg-campaign-overlay {
		border-radius: 0px;
		border-top-right-radius: 20px !important;
		border-top-left-radius: 20px !important;
	}

	#layer-popup.bg-campaign-overlay:not(.bg-dimmed) {
		left: 50%;
		transform: translate(-50%, 0);
		bottom: 0;
		left: 50%;
		transform: translate(-50%, 0);
	}

	#layer-popup.bg-campaign-overlay:not(.bg-dimmed) {}

	#layer-popup div.bg-campaign-container:not(.bg-dimmed) {
		position: relative;
	}

	#layer-popup.bg-campaign-overlay.bg-dimmed {
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
	}

	#layer-popup div.bg-campaign-container.bg-dimmed {
		position: absolute;
		padding: 40px 12px;
		bottom: 0;
		left: 50%;
		transform: translate(-50%, 0);
		transform: translate(-50%, 40px);
	}

	#layer-popup div.bg-campaign-panel {
		width: 375px !important;
		border-radius: 0px !important;
	}
}

#layer-popup {
	width: auto;
	border-radius: 20px;
}

#layer-popup div.bg-campaign-media-container>iframe.bg-campaign-video {
	display: none;
}

#layer-popup div.bg-campaign-media-container>img.bg-campaign-iframe {
	display: none;
}

#layer-popup div.bg-campaign-media-container>div.bg-campaign-slider-container {
	display: none;
}

#layer-popup div.bg-campaign-content-header {
	display: none;
}

#layer-popup div.bg-campaign-content-body {
	display: none;
}

#layer-popup div.bg-campaign-content-footer {
	display: none;
}

#layer-popup div.bg-campaign-content-container {
	/*display: none;*/
}

#layer-popup div.bg-campaign-content-container .bg-campaign-button.positive {
	background: #006FFF;
	cursor: pointer;
}

@media only screen and (min-width: 760px) {
	#layer-popup {
		width: auto;
	}

	#layer-popup div.bg-campaign-media-container>img.bg-campaign-image {
		width: 360px;
		height: auto;
		max-height: 748px;
		display: block;
	}

	#layer-popup div.bg-campaign-close-upper {
		display: none;
	}
}

@media only screen and (max-width: 759px) {
	#layer-popup {
		border-radius: 20px
	}

	#layer-popup div.bg-campaign-container>div.bg-campaign-panel {
		border-radius: 20px
	}

	#layer-popup div.bg-campaign-media-container {
		display: flex;
		justify-content: center;
	}

	#layer-popup div.bg-campaign-media-container>img.bg-campaign-image {
		width: 100%;
		max-height: calc(100vh - 64px);
	}

	#layer-popup div.bg-campaign-close-upper {
		display: none;
	}
}
