﻿.customer .header-grid .logo-sec .logo {
    max-width: 200px;
}

.customer .header-grid {
    background: #86d0d3;
}

    .customer .header-grid .logo-sec h3 {
        color: #333
    }

    .customer .header-grid .active-sec .to-sitemap,
    .customer .input-grid .chart-active-btns .end-chat {
        background-color: #ffc520;
        border: 1px solid #ffc520;
        transition: .3s;
        color: #333;
    }

    .customer .header-grid .active-sec .term-link {
        border: 1px solid #ffc520;
        color: #333;
        transition: .3s;
    }

        .customer .header-grid .active-sec .to-sitemap:hover,
        .customer .header-grid .active-sec .term-link:hover,
        .customer .input-grid .chart-active-btns .end-chat:hover {
            background-color: #C94509;
            border: 1px solid #C94509;
            color: #fff;
        }

.customer .msg-item.npc .msg-content .data {
    background-color: #fff5ec;
}

.customer .question-clickable,
.customer .msg-content a,
.customer #mainContent .msg-item .rel-link-box a,
.customer #linkContent .hotUl a {
    color: #C94509;
    transition: .3s;
}

    /*.customer .question-clickable:hover,*/
    .customer .msg-content a:hover,
    .customer #mainContent .msg-item .rel-link-box a:hover,
    .customer #linkContent .hotUl a:hover,
    .customer .srOnly.to-main:hover,
    #mainContent .input-grid .char-size ul a:hover {
        background-color: #C94509;
        color: #fff;
    }


.customer #char-form button,
.customer .content-grid .link-toggle {
    background-color: #C94509;
}


.customer .dialog-content {
    display: flex;
    justify-content: center;
    align-content: center;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7) !important;
    z-index: 20;
    top: -60px;
}

.customer .dialog-block {
    width: 80vw;
    max-width: calc(640px - (15px * 2));
    min-height: auto;
    background-color: white;
    padding-bottom: 40px;
    position: absolute;
    top: 80px;
    box-shadow: 0 19px 38px rgba(0, 0, 0, 0.12), 0 15px 12px rgba(0, 0, 0, 0.22);
    border-radius: 4px;
    overflow: hidden;
}

.customer .dialog-title {
    background: #86d0d3;
    color: #333;
    font-size: 1.25rem;
    font-weight: bold;
    line-height: 1.5rem;
    margin-bottom: 10px;
    padding: 15px 20px;
}

.customer .des {
    font-size: 1rem;
    line-height: 1.5rem;
    padding: 15px 20px;
}

.customer #id-rating-label {
    color: #C94509;
    font-size: 1.125rem;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
}

.customer .rating-slider svg {
    height: 50px;
}

.customer .btn-row {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

    .customer .btn-row a {
        border-radius: 3px;
        display: inline-block;
        text-align: center;
        min-width: 80px;
        padding: 10px;
        padding-bottom: 9px;
    }

        .customer .btn-row a:hover, .dialog-content .btn-row a:focus {
            background: #E22828 !important;
            color: #fff !important;
        }

    .customer .btn-row .close-dialog {
        background: #ffc520;
        color: #333;
    }

    .customer .btn-row .submit-dialog {
        background: #C94509;
        color: #fff;
    }

.customer .rating-slider {
    color: #ffc520;
}

.customer .btn-row.exit {
    display: flex;
    gap: 24px;
}


.customer .hidden {
    display: none !important;
}

.customer .swiper-wrapper-container {
    position: relative;
    overflow: visible;
}

.customer .swiper-button-next {
    right: -40px !important;
    background-color: #777;
    width: 30px !important;
    height: 30px !important;
    border-radius: 50%;
    transition: .3s;
}

.customer .swiper-button-prev {
    left: -40px !important;
    background-color: #777;
    width: 30px !important;
    height: 30px !important;
    border-radius: 50%;
    transition: .3s;
}

    .customer .swiper-button-next:hover,
    .customer .swiper-button-prev:hover {
        opacity: 0.8;
    }

.customer .swiper-button-next:after {
    color: white !important;
    font-weight: bold;
    font-size: 14px !important;
    padding: 8px;
}

.customer .swiper-button-prev:after {
    color: white;
    font-weight: bold;
    font-size: 14px !important;
    padding: 8px;
}

.customer #char-form button{
    background-color: #C94509;
    border-radius: 0 4px 4px 0;
}

.customer #char-form input {
    border-radius: 4px 0 0 4px;
}


@media (max-width: 767px) {
    .customer .swiper-button-next {
        right: -20px !important;
    }

    .customer .swiper-button-prev {
        left: -20px !important;
    }
}


/*留才中心頁面 -聯絡我們／計算天數 #service-text */
#service-text ._required {
    color: red;
    pointer-events: none;
}


#service-text-banner ._text_page {
    position: absolute;
    top: 80px;
    left: 80px;
    color: #C94509;
    font-weight: 700;
    font-size: 2rem;
}

#service-text {
    background-color: #f2f2f2;
}

    #service-text .form-check-input:checked {
        background-color: #C94509;
        border-color: #C94509;
    }


    #service-text .container-xxl {
        padding-top: 50px;
        padding-bottom: 50px;
        padding-left: 50px;
        padding-right: 50px;
    }

    #service-text ._filter {
        background-color: #fff;
    }

        #service-text ._filter ._head {
            background-color: #fff5ec;
        }

            #service-text ._filter ._head div {
                color: #C94509;
                font-weight: 700;
            }

        #service-text ._filter ._body {
            padding-top: 20px;
            padding-bottom: 20px;
            padding-left: 20px;
            padding-right: 20px;
        }

            #service-text ._filter ._body ._cell {
                margin-bottom: 20px;
                padding-left: 5px;
                padding-right: 5px;
            }

            #service-text ._filter ._body button {
                background-color: #C94509;
                font-weight: 700;
                color: #fff;
            }

            #service-text ._filter ._body ._auth_code {
                height: 40px;
            }

            #service-text ._filter ._body .mb10 {
                margin-bottom: 5px !important;                
            }

    #service-text ._body_content {
        display: flex;
        flex-wrap: wrap;
        gap: 40px;
    }

    #service-text .tab-content {
        display: none;
    }

        #service-text .tab-content.active {
            display: flex;
            flex-direction: column;
        }

    #service-text ._body_content.service form {
        width: 100%;
        border: 1px solid #dee2e6;
        border-radius: 8px;
        background-color: #fff;
    }


@media (max-width: 768px) {
    /* md breakpoint in Bootstrap 5 */
    #service-text .container-xxl {
        padding-left: 30px;
        padding-right: 30px;
    }

    #service-text ._content {
        padding: 0;
    }

    #service-text ._fix_padding {
        padding-left: 80px;
    }

    #service-text ._option_width {
        width: 100% !important;
    }


    #service-text ._body_content.w-50 {
        width: 100% !important;
    }
}
