@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.8);
    backdrop-filter: blur(5px);
    z-index: 2100;
}


/* Modal Base */
.ezrems-modal {
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    width: 100%;
    height: 100vh;
    transition: 0.3s;
    z-index: 2200;
    opacity: 0;
}

.ezrems-modal.modal-open {
    visibility: visible;
    opacity: 1;
}

.ezrems-modal .ezrems-modal-dialog {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding: 3rem 1rem;
    margin: 0 auto;
    background-color: var(--color-background);
    background-image: url("../img/modal_bg.jpg");
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-attachment: fixed;
    transition: 0.3s;
}

.ezrems-modal .ezrems-modal-header {
    margin-bottom: 2rem;
}

.ezrems-modal .ezrems-modal-header h2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    font-size: clamp(1.5rem, 5vw, 2rem);
}

.ezrems-modal .ezrems-modal-header h2 .ico {
    width: 80px;
    padding: 1.5rem;
    background-color: var(--color-background);
    font-size: 0;
    border-radius: 25px;
    box-shadow: 0 3px 8px -3px rgba(var(--color-black-rgb),0.2);
}

.ezrems-modal .ezrems-modal-header h2 em {
    font-family: var(--font-point);
}

.ezrems-modal .ezrems-modal-header .close-btn {
    position: fixed;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background-color: var(--color-background);
    color: var(--color-point);
    font-size: 1.5rem;
    border-radius: 0 0 0 50%;
    box-shadow: 0 2px 5px -3px rgba(var(--color-black-rgb),0.1);
    text-align: center;
    z-index: 2300;
}

.ezrems-modal .ezrems-modal-content {
}

.ezrems-modal .ezrems-modal-content h3.modal-tit {
    margin-bottom: 1.25rem;
    font-size: clamp(1.125rem, 3vw, 1.25rem);
    font-weight: var(--font-weight-semibold);
    letter-spacing: -.5pt;
}

.ezrems-modal .ezrems-modal-content h3.modal-tit small {
    font-size: 80%;
    font-weight: var(--font-weight-regular);
}

.ezrems-modal .ezrems-modal-foot {
    margin-top: 2rem;
}

@media screen and (min-width: 374px) {
    .ezrems-modal .ezrems-modal-dialog {
        padding: 3rem 2rem;
    }
}

@media screen and (min-width: 767px) {
    .ezrems-modal {
        padding: 2rem;
    }

    .ezrems-modal .ezrems-modal-dialog {
        max-width: 680px;
        min-height: calc(100vh - 4rem);
        padding: 4rem;
        background-size: 700px auto;
        border-radius: 1rem;
        box-shadow: 0 5px 15px -10px rgba(var(--color-black-rgb),0.3);
    }

    .ezrems-modal .ezrems-modal-header {
        margin-bottom: 3rem;
    }

    .ezrems-modal .ezrems-modal-header h2 {
        gap: 1rem;
    }

    .ezrems-modal .ezrems-modal-header .close-btn {
        top: 1rem;
        right: 2rem;
        border-radius: 50%;
        font-size: 1.875rem;
    }

    .ezrems-modal .ezrems-modal-foot {
        margin-top: 3rem;
    }
}

@media screen and (min-width: 1239px) {
}

@media screen and (min-width: 1439px) {
}


/* Bottom Sheet Base */
.ezrems-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;
}

.ezrems-bottom-sheet .full-screen-btn {
    padding: 0.3rem 0.5rem;
    margin-top: 0.5rem;
}

.ezrems-bottom-sheet .full-screen-btn span {
    display: block;
    width: 40px;
    height: 4px;
    background-color: var(--color-line-basic);
    border-radius: 2px;
}

.ezrems-bottom-sheet.bs-open {
    visibility: visible;
    height: var(--bs-height);
    margin-top: calc(100vh - var(--bs-height));
    opacity: 1;
}

.ezrems-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) {
    .ezrems-bottom-sheet,
    .ezrems-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) {
}