@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400&display=swap');

:not(.fa):not(.fi) {
    font-family: 'Noto Sans TC', sans-serif !important;
}

/* 首頁表頭顏色 */
#header {
    background-color: white;
    height: 60px !important;
}

/* 首頁主圖高度 */
#main-buttons .wrapper {
    height: 540px !important;
    min-height: 360px;
}

/* 頂部右上方使用者登入 */
#sb_main #sb-main-container #header #sb_client_info .avatar.item-container,
#sb_main #sb-main-container #header .cart-container .cart.item-container {
    color: #ffffff;
}

/* 登入按鈕樣式 */
.login-container #sb_client_info {
    border-radius: 2px !important;
    background-color: #303a51 !important;
    width: 46px !important;
    height: 40px !important;
    border: 1px solid #000 !important;
    background-image: -webkit-linear-gradient(left, rgb(48, 58, 81), rgb(79, 95, 132), rgb(48, 58, 81)) !important;
    background-size: 500%;
    opacity: 0.8;
}

.login-container #sb_client_info:hover {
    opacity: 0.95;
}

#main-buttons .wrapper .company-name {
    font-size: 38px;
    font-weight: 700;
    color: #ffffff;
    opacity: 0.9;
    text-transform: capitalize;
    text-shadow: 0 3px 3px rgba(0, 0, 0, 0.6);
}

/* 首頁簡介背景 */
@media screen and (max-width: 900px) {
    #content-view #about-us {
        background: rgba(255, 255, 255, 0.1) !important;
    }
}

@media screen and (min-width: 900px) {
    #content-view #about-us {
        background: rgba(255, 255, 255, 0.1) !important;
    }
}

/* 條款與條件背景 */
@media screen and (max-width: 900px) {
    #sb_content #news-single .article {
        background: rgba(255, 255, 255, 0.5) !important;
    }
}

@media screen and (min-width: 900px) {
    #sb_content #news-single .article {
        background: rgba(255, 255, 255, 0.5) !important;
    }
}

#news-single .article .txt h3 {
    font-size: 18px !important;
    line-height: 1.2 !important;
}

/* Banner Logo */
.flex-header-row .flex-header-item.item-2.has-logo.company-logo-only {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    margin-top: 50px !important;
}

@media screen and (max-width: 1366px) {
    .flex-header-row .flex-header-item.item-2.has-logo.company-logo-and-name {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        margin-top: 50px !important;
    }

    .flex-header-row .flex-header-item.item-3.has-logo.company-logo-and-name {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        margin-top: 50px !important;
    }

    .flex-header-row .flex-header-item.item-3.has-logo.company-logo-and-name h1 {
        color: white !important;
        font-size: 32px !important;
        text-shadow: 0.1em 0.1em 0.2em black !important;
    }
}

@media screen and (min-width: 1366px) {
    .flex-header-row .flex-header-item.item-2.has-logo.company-logo-and-name,
    .flex-header-row .flex-header-item.item-3.has-logo.company-logo-and-name {
        display: none !important;
    }

    #sb_menu #sb_menu_list_items_container {
        margin-top: -75px !important;
    }
}

/* 開始預約按鈕 */
#main-buttons .wrapper .bar .btn {
    margin-top: 50px !important;
    min-height: 50px;
    font-size: 40px;
    color: white;
    background-color: transparent;
    border-color: white;
    border-style: groove;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.6);
}

#footer a {
    font-size: 18px !important;
}

#main-buttons .wrapper .inner .bar .btn a {
    font-size: 20px;
    color: #fff;
}

.btn.btn-with-icon a,
.btn.btn-with-icon span {
    position: relative;
    z-index: 1;
    display: block;
    padding: 12px 38px 12px 19px !important;
}

#main-buttons .wrapper .inner .bar .btn {
    margin: 0 6px;
    border-radius: 0px !important;
}

/* 容器排列 */
.container {
    display: flex;
    flex-flow: row wrap !important;
    justify-content: space-between !important;
}

@media screen and (max-width: 600px) {
    .container {
        flex-direction: column;
    }
}

/* 付款與預約按鈕 */
.invoice-pay-page .promo-code-input .custom-form .btn {
    margin-top: 0;
    margin-left: 5px !important;
}

#sb_pay_btn,
#sb-timeline #steps #steps-content #sb_booking_content #details .detail-step .buttons-container #sb_multiple_booking_btn,
.btn.btn-with-icon,
.custom-form .btn,
.tab.tab-col .excerpt-info .btn-bar .btn.select,
.btn-danger .confirm-details .btn,
.btn-danger,
#sb-timeline #steps #steps-content #sb_booking_content .detail-step .right-side #sb_book_btn {
    border-radius: 0px !important;
}

/* 會員與預約顯示 */
#membership-view #sb_membership_list_container > div .membership-item .sessions-num-wrapper {
    display: none;
}

#sb-timeline #steps-nav li .content .title-small {
    cursor: pointer;
    width: 100%;
    font-size: 18px;
    font-family: 'Noto Sans TC', sans-serif !important;
    font-weight: 200;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.5;
}

#sb-timeline #steps #steps-content #sb_booking_content .datetime-step #sb_timeview_container .timeline-wrapper #sb_time_slots_weekly_container .data-col .time-container .time-slot .cell {
    border-radius: 0px !important;
}

.index__item > div .title--h3,
.index__item > section .title--h3 {
    font-size: 22px;
    display: none;
}

/* 聯絡資訊 */
#content-view #contacts .section-pd .card-header.current-company-data .item-company-data {
    line-height: 1.25;
    font-size: 26px;
}

/* SimplyBook 小工具 */
div.simplybook-widget-button {
    font-size: 0.8em;
    padding: 10px;
    border-radius: 0px !important;
}

/* 圖片排列 */
.gallery--list-card {
    width: 280px !important;
}

.gallery--list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 0 -5px;
    background-color: whitesmoke !important;
}

/* 隱藏社群登入 */
#client-login .social,
#header .nav-wrapper .items-wrapper .nav-item#sb_client_info .login-container .full-info #sb_login_form .not-logged .social {
    display: none;
}

/* 隱藏平台品牌及社群連結 */
.brand,
.social-links {
    display: none !important;
}

/* 隱藏首頁專業占星師群 */
#content-view #gallery-view {
    display: none !important;
}

/* 隱藏首頁 Instagram 圖片庫 */
#content-view #instagram-view,
#content-view #instagram-gallery,
#content-view .instagram-gallery,
#content-view .instagram-feed {
    display: none !important;
}
