/* 폰트 fonts */
@font-face {
    font-family: "Seokbo";
    src: local("Seokbo_Regular_TTF.ttf"), url('/fonts/Seokbo_Regular_TTF.ttf'),
    local("Seokbo_Regular_OTF.otf"), url('/fonts/Seokbo_Regular_OTF.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'GmarketSansLight';
    font-weight: 300;
    font-style: normal;
    src: url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansLight.eot');
    src: url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansLight.eot?#iefix') format('embedded-opentype'),
    url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansLight.woff2') format('woff2'),
    url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansLight.woff') format('woff'),
    url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansLight.ttf') format("truetype");
    font-display: swap;
}
@font-face {
    font-family: 'GmarketSansMedium';
    font-weight: 500;
    font-style: normal;
    src: url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansMedium.eot');
    src: url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansMedium.eot?#iefix') format('embedded-opentype'),
    url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansMedium.woff2') format('woff2'),
    url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansMedium.woff') format('woff'),
    url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansMedium.ttf') format("truetype");
    font-display: swap;
}
@font-face {
    font-family: 'GmarketSansBold';
    font-weight: 700;
    font-style: normal;
    src: url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansBold.eot');
    src: url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansBold.eot?#iefix') format('embedded-opentype'),
    url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansBold.woff2') format('woff2'),
    url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansBold.woff') format('woff'),
    url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansBold.ttf') format("truetype");
    font-display: swap;
}

.bold {
    font-weight: bold;
}

.regular {
    font-weight: 500;
}

.font-blue {
    color: #0f71cd;
}

#wrap {

    width: 100%;
    height: 100vh;


    max-width: 960px;
    overflow: hidden;
    margin: auto;
    opacity: 1;
    transition: 0.35s;
}

#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #e4e4e4;
    height: 55px;
    z-index: 99;
}

#header .nav {
    width: 100%;
    height: inherit;
    padding: 0 12px;
    margin: 0 auto;
}

#header .nav h2.top-title, #header .nav div.top-nav {
    font-size: 15px;
}

#header .nav div.top-nav {
    display: flex;
    align-items: center;
    gap: 5px;
    line-height: 55px;
}

#header .nav div.top-nav > a {
    flex: 0 0 30px;
    line-height: 0;
}

#header .nav div.top-nav > span {
    flex: 1 0 auto;
    font-weight: 500;
}

#sub-menu {
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    height: calc(100% - 60px);
    z-index: 99;
    background: #fff;
    transition: 0.5s;
    overflow: auto;
}

#sub-menu.active {
    left: 0;
}

#sub-menu .sub-menu-wrap {

}

#sub-menu .sub-menu-wrap .sub-menu-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 55px;
    padding: 0 12px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 5px;
    border-bottom: 1px solid #e4e4e4;
    background: #fff;
}

#sub-menu .sub-menu-wrap .sub-menu-header > div {
    display: flex;
    gap: 23px;
    flex: 1 0 auto;
}

#sub-menu .sub-menu-wrap .sub-menu-header a {
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

#sub-menu .sub-menu-info {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px;
    background: #f3f6f9;
    border-bottom: 1px solid #e4e4e4;
}

#sub-menu .sub-menu-info .my-profile {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

#sub-menu .sub-menu-info .my-profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#sub-menu .sub-menu-info .my-info {
    font-size: 17px;
    font-weight: 300;
    line-height: 1.2;
    color: #111;
}

#sub-menu .sub-menu-info .my-info span {
    font-weight: 500;
}

#sub-menu .sub-menu-list {
    display: flex;
    width: 100%;
}

#sub-menu .sub-menu-list .depth_1 {
    width: 55%;
    padding: 15px 0;
}

#sub-menu .sub-menu-list .depth_2 {
    width: 45%;
    padding: 15px 0;
    border-left: 1px solid #e4e4e4;
    background-color: #f3f3f3;
}

#sub-menu .sub-menu-list .depth_2.child_menu {
    display: none;
}

#sub-menu .sub-menu-list ul li {
    padding: 0 13px;
}

#sub-menu .sub-menu-list ul li.active, #sub-menu .sub-menu-list ul li:hover {
    background: #ededed;
}

#sub-menu .sub-menu-list ul li a {
    display: block;
    width: 100%;
    color: #111111;
    font-size: 17px;
    line-height: 3;
}

#sub-menu .sub-menu-list ul li.active a, #sub-menu .sub-menu-list ul li:hover a {
    color: #0f71cd;
    font-weight: 900;
}

#sub-menu .sub-menu-banner-wrap {
    padding: 10px 13px;
    border-top: 1px solid #e4e4e4;
    font-size: 0;
}

#sub-menu .sub-menu-banner-wrap a {
    display: block;
}

#sub-menu .sub-menu-banner-wrap img {
    width: 100%;
    object-fit: cover;
}


#footer {
    position: fixed;
    bottom: 0;
    left: 0;
    box-sizing: content-box;
    right: 0;
    height: 70px;
    border-top: 1px solid #e4e4e4;
    background: #fff;
    z-index: 99;
}

#footer .footer-wrap {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    padding: 0 12px;
    height: inherit;
    margin: 0 auto;
}

#footer .footer-wrap a {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(100% / 3);
    font-size: 12px;
    line-height: 1.5;
    opacity: 0.5;
}

#footer .footer-wrap a.active {
    opacity: 1;
}

#container .page-container {
    overflow-y: scroll;
    /*height: 100%;*/
    height: calc(100vh - 70px - 55px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
}


/*
#container .page-container {
    padding-top: 55px;
    height: 100vh;
    overflow: auto;
}
*/


/*#container {
    padding-top: 55px;
    height: 100%;
}

#container.menu {
    padding-bottom:70px;
    height: 100%;
}*/

#container {
    position: relative;
    top: 56px;
/*    height: 100%;
    padding-bottom: 125px;
    overflow: hidden;*/
}

/*#container.menu {
    height: calc(100% - 70px);
}*/

/* 팝업 popups */
#background-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    background: #000000a6;
    display: none;
}

.popup-container {
    position: fixed;
    top: 25%;
    left: 0;
    right: 0;
    width: 90%;
    margin: 0 auto;
    z-index: 101;
    display: none;
}

.popup-container.bottom {
    display: block;
    position: fixed;
    top: auto;
    bottom: 0;
    width: 100%;
    max-height: 0;
    transition: 0.5s;
}

.popup-container.show {
    display: block;
}

.popup-container.bottom.show {
    max-height: 470px;
}

.popup-container.show ~ #background-popup {
    display: block;
}

.popup-container .close-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    padding: 5px;
    margin: 0 auto 10px;
    background: #fff;
    border-radius: 50%;
}

.popup-container .popup-wrap {
    padding: 40px 23px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 0 10px 0 rgba(28, 29, 29, 0.1);
    overflow: hidden;
}

.popup-container.index-popup .popup-wrap,
.popup-container.temple-popup .popup-wrap {
    padding: 0;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 0 10px 0 rgba(28, 29, 29, 0.1);
    overflow: hidden;
}

.popup-container.bottom .popup-wrap {
    border-radius: 20px 20px 0 0;
}

.popup-container .popup-wrap .popup-header {
    margin-bottom: 30px;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.39;
    color: #111;
}

.popup-container .popup-wrap .popup-body {
    margin-bottom: 30px;
    max-height: 350px;
    overflow: hidden;
    font-size: 16px;
    font-weight: 500;
    /* line-height: 1.44; */
    text-align: center;
}

.popup-container.index-popup .popup-wrap .popup-body,
.popup-container.temple-popup .popup-wrap .popup-body {
    margin-bottom: 0;
    /*max-height: 100%;*/
}

.popup-container.index-popup.image .popup-wrap .popup-body,
.popup-container.temple-popup.image .popup-wrap .popup-body {
    font-size: 0;
}

.popup-container.index-popup .popup-wrap .popup-body img,
.popup-container.temple-popup .popup-wrap .popup-body img {
    width: 100%;
    object-fit: cover;
}

.popup-container .popup-wrap .popup-body.none-margin {
    margin-bottom: 0;
}

.popup-container .popup-wrap .popup-footer {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.44;
    text-align: center;
}

.popup-list {
    overflow: auto;
    height: 300px;
}

.popup-item {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    gap: 5px;
}

.popup-item .popup-item-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 5px;
    text-align: left;
}

.popup-item .popup-item-left span {
    font-size: 14px;
    line-height: 1.64;
    font-weight: normal;
}

.popup-item .popup-item-left span.bold {
    font-weight: bold;
}

.popup-item .popup-item-right {
    align-self: center;
}

.popup-item .popup-item-right .btn {
    width: 60px;
}

/* 버튼 buttons */
.button-wrap {
    width: 100%;
}

.button-wrap.buttons-2 {
    display: flex;
    width: 100%;
    gap: 15px;
}

.button-wrap.buttons-2 > a {
    width: 50%;
    min-width: 44px;
}

.popup-container.index-popup .button-wrap.buttons-2 > a,
.popup-container.temple-popup .button-wrap.buttons-2 > a {
    display: flex;
    align-items: center;
    gap: 5px;
    text-align: left;
}

.popup-container.index-popup .button-wrap.buttons-2 > a.today-close.active,
.popup-container.temple-popup .button-wrap.buttons-2 > a.today-close.active {
    color: #0f71cd;
}

.popup-container.index-popup .button-wrap.buttons-2 > a.today-close.active .icon-pop-check,
.popup-container.temple-popup .button-wrap.buttons-2 > a.today-close.active .icon-pop-check {
    background: url('../images/icon/icon-pop-check-ov.png') no-repeat center center / cover;
}

.popup-container.index-popup .button-wrap.buttons-2 > a:last-child,
.popup-container.temple-popup .button-wrap.buttons-2 > a:last-child {
    justify-content: flex-end;
    width: calc(50% - 10px);
    margin-right: 10px;
}

.button-wrap.buttons-2.large-btn {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    flex-direction: column;
    align-items: center;
}

.button-wrap.buttons-2.large-btn > a {
    width: 100%;
}

.btn {
    display: block;
    width: 100%;
    font-size: 16px;
    line-height: 1.64;
    text-align: center;
    border-radius: 6px;
    padding: 12px 10px !important;
    font-weight: normal;
    box-sizing: border-box;
}

.btn.flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn.md {
    line-height: 2.14;
    padding: 0;
    width: 200px;
    margin: 0 auto;
}

.btn.sm {
    line-height: 1;
    padding: 6px;
    width: 100px;
    margin: 0 auto;
}

.btn.xs {
    width: fit-content;
    height: 25px;
    padding: 0 12px !important;
    font-size: 12px;
    line-height: 25px;
}

.btn.btn-blue {
    background: #0f71cd;
    color: #fff;
}

.btn.btn-gray {
    background: #ababab;
    color: #fff;
}

.btn.btn-gray-2 {
    background: #bababa;
    color: #fff;
}

.btn.btn-dark-gray {
    background: #686868;
    color: #fff;
}

.btn.btn-cancel {
    background: #f5f5f5;
    color: #959595;
    border: 1px solid #d6d6d6;
}

.btn.btn-disable {
    background: #ebebeb;
    color: #adadad;
}

.btn.btn-black {
    background: #171717;
    color: #fff;
}

.btn.btn-yellow {
    background: #bda247;
    color: #fff;
}

.btn.btn-white {
    background: #fff;
    border: 1px solid #d6d6d6;
    color: #000;
}

.btn.btn-violet {
    background: #452b8c;
    color: #fff;
}

.btn.w40 {
    width: 40% !important;
    max-width: 170px;
}

.btn.w50 {
    width: 50% !important;
    padding:6px 10px !important;
}

.btn.w60 {
    width: 60% !important;
}

.btn.w100 {
    width: 100% !important;
}

.btn.border50 {
    border-radius: 50px;
}

.switch {
    display: flex;
    font-size: 14px;
    line-height: 1.64;
    text-align: center;
    font-weight: normal;
    box-sizing: border-box;
    background: #f5f5f5;
    color: #6a6a6a;
    border: 1px solid #d6d6d6;
    border-radius: 50px;
}

.switch span {
    display: inline-block;
    width: 50%;
    padding: 10px;
    border-radius: 50px;
    font-size: 14px;
    color: #959595;
}

[role="switch"][aria-checked="false"] :first-child,
[role="switch"][aria-checked="true"] :last-child {
    color: #959595;
}

[role="switch"][aria-checked="false"] :last-child,
[role="switch"][aria-checked="true"] :first-child {
    background: #0f71cd;
    color: #fff;

}


/* 입력란 input */
input[type=number].input, input[type=text].input, input[type=password].input, select.input {
    padding: 14px 5px;
    border: 1px solid #d6d6d6;
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
    color: #111;
}

select.input {
    background: url('../images/icon/icon-arrow.png') #fff no-repeat 95% 50% / 9px 6px;
}

input[type=checkbox].input {
    background: url('../images/checkg.png') no-repeat center center / cover;
    width: 16px;
    height: 16px;
}

input[type=checkbox].input:checked {
    background: url('../images/checkg-ov.png') no-repeat center center / cover;
}

.input.w45 {
    width: 45%;
}

.input.w50 {
    width: 50%;
}

.input.w55 {
    width: 55%;
}

.input.w100 {
    width: 100%;
}

.input.w45 + .input.w55 {
    margin-left: 10px;
}

.input-box {
    display: block;
}

.input-box .input-set {
    margin-bottom: 15px;
}

.input-box .input-set:last-child {
    margin-bottom: 0;
}

.input-box .input-set label {
    font-size: 18px;
    font-weight: 500;
    color: #111;
    line-height: 1.44;
}

.input-box .input-set.flex {
    display: flex;
    align-items: center;
}

.input-box .input-set.flex label {
    flex: 0 0 100px;
}

.input-box .input-set.flex label.flex-start {
    align-self: flex-start;
}

.input-box .input-set.flex input {
    width: 100%;
}

/* 박스 box */
.box {
    padding-bottom: 80px;
}
.box ~ .box:before {
    content: "";
    display: block;
    width: 95%;
    height: 1px;
    background: #e4e4e4;
    margin: 0 auto;
}

.bg-gray {
    background: #f2f2f2;
}

.padding-box-l {
    padding: 25px;
}

.padding-box-m {
    padding: 15px;
}

.padding-box-s {
    padding: 10px;
}

.border-bottom {
    border-bottom: 1px solid #e4e4e4;
}

.padding-none {
    padding: 0 !important;
}


/* 스와이퍼 swiper */
.swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
    background: #fff !important;
    opacity: .3 !important;
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
    background: #ffd739 !important;
}

.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 7px !important;
}

.index-popup .swiper-container-horizontal>.swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction,
.temple-popup .swiper-container-horizontal>.swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: 60px;
}

.swiper-container {
    position: static !important;
}

/* 행사일정 스타일 상세 팝업 추가 */
#schedule_popup .popup-wrap {
    padding: 30px 25px;
}

#schedule_popup .schedule-content-wrap .content-title {
    text-align: left;
    font-size: 18px;
    margin-bottom: 17px;
}

#schedule_popup .schedule-content-wrap .schedule-content {
    max-height: 380px;
    font-size: 15px;
    text-align: left;
    line-height: 1.7;
    overflow: scroll;
}

.mr-3 {
    margin-right: 3px;
}

.mr-5 {
    margin-right: 5px;
}

.mr-15 {
    margin-right: 15px;
}

.ml-15 {
    margin-left: 15px;
}

.ml-20 {
    margin-left: 20px;
}

.mt-10 {
    margin-top: 10px;
}

.mt-15 {
    margin-top: 15px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mb-50 {
    margin-bottom: 50px;
}

.mb-80 {
    margin-bottom: 80px;
}