body.bg_colorW .container_main {
    display: block;
}

/*全選/取消/刪除*/
.pMail_button {
    position: fixed;
    right: 4%;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    width: 37px;
    display: none;
}

    .pMail_button [class*="btn_pMail"] {
        width: 37px;
        height: 37px;
        border-radius: 100px;
        float: left;
        cursor: pointer;
    }

        .pMail_button [class*="btn_pMail"] + [class*="btn_pMail"] {
            margin-top: 15px;
        }

.btn_pMailAll {
    background-color: rgba(39,130,215,.6);
    color: #fff;
    font-weight: bold;
    font-size: 0.8em;
    text-align: center;
    line-height: 37px;
}

    .btn_pMailAll.on {
        background-color: rgba(39,130,215,1);
    }

.btn_pMailDelete {
    background: rgba(255,0,0,.6) url(./../assets/images/icon_trash.svg) no-repeat center;
    background-size: 51% auto;
}

    .btn_pMailDelete:active {
        background-color: rgba(255,0,0,1);
    }

.btn_pMailClose {
    background: rgba(160,160,160,.6) url(./../assets/images/btn_close_white.svg) no-repeat center;
    background-size: 37% auto;
}

    .btn_pMailClose:active {
        background-color: rgba(160,160,160,1);
    }

.btn_pMailPen {
    width: 42px;
    height: 42px;
    background: rgba(0,178,185,.6) url(./../assets/images/icon_pen.svg) no-repeat center;
    background-size: 55% auto;
    position: fixed;
    right: 4%;
    bottom: 58px;
    border-radius: 50%;
    cursor: pointer;
}

    .btn_pMailPen:active {
        background-color: rgba(0,178,185,1);
    }

@media (min-width: 350px) {
    .btn_pMailPen {
        bottom: 64px;
    }
}

@media (min-width: 400px) {
    .btn_pMailPen {
        width: 54px;
        height: 54px;
        bottom: 76px;
    }
}

@media (min-width: 768px) {
    .btn_pMailPen {
        bottom: 96px;
    }
}

/*个人讯息*/
.pMail {
    width: 87%;
    margin: 0 auto -1px;
}

.pMail_listT {
    min-height: 60px;
    width: 100%;
    padding: 5px 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
    box-sizing: border-box;
}

.pMail_listTitle {
    position: relative;
    box-sizing: border-box;
    width: calc(100% - 30px);
    padding-left: 10px;
    display: flex;
    flex-flow: column;
}

.pMail_list:not(.read) .pMail_listTitle:before {
    content: '';
    background-color: #f00;
    width: 8px;
    height: 8px;
    border-radius: 100%;
    position: absolute;
    left: -6px;
    top: 0;
    bottom: 0;
    margin: auto;
}

.pMailCheckbox {
    width: 30px;
    height: 49px;
    display: flex;
    align-items: center;
}

    .pMailCheckbox:before {
        content: '';
        width: 15px;
        height: 15px;
        border-radius: 100px;
        display: block;
        border: 1px solid #ddd;
        box-sizing: border-box;
        background-position: center;
        background-repeat: no-repeat;
    }

    .pMailCheckbox.on:before {
        background-image: url(./../assets/images/btn_confirm_blue.svg);
        background-size: 100% auto;
    }

    .pMailCheckbox.no:before {
        background-color: #2782d7;
        background-image: url(./../assets/images/icon_mark.svg);
        background-size: 50% auto;
        border-color: #2782d7;
    }

.pMail_T {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

    .pMail_T > span:not(.pMail_time) {
        font-size: 0.85em;
        font-weight: bold;
    }

.pMail_time {
    font-size: 0.75em;
    white-space: nowrap;
    margin-left: 10px;
}

.pMail_In {
    font-size: 0.75em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    color: #555;
}

.pMail_list.read .pMail_T,
.pMail_list.read .pMail_In {
    color: #999;
}

.pMail_listIn {
    padding: 10px 15px;
    background-color: #e8f9ff;
    font-size: 0.85em;
    display: none;
}

    .pMail_listIn .formMSG {
        margin-top: 8px;
    }

.pMail_listImg {
    width: 100%;
    height: auto;
    display: block;
}

    * + .pMail_listImg,
    .pMail_listImg + *:not(.serv_reback) {
        margin-top: 5px;
        display: block;
    }

@media (min-width: 400px) {
    .pMailCheckbox {
        width: 35px;
        height: 59px;
    }

    .pMail_listT {
        min-height: 70px;
    }

    .pMail_listTitle {
        padding-left: 15px;
        width: calc(100% - 35px);
    }

    .pMail_listIn {
        padding: 15px 20px;
    }

        .pMail_listIn .formMSG {
            margin-top: 10px;
        }

    * + .pMail_listImg,
    .pMail_listImg + *:not(.serv_reback) {
        margin-top: 8px;
    }
}

/*客服中心回覆*/
.serv_reback {
    border-radius: 5px;
    background-color: #fff;
    padding: 5px 10px;
    word-break: break-all;
    margin-top: 10px;
}

.serv_name {
    font-weight: bold;
}

    .serv_name + div {
        margin-top: 5px;
    }

@media (min-width: 400px) {
    .serv_reback {
        padding: 10px 15px;
        margin-top: 15px;
    }
}

/*线上留言*/
.PM_box {
    margin-top: calc(6.6vh - 40px);
    background-color: #fff;
    border-radius: 15px;
}

    .PM_box:before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 48vh;
        max-height: 432px;
        background: #70a6cb; /* Old browsers */
        background: -moz-linear-gradient(top, #70a6cb 0%, #f0eff5 100%); /* FF3.6-15 */
        background: -webkit-linear-gradient(top, #70a6cb 0%,#f0eff5 100%); /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom, #70a6cb 0%,#f0eff5 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#70a6cb', endColorstr='#f0eff5',GradientType=0 ); /* IE6-8 */
        z-index: -1;
    }

.PM_title {
    font-weight: bold;
    font-size: 1.15em;
    width: 100%;
    height: 10vh;
    max-height: 90px;
    min-height: 55px;
    color: #336694;
    border-bottom: 1px solid #e1e1e1;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 4.8vw;
    box-sizing: border-box;
    z-index: 1;
}

    .PM_title:after {
        content: '';
        background: url(./../assets/images/img_MSGbg.png) no-repeat center;
        background-size: 100% 100%;
        width: 16.3vh;
        height: 9.8vh;
        max-width: 146px;
        max-height: 88px;
        min-width: 92px;
        min-height: 55px;
        position: absolute;
        right: 7.2vw;
        bottom: 2.2vh;
        z-index: -1;
    }

.PM_in {
    position: relative;
    padding: 1.9vh 4.8vw 2.3vh;
}

    .PM_in textarea {
        width: 100%;
        height: 30.5vh;
        min-height: 120px;
        max-height: 273px;
        resize: none;
        font-size: 0.85em;
        margin-bottom: 5px;
    }

        .PM_in textarea::-webkit-input-placeholder { /* Chrome/Opera/Safari */
            color: #757575;
        }

        .PM_in textarea::-moz-placeholder { /* Firefox 19+ */
            color: #757575;
            opacity: 1;
        }

        .PM_in textarea:-ms-input-placeholder { /* IE 10+ */
            color: #757575 !important;
        }

        .PM_in textarea:-moz-placeholder { /* Firefox 18- */
            color: #757575;
            opacity: 1;
        }

    .PM_in .complaintHint {
        color: #707070;
        left: 4.8vw;
        bottom: -1.7em;
    }

    .PM_in .error_t {
        left: 90px;
        right: 4.8vw;
        bottom: -1.7em;
    }

    .PM_in .img_spinner {
        width: 30px;
        height: auto;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        z-index: 1;
    }

.formMSG {
    width: 100%;
    display: flex;
}

    .formMSG > div {
        width: 19.32vw;
        height: 19.32vw;
        max-width: 80px;
        max-height: 80px;
        box-sizing: border-box;
        cursor: pointer;
        position: relative;
        line-height: 1.25em;
    }

        .formMSG > div + div {
            margin-left: 12px;
        }

        .formMSG > div span {
            position: relative;
            width: 100%;
            height: 0;
            padding-top: 100%;
            border-radius: 10px;
            overflow: hidden;
            display: block;
            opacity: .4;
            background-color: #f2f6fc;
        }

            .formMSG > div span:active {
                opacity: 1;
            }

    .formMSG img {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        width: 100%;
        height: auto;
    }

.spinnerMSG {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 1;
}

.PM_button {
    display: flex;
    width: 100%;
    border-top: 1px solid #e1e1e1;
    padding: 5vh 4.8vw 2.3vh;
    box-sizing: border-box;
}

    .PM_button input {
        background-color: #53a4dc;
        border-radius: 10px;
        font-size: 1em;
        flex: 1;
    }

        .PM_button input + input {
            margin-left: 2.9vw;
        }

        .PM_button input:not([disabled="disabled"]):active {
            opacity: .8;
        }

        .PM_button input:disabled {
            background-color: #aaa;
            cursor: not-allowed;
        }

.btn_closePic {
    width: 17px;
    height: 17px;
    cursor: pointer;
    background: url(./../assets/images/btn_closeBlue.svg) no-repeat center;
    background-size: 100% auto;
    position: absolute;
    top: -7px;
    right: -8px;
    cursor: pointer;
}

.btn_picMSG {
    background-color: #f2f6fc;
    color: #81a0bb;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.8em;
    border-radius: 10px;
}

    .btn_picMSG:before {
        content: '';
        background: url(./../assets/images/icon_add.svg) no-repeat center;
        background-size: 100% auto;
        width: 20px;
        height: 20px;
        margin: 12.5% 0 10%;
    }

    .btn_picMSG:active {
        color: #8eb0ce;
    }

        .btn_closePic:active,
        .btn_picMSG:active:before {
            -webkit-filter: brightness(1.1);
            filter: brightness(1.1);
        }

.picMSG {
    margin: auto;
    position: relative;
    display: table;
}

    .picMSG .btn_closePic {
        width: 40px;
        height: 40px;
        top: -20px;
        right: -20px;
    }

    .picMSG img {
        max-width: 80vw;
        max-height: 80vh;
        width: auto;
        height: auto;
        border-radius: 10px;
        background-color: #f2f6fc;
    }

@media (min-width: 350px) {
    .btn_picMSG:before {
        width: 23px;
        height: 23px;
    }
}

@media (min-width: 400px) {
    .btn_picMSG:before {
        width: 26px;
        height: 26px;
    }
}

@media (orientation: landscape) {
    .PM_box {
        margin-top: 15px;
    }

    .PM_in {
        padding: 15px 4.8vw;
    }

    .PM_button {
        padding: 35px 4.8vw 20px;
    }
}
