* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

html,
body {
    font-size: 16px;
    letter-spacing: 1px;
    background-color: var(--white);
    color: var(--black);
    /* font-family: "微軟正黑體"; */
    font-family: jf-jinxuanlatte;
    font-weight: 400;

}

/* header */

header {
    display: block;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    box-shadow: 0 0 10px 2px var(--gray);
    background-color: rgba(250, 250, 250, 0.8);
}

/* navbar */
.navbar-brand img {
    height: 50px;
}

.navbar .nav-link {
    background-color: var(--yellow);
    color: var(--white) !important;
    text-align: center;
    border-radius: 25px;
    width: 120px;
    padding: 5px;
}

.nav-link-icon {
    display: none;
}

.nav-link-text {
    display: inline;
    font-weight: var(--font-weight-500);
}

.navbar .nav-link:hover {
    color: var(--dark-gray) !important;
    transition: color .3s ease-out;
}

.dropdown-item:hover {
    background-color: var(--yellow);
    color: var(--white)!important;
}

@media (max-width:991px) {

    header {
        background-color: rgba(250, 250, 250, 1) !important;
    }

    .navbar-brand img {
        height: 40px;
    }

}

@media (max-width:767px) {

    .navbar .nav-link {
        background-color: transparent;
        color: var(--black) !important;
        border-radius: 0;
        width: 20px;
        padding: 0;
    }

    .nav-link-icon {
        display: inline;
        font-size: 1rem;
    }

    .nav-link-text {
        display: none;
    }

    .dropdown-toggle::after {
        display: none;
    }

    .dropdown-item {
        font-size: .9rem;
    }

    .navbar {
        padding: 3px 1rem;
    }

    .navbar-brand img {
        height: 30px;
    }

}

/* --------------------- footer------------------------ */

footer {
    width: 100%;
    background-color: #eaeaea;
    letter-spacing: 2px;
    padding: 80px 0px;
}

.hotel_info {
    max-width: 400px;
}

.hotel_name {
    font-size: 1.25rem;
    font-weight: var(--font-weight-700);
}

.hotel_info hr {
    border: 1px solid var(--dark-gray);
}

.ez_img {
    display: block;
}

.ez_text {
    display: none;
}

@media(max-width:991px) {

    footer {
        padding: 80px 0px 100px 0;
    }

}

@media(max-width:767px) {

    footer {
        padding: 50px 0px 80px 0;
        font-size: .9rem;
    }

    .hotel_name {
        font-size: 1rem;
    }

    .ez_img {
        display: none;
    }

    .ez_text {
        display: block;
    }

    .hotel_info {
        margin: auto;
    }

    .navbar-nav .dropdown-menu {
        left: unset;
        right: 0;
    }

}
.v-spinner{
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* color */

.ori_color_pink {
    color: var(--pink);
}

.ori_color_blue {
    color: var(--blue);
}

.ori_color_orange {
    color: var(--orange);
}

.ori_color_yellow {
    color: var(--blue);
}

.ori_color_black {
    color: var(--black);
}

.ori_color_darkgray {
    color: var(--dark-gray);
}

.ori_color_gray {
    color: var(--gray);
}

/* button */

.ori_btn {
    width: 100%;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    padding: 5px 0;
    border: 2px solid var(--blue);
    background-color: var(--blue);
    color: var(--white);
}

@media (max-width:767px) {
    .ori_btn {
        font-size: .9rem;
    }
}

.ori_btn:hover {
    background-color: transparent;
    color: var(--blue);
}


.ori_white_btn {
    width: 100%;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    padding: 5px 0;
    border: 2px solid var(--blue);
    background-color: var(--white) ;
    color: var(--blue);
}

@media (max-width:767px) {
    .ori_white_btn {
        font-size: .9rem;
    }
}

.ori_white_btn:hover {
    background-color: transparent;
    color: var(--blue);
}

/* 通用 */
.display_none {
    display: none;
}

.font_weight_500 {
    font-weight: var(--font-weight-500);
}

.font_weight_600 {
    font-weight: var(--font-weight-600);
}

.font_weight_700 {
    font-weight: var(--font-weight-700);
}

.font_weight_800 {
    font-weight: var(--font-weight-800);
}

.font_weight_900 {
    font-weight: var(--font-weight-900);
}
/* swal */
.swal-cart-popup{
    width: 8rem!important;
    height: 8rem!important;
    padding: 0!important;
    border-radius: 9999px!important;
}
.swal-cart-container{
    overflow: hidden!important;
    align-self:center!important;
    margin-top: 1.25rem!important;
    margin-bottom: 1.25rem!important;
    margin-left: 1.25rem!important;
    margin-right: 1.25rem!important;
}
/* bookingSwiper */

.bookingSwiper {
    width: 100%;
    height: 70vh;
}

.bookingSwiper .swiper-pagination-bullet {
    background-color: var(--white);
    width: 20px;
    height: 20px;
    opacity: 1;
}

.bookingSwiper .swiper-pagination-bullet-active {
    background-color: var(--blue);
    border: 3px solid var(--white);
}

.bookingSwiper .swiper-button-prev,
.bookingSwiper .swiper-button-next {
    width: 40px;
    height: 40px;
    background-color: rgba(83, 83, 83, 0.8);
    border-radius: 50%;
}

.bookingSwiper .swiper-button-next:after,
.bookingSwiper .swiper-button-prev:after {
    color: var(--white);
    font-size: 20px;
    font-weight: var(--font-weight-900);
}

.bookingSwiper .swiper-horizontal>.swiper-pagination-bullets,
.bookingSwiper .swiper-pagination-bullets.swiper-pagination-horizontal,
.bookingSwiper .swiper-pagination-custom,
.bookingSwiper .swiper-pagination-fraction {
    bottom: 50px;
}
/* bookingSwiper4 */
.bookingSwiper4 {
    width: 100%;
    height: 100%;
    padding: 20px 0;
}

.bookingSwiper4 .swiper-wrapper {
    padding-bottom: 10px;
}

.bookingSwiper4 .swiper-slide {
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    height: 180px;
    cursor: pointer;
    overflow: hidden;
}

.bookingSwiper4 .hotel_img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1, 1);
    transition: all 1s ease-out;
}


.bookingSwiper4 .hotel_img:hover {
    transform: scale(1.2, 1.2);
}

.bookingSwiper4 .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: var(--white);
    border: 2px solid var(--orange);
    opacity: 1;
}

.bookingSwiper4 .swiper-pagination-bullet-active {
    background-color: var(--orange);
}

.bookingSwiper4 .swiper-horizontal>.swiper-pagination-bullets,
.bookingSwiper4 .swiper-pagination-bullets.swiper-pagination-horizontal,
.bookingSwiper4 .swiper-pagination-custom,
.bookingSwiper4 .swiper-pagination-fraction {
    bottom: unset;
}

.swiper-scrollbar-drag {
    background-color: rgba(0, 0, 0, .3);
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bookingSwiper5 .swiper-slide img,.bookingSwiper6 .swiper-slide img  {
    object-fit: contain;
}

.bookingSwiper2 {
    width: 100%;
    height: 80%;
}

.bookingSwiper3 {
    height: 20%;
    box-sizing: border-box;
    padding: 10px 0;
}

.bookingSwiper3 .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.5;
    cursor: pointer;
}

.bookingSwiper3 .swiper-slide:hover {
    opacity: 1;
}

.bookingSwiper3 .swiper-slide-thumb-active {
    opacity: 1;
    border: 3px solid var(--orange);
}

@media (max-width:1199px) {

    .img_window {
        height: 55vh;
    }

    .room_infomation {
        height: 55vh;
    }
}


@media (max-width:991px) {

    .img_window {
        height: auto;
    }

    .room_infomation {
        height: auto;
    }

    .bookingSwiper2 {
        width: 100%;
        height: 100%;
    }

    .bookingSwiper3 {
        display: none;
    }

    /* 自定卷軸顏色寬度 */

    .room_infomation::-webkit-scrollbar-track {
        display: none;
    }

    .bookingSwiper2 .swiper-button-next:after,
    .bookingSwiper2 .swiper-button-prev:after {
        font-size: 30px;
    }

}

/* ---------------旅館照片modal----------------------- */

.bookingSwiper5 {
    width: 100%;
    height: 80%;
}

.bookingSwiper6 {
    height: 15%;
    box-sizing: border-box;
    padding: 10px 0;
}

.bookingSwiper6 .swiper-slide {
    width: auto!important;
    height: 100%;
    opacity: 0.5;
    cursor: pointer;
}

.bookingSwiper5 .swiper-button-prev, .bookingSwiper5 .swiper-button-next{
    color: #6b6b6b;
}

.bookingSwiper6 .swiper-slide:hover {
    opacity: 1;
}

.bookingSwiper6 .swiper-slide-thumb-active {
    opacity: 1;
    border: 3px solid var(--orange);
}


@media (max-width:991px) {

    .bookingSwiper5 {
        width: 100%;
        height: 100%;
    }

    .bookingSwiper6 {
        display: none;
    }

    .bookingSwiper5 .swiper-button-next:after,
    .bookingSwiper5 .swiper-button-prev:after {
        font-size: 30px;
    }
}
/* -------------------daterangepicker----------------------     */

.cancelBtn {
    background-color: var(--white);
    color: var(--blue);
    border: 1px solid var(--blue);
    width: 100px;
    padding: 20px;
    border-radius: 25px;
}

.cancelBtn:hover {
    background-color: var(--white);
    color: var(--dark-blue);
    border: 1px solid var(--dark-blue);

}

.applyBtn {
    background-color: var(--blue);
    color: var(--white);
    width: 100px;
    padding: 20px;
    border-radius: 25px;
}

.applyBtn:hover {
    background-color: var(--dark-blue);
    color: var(--white);
}

.btn-primary.disabled,
.btn-primary:disabled {
    background-color: var(--gray);
    border: 1px solid var(--dark-gray);
    color: var(--white);
    cursor: not-allowed;
}

.daterangepicker td.active,
.daterangepicker td.active:hover {
    background-color: var(--blue);
}

.calendar-table tr {
    height: 40px;
}

@media (max-width:991px) {

    .daterangepicker {
        width: 97%;
    }

    .daterangepicker .drp-calendar {
        max-width: 100%;
        width: 50%;
    }

    .daterangepicker .drp-buttons {
        padding: 15px 8px;
    }


    .calendar-table tr {
        height: 40px;
    }

}


@media (max-width:767px) {

    .daterangepicker {
        width: 95%;
    }

    .daterangepicker .drp-calendar {
        max-width: 100%;
        width: 100%;
    }

    .daterangepicker .drp-calendar.left,
    .daterangepicker .drp-calendar.right {
        padding: 8px;
    }

    .daterangepicker .drp-buttons {
        padding: 8px;
    }


    .calendar-table tr {
        height: 40px;
    }

    .cancelBtn {
        width: 70px;
    }

    .applyBtn {
        width: 70px;
    }

}
/* form error */
.form-group.has-error label{
    color: #ff0000;
}
.form-group.has-error button,
.form-group.has-error input[type="text"],
.form-group.has-error input[type="number"],
.form-group.has-error input[type="email"],
.form-group.has-error input[type="tel"],
.form-group.has-error input[type="password"] {
    border-color: #ff0000;
}
.form-group.has-error .help-block {
    color: #ff0000;
    display: block;
}
