
/* 레이어 팝업 */
#popup_layer {display:none;}

.popup_modal_layer {
    position: fixed;
    left: 0%;
    top: 0%;
    z-index: 10000;
}
.popup_modal_layer.center {
    left: 50%;
    top: 50%;
}
/*중앙정렬*/
.popup_modal_layer .modal_box.center {
    position: absolute;
    top: 50%;
    left: 50%;;
    /*width: 100vw;*/
    transform: translateY(-50%) translateX(-50%);
    -webkit-transform: translateY(-50%) translateX(-50%);
}
.popup_modal_layerg .modal_box .popInner {
    position: relative;
    padding-top: 10.2vw;
    text-align: center;
}
.popup_modal_layer .modal_box .imgWrap {
    position: relative;
    display: inline-block;
    height: auto;
    width:auto;
    margin: 0 auto;
    padding: 0;
    overflow-y: auto; /* max-height 는 CmsPopupDto.getPopupStyle() 인라인 스타일 */
    scrollbar-width: none; /* 기본 스크롤바 숨김, 표시 막대는 custom.js */
}
.popup_modal_layer .modal_box .imgWrap::-webkit-scrollbar {display: none;}
/* 스크롤 표시 막대: 높이 0 인 sticky 틀 안에 띄워 이미지 폭을 차지하지 않는다 */
.popup_scroll_thumb {position: sticky; top: 0; height: 0; z-index: 2; pointer-events: none;}
.popup_scroll_thumb span {
    position: absolute;
    right: 3px;
    width: 5px;
    border-radius: 3px;
    background: rgba(0, 0, 0, .5);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .5);
    opacity: 0;
    transition: opacity .3s;
}
.popup_modal_layer .imgWrap.is-scrolling .popup_scroll_thumb span {opacity: 1;}
.popup_modal_layer .modal_box {
    display: block;
    text-align: center;
}
.popup_modal_layer .modal_box img {
    width: 100%;
    /*max-width: 80.5vw;*/
    height: auto;
    text-align: center;
    vertical-align: middle;
    /*border-radius: 3.7vw;*/
}
.popup_modal_layer .full.modal_box img {max-width:100%;}
.popup_modal_layer .modal_box .checkWrap {
    position: sticky; /* 스크롤 중에도 닫기 버튼 노출 */
    bottom: 0;
    height: 9.4vw;
    max-height:36px;
    padding:6px 15px;
    /*margin-top: 3vw;*/
    vertical-align: middle;
    text-align: left;
    background:#000;
    /*background-size:100% auto;*/
}
/* .popup_modal_layer .full.modal_box .checkWrap {
	padding:6px 13vw 6px 13vw;
	background:#000;
	background-size:100% auto;
}*/

.popup_modal_layer .modal_box .popTit {padding:15px 0; font-size:1.2em; color:#fff;  text-align:center; background:#ea790c;}
.popup_modal_layer .modal_box .checkWrap .nopopup_check {position:relative; float:left; }
.popup_modal_layer .modal_box .checkWrap .nopopup_check input[type="checkbox"]{position:absolute;top:0px;left:1px;width:15px;height:15px;outline:0;z-index:-1;opacity:0;} /* opacity: sticky 가 쌓임 맥락을 만들어 z-index:-1 만으로는 안 가려짐 */
.popup_modal_layer .modal_box .checkWrap .nopopup_check label {font-size:14px; color:#fff; background-size: 16px auto;  cursor: pointer;}
.popup_modal_layer .modal_box .checkWrap .nopopup_check input[type="checkbox"]:checked + label {color:#ffff00;font-weight:500; background-position: 0 -18px;}

.popup_modal_layer .modal_box .checkWrap .close_btn {float:right; color:#fff; border:none; background:none;}


.__popup_modal_layer.type1 .modal_box .imgWrap {overflow:hidden; width:1000px;} /* 2개팝업 나란히 처리하기 위해 1000px */
.__popup_modal_layer.type1 .modal_box .imgWrap a {float:left; display:block; width:50%; } /* 2개팝업 나란히 처리하기 위해 이미지 50% */
.__popup_modal_layer.type1 .modal_box .checkWrap {clear:both;}

.__popup_modal_layer.type2 .modal_box .imgWrap {overflow:hidden; width:500px;} /* 1개팝업 나란히 처리하기 위해 500px */
.__popup_modal_layer.type2 .modal_box .imgWrap a {float:left; display:block; width:100%; } /* 1개팝업 나란히 처리하기 위해 이미지 100% */
.__popup_modal_layer.type2 .modal_box .checkWrap {clear:both;}


@media (max-width: 576px) {
    .popup_modal_layer {
        max-width: 100%;
    }
}
@media (max-width: 768px) {
    .popup_modal_layer {
        max-width: 100%;
    }
}
@media (min-width: 992px) {
    .popup_modal_layer {

    }
}
@media (min-width: 1200px) {
    .popup_modal_layer {

    }
}
@media (min-width: 1400px) {
    .popup_modal_layer {

    }
}
