/*modal style*/
.modal-layer { display: none; position: relative; width: calc(100% - 40px); max-width: 800px; max-height: calc(100% - 40px); border-radius: 8px; box-sizing: border-box; background: #fff; overflow: hidden; animation: modalMotion .5s ease-out; }
.modal-layer-v1 { max-width: 620px; }

.dim-layer { display: block; position: fixed; top: 0; left: 0; z-index: 2000; width: 100%; height: 100%; }
.dim-layer-on { display: flex; }
.dim-layer .dim-bg { position: fixed; top: 0; left: 0; right: 0; width: 100%; height: 100%; margin: 0 auto; background: rgba(0, 0, 0, 0.6); -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px); }
.dim-layer .modal-layer { display: block; }

.modal-group { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 100%; height: 100%; }
.modal-container { height: 100%; background: #fff; overflow: auto; }
.modal-container .box-modal { height: calc(100% - 72px); padding: 40px 32px; box-sizing: border-box; background: #fff; overflow-y: auto; }

.modal-top { display: flex; justify-content: space-between; align-items: center; position: relative; height: 72px; padding: 0 20px 0 32px; border-bottom: 1px solid #eaeaea; box-sizing: border-box; background: #fff; }
.modal-top .modal-tit { font-size: 20px; font-weight: 700; color: #000; }
.modal-top .modal-close { width: 40px; height: 40px; border: none; background: url('/img/popup/ico_close1.svg') center center no-repeat; }

.modal-group .btn-group-center { margin: 40px 0 0; }

/*하단 버튼 고정 시*/
.modal-container .box-modal-fix { padding-bottom: 0; }
.modal-container .box-modal-fix .btn-group-center-fix { position: sticky; bottom: 0; z-index: 1; margin-top: 0; padding: 40px 0; box-sizing: border-box; background: #fff; }


/*팝업창*/
.modal-group-popup .dim-bg { -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); }
.modal-group-popup .modal-layer { width: auto; max-width: none; background: none; overflow: visible; }
.modal-group-popup .modal-container { background: none; overflow: visible; }

.slide-popup .slide-tool { margin-bottom: 20px; }
.slide-popup .slide-tool .pagination-group .swiper-pagination { position: static; }
.slide-popup .slide-tool .pagination-group .swiper-pagination-bullet { width: 12px; height: 12px; margin: 0 4px; border: 1x solid #bebebe; box-sizing: border-box; background: #fff; opacity: 1; }
.slide-popup .slide-tool .pagination-group .swiper-pagination-bullet-active { background: #657fff; }

.slide-popup .popup-tool { display: flex; justify-content: space-between; align-items: center; height: 36px; padding: 0 12px; border-bottom: none; box-sizing: border-box; background: #000; }
.slide-popup .popup-tool .btn-close { border: none; background: none; font-size: 14px; font-weight: 500; color: #fff; }
.slide-popup .popup-tool .btn-close2 { width: 20px; height: 20px; border: none; background: url('/img/popup/ico_close1_popup.svg') center center no-repeat; }

.slide-popup .swiper { max-width: 1324px; overflow: visible; }
.slide-popup .swiper-slide { width: 320px; }
.slide-popup .swiper-slide img { display: block; width: 100%; margin: 0 auto; }


@media only screen and (max-width: 1324px) {
	/*modal style*/
	.modal-container .box-modal { height: calc(100% - 60px); padding: 24px 16px; box-sizing: border-box; }
	
	.modal-top { height: 60px; padding: 0 16px; box-sizing: border-box; }
	.modal-top .modal-tit { font-size: 18px; }
	.modal-top .modal-close { width: 24px; height: 24px; background-size: contain; }
	
	/*하단 버튼 고정 시*/
	.modal-container .box-modal-fix { padding-bottom: 0; }
	.modal-container .box-modal-fix .btn-group-center-fix { padding: 24px 0; box-sizing: border-box; }
	
	
	/*팝업창*/
	.modal-group-popup .modal-layer { width: calc(100% - 40px); }	
	.slide-popup { height: 100%; }
	.slide-popup .swiper { width: 320px; max-width: 100%; max-height: calc(100% - 40px); overflow: hidden; }
	.slide-popup .swiper-slide { max-width: 320px; }
}