@charset "utf-8";
/* TOURMUCH // Maker : H.J Jeon // E-Mail : jinia21@naver.com // Site : tourmuch.com */

#bottom-sheet-overlay,
#modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(var(--color-black-rgb),0.7);
    z-index: 2100;
}


/* Modal Base */
.kari-modal {
    visibility: hidden;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 90%;
    max-width: 400px;
    background-color: var(--color-box-basic);
    border-radius: 1.5rem;
    transition: 0.3s;
    z-index: 2200;
    opacity: 0;
    transform: translate(-50%, -50%);
}

.kari-modal.modal-open {
    visibility: visible;
    opacity: 1;
}

.kari-modal .sunh-modal-dialog .sunh-modal-content {
    padding: 1rem;
}

.kari-modal .sunh-modal-dialog .sunh-modal-foot {
    padding: 1rem;
}


/* Bottom Sheet Base */
.kari-bottom-sheet {
    --top-header-height: 60px;

    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin-top: 100vh;
    background-color: var(--color-box-basic);
    border-radius: 1.5rem 1.5rem 0 0;
    transition: 0.3s;
    z-index: 2200;
    opacity: 0;
}

.kari-bottom-sheet .full-screen-btn {
    padding: 0.3rem 0.5rem;
    margin-top: 0.5rem;
}

.kari-bottom-sheet .full-screen-btn span {
    display: block;
    width: 40px;
    height: 4px;
    background-color: var(--color-line-basic);
    border-radius: 2px;
}

.kari-bottom-sheet.bs-open {
    visibility: visible;
    height: var(--bs-height);
    margin-top: calc(100vh - var(--bs-height));
    opacity: 1;
}

.kari-bottom-sheet.bs-open.fullsize {
    height: 100vh;
    margin-top: 0;
    border-radius: 0;
}

.bottom-sheet-dialog .bs-head {
    padding-inline: 1rem;
}

.bottom-sheet-dialog .bs-head h2.bs-tit {
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
}

.bottom-sheet-dialog .bs-content {
    padding: 1rem;
}

.bs-full-box .bottom-sheet-dialog .bs-content {
    overflow-y: auto;
    height: calc(100vh - var(--top-header-height) - 100px);
}

.bs-full-box.no-foot .bottom-sheet-dialog .bs-content {
    height: calc(100vh - var(--top-header-height) - 30px);
}

.bottom-sheet-dialog .bs-foot {
    padding: 1rem;
    border-top: 1px solid var(--color-line-light);
}

@media screen and (min-width: 480px) {
    .kari-bottom-sheet,
    .kari-bottom-sheet.bs-open {
        overflow: hidden;
        top: 50%;
        left: 50%;
        width: 100%;
        max-width: 480px;
        height: auto !important;
        margin-top: 0;
        transform: translate(-50%, -50%);
        border-radius: 1rem;
    }

    .bottom-sheet-dialog .bs-head {
        padding-inline: 1.5rem;
        padding-top: 0.5rem;
    }

    .bottom-sheet-dialog .bs-content {
        padding: 1rem 1.5rem 1.5rem;
    }

    .bs-full-box .bottom-sheet-dialog .bs-content {
        height: calc(100vh - var(--top-header-height) - 200px);
    }

    .bs-full-box.no-foot .bottom-sheet-dialog .bs-content {
        height: calc(100vh - var(--top-header-height) - 130px);
    }

    .bottom-sheet-dialog .bs-foot {
        padding: 1rem 1.5rem;
    }
}







/* ------------------------------------------------------------ */


@media screen and (min-width: 639px) {
}

@media screen and (min-width: 767px) {
}

@media screen and (min-width: 979px) {
}

@media screen and (min-width: 1239px) {
}

@media screen and (min-width: 1340px) {
}

@media screen and (min-width: 1439px) {
}

@media screen and (min-width: 1640px) {
}

@media screen and (min-width: 1840px) {
}