/*/*LayerPopup css 추가*/
.layer-popup-wraps{background:rgba(0, 0, 0, .7);width:100%; height:100%; position:fixed;z-index:1000; vertical-align: middle;}
.layer-popup-wrap{display: inline-block; color:#fff; margin:1rem; height:100%;max-height: calc(100vh - 2rem);}
.layer-popup-wrap > div:first-child{overflow-y: auto;max-height: calc(100% - 30px);}
.btn-box{position:relative; font-size:1.4rem; height:3rem;}

.btn-box > a:hover{border-bottom:1px dotted #fff;}
a.btn-layer-close:first-child{margin-right:1rem;}
a.btn-layer-close:last-child{text-indent:-9999px; position:absolute; right:0; border-radius:50%; background-color:rgba(0,0,0,1); width:3rem; height:3rem; border:0;}
a.btn-layer-close:last-child:before, a.btn-layer-close:last-child:after {content:"";display:block;position:absolute;width:14px;height:1px;background:#fff;top:0;right:0;bottom:0;left:0;margin:auto;transition:all .3s ease}
a.btn-layer-close:last-child:before {transform:rotate(45deg)}
a.btn-layer-close:last-child:after {transform:rotate(135deg);}
a.btn-layer-close:last-child:focus:before,
a.btn-layer-close:last-child:hover:before {transform:rotate(135deg)}
a.btn-layer-close:last-child:focus:after,
a.btn-layer-close:last-child:hover:after {transform:rotate(225deg)}

.layer-popup-wrap > p > a > img{max-height:90vh;}


@media screen and (max-width:380px){
.layer-popup-wrap > div > img{max-height:85vh;}
}