@charset "utf-8";

section {
    transition: transform 0.4s ease-in-out;
}

section.disabled {
    transform: translateX(30%);
}

.main-swiper {
    transition: transform 0.4s ease-in-out;
}

.main-swiper.disabled {
    transform: translateX(30%);
}

/* 모바일 메뉴 열 때 예약 콘텐츠(homz 위젯·표)도 hero 와 함께 밀리도록 */
.reservation-wrap {
    transition: transform 0.4s ease-in-out;
}

.reservation-wrap.disabled {
    transform: translateX(30%);
}

.reservation-main-wrap {
    position: relative;
    width: 100%;
    height: 50vh;
}

.reservation-main-img {
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(https://cdn.merrydoghaus.com/photos/reservation/reservation-1440.webp);
    background-image: -webkit-image-set(url("https://cdn.merrydoghaus.com/photos/reservation/reservation-1440.webp") 1x, url("https://cdn.merrydoghaus.com/photos/reservation/reservation-1920.webp") 2x);
    background-image: image-set(url("https://cdn.merrydoghaus.com/photos/reservation/reservation-1440.webp") 1x, url("https://cdn.merrydoghaus.com/photos/reservation/reservation-1920.webp") 2x);
}

.reservation-main-img::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.4);
}

.reservation-text-wrap {
    z-index: 10;
    position: absolute;
    width: 100%;
    top: 60%;
    left: 50%;
    text-align: center;
    color: #fff;
    transform: translate(-50%, 0);
}

.reservation-text-wrap h2 {
    margin-bottom: 40px;
    font-size: 16px;
    text-decoration: underline;
}

.reservation-text-wrap p {
    font-size: 14px;
    line-height: 22px;
}

.container {
    margin: 60px 30px 120px;
}

.container::after {
    display: block;
    clear: both;
    content: "";
}

.reservation-wrap {
    max-width: 1024px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, AppleSDGothicNeo-Regular, "Malgun Gothic", "맑은 고딕", dotum, "돋움", "Segoe UI", Helvetica, Arial,
        sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    color: #5c5c5c;
    font-size: 14px;
}

.reservation-subtitle-wrap {
    width: fit-content;
    margin: 0 auto 40px;
    height: 30px;
    border-bottom: 1px solid #343434;
}

.reservation-subtitle-wrap li {
    display: inline-block;
    text-align: center;
    font-size: 16px;
    margin: 0 20px;
    width: 110px;
    font-weight: lighter;
}

.reservation-subtitle-wrap li :hover {
    font-weight: bold;
}

.reservation-subtitle-wrap li.now {
    font-weight: bold;
}

.reservation-subtitle-wrap a {
    text-decoration: none;
    color: #343434;
}

.x-bookable .x-accommodation.x-calendar-roomtype .x-calendar-roomtype-roominfo-status.x-calendar-roomtype-roominfo-status-closed:before {
    border: 1px solid #fa7268 !important;
    color: #fa7268 !important;
}

.reservation-wrap p,
.reservation-wrap b,
.reservation-wrap div,
.reservation-wrap i,
.reservation-wrap span,
small,
.reservation-wrap h1,
.reservation-wrap h2,
.reservation-wrap h3,
.reservation-wrap h4,
.reservation-wrap h5,
.reservation-wrap h6 {
    vertical-align: baseline;
}

.reservation-wrap h3 {
    text-align: center;
    margin: 30px auto;
    font-size: 1.2em;
}

.section-title {
    font-weight: lighter;
    letter-spacing: 3px;
    margin: 60px 0;
    text-align: center;
    font-size: 25px;
}

.book-info-wrap {
    margin: 60px auto;
    color: #5c5c5c;
}

.book-info-wrap em {
    color: red;
}

.bookinfo-col {
    display: inline-block;
    width: 49%;
    vertical-align: top !important;
}

.bookinfo-col:first-of-type {
    margin-right: 5px;
}

.bookinfo-col:last-child {
    margin-left: 5px;
}

.bookinfo-col ul {
    list-style-type: disc;
    list-style-position: outside;
}

.bookinfo-col li {
    line-height: 1.5;
    font-size: 13px;
    margin-left: 20px;
}

.bookinfo-title {
    text-align: center;
    margin: 0 0 20px 20px;
    font-weight: normal;
    font-size: 18px;
}

.reservation-table {
    width: 100%;
}

.reservation-table th,
.reservation-table td {
    text-align: center;
    height: 34px;
    font-size: 13px;
    border: 1px solid #e0e0e0;
}

.reservation-table th {
    background-color: #f7f7f7;
}

.refund-text {
    text-align: center;
}

.corona-text {
    text-align: center;
    color: #ff0000;
    margin: 10px 0 60px;
}

.text-right {
    margin-top: 10px !important;
    font-size: 12px !important;
    text-align: right !important;
}

.booking-wrap {
    margin-bottom: 50px;
}

.sweet-alert .sa-confirm-button-container {
    vertical-align: initial;
}

@media screen and (max-width: 1024px) {
    .sub-nav-wrap {
        display: none;
    }

    section {
        width: 100%;
    }

    .contents-wrap h2 {
        text-align: center;
    }
}

@media screen and (max-width: 768px) {
    .reservation-text-wrap {
        top: 70%;
    }

    .reservation-text-wrap h2 {
        font-size: 12px;
    }

    .container {
        margin: 60px 15px;
    }

    .reservation-subtitle-wrap li {
        font-size: 14px;
        margin: 0 0;
        width: 100px;
    }

    .x-bookable .x-accommodation.x-calendar .x-calendar-body table td.x-calendar-mutedday span.x-calendar-day,
    .x-bookable .x-accommodation.x-calendar .x-calendar-body table td.x-calendar-pastdate span.x-calendar-day {
        text-decoration: line-through;
        text-decoration-thickness: 2px;
    }

    .bookinfo-col {
        display: inline-block;
        width: 100%;
    }

    .bookinfo-col:first-of-type {
        margin-right: 0;
    }

    .bookinfo-col:last-child {
        margin-top: 25px;
        margin-left: 0;
    }
}


/* R2 image-set: 모바일(≤768px) 저해상도 분기 (자동 생성) */
@media (max-width: 768px) {
	.reservation-main-img {
		background-image: -webkit-image-set(url("https://cdn.merrydoghaus.com/photos/reservation/reservation-960.webp") 1x, url("https://cdn.merrydoghaus.com/photos/reservation/reservation-1920.webp") 2x);
		background-image: image-set(url("https://cdn.merrydoghaus.com/photos/reservation/reservation-960.webp") 1x, url("https://cdn.merrydoghaus.com/photos/reservation/reservation-1920.webp") 2x);
	}
}
