@charset "utf-8";

/************************************************************** 
	메인에 노출되는 팝업 스타일입니다.
	작성일 : 2025.10 / 작성자 : ㈜넥스미디어      
**************************************************************/

/******************************************
  일반 팝업 영역
******************************************/
.normal_wrap#loadPopup .pop_wrap { display: none; position:fixed; top:50%; left:50%; transform: translate(-50%, -50%); background:transparent; z-index:9999;}
.normal_wrap#loadPopup .pop_wrap > ul { display: flex; justify-content: center;}
.normal_wrap#loadPopup .main_popup { position: relative;}
.normal_wrap#loadPopup .pop_wrap .popimg, .normal_wrap#loadPopup .pop_mobile .popimg {position: relative;}
.normal_wrap#loadPopup .pop_wrap .popimg img,
.normal_wrap#loadPopup .pop_mobile .popimg img {
  display: block;
}

.normal_wrap#loadPopup .pop_wrap .popimg a, .normal_wrap#loadPopup .pop_mobile .popimg a {position:absolute; display: block; text-indent: -200000px; overflow:hidden; z-index: 90;}
.normal_wrap#loadPopup .pop_wrap .closepop { background-color: #000; padding: 10px; font-size: 14px; position: relative;}
.normal_wrap#loadPopup .pop_wrap .closepop * { color: #fff; vertical-align: middle; font-family: 'Pretendard';}
.normal_wrap#loadPopup .pop_wrap .closepop strong {
  display: inline-block;
}
.normal_wrap#loadPopup .pop_wrap .closepop a {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.normal_wrap#loadPopup .pop_wrap .popclose {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}
.normal_wrap#loadPopup .pop_wrap .popclose * {
  color: #fff;
  vertical-align: middle;
  font-family: 'Pretendard';
}
.normal_wrap#loadPopup .pop_wrap .popclose label{position: absolute; bottom: -50px; left: 50%; transform: translateX(-50%); cursor: pointer; pointer-events: all; display: flex; align-items: center; width: 100%; justify-content: center;}
.normal_wrap#loadPopup .pop_wrap .popclose label input[type=checkbox].checkbox,
.normal_wrap#loadPopup .pop_wrap .popclose label input[type=checkbox].checkbox+.label,
.normal_wrap#loadPopup .pop_wrap .popclose label input[type=checkbox].checkbox+.label::before{width: 15px; height: 15px; min-width: 15px; line-height: 15px; font-size: 12px;}
.normal_wrap#loadPopup .pop_wrap .popclose label input[type=checkbox].checkbox+.label{margin: -3px 5px 0 0;}
.normal_wrap#loadPopup .pop_wrap .popclose strong {
  display: inline-block;
}
.normal_wrap#loadPopup .pop_wrap .popclose a {
  font-size: 16px;
  position: absolute;
  left: 50%;
  top: -70px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: all;
  padding: 20px;
}


/* .normal_wrap#loadPopup .pop_wrap .closepop {position:absolute;right:-70px;top:-70px;color:#fff; color:#fff; padding: 5px 10px;}
.normal_wrap#loadPopup .pop_wrap .closepop::after {
  content: "\e870"; 
  display: inline-block; 
  font-family:Linearicons-Free;
  font-size: 48px;
  color: #fff;
} */
.normal_wrap#loadPopup .pop_wrap .today {position:relative; text-align:left; background:#333333;padding:6px 18px;color:#ffffff;font-size:13px;line-height:13px; height: 36px;}
.normal_wrap#loadPopup .pop_wrap .today * {vertical-align: middle;}
.normal_wrap#loadPopup .pop_wrap .today strong {margin-left: 6px; display: inline-block;}
.normal_wrap#loadPopup .pop_wrap .today a {position:absolute;right:4px;top:6px;color:#fff;font-size:13px; color:#fff; padding: 5px 10px;}
.normal_wrap#loadPopup .pop_wrap .today a i::after {
  content: "\e870"; 
  display: inline-block; 
  font-family:Linearicons-Free;
  font-size: 18px;
  margin-right: 6px;
  color: #fff;
}

/* 슬라이드 인: top 대신 transform으로 이동 (top 애니메이션은 매 프레임 레이아웃 이동 → CLS 0.37 유발) */
.normal_wrap#loadPopup .pop_wrap{visibility: hidden !important; transition: transform 1.2s, visibility 1.2s; top: 50% !important; transform: translate(-50%, calc(-50% - 100vh));}
.normal_wrap#loadPopup .pop_wrap.on{visibility: visible !important; transform: translate(-50%, -50%);}
.pop_wrap::after{content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #000; opacity: 0.5; width: 100vw; height: 100vh;}
.pop_wrap.hide::after{display: none;}
.pop_wrap > ul{position: relative; z-index: 2; gap: 5px;}
.normal_wrap#loadPopup .pop_wrap .pop_nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 120px;
  height: 120px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  pointer-events: all;
}
.normal_wrap#loadPopup .pop_wrap .pop_nav_prev { left: -130px; }
.normal_wrap#loadPopup .pop_wrap .pop_nav_next { right: -130px; }
.normal_wrap#loadPopup .pop_wrap .pop_nav svg {
  display: block;
  width: 90px;
  height: 90px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}
.normal_wrap#loadPopup .pop_wrap .pop_nav.is-disabled,
.normal_wrap#loadPopup .pop_wrap .pop_nav:disabled {
  opacity: 0.3;
  cursor: default;
}
@media screen and (max-width:1880px){
      .normal_wrap#loadPopup .pop_wrap .popimg img{width: 340px;}
}
@media screen and (max-width:1580px){
      .normal_wrap#loadPopup .pop_wrap .popimg img{width: 280px;}
}
@media screen and (max-width:1024px) {
      .pop_mobile{opacity: 0; visibility: hidden !important; transition: opacity 0.3s, visibility 0.3s; position: fixed !important;}
      .pop_mobile.on{opacity: 1; visibility: visible !important;}
      /* 레거시 ::after 딤 비활성 — .pop_mobile_dim(뷰포트 fixed) 사용 */
      .pop_mobile::after{display: none !important; content: none !important;}
      .pop_mobile .today{z-index: 2;}
      .pop_mob_swiper{position: relative; z-index: 2;}
      .slick-dots{position: absolute; display: flex; align-items: center; justify-content: center; width: 100%; bottom: 5px; gap: 5px;}
      .slick-dots li {background: rgba(255, 255, 255, .3); width: 8px; height: 8px; border-radius: 8px; transition: all 0.3s; border: 1px solid #000;}
      .slick-dots li button{opacity: 0;}
      .slick-dots .slick-active{background: #fff;}
}

/* 모바일 딤: loadPopup 직계 — .pop_mobile과 동일하게 .on 이후에만 노출 */
.normal_wrap#loadPopup .pop_mobile_dim,
.pop_mobile_dim {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: #000;
  opacity: 0;
  visibility: hidden;
  z-index: 99998;
  pointer-events: none;
  transition: opacity 0.3s, visibility 0.3s;
}
.normal_wrap#loadPopup .pop_mobile_dim.on,
.pop_mobile_dim.on {
  opacity: 0.7;
  visibility: visible;
}

/******************************************
  퀵메뉴 팝업 영역
******************************************/
.quick_wrap{position:absolute; right:0; top:calc((100vh - 826px)/2 + 130px); z-index:100; background:#192c5a;}
.quick_wrap.mobile{left:0;top:0;right:0; z-index:999;}

.quick_wrap .regist_wrap .inner{display:flex;position:absolute;right:-1640px;top:0; align-items: center; justify-content: center; width:1640px;height:706px;background:#e4eaef;margin-left:150%}
.quick_wrap .regist_wrap .inner img{display:none}
.quick_wrap .btn_regist_zone{position:relative; z-index:1}
.quick_wrap .btn_regist_zone a {display:block; width:80px; height:315px; background: url(https://ot.xn--9m1b22ap9xjubf7i2vufhb.kr/resources/img/main/regist_btn.v2.png) center top no-repeat}
.quick_wrap .regist_wrap.on  .btn_regist_zone a {background: url(https://ot.xn--9m1b22ap9xjubf7i2vufhb.kr/resources/img/main/regist_close.v2.png) center top no-repeat; }

.quick_wrap .pop_wrap {  position: relative;}

.quick_wrap .pop_wrap .inner {display:flex;position:absolute;right:-100vw;top:0; align-items: center; justify-content: center; padding: 10px 100px 10px 20px;height:632px;}
.quick_wrap .pop_wrap .inner::after {
  content: "";
  display: block;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: #e4eaef;
  opacity: 0.4;
}

.quick_wrap .pop_wrap  ul { display:flex;}
.quick_wrap .pop_wrap  ul > li{flex:1}
.quick_wrap .pop_wrap .swiper-slide { margin: 0 10px; }
.quick_wrap .pop_wrap .btn_popup_zone{position:relative; ;z-index:1; }
.quick_wrap .pop_wrap .btn_popup_zone a {display:block; width:80px; height:315px; background: #192c5a url(https://ot.xn--9m1b22ap9xjubf7i2vufhb.kr/resources/img/main/pop_open.v2.png) center top no-repeat}
.quick_wrap .pop_wrap.on  .btn_popup_zone a {background: #192c5a url(https://ot.xn--9m1b22ap9xjubf7i2vufhb.kr/resources/img/main/pop_close.v2.png) center top no-repeat; }
.main_popup { position: relative;}
.quick_wrap .pop_wrap .popimg, .quick_wrap .pop_mobile .popimg {position: relative;}
.quick_wrap .pop_wrap .popimg a, .quick_wrap .pop_mobile .popimg a {position:absolute; display: block; text-indent: -200000px; overflow:hidden; z-index: 90;}
.quick_wrap .pop_wrap .closepop {position:absolute;right:-70px;top:-70px;color:#fff; color:#fff; padding: 5px 10px;}
.quick_wrap .pop_wrap .closepop::after {
  content: "\e870"; 
  display: inline-block; 
  font-family:Linearicons-Free;
  font-size: 48px;
  color: #fff;
}
.quick_wrap .pop_wrap .today {position:relative; text-align:left; background:#333333;padding:6px 18px;color:#ffffff;font-size:13px;line-height:13px;}
.quick_wrap .pop_wrap .today * {vertical-align: middle;}
.quick_wrap .pop_wrap .today strong {margin-left: 6px; padding-top: 6px; display: inline-block;}
.quick_wrap .pop_wrap .today a {position:absolute;right:4px;top:6px;color:#fff;font-size:13px; color:#fff; padding: 5px 10px;}
.quick_wrap .pop_wrap .today a i::after {
  content: "\e870"; 
  display: inline-block; 
  font-family:Linearicons-Free;
  font-size: 18px;
  margin-right: 6px;
  color: #fff;
}



/******************************************
  퀵메뉴 상단 팝업 영역
******************************************/
.quick_wrap_top .btn_regist_zone {display: none;}
.quick_wrap_top .pop_wrap { display: none; position:absolute; /*top:50%; left:50%; transform: translate(-50%, -50%);*/ top:-640px; left:50%; transform: translateX(-50%); z-index:1000; background:#273d6b; width:100%; border-bottom:7px solid #273d6b;}
.quick_wrap_top .pop_wrap .inner {position:relative; display: flex; align-items: center; justify-content: center; height:640px;}
.quick_wrap_top .pop_wrap  ul { display:flex;}
.quick_wrap_top .pop_wrap  ul > li { padding:0 10px; flex: 1;}
.quick_wrap_top .pop_wrap .btn_popup_zone a {display:block; width:229px; height:53px; background: url("https://ot.xn--9m1b22ap9xjubf7i2vufhb.kr/resources/img/pop_down.v2.png") center top no-repeat; position:absolute; left:50%; transform:translateX(-50%); bottom:-49px;}
.quick_wrap_top .pop_wrap.on  .btn_popup_zone a {background: url("https://ot.xn--9m1b22ap9xjubf7i2vufhb.kr/resources/img/pop_up.v2.png") center top no-repeat; }
.quick_wrap_top .main_popup { position: relative;}
.quick_wrap_top .pop_wrap .popimg, .quick_wrap_top .pop_mobile .popimg {position: relative;}
.quick_wrap_top .pop_wrap .popimg a, .quick_wrap_top .pop_mobile .popimg a {position:absolute; display: block; text-indent: -200000px; overflow:hidden; z-index: 90;}
.quick_wrap_top .pop_wrap .closepop {position:absolute;right:-70px;top:-70px;color:#fff; color:#fff; padding: 5px 10px;}
.quick_wrap_top .pop_wrap .closepop::after {
  content: "\e870"; 
  display: inline-block; 
  font-family:Linearicons-Free;
  font-size: 48px;
  color: #fff;
}
.quick_wrap_top .pop_wrap .today {position:relative; text-align:left; background:#333333;padding:6px 18px;color:#ffffff;font-size:13px;line-height:13px;}
.quick_wrap_top .pop_wrap .today * {vertical-align: middle;}
.quick_wrap_top .pop_wrap .today strong {margin-left: 6px; padding-top: 6px; display: inline-block;}
.quick_wrap_top .pop_wrap .today a {position:absolute;right:4px;top:6px;color:#fff;font-size:13px; color:#fff; padding: 5px 10px;}
.quick_wrap_top .pop_wrap .today a i::after {
  content: "\e870"; 
  display: inline-block; 
  font-family:Linearicons-Free;
  font-size: 18px;
  margin-right: 6px;
  color: #fff;
}

/******************************************
  모바일 팝업 영역 (공통)
******************************************/
.pop_mobile {
    position:absolute; 
    top:6rem; 
    left:50%; 
    transform: translateX(-50%); 
    background:transparent; 
    z-index:99999;
    width: 100%;
    max-width:420px;
    padding:0 5%;
    display: none;
    box-sizing: border-box;
}
@media screen and (max-height:750px) {
  .pop_mobile{max-width:340px;}
}
/* 팝업 이미지만 100% — 닫기 아이콘까지 늘어나지 않게 */
.pop_mobile .popimg img {display:block; width:100%; height:auto;}
.pop_mobile .today img {
  display: inline-block;
  width: 14px;
  height: 14px;
  vertical-align: middle;
  margin-left: 6px;
}

/* 슬라이더형(.pop_mobile_slider): 닫기 위·오늘하루 아래 오버레이 */
.pop_mobile_slider .today {
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}
.pop_mobile_slider .today * {vertical-align: middle; color: #fff; font-family: 'Pretendard', sans-serif;}
.pop_mobile_slider .today strong {display: inline-block; white-space: nowrap;}
.pop_mobile_slider .today a {  
  font-size: 16px;
  position: absolute;
  left: 50%;
  top: -40px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: all;
  white-space: nowrap;
  color: #fff;
}
.pop_mobile_slider .today label{
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  pointer-events: all;
  display: flex;
  align-items: center;
}
.pop_mobile .swiper-pagination{bottom:0}
.pop_mobile .swiper-pagination-bullet{background:rgba(255,255,255,.8)}

/******************************************
  모바일 개별 닫기 
******************************************/
.pop_mobile.pop_mobile_normal {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transform: none;
  width: 100%;
  max-width: none;
  height: 100%;
  padding: 0 7%;
  box-sizing: border-box;
  z-index: 99999;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
@media screen and (max-width: 1024px) {
  .pop_mobile.pop_mobile_normal.on {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
/* 개별닫기: 세로 나열 금지 — 동일 위치에 z-index로만 겹침 */
.pop_mobile_normal_list {
  position: relative;
  z-index: 2;
  display: grid;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.pop_mobile_normal_item {
  grid-area: 1 / 1;
  position: relative;
  width: 100%;
  z-index: var(--popup-stack-order, 1);
}
.pop_mobile_normal .main_popup {
  position: relative;
  overflow: hidden;
  background: #111;
}
.pop_mobile_normal .popimg {
  line-height: 0;
}

/* 하단 컨트롤 바: 왼쪽 오늘하루 / 오른쪽 팝업닫기 */
.pop_mobile_normal .today {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  height: auto;
  min-height: 40px;
  top: auto;
  left: auto;
  margin: 0;
  padding: 10px 14px;
  box-sizing: border-box;
  background: #333333;
  color: #fff;
  font-family: 'Pretendard', sans-serif;
  font-size: 13px;
  line-height: 1.2;
  pointer-events: auto;
}
.pop_mobile_normal .today * {
  color: #fff;
  vertical-align: middle;
}
.pop_mobile_normal .today label {
  position: static;
  transform: none;
  bottom: auto;
  left: auto;
  display: flex;
  align-items: center;
  cursor: pointer;
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
  min-width: 0;
}
.pop_mobile_normal .today label input[type=checkbox].checkbox {
  width: 15px;
  height: 15px;
  min-width: 15px;
}
.pop_mobile_normal .today label input[type=checkbox].checkbox + .label {
  margin: 0 6px 0 0;
  flex-shrink: 0;
}
.pop_mobile_normal .today label input[type=checkbox].checkbox + .label::before {
  width: 15px;
  height: 15px;
  min-width: 15px;
  line-height: 15px;
  font-size: 11px;
  box-sizing: border-box;
}
.pop_mobile_normal .today strong {
  display: inline-block;
  font-weight: 400;
  font-size: 13px;
  white-space: nowrap;
  margin: 0;
  padding: 0;
}
.pop_mobile_normal .today a {
  position: static;
  transform: none;
  top: auto;
  left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin: 0 0 0 auto;
  padding: 0;
  font-size: 13px;
  color: #fff;
  white-space: nowrap;
  text-decoration: none;
  flex: 0 0 auto;
}
.pop_mobile_normal .today a img {
  display: inline-block !important;
  width: 12px !important;
  height: 12px !important;
  max-width: 12px !important;
  margin: 0 0 0 4px;
  object-fit: contain;
  vertical-align: middle;
}

@media screen and (max-width: 360px) {
  .pop_mobile_normal .today {
    padding: 9px 12px;
    font-size: 12px;
  }
  .pop_mobile_normal .today strong,
  .pop_mobile_normal .today a {
    font-size: 12px;
  }
}


/******************************************
  팝업 체크박스 (오늘 하루동안 보지 않기)
  - 체크 아이콘이 FontAwesome 글리프(\f00c)라서 FontAwesome 을 불러오지 않는 메인에서는 깨져 보인다 → 아이콘 폰트 없이 SVG 로 그린다
  - 체크박스와 문구 사이 간격을 일정하게(약 10px) 둔다
******************************************/
#loadPopupWrapper input[type=checkbox].checkbox + .label::before {
  content: "";
  box-sizing: border-box;
  font-size: 0;
  color: transparent;
  background: #fff center / 13px 13px no-repeat;
  border: 1px solid #dbdbdb;
  border-radius: 2px;
}
#loadPopupWrapper input[type=checkbox].checkbox:checked + .label::before {
  content: "";
  color: transparent;
  border-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.3l3 3 5-6.2' fill='none' stroke='%23252525' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
#loadPopup .popclose label .label + strong {margin-left: 5px;}
.pop_mobile_normal .today label .label + strong {margin-left: 4px;}
.pop_mobile_slider .today label .label + strong {margin-left: 8px;}
