@charset "utf-8";

#popup {position: fixed; top: 0; left: 0; z-index: 111; width: 100vw; height: 100vh;}
#popup .popup_box {position: absolute; top: 50%; left: 50%; width: 100%; transform: translate(-50%, -50%); z-index: 10;}
#popup .popup_content {width: 100%; font-size: 0; line-height: 0; text-align: center;}
#popup .popup_content > div {display: inline-block; vertical-align: bottom; position: relative;}
#popup .popup_content img {width: 100%;}

#popup .btn_wrap {background-color: #000; width: 100%; height: 38px; position: relative;}
#popup .btn_wrap .btn_dont_show {display: block; background-color: transparent; color: #fff; height: 38px; line-height: 34px; margin: 0; padding: 0 12px; cursor: pointer; font-size: 14px; font-weight: 500; border: 0;}
#popup .btn_wrap .btn_close {position: absolute; top: 50%; right: 12px; background: url('../img/x_close.svg') no-repeat center center; border: 0; width: 15px; height: 15px; font-size: 0; cursor: pointer; transform: translateY(-50%);}

#popup .popup_swiper_wrap {width: 920px;}
#popup .popup_swiper {width: 100%;}

#popup .swiper-pagination {text-align: center; position: unset; background-color: #fff;}
#popup .swiper-pagination span.swiper-pagination-bullet {position: relative; display: inline-block; height: 35px; line-height: 35px; background-color: #fff; margin: 0; color: #000; border-radius: 0; opacity: 1; font-size: 14px;}
#popup .swiper-pagination span.swiper-pagination-bullet::after {content: ''; display: block; position: absolute; top: 50%; right: 0; width: 1px; height: 16px; background-color: #ddd; transform: translateY(-50%);}
#popup .swiper-pagination span.swiper-pagination-bullet:last-child:after {display: none;}
#popup .swiper-pagination span.swiper-pagination-bullet-active {background-color: #3998ff; color: #fff;}

#popup .pop_img {width: 450px; box-shadow: 0 4px 28px rgba(0, 0, 0, .25); overflow: hidden;}
#popup .pop_img img {width: 100%; display: block;}

.popup_con a.nolink {cursor: default;}

#background {display: block; position: fixed; z-index: 110; top: 0; right: 0; bottom: 0; left: 0; background-color: rgba(0, 0, 0, .25);}


/* 모바일 */
#popup.mobile {position: unset; width: 100%; height: auto; background-image: url('/newmb/images/main/roll_bg.jpg'); background-repeat: no-repeat; background-size: cover; padding: 35px 0;}
#popup.mobile .popup_box {width: 90%; margin: 0 auto; position: unset; transform: unset;}
#popup.mobile .popup_content img {width: 100%; height: auto;}
#popup.mobile .pop_img {width: 100%;}

#popup.mobile .btn_wrap {display: none;}
#popup.mobile .popup_swiper_wrap {width: 100%;}

#popup.mobile .swiper-pagination span.swiper-pagination-bullet {height: auto; line-height: 3; font-size: 3vw;}
#popup.mobile .mobile-pagination {background-color: #f5f5f5; width: 100%; height: auto; padding: 15px 0; color: #6e6e6e; font-size: 3.5vw; font-weight: 700; line-height: 1;}
#popup.mobile .mobile-pagination > span {padding: 0 20px;}

#background.mobile {display: none;}