/* 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%; 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: 7;  }
#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;}
#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: 99; min-height: 1200px; overflow: hidden; height:0; padding-bottom: calc(var(--vh, 1vh) * 100);}
#mobile-interscroller > div { position: absolute; top: 0px; 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 { 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);*/}

@media only screen and (min-width: 640px) { 
	.mobile-footer-wrap { display: none; }
}
/*.mobile-footer-wrap .mobile-footer-close { position: absolute; right: 0; top: 0; z-index: 9;
    width: 42px; height: 42px; display:none;}
.mobile-footer-wrap .mobile-footer-close a { display: block; padding: 9px;}*/
.mobile-footer-wrap .mobile-footer-close { position: absolute; right: 8px; top: 8px; z-index: 9;
    width: 25px; height: 25px; display:none;}
.mobile-footer-wrap .mobile-footer-close a { display: block; padding: 0;}

#mobile-special iframe { width: 100%; height: 100%; position:absolute ; top: 0; left: 0;}
#mobile-footer-sticky > div { 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-sticky iframe { width: 100%; height: 100%; position:absolute ; top: 0; left: 0;}
#mobile-footer-sticky-3rd { margin: 0 auto;}

@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: -65px;
  }

  to {
    top: 0;
  }
}

@keyframes TopBnOff {
  from {
    top: 0;
  }
  to {
    top: -65px;
  }
}

/* mobile cover */
.mobile-cover-banner { position: fixed; z-index: 9999; width: 100%; /*left:  calc(100% - 10px);*/ left: 100%; opacity: 0; color: #fff;}
.mobile-cover-banner img { width: 100%; height: 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: #fff;}
.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;}
@media (min-width: 821px) {
	.mobile-cover-banner { display: none;}
}


/* 페이지 별 예외 */
/*.home .pc-top { min-height: 546px; width: 970px; background: #f1f1f1; 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: 546px; width: 970px; background: #f1f1f1; 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: 546px; width: 970px; background: #f1f1f1; 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 13.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;*/}
.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; }

@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;}
}

/* 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)