@charset "utf-8";

body, html {
    --safe-area-inset-top:env(safe-area-inset-top);
    --safe-area-inset-bottom:env(safe-area-inset-bottom);
    min-height:calc(100% + (var(--safe-area-inset-top) + var(--safe-area-inset-bottom)));
}
body.fixed {
    --safe-area-inset-top:env(safe-area-inset-top);
    --safe-area-inset-bottom:env(safe-area-inset-bottom);
    height:100vh; height:calc(100vh + (var(--safe-area-inset-top) + var(--safe-area-inset-bottom)));
    overflow:auto;
}
body { overscroll-behavior: none; }
body.no-scroll { overflow: hidden; }

/* sub page */
.base-layer { position: relative; z-index: 1; top: 0; left: 0; width: 100%; }
.base-wrap { position: relative; top: 0; left: 0; z-index: 0; width: 100%; height: 100%; padding-top: 5.6rem; }
.base-header { position: fixed; top: 0; left: 0; width: 100%; height: 5.6rem; z-index: 2; border-bottom: 1px solid #ddd; background: #fff; }
.base-header .base-header-wrap { position: relative; width: 100%; height: 100%; margin: 0 auto; padding: 0 4rem; z-index: 1; }
.base-header .base-header-wrap .h1 { display: flex; justify-content: center; align-items: center; width: 100%; height: 100%; overflow-x: hidden; overflow-y: auto; }
.base-header .base-header-wrap .tit-gnb { display: inline-block; color: #333; font-size: 2rem; font-weight: 700; line-height: 1; vertical-align: middle; }
.base-header .base-header-wrap .btn-back { display: block; position: absolute; top: 1.7rem; left: 1.0rem; width: 2.0rem; height: 2.0rem; font-size: xx-small; color: transparent; background: url(../images/icon_back.png) 50% 50% no-repeat; background-size: 2.0rem 2.0rem; overflow: hidden; }
.base-header .base-header-wrap .ui-pop-close { position: absolute; right: 0; top: 0; width: 5.6rem; height: 5.6rem; border: 0; background: url(../images/icon_close.png) 50% 50% no-repeat; background-size: 2rem 2rem; z-index: 1; }
.base-header .base-header-wrap .icn-book { display: block; position: absolute; top: 2rem; right: 1.0rem; width: 1.3rem; height: 1.6rem; font-size: xx-small; color: transparent; background: url(../images/icon_book.png) 50% 50% no-repeat; background-size: 1.3rem 1.6rem; }
.base-header .base-header-wrap .icn-book.on { background: url(../images/icon_bookon.png) 50% 50% no-repeat; background-size: 1.3rem 1.6rem; }
.base-header.cyan { border-bottom: none; background-color: #6dc6d6; }
.base-header.cyan .base-header-wrap .tit-gnb { color: #fff; }
.base-header.cyan .base-header-wrap .btn-back { background: url(../images/icon_back_01.png) 50% 50% no-repeat; background-size: 2.0rem 2.0rem; }
.base-header.cyan .base-header-wrap .btn-ellp {  display: block; position: absolute; top: 1.7rem; right: 1.0rem; width: 2.0rem; height: 2.0rem; font-size: xx-small; color: transparent; background: url(../images/icon_navi_more.png) 50% 50% no-repeat; background-size: 2.0rem 2.0rem; }
.base-header.cyan .base-header-wrap .menu { display: flex; justify-content: flex-start; align-items: center; width: 100%; height: 100%; overflow-x: hidden; overflow-y: auto; }
.base-header.cyan .base-header-wrap .menu span { margin: 0 .6rem; }

.base-main { position: relative; width: 100%; height: 100%; background: #fff; z-index: 1; }
.base-main:after { content: ""; display: block; clear: both; }

section.content { padding: 2rem 1.4rem; }
section.content2 { padding: 2rem 0; }
section.content.bottom-use { padding: 2rem 1.4rem 7rem; }
section.divide { border-top: 8px solid #fafafa; }
.bottom-use2 { padding-bottom: 20rem !important; }
.bottom-use3 { padding-bottom: 15rem !important; }
.bottom-use4 { padding-bottom: 10rem !important; }
.bottom-use5 { padding-bottom: 5rem !important; }
.bottom-use6 { padding-bottom: 25rem !important; }
.inner-contents { padding-left: 1.6rem; padding-right: 1.6rem; }
section.inner-contents { padding: 3rem 1.6rem; }
section.inner-contents.full { padding: 3rem 0; }
section.inner-contents.fst { padding-top: 1.6rem }
section.inner-contents.full .pd-s { padding-left: 1.6rem; padding-right:1.6rem; }
section.inner-contents:last-of-type { padding-bottom: 4rem; }
section.inner-contents.contents-vm { display: flex; min-height: calc(100vh - 8rem);/*8rem:header영역*/ justify-content: center; align-items: center; text-align: center; flex-direction: column; }
section.inner-contents .full { width: 100vw; margin-left: -1.6rem; margin-right: -1.6rem; }

/* 공통 popup */
.ui-popup { position: fixed; left:0; top: 0; width: 100%; height: 100%; background: #fff; z-index: 3000; }
.ui-popup.hide { display: none; }
.ui-popup .ui-pop-inner { height: 100%; }
.ui-popup .ui-pop-header { position: relative; height: 5.6rem; border-bottom: 1px solid #ddd; }
.ui-popup .ui-pop-header .ui-pop-title2 { line-height: 5.6rem; font-family: inherit; font-weight: 700; font-size: 2rem; color:#333; text-align: center; }
.ui-popup .ui-pop-header .ui-pop-title { width: calc(100% - 5.6rem); padding-left: 5.6rem; line-height: 5.6rem; font-family: inherit; font-weight: 700; font-size: 2rem; color:#333; text-align: center;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ui-popup .ui-pop-header .ui-pop-close { position: absolute; right: 0; top: 0; width: 5.6rem; height: 5.6rem; border: 0; background: url(../images/icon_close.png) 50% 50% no-repeat; background-size: 2rem 2rem; z-index: 1; }
.ui-popup .ui-pop-header .ui-pop-counsel { position: absolute; left: 0; top: 0; width: 5.6rem; height: 5.6rem; border: 0; background: url(../images/sti/floating-center2.png) 50% 50% no-repeat; background-size:4.6rem; z-index: 1; }
.ui-popup .ui-pop-content { height: calc(100% - 7.6rem); padding: 2rem 1.4rem; overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.ui-popup .ui-pop-content.bottom-use { height: calc(100% - 5.6rem - 4.6rem); }
.ui-popup .ui-pop-content.no-overscroll { -webkit-overflow-scrolling: auto; }
.ui-popup .ui-pop-content.noscroll { overflow: hidden; }
.ui-popup .ui-pop-bottom { position: absolute; left: 0; bottom: 0; width: 100%; height: 4.6rem; z-index: 2000; border: none; }

.ui-popup .ui-pop-paging { display: flex; justify-content: space-between; align-items: center; position: absolute; left: 0; bottom: 0; width: 100%; height: 5rem; padding: 0 1.4rem; border-top: 1px solid #ddd; }
.ui-popup .ui-pop-paging .page { color: #666; font-family: var(--font-family-number); font-size: 1.2rem; font-weight: 500; letter-spacing: 0; }
.ui-popup .ui-pop-paging .page strong { color: #333; }
.ui-popup .ui-pop-paging .page-prev { width: 2rem; height: 2rem; border: 0; background: url(../images/page_prev.png) 50% 50% no-repeat; background-size: 2rem 2rem; }
.ui-popup .ui-pop-paging .page-prev.on { background: url(../images/page_prev_on.png) 50% 50% no-repeat; background-size: 2rem 2rem; }
.ui-popup .ui-pop-paging .page-next { width: 2rem; height: 2rem; border: 0; background: url(../images/page_next.png) 50% 50% no-repeat; background-size: 2rem 2rem; }
.ui-popup .ui-pop-paging .page-next.on { background: url(../images/page_next_on.png) 50% 50% no-repeat; background-size: 2rem 2rem; }
.ui-popup .ui-pop-paging.num { display: flex; justify-content: center; align-items: center; background-color: #fff; }

/* 공통 popup2 */
.ui-popup2 { position: fixed; left:0; top: 0; width: 100%; height: 100%; background: #fff; z-index: 3100; }
.ui-popup2 .ui-pop-inner { height: 100%; }
.ui-popup2 .ui-pop-header { position: relative; height: 5.6rem; border-bottom: 1px solid #ddd; }
.ui-popup2 .ui-pop-header .ui-pop-title { line-height: 5.6rem; font-family: inherit; font-weight: 700; font-size: 2rem; color:#333; text-align: center; }
.ui-popup2 .ui-pop-header .ui-pop-close { position: absolute; right: 0; top: 0; width: 5.6rem; height: 5.6rem; border: 0; background: url(../images/icon_close.png) 50% 50% no-repeat; background-size: 2rem 2rem; z-index: 1; }
.ui-popup2 .ui-pop-content { height: calc(100% - 7.6rem); padding: 2rem 1.4rem; overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.ui-popup2 .ui-pop-content.bottom-use { height: calc(100% - 7.6rem - 4.6rem); }
.ui-popup2 .ui-pop-content.no-overscroll { -webkit-overflow-scrolling: auto; }
.ui-popup2 .ui-pop-content.noscroll { overflow: hidden; }
.ui-popup2 .ui-pop-bottom { position: absolute; left: 0; bottom: 0; width: 100%; height: 4.6rem; z-index: 2000; }

.ui-popup.type2 .ui-pop-header { border-bottom: 0; }
.ui-popup.type2 .ui-pop-header .ui-pop-title { font-size: 1.7rem; }
.ui-popup.type2 .ui-pop-header .ui-pop-close { background: url(../images/icon_close2.png) 50% 50% no-repeat; background-size: 100% auto; }
.ui-popup.type2 .ui-pop-content { height: calc(100% - 5.6rem); padding: 1rem 0 0 0; }

/* sub layout - 키우GO톡/연금 ver */
.base-wrap.type-sub { padding-top: 8rem; }
.sub-header { position: fixed; top: 0; left: 0; right: 0; height: 8rem; padding-top: 2.4rem; padding-left: 1.6rem; background-color: #fff; z-index: 2; }
.sub-header.pt0 { height: 5.4rem; }
.sub-header .head-title-area { height: 5.6rem; margin-right: 4rem; }
.sub-header .head-title-area.has-right { margin-left: 2.6rem; margin-right: 0; }
.sub-header .head-title-area.txt-c { margin-left: 2.4rem; justify-content: center; }
.sub-header .head-title-area .page-title { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-wrap: break-word; line-height: 1.2; }
.sub-header .btn-close { position: absolute; top: 2.4rem; right: 0; width: 5.6rem; height: 5.6rem; background: url(../images/icon_close2.png) 50% 50% no-repeat; background-size: 100% auto; z-index: 2; }
.sub-header .btn-prev { position: absolute; top: 0; left: 0; width: 4.2rem; height: 5.6rem; z-index: 2; }
.sub-header .btn-prev::before { content: ''; position: absolute; top: 50%; left: 2.25rem; display: block; width: 1rem; height: 1rem; margin-top: -.5rem; border: 2px solid #afafaf; border-top: 0; border-right: 0; transform: rotate(45deg); }
.base-wrap.type-sub2 { padding-top: 12.9rem; }
.base-wrap.type-sub2 .sub-header { height: 12.9rem; }
.base-wrap.type-sub2 .head-title-area { height: 10.5rem; }

/* Slide Popup */
.bx-options { position: fixed; left: 0; top: 100%; width: 100%; height: 100%; z-index: 3001; }
.bx-options .inner { position: relative; width: 100%; height: 100%; }
.bx-options .inner.home { position: absolute; bottom: 0; height: 12rem; }
.bx-options .dimm { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: rgba(51,51,51,.5); opacity: 0; transition: opacity 500ms cubic-bezier(0.215,0.610,0.355,1.000); }
.bx-options .content { position: absolute; left: 0; bottom: -50rem; width: 100%; transition: bottom 500ms cubic-bezier(0.215,0.610,0.355,1.000); }
.bx-options.active { top: 0; transition-delay: 0; }
.bx-options.active .dimm { opacity: 1; transition: opacity 400ms cubic-bezier(0.215,0.610,0.355,1.000); }
.bx-options.active .content { bottom: 0; transition: bottom 400ms cubic-bezier(0.215,0.610,0.355,1.000); }
.bx-options.close { top: 100%; transition-delay: 450ms; }
.bx-options.close .dimm { opacity: 0; }
.bx-options.close .content { bottom: -60rem; }
.bx-options .header { position: relative; height: 5.6rem; border-radius: .8rem .8rem 0 0; border-bottom: 1px solid #ddd; background-color: #fff; }
.bx-options .header:after { content: ''; display: block; clear: both; }
.bx-options .header.bar::before { content: ''; position: absolute; left: 50%; top: .5rem; width: 3rem; height: .2rem; margin-left: -1.5rem; border-radius: .1rem; background-color: #ddd; }
.bx-options .header .title { color: #333; font-size: 2rem; font-weight: 700; text-align: center; line-height: 5.6rem; }
.bx-options .header .btn-close { position: absolute; right: 0; top: 0; width: 5.6rem; height: 5.6rem; background: url(../images/icon_close.png) no-repeat center center; background-size: 2rem 2rem; }
.bx-options .header .btn-close span { position: absolute; clip: rect(0 0 0 0); clip: rect(0, 0, 0, 0); width: 0; height: 0; padding: 0; margin: -1px; border: 0; overflow: hidden; }
.bx-options .content-inner { max-height: calc(100vh - 14rem); padding: 2rem 1.4rem; background-color: #fff; overflow-y: auto; }
.bx-options .content-inner.btn-use { max-height: calc(100vh - 18rem); }
.bx-options .content-inner.btn-use2 { max-height: calc(100vh - 37rem); }
.bx-options .content-inner.home { max-height: calc(100vh - 10rem); padding: 0; }
.bx-options .content-inner.pdt0 { padding: 0 1.4rem 2rem; }
.bx-options .content-inner.full { padding: 0 0 1rem; }
/* Slide Popup - type2 */
.bx-options.type2 .content { border-radius: 1.6rem 1.6rem 0 0; background-color: #fff; }
.bx-options.type2 .header { height: auto; padding-top: 3rem; border-bottom: 0; background-color: transparent; }
.bx-options.type2  .header .title { line-height:1; font-size: 1.8rem; font-weight: 500; }
.bx-options.type2 .content-inner { padding-top: 3rem; background-color: transparent; }
.bx-options.type2 .btn-wraps { padding: 0 1.6rem 2.4rem; background-color: transparent; }
@supports (backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px)){
    .bx-options.type2 .content { background-color: rgba(255,255,255, .88); backdrop-filter: blur(12px) brightness(120%); -webkit-backdrop-filter: blur(12px) brightness(120%); }
}

/* Modal Popup */
.modal-dim { display: none; position: fixed; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(51,51,51,.5); z-index: 3200; }
.modal-dim.on { display: block; }
.modal-dim .modal-container { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: calc(100% - 3.2rem); min-width: 280px; border-radius: .5rem; background: #fff; z-index: 3003; outline: none; }
.modal-dim .modal-container .modal-head { height: 5.6rem; border-radius: .5rem .5rem 0 0; border-bottom: 1px solid #ddd; background: #fff; }
.modal-dim .modal-container .modal-head .head-title { color: #333; font-size: 2rem; font-weight: 700; text-align: center; line-height: 5.6rem; letter-spacing: -.2px; }
.modal-dim .modal-container .btn-close { position: absolute; right: 0; top: 0; width: 5.6rem; height: 5.6rem; background: url(../images/icon_close.png) no-repeat center center; background-size: 2rem 2rem; }
.modal-dim .modal-container .btn-close span { position: absolute; clip: rect(0 0 0 0); clip: rect(0, 0, 0, 0); width: 0; height: 0; padding: 0; margin: -1px; border: 0; overflow: hidden; }
.modal-dim .modal-container .modal-body { min-height: 4rem; overflow-y: auto; }
.modal-dim .modal-container .modal-body .modal-body-container { width: 100% !important; padding: 2rem 1.4rem 3rem; overflow-y: auto; }

@media (max-height: 568px) {
    .modal-dim .modal-container .modal-body .modal-body-container { max-height: 30rem; }
}	
@media (min-height: 569px) and (max-height: 640px) {
    .modal-dim .modal-container .modal-body .modal-body-container { max-height: 40rem; }
}
@media (min-height: 641px) and (max-height: 670px) {
    .modal-dim .modal-container .modal-body .modal-body-container { max-height: 50rem; }
}
@media (min-height: 671px) and (max-height: 736px) {
    .modal-dim .modal-container .modal-body .modal-body-container { max-height: 60rem; }
}	
@media (min-height: 737px) and (max-height: 812px) {
    .modal-dim .modal-container .modal-body .modal-body-container { max-height: 70rem; }
}	
@media (min-height: 813px) and (max-height: 823px) {
    .modal-dim .modal-container .modal-body .modal-body-container { max-height: 80rem; }
}
@media (min-height: 824px) {
    .modal-dim .modal-container .modal-body .modal-body-container { max-height: 90rem; }
}

.modal-dim.loding { background-color: rgba(255,255,255,.5); }
.modal-dim.loding .modal-container .modal-body .modal-body-container { background-color: rgba(255,255,255,.5); }

/* Modal Popup - type2 */
.modal-dim.type2 .modal-container { padding: 3rem 1.6rem 3rem; border-radius: 1.2rem; box-shadow: 0 .8rem 1.6rem rgba(0,0,0,.1); background-color: transparent; }
.modal-dim.type2 .modal-container::after { content: ''; display: block; position: absolute; top: 0; left: 0; bottom: 0; right: 0; border-radius: 1.2rem; background-color: #fff; z-index: -1; }/*Chrome bug fix : 'backdrop-filter + transform'속성을 .modal-container에 직접 줄 때 하위 text Blurry Bug있음)*/
@supports (backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px)){
    .modal-dim.type2 .modal-container::after { backdrop-filter: blur(12px) brightness(120%); -webkit-backdrop-filter: blur(12px) brightness(120%); background-color: rgba(255,255,255,.88); }
}

.modal-dim.type2 .modal-container .modal-head { height: auto; border-radius: 1.2rem; border-bottom: 0; padding: 0 0 1rem; background: transparent; }
.modal-dim.type2 .modal-container .modal-head .head-title { font-size: 1.7rem; color: var(--text-color-00); font-weight: 500; line-height: 1; }
.modal-dim.type2 .modal-container .modal-body .modal-body-container { padding: 0 0 2.4rem; line-height: 2.2rem; }
.modal-dim.type2.po-bottom .modal-container { bottom: 2.4rem; top: auto; transform: translate(-50%, 0); }

/* Footer */
.base-main.footer, .bx-options.footer { overflow-y: auto; height: calc(100% - 8.83rem); }
.base-footer { position: relative; width: 100%; height: 8.83rem; z-index: 0; }
