html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

footer {
    padding: 20px 0;
    position: relative;
    width: 100%;
}

.text_muted_color {
    color: #425359;
}

.bg_color {
    color: #ffffff
}

.text_color_light {
    color: #4D7280 !important;
}

.text_color_dark {
    color: #114355 !important;
}

.border_none {
    border: none !important;
}

.lh-25 {
    line-height: 2.5 !important;
}

.img_w20 {
    width: 20px;
    height: auto;
}

.font-weight-bold {
    font-weight: bold !important;
}

input:focus,
textarea:focus,
select:focus,
button:focus,
a:focus {
    outline: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important; /* 移除 Chrome 的藍色框 */
    -moz-box-shadow: none !important; /* 移除 Firefox 的藍色框 */
    border-color: #4D7280 !important;
}

:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}


a {
    color: #4D7280 !important;
}


/* header */
.nav_bar_text {
    /*width: Hug (33px) px;*/
    /*height: Hug (24px) px;*/
    gap: 4px;
    color: #151515 !important;
}

.active {
    color: #4D7280 !important;
}

/* header */


.search-bar-sm {
    border: none;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    height: 55px;
    text-align: left !important;
}


/* index search_bar */
.search-bar-container {
    margin-top: 20px;
}

.search-bar {
    border: none;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 99px;
    background-color: #ffffff;
    align-items: center;
    justify-content: space-between;

    position: relative;
    top: 50px;
}

.search-bar .form-control {
    border: none;
}

.search-bar .btn {
    border: none;
    background-color: #4D7280;
    color: white;
    border-radius: 20px;
}

.search-bar .btn:active {
    background-color: #114355 !important;
    color: white !important;
}

.search-bar .btn:hover {
    background-color: #4D7280 !important;
    color: white !important;
}


.reserve:active {
    background-color: #114355 !important;
    color: white !important;
}

.reserve:hover {
    background-color: #4D7280 !important;
    color: white !important;
}

.select_btn {
    border: none;
    background: none;
    margin-left: 20px;
    margin-top: 10px
}

/* index search_bar */


.card-img-top {
    width: 100% !important;
    height: auto !important;
}

/*.carousel-control-next_2 {*/
/*    border: none;*/
/*    background: none;*/

/*    right: 0 !important;*/
/*    position: absolute !important;*/
/*    top: 0 !important;*/
/*    bottom: 0 !important;*/
/*    !* width: 3% !important; *!*/
/*    display: flex !important;*/
/*    align-items: center !important;*/
/*    justify-content: center !important;*/
/*    background-size: cover !important;*/
/*    background-position: center !important;*/
/*    !* margin-top: 3% !important;*/
/*    margin-bottom: 3% !important; *!*/
/*    !* transition: background-image 0.5s ease-in-out !important; *!*/
/*}*/

/*.carousel-control-next_2 img {*/
/*    width: 20% !important;*/
/*    opacity: 0.8 !important;*/
/*}*/





.img_w {
    border-radius: 30px !important;
}

.card_none {
    border: none !important;
}

.image-container {
    position: relative !important;
    display: inline-block !important;
    width: 100%; /* 确保图片容器宽度自适应 */
}

.image-container img {
    width: 100% !important;
    height: auto !important;
}

.image-container .text {
    position: absolute !important;
    top: 40% !important; /* 调整文字的垂直位置 */
    left: 50% !important; /* 调整文字的水平位置 */
    transform: translate(-50%, -50%) !important; /* 让文字居中 */
    font-weight: bold !important;
    white-space: nowrap !important; /* 防止文字换行 */
    overflow: hidden !important;
    text-overflow: ellipsis !important; /* 如果文字太长，使用省略号 */
    width: 100% !important;
    box-sizing: border-box !important; /* 确保内边距不会影响总宽度 */
}

.text span {
    white-space: nowrap !important;
    display: inline-block !important; /* 防止换行 */
}


.image-container .text_2 {
    position: absolute !important;
    top: 50% !important; /* 调整文字的垂直位置 */
    left: 50% !important; /* 调整文字的水平位置 */
    transform: translate(-50%, -50%) !important; /* 让文字居中 */
    font-weight: bold !important;
    white-space: nowrap !important; /* 防止文字换行 */
    overflow: hidden !important;
    text-overflow: ellipsis !important; /* 如果文字太长，使用省略号 */
    width: 100% !important;
    box-sizing: border-box !important; /* 确保内边距不会影响总宽度 */
}


.image-container .text,
.image-container .text_2 {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* 小屏幕 (sm ≥ 576px) */
@media (min-width: 576px) {
    .image-container .text,
    .image-container .text_2 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* 中等屏幕 (md ≥ 768px) */
@media (min-width: 768px) {
    .image-container .text,
    .image-container .text_2 {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
}

/* 大屏幕 (lg ≥ 992px) */
@media (min-width: 992px) {
    .image-container .text,
    .image-container .text_2 {
        padding-left: 45px !important;
        padding-right: 45px !important;
    }
}

/* 超大屏幕 (xl ≥ 1200px) */
@media (min-width: 1200px) {
    .image-container .text {
        padding-left: 80px !important;
        padding-right: 80px !important;
    }

    .image-container .text_2 {
        padding-left: 80px !important;
        padding-right: 80px !important;
    }
}


.modal_btn {
    width: 100%;
    border: none;
    background-color: #4D7280;
    color: white;
    border-radius: 5px;
    height: 45px
}

.modal_btn_line {
    width: 100%;
    border: 1px solid #4D7280;
    background-color: #ffffff;
    border-radius: 5px;
    height: 45px
}

.btn_border_light {
    border: 1px solid #4D7280 !important;
}


.header {
    background-size: cover !important;
    color: white !important;
    padding: 100px 0 !important;
}

.header-mobile {
    background-size: cover !important;
    color: white !important;
    padding: 70px 0 50px !important;
}


/* .header_2 {
    background-size: cover !important;
    color: white !important;
    padding: 100px 0 !important;
} */

/* 文字在圖片上 */
.header_2 {
    background-size: cover !important;
    color: white !important;
    padding: 100px 0 !important;
}


.card-detial {
    margin-top: -60px;
    align-items: center;
    justify-content: space-between;
}

.auth-links{
    margin: 20px 0;
    text-decoration: none;
    font-family: sans-serif;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.2rem;
    transition: all 300ms cubic-bezier(0.9, 0, 0.33, 1);
}

.auth-links-border{
    border:solid !important;
    border-radius: 50px !important;
}


/* reverse search-bar */
.search-bar-reserve {
    margin-top: -60px !important;
    padding: 20px !important;
    background-color: #ffffff !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    border-radius: 99px !important;

    align-items: center !important;
    justify-content: space-between !important;
    border: none !important;
}

.search-bar-reserve .form-control {
    border: none;
}

.search-bar-reserve .btn {
    border: none;
    background-color: #4D7280;
    color: white;
    border-radius: 20px;
}


.info-container {
    display: flex;
    justify-content: space-between;
}

.info-column {
    display: flex;
    flex-direction: column;
}


/* reverse search-bar */


.modal-footer {
    display: flex !important;
    justify-content: space-between !important; /* 將「價格試算」和按鈕分開 */
    align-items: center !important;
}

.price-section_2 {
    margin-right: auto !important; /* 讓「價格試算」自動靠左 */
    text-align: left !important; /* 確保文字靠左對齊 */
    flex-grow: 1;
    font-size: 1.2rem;
}

.form-row {
    display: flex;
    justify-content: space-between;
}

.form-row .form-group_2 {
    flex: 0 0 48%;
}


/* school 用的 */
.school-ul .nav-item {
    height: 35px;
    text-decoration: none;
}

.school-ul .nav-item a {
    text-decoration: none;
}

.school-ul .nav-item.active {
    border-bottom: 2px solid #4D7280
}

.school-ul .nav-item:hover {
    border-bottom: 2px solid #4D7280
}

.ski_nav-link {
    color: black !important;
    padding: 0.5rem 1rem !important;
    text-decoration: none !important;
}

.ski_nav-link:hover, .ski_nav-link.active {
    color: #4D7280 !important;
}

.ski_button {
    border: 1px solid #4D7280 !important;
    color: #4D7280 !important;
    border-radius: 99px !important;
    padding: 0.5rem !important;
    text-align: center !important;
    background-color: white !important;
}

.ski_button:hover {
    background-color: #4D7280 !important;
    color: white !important;

}

.ski_button.active {
    background-color: #4D7280 !important;
    color: white !important;
}

/* 測邊浮動選單 */
.floating-menu {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 10px;
}

.menu-toggle {
    width: 50px !important;
    height: 50px !important;
    aspect-ratio: 1 / 1;
    border: none;
    border-radius: 50%;
    background-color: #4D7280;
    color: #ffffff;
    font-size: 28px;
    cursor: pointer;
    transition: transform 0.3s;
    outline: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.menu-toggle.active {
    transform: rotate(180deg);
    color: #ffffff !important;
    font-size: 20px;
    font-weight: bold;
}

.social-icons {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
}

.social-icons.open {
    max-height: 250px;
}

.icon {
    width: 48px;
    height: 48px;
    background-color: #f7f7f7;
    border-radius: 50%;
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
    transition: background-color 0.3s;
    text-decoration: none;
}

.icon:hover {
    background-color: #ddd;
}

.icon svg {
    width: 25px;
    height: 25px;
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.menu-overlay.open {
    display: block;
}
/* 測邊浮動選單 */