/* sky 배너 */
/*.ly_aside .post_list ul .banner_m { width: 100%; height: 100px; }*/
.section_sub .ly_aside .banner { top: 0; }
.section_sub .ly_aside .banner_wrap_sub { top: 60px;}

/*.section_sub .list_group:first-child + .banner { top: 60px; }*/
@media (min-width: 821px) {
    .ly_aside .banner { position: absolute; top: 15px; right: 0; width: 100%; max-width: 1600px; text-align: right; z-index: 0; }
    .ly_aside .banner.fix { position: fixed; top: 15px!important; left: 50%; transform: translateX(-50%); }
    .ly_aside .post_list ul .banner_m { display: none; }
    /*.section_sub .banner_m { display: none; }*/
}
@media (max-width: 1600px) {
    .ly_aside .banner.fix { width: 300px; left: auto; right: 48px; transform: translateX(0); }
}
@media (max-width: 1023px) {
    /*.banner_area { margin: 18.6vw auto; }*/
    .ly_aside .banner { top: 8vw; }
    .ly_aside .banner.fix { right: 24px; }
    /*.section_sub .banner_pc { display: none; }
    .section_sub .banner_m { width: calc(100% + 48px); max-width: none; margin-left: -24px; background: #ccc; }*/
}
@media (max-width: 1023px) { /* 두산 수정 */
    .ly_aside .banner { margin: 18.6vw auto; }
    .ly_aside .banner { display: none; }
}

/* 개편 배너 */
#pc-all, #mobile-all { height: 0 !important;}
.banner_area { margin: 0 auto; text-align: center; }
.banner_imp { height: 0; width: 0; margin: 0 !important;}
/*#pc-middle-imp-1, #pc-middle-imp-2 { height: 0; width: 0;}*/
#pc-middle-1 > div, #pc-middle-2 > div { height: 180px; }
#mobile-top > div { width: 100% !important; height: 0!important; position: relative; padding-bottom: 81.3%; margin-bottom: -6px; border: 0;}
#mobile-top iframe { width: 100%; height: 100%; position:absolute ; top: 0; left: 0;}
#mobile-top-3rd > div { margin: 0 auto;}
#mobile-top-sticky {height:auto; margin:auto; position: fixed; top:-65px; width: 100%; z-index: 11;  }
#mobile-top-sticky > div { width: 100% !important; height: 0!important; position: relative; padding-bottom: 16%; margin-bottom: -6px;}
#mobile-top-sticky iframe { width: 100%; height: 100%; position:absolute ; top: 0; left: 0; border-top: 2px solid #f1f1f1 !important; border-bottom: 1px solid #f1f1f1 !important; background-color: #f1f1f1;}
#mobile-top-sticky-3rd {height:auto; margin:auto; position: fixed; top:-65px; width: 100%; z-index: 7; background: #fff;  }
#mobile-top-sticky-3rd > div { margin: 0 auto;}
#mobile-interscroller {position: relative; z-index: 999; min-height: 1200px; overflow: hidden; height:0; padding-bottom: calc(var(--vh, 1vh) * 100);}
#mobile-interscroller::before { content: 'ADVERTISEMENT'; font-family: 'Vogue', 'Vogue-window', 'Vogue-ios', 'Vogue-android', sans-serif; color: #d2d2d2; display: block; font-size: 0.9rem; letter-spacing: 0.03rem; line-height: 1.76; text-align: center; background: #000; height: 22px; padding-top: 3px; margin: 0;}
#mobile-interscroller > div { position: absolute; top: 25px; left: 0px; width: 100%!important; height: 100%!important; margin: 0px; padding: 0px; overflow: hidden; clip-path: inset(0px);}
#mobile-interscroller iframe { position: fixed; top: auto; left: 0px; width: 100%; height: 100%; margin: 0px; padding: 0px; bottom: 0px;}

/* 2023 special ad */
.mobile-footer-wrap { display:none; position: fixed;  width: 100% !important; height: 0 !important;  z-index: 98;  bottom: 0px; padding-bottom: 56%; margin-bottom:  constant(safe-area-inset-bottom, 20px); margin-bottom:  env(safe-area-inset-bottom, 20px);}
.mobile-footer-wrap#mobile-special-3rd-wrap::after { content: ''; position: absolute; width: 100%; height: 100vh; background: #fff; z-index: 0; margin-top: 56%;}

@media only screen and (min-width: 640px) { 
	.mobile-footer-wrap { display: none; }
}

.mobile-footer-wrap .mobile-footer-close { position: absolute; left: 8px; top: 8px; z-index: 9; width: 25px; height: 25px; display:none;}
.mobile-footer-wrap .mobile-footer-close a { display: block; padding: 0;}

#mobile-footer-sc-3rd > div { margin: 0 auto; width: 100% !important; position: fixed; bottom: 0px; left:0px; box-shadow: 0 5px 20px #000; z-index:97; background: #fff; padding-top: 15.6%; padding-bottom:  constant(safe-area-inset-bottom, 20px); padding-bottom:  env(safe-area-inset-bottom, 20px);}
#mobile-footer-sc-3rd iframe { width: 100%; height: 100%; position:absolute ; top: 0; left: 0;}

#mobile-special, #mobile-special > div { background: #fff; height: 100vh;}
#mobile-special-3rd, #mobile-special-3rd > div { background: #fff; height: 100vh;}
#mobile-special iframe { width: 100%; height: 100%; position:absolute ; top: 0; left: 0;}
#mobile-special-3rd { width: 320px; height: 180px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 5;}
#mobile-footer-sc > div { width: 100% !important; position: fixed; bottom: 0px; left:0px; box-shadow: rgb(0 0 0 / 20%) 0px 0 7px; z-index:97; background: #f1f1f1; padding-top: 15.6%; padding-bottom:  constant(safe-area-inset-bottom, 20px); padding-bottom:  env(safe-area-inset-bottom, 20px);}
#mobile-footer-sc iframe { width: 100%; height: 100%; position:absolute ; top: 0; left: 0;}
#mobile-footer-sc-3rd { margin: 0 auto;}
#mobile-footer-sc-3rd > div { width: 100% !important; position: fixed; bottom: 0px; left:0px; box-shadow: rgb(0 0 0 / 20%) 0px 0 7px; z-index:97; background: #fff; padding-top: 15.6%; padding-bottom:  constant(safe-area-inset-bottom, 20px); padding-bottom:  env(safe-area-inset-bottom, 20px);}
#mobile-footer-sc-3rd iframe { width: 320px; height: 50px; position:absolute ; top: 50%; left: 50%; transform: translate(-50%, -50%);}

@keyframes FooterBnOn {
  from {
    bottom: -300px;
  }
  to {
    bottom: 0;
  }
}

@keyframes FooterBnOff {
  from {
    bottom: 0;
  }
  to {
    bottom: -300px;
  }
}


@keyframes FooterStickyBnOn {
  from {
    bottom: -100px;
  }
  to {
    bottom: 0;
  }
}

@keyframes FooterStickyBnOff {
  from {
    bottom: -100px;
  }
  to {
    bottom: 0;
  }
}

@keyframes TopBnOn {
  from {
    top: 0;
  }

  to {
    top: 48px;
  }
}

@keyframes TopBnOff {
  from {
    top: 0;
  }
  to {
    top: -65px;
  }
}

#pc-house > div { width: 100% !important; height: 0!important; position: relative; padding-bottom: 14.4%; margin-bottom: -6px; border: 0;}
#pc-house iframe { width: 100%; height: 100%; position:absolute ; top: 0; left: 0;}
#mobile-house > div { width: 100% !important; height: 0!important; position: relative; padding-bottom: 34.6%; margin-bottom: -6px; border: 0;}
#mobile-house iframe { width: 100%; height: 100%; position:absolute ; top: 0; left: 0;}

/* mobile cover */
.mobile-cover-banner { position: fixed; z-index: 9999; width: 100%; /*left:  calc(100% - 10px);*/ left: 100%; opacity: 0; color: #000; top:0;}
.mobile-cover-banner img { width: 100%; height: auto; image-rendering: auto;}
.mobile-cover-banner .mobile-cover-label { position: absolute; z-index: 9; width: 30px; left: -25px; top: 150px; }
.mobile-cover-banner .mobile-cover-wrap { background: #000; padding: 20px 20px 0 20px; height:0; padding-bottom: calc(var(--vh, 1vh) * 100); box-shadow: 0 0 7px rgba(0,0,0,0.60); position: relative;}
.mobile-cover-banner .mobile-cover-wrap .gallery_slider { overflow: hidden; background: #000;}
.mobile-cover-banner .mobile-cover-wrap .gallery_slider .swiper-slide{ padding:0px 1px 0px 0px;}
.mobile-cover-banner .mobile-cover-wrap .gallery_slider a { display: block;}
.mobile-cover-banner .mobile-cover-wrap .mobile-cover-txt { text-align: center; font-size: 1.1rem; line-height: 1.3; margin: 25px 0 5px;}
.mobile-cover-banner .mobile-cover-wrap .mobile-cover-button a { padding: 10px; text-align: center; width: 100%; border: 1px solid; font-size: 1.5rem; margin: 10px 0; display:block;}
.mobile-cover-banner .mobile-cover-wrap .mobile-cover-logo { width: 50%; margin: 30px auto;}
.mobile-cover-banner .mobile-cover-wrap .mobile-cover-close { position: absolute; right: 25px; top: 25px; z-index: 99; width: 25px; height: 25px; }
.mobile-cover-banner .mobile-cover-wrap .swiper-pagination { display: flex; justify-content: center; position: static; margin: 10px 0;}
.mobile-cover-banner .mobile-cover-wrap .swiper-pagination-bullet { margin: 0 4px; background: #000; width: 6px; height: 6px; opacity: 0.2;}
.mobile-cover-banner .mobile-cover-wrap .swiper-pagination-bullet.swiper-pagination-bullet-active { opacity: 1;}
.mobile-cover-banner .mobile-cover-system { height: 1px;}
@media (min-width: 821px) {
	.mobile-cover-banner { display: none;}
}

/* 서라운딩 배너 */
#sa-pc-top { width: 100%; text-align: center; margin: -30px auto 50px;}
#sa-pc-middle-1, #sa-pc-middle-2 { text-align: center; margin-bottom: 50px;}
#sa-pc-footer { text-align: center; margin-bottom: 50px; }
#sa-mo-top { text-align: center;  margin: -5vw auto 10vw;}
#sa-mo-middle-1, #sa-mo-middle-2 { text-align: center; margin-bottom: 10vw;}
#sa-mo-footer { text-align: center; margin-bottom: 10vw;}

/* 페이지 별 예외 */
/*.home .pc-top { min-height: 250px; width: 970px; background: #fff; margin: -80px auto 80px; } 탑 고정 */
.home .banner_area #pc-top { margin: -80px auto 80px; }
.home .banner_area#pc-middle-1, .home .banner_area#pc-middle-2 { margin: -80px 0 80px;  }
.home .banner_area#mobile-top, .home .banner_area#mobile-top-3rd { width: calc(100% + 48px); margin: 0 -24px 18.6vw;}
.home .banner_area#mobile-middle-1, .home .banner_area#mobile-middle-2, .home .banner_area#mobile-middle-3 { margin: 0 0 18.6vw 0;}
.home .banner_area#mobile-interscroller { margin: 0 -24px;}

/*.page .pc-top:not(.home .pc-top) { min-height: 250px; width: 970px; background: #fff; margin: 30px auto -30px; } 탑 고정 */
.page .banner_area #pc-top:not(.home .banner_area #pc-top) { margin: 30px 0 -30px 0; }
.page .banner_pc:not(.home .banner_pc) { position: relative; z-index: 9;}
.page .banner_area#pc-middle-2:not(.home .banner_area#pc-middle-2) { margin-top: 90px;}
.page .banner_area#mobile-middle-2:not(.home .banner_area#mobile-middle-2) { margin-top: 14.1vw;}

/*.single .pc-top { min-height: 250px; width: 970px; background: #fff; margin:30px auto 0; } 탑 고정 */
.single .banner_area #pc-top { margin-top:30px; }
.single .banner_area#pc-middle-1, .single .banner_area#pc-middle-2 { width: 930px; margin: 20px 0 80px; }
.single .banner_area#mobile-top, .single .banner_area#mobile-top-3rd { width: calc(100% + 48px); margin: 0 -24px 10.3vw;}
.single .banner_area#mobile-middle-1 { margin: 10.6vw 0 0;}
.single .banner_area#mobile-middle-2, .single .banner_area#mobile-middle-3 { margin: 0 0 10.6vw 0;}
.single .banner_area#mobile-interscroller { margin: 0 -24px 13.3vw;}

.post-type-p .banner_area #pc-top { margin: 80px 0 -20px 0;}
.post-type-p .banner_area#pc-middle-1 { width: 930px; margin: -20px 0 80px -65px;}
.post-type-p .banner_area#pc-middle-2 { width: 930px; margin: 80px auto 100px;}
.post-type-p .banner_area#mobile-top { margin: 13.3vw -24px -10vw;}

.contt .banner_area { margin: 10.6vw auto;  /*content-visibility: auto;*/}
.contt .banner_area.banner_m { margin: 10.6vw auto !important;  }
.post_list.list_v2 .banner_area#pc-middle-1 { margin: 60px auto 0; width: 100%; }
.post_list.list_v2 .banner_area#pc-middle-2 { margin: 60px auto 0 !important; width: 100%; }
.post_list.list_v2 .banner_area.banner_m { margin: 10.6vw auto; }

.banner_area.banner_m::before { content: 'ADVERTISEMENT'; font-family: 'Vogue', 'Vogue-window', 'Vogue-ios', 'Vogue-android', sans-serif; color: #d2d2d2; margin-bottom: 3px; display: block; font-size: 0.9rem; letter-spacing: 0.03rem; margin-top: 10px; }
#mobile-top-sticky::before { content: none !important;}
#mobile-top-sticky-3rd::before { content: none !important;}
/*#mobile-interscroller::before { content: none !important;}*/

@media (max-width: 1400px) {
	.page .banner_area#pc-middle-1:not(.home .banner_area#pc-middle-1) {display: none;}
	.page .banner_area#pc-middle-2:not(.home .banner_area#pc-middle-2) {display: none;}
	
}

@media (max-width: 820px) {
	.banner_pc { display: none;}
}

@media (min-width: 640px) {
	.banner_m { display: none;}
}

/* 전면 배너 */
.mobile-full-wrap{height:0px; /*left: -50%; transition: left 0.3s;*/ opacity:0; transition: opacity 0.6s;}
/* .mobile-full-wrap-active { position: fixed; top: 0; left: 0; z-index: 999; width: 100%; height: 100vh; height: 100svh; background-color: hsl(0deg 0% 0% / 75%);  } */
.mobile-full-wrap-active { position: fixed; top: 0; left: 0; z-index: 999; width: 100%; height:100vh; height:100dvh; background-color: hsl(0deg 0% 0% / 75%);  }
#mobile-full-wrap .mobile-full-box { width: calc(100% - 40px) !important; height: 0 !important; padding-bottom: 166%; position: relative; top: 50%; transform: translate(-50%, -50%); left: 50%; overflow: hidden;}
#mobile-full-wrap .mobile-full-box::before { content: 'ADVERTISEMENT'; font-family: 'Vogue', 'Vogue-window', 'Vogue-ios', 'Vogue-android', sans-serif; color: #d2d2d290; margin-bottom: 3px; display: block; font-size: 0.9rem; letter-spacing: 0.03rem; margin-top: 10px; text-align: center; }
#mobile-full > div { width: 100%; height: 100%;}
#mobile-full iframe { width: 100% !important; height: 100% !important; position: absolute;}
.mobile-full-wrap .mobile-full-close a { display: block; position: absolute; left: 8px; top: 31px;  z-index: 9; width: 25px; height: 25px;}
.no-scroll-height{ touch-action: none; }


/* 모바일 탑 커버 배너 */
@media (max-width: 640px) {
  body:not(.post-type-p, .post-type-s, .post-type-i) .cover_header .header .container { z-index: 9; pointer-events: none; padding-bottom: 104%;}
  body:not(.post-type-p, .post-type-s, .post-type-i) .cover_header .header .inner { height: 100%; width: calc(100% - 48px); display: flex; align-content: space-between; flex-wrap: wrap; position: absolute; }
  body:not(.post-type-p, .post-type-s, .post-type-i) .cover_header .header .inner > * { pointer-events: all;}
  body:not(.post-type-p, .post-type-s, .post-type-i) .cover_header .header .side_nav { right: 0 !important;}
  #mobile-top-cover { position: absolute; top: 0; height: 0; overflow: hidden; width: 100%; padding-bottom: 100%; z-index: 1;}
  /* #mobile-top-cover::before { content:''; position: absolute; width: 100%; height: 30%;     background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);} */
#mobile-top-cover > div { width: 100% !important; height: 0 !important; padding-bottom: 100%;}
  #mobile-top-cover iframe { width: 100% !important; height: 100% !important; position: absolute;}
  .mobile-top-cover { position: absolute; top: 0; height: 0; overflow: hidden; width: 100%; padding-bottom: 100%;}
.no-scroll-height{ touch-action: none; }
}
@media (min-width: 641px) {
  .mobile-top-cover { display: none;}
}


/* 모바일 풀배너 프로그레시브바 */
#mobile-full-wrap .mobile-full-box::before { margin-bottom:10px; }
.mobile-full-wrap .mobile-full-close a { top:35px; }
#mobile-full.parent:before { content:''; position:absolute; top:29px; left:0; background:rgba(128, 128, 128); animation: progress 10s linear forwards; line-height: 0; z-index: 999; border-bottom:3px solid #808080; }

@keyframes progress{
  0% {width: 0px}
  100% {width: 100%;}
}


/* 240223-데스크탑 탑배너 임시 */
/* .single .banner_pc.pc-top { height: 250px; margin-top: 30px;}
.home .banner_pc.pc-top { height: 330px; margin-top: -80px; }
.page .banner_area.pc-top:not(.home .banner_area.pc-top) { height: 250px; margin-top: 30px; margin-bottom: -30px;} */

/* 250612 몹코이 */
.mobkoi > .banner_m { margin:0 0 13.3vw; }
#mobkoi::before { display:none; }


/* iOS 11.0 버전 */
constant(safe-area-inset-top)
constant(safe-area-inset-right)
constant(safe-area-inset-bottom)
constant(safe-area-inset-left)

/* iOS 11.2 이상 */
env(safe-area-inset-top)
env(safe-area-inset-right)
env(safe-area-inset-bottom)
env(safe-area-inset-left)




