﻿/* 
    此份為切版提供_Mobile <註解內容為符合 跳題情境 而做的修正> 
    客製 CSS 放置於 eshop-ui-mobile.css
*/
.required-message {
    color: #FF4C4C;
    font-size: .875em;
    display: none;
}
[data-required='true'] p::after {
    content: '*';
    color: #FF4C4C;
}
.fancybox-transparent .fancybox-bg {
    opacity: 0;
}
.fancybox-container ~ .container-btl {
    -webkit-filter: none;
    -moz-filter: none;
    -ms-filter: none;
    filter: none;
    filter: progid: DXImageTransform.Microsoft.Blur(PixelRadius=0, MakeShadow=false);
}
#confirm-box.lightbox.survey-style {
    position: fixed;
    transform: translateY(300px);
    transition-delay: 0.4s;
    opacity: 0;
    left: 0;
    right: 0;
    padding: 1.2rem;
    z-index: 99;
}
#confirm-box.lightbox.survey-style.show-delay {
    bottom: -12px;
    padding-bottom: 40px;
    margin: 0 2px;
    transform: translateY(0);
    transition-delay: 0.8s;
    opacity: 1;
    z-index: 99;
    border-bottom-right-radius: 0em;
    border-bottom-left-radius: 0em;
}
#confirm-box.lightbox.survey-style hr {
    margin-bottom: 0.8rem;
}
#confirm-box.lightbox.survey-style .button {
    padding: 0.4rem;
}
#confirm-box.lightbox.survey-style .h3 {
    font-size: 1rem;
    font-weight: bold;
}
#confirm-box.lightbox.survey-style h4 {
    font-size: 0.9rem;
}
#confirm-box.lightbox.survey-style .lightbox-content {
    font-size: 0.9rem;
}
#confirm-box.lightbox.survey-style .lightbox-content .os-theme-dark > .os-scrollbar > .os-scrollbar-track > .os-scrollbar-handle {
    background: rgba(0,0,0,.2);
}
.survey-box-rate {
    margin-bottom: 0.6rem;
}
.survey-box-rate .survey-box-score {
    font-size: 0.7rem;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 0.4rem;    
}
.survey-box-rate .form-custom-radio {
    margin-bottom: 0.4rem;
    pointer-events: all;
    height: 58px;
    position: relative;
    width: 54px;
    padding-top: 0.2rem;
}
.survey-box-rate .form-custom-radio input[type=radio] {
    position: absolute;
    width: 54px;
    height: 54px;
    opacity: 0;
    z-index: 99;
}
.survey-box-rate .form-custom-radio input[type=radio] + label {
    border: 0;
    margin: 0;
    width: 54px;
    height: 54px;
    font-size: 0.8rem;
    color: #999;
    line-height: 84px;
    transform: scale(1.1);
}
.survey-box-rate .form-custom-radio input[value=score-zero] + label, .survey-box-rate .form-custom-radio input[value=score-one] + label, .survey-box-rate .form-custom-radio input[value=score-two] + label, .survey-box-rate .form-custom-radio input[value=score-three] + label, .survey-box-rate .form-custom-radio input[value=score-four] + label, .survey-box-rate .form-custom-radio input[value=score-five] + label, .survey-box-rate .form-custom-radio input[value=score-six] + label {
    background: url('../../img/survey/face-bad-disable.svg') no-repeat top;
    color: #999;
}
.survey-box-rate .form-custom-radio input[value=score-zero]:checked + label, .survey-box-rate .form-custom-radio input[value=score-zero].active + label, .survey-box-rate .form-custom-radio input[value=score-one]:checked + label, .survey-box-rate .form-custom-radio input[value=score-one].active + label, .survey-box-rate .form-custom-radio input[value=score-two]:checked + label, .survey-box-rate .form-custom-radio input[value=score-two].active + label, .survey-box-rate .form-custom-radio input[value=score-three]:checked + label, .survey-box-rate .form-custom-radio input[value=score-three].active + label, .survey-box-rate .form-custom-radio input[value=score-four]:checked + label, .survey-box-rate .form-custom-radio input[value=score-four].active + label, .survey-box-rate .form-custom-radio input[value=score-five]:checked + label, .survey-box-rate .form-custom-radio input[value=score-five].active + label, .survey-box-rate .form-custom-radio input[value=score-six]:checked + label, .survey-box-rate .form-custom-radio input[value=score-six].active + label {
    background: url('../../img/survey/face-bad.svg') no-repeat top;
}
.survey-box-rate .form-custom-radio input[value=score-seven] + label, .survey-box-rate .form-custom-radio input[value=score-eight] + label {
    background: url('../../img/survey/face-normal-disable.svg') no-repeat top;
    color: #999;
}
.survey-box-rate .form-custom-radio input[value=score-seven]:checked + label, .survey-box-rate .form-custom-radio input[value=score-seven].active + label, .survey-box-rate .form-custom-radio input[value=score-eight]:checked + label, .survey-box-rate .form-custom-radio input[value=score-eight].active + label {
    background: url('../../img/survey/face-normal.svg') no-repeat top;
}
.survey-box-rate .form-custom-radio input[value=score-nine] + label, .survey-box-rate .form-custom-radio input[value=score-ten] + label {
    background: url('../../img/survey/face-good-disable.svg') no-repeat top;
    color: #999;
}
.survey-box-rate .form-custom-radio input[value=score-nine]:checked + label, .survey-box-rate .form-custom-radio input[value=score-nine].active + label, .survey-box-rate .form-custom-radio input[value=score-ten]:checked + label, .survey-box-rate .form-custom-radio input[value=score-ten].active + label {
    background: url('../../img/survey/face-good.svg') no-repeat top;
}
.survey-box-rate .form-custom-radio input[value|=score]:checked + label {
    color: #ff874d;
}
.survey-box-comment.show, .survey-box-sheet.show {
    display: block;
}
.survey-box-comment-txt textarea {
    width: 100%;
    padding: 0.4rem;
    font-size: initial;
    height: 90px;
}
.survey-box-comment-txt textarea::-webkit-input-placeholder {
    color: #999;
}

/*210927 新增 css*/
.survey-box-comment-txt textarea#survey-box-comment-textarea {
    margin-left: 1.4rem;
    margin-top: 0.4rem;
    width: 90%;
    height: 60px;
}

    .survey-box-comment-txt textarea#survey-box-comment-textarea.input-error {
        border-color: #ff4c4c !important;
    }

.survey-box-comment-count {
    text-align: right;
    margin-bottom: 0.2rem;
    font-size: 0.7rem;
    color: #999;
}
.survey-box-sheet .neko {
    flex-direction: column;
}
.survey-box-sheet .neko .nekos {
    line-height: 2.2;
}
.survey-box-sheet h4 {
    margin-bottom: 0.4rem;
}
.survey-box-sheet label[data-cht-radio] i.data-symbol, .survey-box-sheet label[data-cht-radio] input:checked ~ i.data-symbol {
    background-size: contain;
}
.survey-box-sheet .survey-sheet {
    margin-left: 0.6rem;
}
.survey-box-sheet .survey-sheet .form-group label {
    font-size: 0.9rem;
}
.survey-content {
    padding: 0.4rem 0.6rem 0.4rem 0;
    max-height: 400px;
    margin: 0 -0.6rem 0 0;
    overflow-y: auto;
    overflow-x: hidden;
}
/*210927 新增 css*/
.survey-tel {
    background-color: #f5f5f5;
    border-radius: 8px;
    width: 100%;
    margin-left: -10px;
    margin-top: 1rem;
    padding: .4rem;
    padding-left: 28px;
}

    .survey-tel.checked {
        background-color: rgba(32, 156, 255, .1);
    }

    .survey-tel .nekos {
        flex-direction: column;
    }

    .survey-tel .survey-tel-hp {
        font-size: 0.7rem;
        font-weight: normal;
        color: #666;
        margin-left: 1.6rem;
        padding-right: .6rem;
        padding-bottom: .6rem;
        line-height: 1.4;
    }

    .survey-tel #survey-tel-input {
        font-size: 0.75rem;
        padding: 0.5rem;
        margin-left: 1.4rem;
        width: 86%;
    }

    .survey-tel .survey-tel-notice {
        font-size: 0.75rem;
        color: #333;
        margin-top: 0.6rem;
        margin-left: 1.2rem;
        padding-right: 0.8rem;
        padding-bottom: .6rem;
        line-height: 1.4;
    }

    .survey-tel .input-error {
        border-color: #ff4c4c !important;
    }

.survey-content .input-error-note {
    position: fixed;
    background-color: rgba(0, 0, 0, .7);
    color: #fff;
    padding: .4rem .8rem;
    line-height: 1.4;
    font-size: 0.75rem;
    border-radius: 8px;
    /*bottom: 0;*/
    top: 50%;
    right: 30%;
    left: 30%;
    text-align: center;
}

#survey-submit {
    display: none;
}
#survey-submit.show {
    display: block;
}
html.fancybox-enabled {
    overflow: visible;
}
.fancybox-container {
    pointer-events: none;
}
.fancybox-container .lightbox {
    pointer-events: all;
}
.fancybox-transparent .fancybox-bg {
    display: none;
}
#confirm-box.lightbox.survey-style, #thank-box.lightbox.survey-style {
    pointer-events: all;
}
@media screen and (max-width: 320px) {
    #confirm-box.lightbox.survey-style {
        width: 100%;
    }
    .survey-box-rate .form-custom-radio {
        width: 46px;
    }
    .survey-box-rate .form-custom-radio input[type="radio"] + label {
        margin: 0;
    }
}

/* ADO#3531 擴增五分制選項與NPS介面優化 */
@charset "UTF-8";

.rangeslider-main {
    position: relative;
    width: 98%;
    max-width: 365px;
    padding: 0;
    margin: 0.7rem auto 0 auto;
    overflow: visible;
}

    .rangeslider-main label {
        display: block;
        margin-bottom: 2.5em;
        font-size: 13px;
        font-weight: bold;
    }

.rangeslider__tooltip {
    position: absolute;
    top: 0;
    left: -15px;
    display: block;
    margin-top: 0;
    margin-left: -13px;
    margin-right: -13px;
    font-size: 12px;
    color: #a59eb5;
    z-index: 9;
    opacity: 1;
    transition: opacity 0.2s;
}

    .rangeslider__tooltip.invisible {
        opacity: 0;
        transition: opacity 0.2s;
    }

.rangeslider, input[type=range] {
    max-width: 100%;
    margin-top: 70px;
}

    .rangeslider:after {
        content: "";
        position: absolute;
        width: 100%;
        height: 50px;
        margin: auto;
        display: block;
    }

.rangeslider__handle {
    border-radius: 22px;
    line-height: 42px;
    text-align: center;
    font-weight: bold;
}

    .rangeslider__handle:after {
        background: 0;
    }

.rangeslider, .rangeslider__fill {
    display: block;
    border-radius: 10px;
}

.rangeslider {
    position: relative;
    background: #F3F4F5;
    box-shadow: 1px 1px 5px 0px #CCD0D3 inset;
}

.rangeslider--horizontal {
    height: 10px;
    width: 100%;
    cursor: pointer;
}

.rangeslider--vertical {
    width: 20px;
    min-height: 150px;
    max-height: 100%;
}

.rangeslider--disabled {
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=40);
    opacity: 0.4;
}

.rangeslider__fill {
    position: absolute;
    width: 100%;
}

    .rangeslider__fill.js-low {
        background: #FF4D4F;
    }

    .rangeslider__fill.js-med {
        background: #FBBE45;
    }

    .rangeslider__fill.js-high {
        background: #5DA100;
    }

    .rangeslider__fill.js-low ~ .rangeslider__handle {
        border-color: #FF4D4F;
    }

    .rangeslider__fill.js-med ~ .rangeslider__handle {
        border-color: #FBBE45;
    }

    .rangeslider__fill.js-high ~ .rangeslider__handle {
        border-color: #5DA100;
    }

.rangeslider--horizontal .rangeslider__fill {
    top: 0;
    height: 100%;
    text-indent: -10000px;
    cursor: pointer;
}

.rangeslider--vertical .rangeslider__fill {
    bottom: 0;
    width: 100%;
}

.rangeslider__handle {
    background: white;
    border: 6px solid #4bc67d;
    cursor: pointer;
    display: inline-block;
    width: 22px;
    height: 22px;
    position: absolute;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}

    .rangeslider__handle:after {
        content: "";
        display: block;
        width: 18px;
        height: 18px;
        margin: auto;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        -moz-border-radius: 50%;
        -webkit-border-radius: 50%;
        border-radius: 50%;
    }

.rangeslider--horizontal .rangeslider__handle {
    top: -6px;
    touch-action: pan-y;
    -ms-touch-action: pan-y;
}

.rangeslider--vertical .rangeslider__handle {
    left: -10px;
    touch-action: pan-x;
    -ms-touch-action: pan-x;
}

html.fancybox-enabled, html.fancybox-enabled .fancybox-slide {
    overflow: hidden;
    width: 100%;
}
/* .fancybox-transparent .fancybox-bg {display: block; opacity: .70;} */
.fancybox-slide > #confirm-box.lightbox button.fancybox-close-small, .fancybox-slide > #thank-box.lightbox button.fancybox-close-small {
    margin-top: 1rem;
    margin-right: 1rem;
}

.fancybox-enabled body {
    overflow: hidden;
}

#confirm-box.lightbox.survey-style {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    min-height: 345px;
    padding-bottom: 32px;
    transform: translateY(100px);
    opacity: 0;
}

    #confirm-box.lightbox.survey-style.show-delay {
        margin: 0 auto;
    }

.survey-content .os-viewport {
    overflow: visible;
}

#score-bg {
    position: absolute;
    top: 0;
    left: -15px;
    z-index: 2;
    margin-left: -13px;
    margin-right: -13px;
}

#score-txt {
    position: absolute;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 32px;
    letter-spacing: -2px;
    text-align: center;
    top: 9px;
    left: -7px;
    width: 32px;
    z-index: 3;
    margin-left: -13px;
    margin-right: -13px;
    opacity: 1;
    transition: opacity 0.2s;
}

    #score-txt.invisible {
        opacity: 0;
        transition: opacity 0.2s;
    }

#score-ruler {
    display: flex;
    flex-direction: column;
}

    #score-ruler .score-ruler-num {
        width: 100%;
        padding-left: 6px;
        padding-right: 6px;
        margin-top: 12px;
        margin-bottom: 12px;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 20px;
        color: #848484;
        display: flex;
        justify-content: space-between;
    }

    #score-ruler .score-ruler-num-10 {
        padding-right: 0;
    }

    #score-ruler .score-ruler-num .score-now {
        font-weight: 500;
        color: #000;
        font-size: 20px;
    }

    #score-ruler .score-ruler-txt {
        font-size: 15px;
        color: #666;
        display: flex;
        justify-content: space-between;
    }

.focus-on {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
}

.initial-box {
    position: absolute;
    top: -7%;
    margin-left: -5%;
    margin-right: -5%;
    z-index: 19;
    pointer-events: none;
    width: 52px;
}

.survey-content {
    padding: 0.4rem 0.6rem 0 0.6rem;
    margin: 0 -0.6rem;
    max-height: 320px;
}

    .survey-content h4 {
        margin-bottom: 0.7rem;
    }

    .survey-content .h4-note {
        font-size: 14px;
        color: #666;
        margin-top: 0.4rem;
    }

        .survey-content .h4-note a {
            text-decoration: underline;
        }
/* .survey-content[data-survey-content2] {max-height: 55dvh; padding: 0; overflow-y: auto; overflow-x: hidden;} */
#confirm-box.lightbox.survey-style .h3, #thank-box.lightbox.survey-style .h3 {
    font-size: 20px;
    width: 100%;
    text-align: center;
}

#confirm-box.lightbox.survey-style h4 {
    font-size: 20px;
    margin-bottom: 0;
    line-height: 1.4;
}

#confirm-box.lightbox.survey-style hr {
    margin-bottom: 0.35rem;
}

.survey-box-rate {
    margin-bottom: 0;
}

.survey-box-sheet {
    margin-top: 1.6rem;
}

    .survey-box-sheet .survey-sheet .form-group {
        margin-bottom: .4rem;
    }

        .survey-box-sheet .survey-sheet .form-group label {
            font-size: 1rem;
            line-height: 2.7;
        }

.survey-tel {
    margin-left: 0;
    padding-left: 16px;
}

    .survey-tel .survey-tel-hp {
        font-size: 0.8rem;
    }

.survey-box-sheet .required-message {
    background: #FFF1F0;
    color: #FF4D4F;
    font-size: .85em;
    padding: 2px 14px;
    font-style: normal;
    font-weight: 400;
    border: 1px solid #FA5050;
    border-radius: 20px;
}

.survey-content .input-error-note {
    font-size: 0.9rem;
}

.survey-box-sheet .neko .nekos {
    flex-direction: column;
    height: auto;
}

.survey-box-comment-count {
    font-size: .8rem;
    margin-right: 12px;
    margin-bottom: 0;
}

.survey-box-comment-txt textarea#survey-box-comment-textarea {
    font-size: 16px;
    height: 80px;
    margin-top: 0.2rem;
}

#confirm-box.lightbox.survey-style .button, #thank-box.lightbox.survey-style .button {
    font-size: 1rem;
    padding: 0.7rem 0.8rem;
    margin: 1rem auto 0 auto;
    width: 100%;
    box-shadow: none;
    display: block;
}

#thank-box.lightbox.survey-style.show-delay {
    transition: none;
}

#thank-box.lightbox.survey-style .img-checked {
    width: 182px;
    height: 182px;
}

.original .rangeslider__fill.js-low, .original .rangeslider__fill.js-med, .original .rangeslider__fill.js-high {
    background: none;
}

    .original .rangeslider__fill.js-low ~ .rangeslider__handle, .original .rangeslider__fill.js-med ~ .rangeslider__handle, .original .rangeslider__fill.js-high ~ .rangeslider__handle {
        border-color: #dadada;
    }

.original #score-ruler .score-ruler-num .score-now {
    font-weight: normal;
    color: #848484;
}