@charset "utf-8";

body, html {
    height: 100%;
    background-color: #f2f2f2;
}

.f_lgray {
    color: #888;
}
.f_dgray {
    color: #555;
}
.f_s40 {
    font-size: .4rem;
}
.f-border-b_orange {
    border-bottom: 1px solid #cd950f;
}
.f-border {
    position: relative;
}
.f-border-t_gray:before {
    content: '';
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    height: 1px;
    background-color: #bbb;
    -webkit-transform: scale(1, .5);
    -ms-transform: scale(1, .5);
    -o-transform: scale(1, .5);
    transform: scale(1, .5);
    -webkit-transform-origin: center top;
    -moz-transform-origin: center top;
    -ms-transform-origin: center top;
    -o-transform-origin: center top;
    transform-origin: center top;
}

[icon1-sprite] {
    background-repeat: no-repeat;
    background-size: 3.5rem auto;
    background-image: url(../images/m_icon_sprite.png);
}
.icon_option {
    width: .72rem;
    height: .72rem;
}
.icon_option-emoji {
    background-position: 0 0;
}
.icon_option-more {
    background-position: -1rem 0;
}
.icon_option-keyboard {
    background-position: -2rem 0;
}
.icon_zan {
    width: .28rem;
    height: .3rem;
}
.icon_zan-un {
    background-position: 0 -1rem;
}
.icon_zan-ed {
    background-position: -.5rem -1rem;
}
.icon_arrow-down {
    width: .54rem;
    height: .3rem;
    background-position: -1rem -1rem;
}
.icon_star {
    width: .28rem;
    height: .28rem;
}
.icon_star-full {
    background-position: 0 -1.5rem;
}
.icon_star-half {
    background-position: -.5rem -1.5rem;
}
.icon_star-empty {
    background-position: -1rem -1.5rem;
}
.icon_certificate {
    width: 2.32rem;
    height: .46rem;
}
.icon_certificate-1 {
    background-position: 0 -2rem;
}
.icon_certificate-2 {
    background-position: 0 -2.6rem;
}
.icon_certificate-4 {
    background-position: 0 -3.2rem;
}
.icon_function {
    width: 1.26rem;
    height: 1.26rem;
}
.icon_function-pic {
    background-position: 0 -3.8rem;
}
.icon_function-camera {
    background-position: -2rem -3.8rem;
}

.container {
    display: none;
}

.header {
    z-index: 2;
    height: .8rem;
}

.service {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    pointer-events: none;
}
.service_container {
    background-color: #fff;
    position: relative;
    z-index: 51;
    pointer-events: auto;
}
.service_cover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .4);
    z-index: 50;
    pointer-events: auto;
    touch-action: manipulation;
}
.service_avatar {
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 1rem;
}
.service_name {
    max-width: 11em;
}
.service_basic {
    padding: .4rem;
}
.service_basic + .service_basic {
    border-top: 1px solid #eee;
}
.service_info {
    padding-left: 1.6rem;
}
.service .icon_certificate:nth-child(even) {
    margin-left: .4rem;
}


.message_container {
    background-color: #f2f2f2;
    padding: .2rem;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 1rem;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-transition: bottom .25s;
    -o-transition: bottom .25s;
    transition: bottom .25s;
    -webkit-overflow-scrolling: touch;
}
.message_container-totop {
    bottom: 3.24rem;
}
.message_container-pdb {
    padding-bottom: .66rem;
}

.message {
    margin-top: .3rem;
}
.message_time, .message_tip {
    background-color: #ccc;
    color: #fff;
    border-radius: 1rem;
    display: inline-block;
    height: 1.4em;
    line-height: 1.4em;
    font-size: .24rem;
    padding: 0 1em;
    margin-top: 1.2em;
}
.message_time {
    height: 1.3em;
}
.message_avatar {
    touch-action: manipulation;
}
.list-avatar {
    width: .8rem;
    height: .8rem;
    border-radius: 1rem;
}
.message_content {
    border-radius: .1rem;
    border: 1px solid #bbb;
    background-color: #fff;
    padding: .14rem;
    max-width: 4.8rem;
    min-height: .8rem;
    position: relative;
}
.message_loadmore {
    border-radius: .1rem;
    padding: .1rem 0;
    height: auto;
    line-height: initial;
    border: 1px solid #eee;
    background-color: #fff;
    text-align: center;
    width: 6em;
    color: #777;
    touch-action: manipulation;
}
.message_content .emoji_img {
    display: inline;
    float: none;
    vertical-align: bottom;
}
.message_content-img_img {
    max-height: 5rem; 
}
.message_content pre {
    font-size: .34rem;
    text-align: left;
    word-wrap: break-word;
    word-break: break-all;
    white-space: pre-wrap;
    line-height: .56rem;
    margin-bottom: -.08rem;
}

.message_content-cmd_logo {
    height: .4rem;
    margin-right: .2rem;
}
.message_content-cmd_type {
    font-size: .3rem;
    line-height: .4rem;
    color: #555;
}
.message_content-cmd_img {
    max-height: 2.1rem;
    width: 100%;
    margin: .16rem 0;
}
.message_content-cmd_title {
    font-size: .32rem;
    line-height: 1.4em;
    font-weight: bold;
}

.message-local .message_content:after, .message-remote .message_content:before {
    top: .3rem;
    content: "";
    width: .16rem;
    height: .16rem;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    display: inline-block;
    position: absolute;
    z-index: 1;
}
.message-remote .message_avatar, .message-remote .message_content {
    float: left;
}
.message-remote .message_content {
    margin-left: .2rem;
}
.message-remote .message_content:before {
    background-color: #fff;
    left: 0;
    margin-left: -.1rem;
    border-top: 1px solid #bbb;
    border-left: 1px solid #bbb;
}
.message-local .message_avatar, .message-local .message_content {
    float: right;
}
.message-local .message_content {
    margin-right: .2rem;
}
.message-local .message_content:after {
    background-color: #a7dbff;
    right: 0;
    margin-right: -.1rem;
    border-bottom: 1px solid #4aa5e5;
    border-right: 1px solid #4aa5e5;
}
.message-local .message_content {
    background-color: #a7dbff;
    border: 1px solid #4aa5e5;
}

.footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #f2f2f2;
    z-index: 10;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
}
.footer_base {
    position: relative;
    padding: .2rem;
    min-height: 1rem;
}
.footer_inputarea {
    padding-right: 1.2rem;
    padding-left: 1.72rem;
}
.footer_input {
    border: 1px solid #ddd;
    border-radius: .1rem;
    padding: .06rem .1rem;
    font-size: .28rem;
    outline: none;
    white-space: pre-line;    
    word-break: break-all;
    display: block;
    overflow: auto;
    max-height: 1rem;
}
.footer_input .emoji, .footer_input .emoji_img {
    -webkit-transform: scale(.76, .76);
    -ms-transform: scale(.76, .76);
    -o-transform: scale(.76, .76);
    transform: scale(.76, .76);
    -webkit-transform-origin: center center;
    -moz-transform-origin: center center;
    -ms-transform-origin: center center;
    -o-transform-origin: center center;
    transform-origin: center center;
    float: none;
    display: inline-block;
    margin: -0.1rem -0.06rem -.18rem;
}
.footer_input b {
    min-width: 1px;
    min-height: .4rem;
    display: inline;
    vertical-align: middle;
    word-break: break-all;
}
.footer_input input {
    width: 1px;
    height: 1px;
    pointer-events: none;
    display: inline-block;
    opacity: 0;
}
.footer .icon_option {
    margin-right: .17rem;
    margin-left: -0.03rem;
    margin-top: -.06rem;
    touch-action: manipulation;
}

.footer_functions {
    padding: .3rem .6rem;
    height: 2.24rem;
}
.footer_function {
    position: relative;
    overflow: hidden;
}
.footer_function + .footer_function {
    margin-left: .6rem;
}
.footer_emoji {
    padding: .2rem;
    max-height: 2.24rem;
    overflow: auto;
}
.footer_sendmsg {
    position: absolute;
    height: .58rem;
    line-height: .6rem;
    width: 1rem;
    border-radius: .1rem;
    right: .2rem;
    bottom: .22rem;
}
.footer_option {
    position: absolute;
    left: .2rem;
    bottom: .15rem;
}
.emoji, .emoji_img{
    width: 32px;
    height: 32px;
    background-image: url(../images/emoji.png);
    background-size: auto 538px;
    background-repeat: no-repeat;
    float: left;
    font-size: 0;
    -webkit-transition: all .25s;
    -o-transition: all .25s;
    transition: all .25s;
}
.emoji-xhsemoji{
    background-image: url(../images/xhsemoji.png);
}
.emoji_img{
    border: none;
    float: none;
}
.footer_emoji .emoji {
    margin: 0 .04rem;
}
.footer_function-pic_file {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 1rem;
    opacity: 0;
}

/* vue animate */
.fade-enter-active, .fade-leave-active {
    -webkit-transition: opacity .25s;
    -o-transition: opacity .25s;
    transition: opacity .25s;
}
.fade-enter, .fade-leave-to {
    opacity: 0;
}

.showup-enter-active, .showup-leave-active {
    -webkit-transition: height .25s;
    -o-transition: height .25s;
    transition: height .25s;
}
.showup-enter, .showup-leave-to {
    height: 0;
}

/* layer */
.layer, .layer_cover {
    z-index: 150;
    position: absolute;
}
.layer_container {
    z-index: 200;
    position: absolute;
}
.layer-load .layer_btnarea {
    display: none;
}

/* emoji */
.emoji_0x1f3e0, .emoji_1 { background-position: 0 0; }
.emoji_0x1f4a3, .emoji_2 { background-position: 0 -34px; }
.emoji_0x1f4aa, .emoji_3 { background-position: 0 -68px; }
.emoji_0x1f4f1, .emoji_4 { background-position: 0 -102px; }
.emoji_0x1f31f, .emoji_5 { background-position: 0 -136px; }
.emoji_0x1f33b, .emoji_6 { background-position: 0 -170px; }
.emoji_0x1f37a, .emoji_7 { background-position: 0 -204px; }
.emoji_0x1f44a, .emoji_8 { background-position: 0 -238px; }
.emoji_0x1f44c, .emoji_9 { background-position: 0 -272px; }
.emoji_0x1f44d, .emoji_10 { background-position: 0 -306px; }
.emoji_0x1f44e, .emoji_11 { background-position: 0 -340px; }
.emoji_0x1f44f, .emoji_12 { background-position: 0 -374px; }
.emoji_0x1f47b, .emoji_13 { background-position: 0 -408px; }
.emoji_0x1f47f, .emoji_14 { background-position: 0 -442px; }
.emoji_0x1f48e, .emoji_15 { background-position: 0 -476px; }
.emoji_0x1f50d, .emoji_16 { background-position: 0 -510px; }

.emoji_0x1f60a, .emoji_17 { background-position: -34px 0; }
.emoji_0x1f60c, .emoji_18 { background-position: -34px -34px; }
.emoji_0x1f60d, .emoji_19 { background-position: -34px -68px; }
.emoji_0x1f60f, .emoji_20 { background-position: -34px -102px; }
.emoji_0x1f61a, .emoji_21 { background-position: -34px -136px; }
.emoji_0x1f61c { background-position: -34px -170px; }
.emoji_0x1f61d { background-position: -34px -204px; }
.emoji_0x1f61e { background-position: -34px -238px; }
.emoji_0x1f62a { background-position: -34px -272px; }
.emoji_0x1f62d { background-position: -34px -306px; }
.emoji_0x1f64f { background-position: -34px -340px; }
.emoji_0x1f319 { background-position: -34px -374px; }
.emoji_0x1f339 { background-position: -34px -408px; }
.emoji_0x1f341 { background-position: -34px -442px; }
.emoji_0x1f343 { background-position: -34px -476px; }
.emoji_0x1f380 { background-position: -34px -510px; }

.emoji_0x1f381 { background-position: -68px 0; }
.emoji_0x1f382 { background-position: -68px -34px; }
.emoji_0x1f385 { background-position: -68px -68px; }
.emoji_0x1f431 { background-position: -68px -102px; }
.emoji_0x1f436 { background-position: -68px -136px; }
.emoji_0x1f444 { background-position: -68px -170px; }
.emoji_0x1f446 { background-position: -68px -204px; }
.emoji_0x1f447 { background-position: -68px -238px; }
.emoji_0x1f448 { background-position: -68px -272px; }
.emoji_0x1f449 { background-position: -68px -306px; }
.emoji_0x1f457 { background-position: -68px -340px; }
.emoji_0x1f466 { background-position: -68px -374px; }
.emoji_0x1f467 { background-position: -68px -408px; }
.emoji_0x1f468 { background-position: -68px -442px; }
.emoji_0x1f469 { background-position: -68px -476px; }
.emoji_0x2764 { background-position: -68px -510px; }

.emoji_0x1f494 { background-position: -102px 0; }
.emoji_0x1f559 { background-position: -102px -34px; }
.emoji_0x1f601 { background-position: -102px -68px; }
.emoji_0x1f602 { background-position: -102px -102px; }
.emoji_0x1f603 { background-position: -102px -136px; }
.emoji_0x1f604 { background-position: -102px -170px; }
.emoji_0x1f609 { background-position: -102px -204px; }
.emoji_0x1f612 { background-position: -102px -238px; }
.emoji_0x1f613 { background-position: -102px -272px; }
.emoji_0x1f614 { background-position: -102px -306px; }
.emoji_0x1f616 { background-position: -102px -340px; }
.emoji_0x1f618 { background-position: -102px -374px; }
.emoji_0x1f620 { background-position: -102px -408px; }
.emoji_0x1f621 { background-position: -102px -442px; }
.emoji_0x1f622 { background-position: -102px -476px; }
.emoji_0x1f623 { background-position: -102px -510px; }

.emoji_0x1f625 { background-position: -136px 0; }
.emoji_0x1f628 { background-position: -136px -34px; }
.emoji_0x1f630 { background-position: -136px -68px; }
.emoji_0x1f631 { background-position: -136px -102px; }
.emoji_0x1f632 { background-position: -136px -136px; }
.emoji_0x1f633 { background-position: -136px -170px; }
.emoji_0x1f637 { background-position: -136px -204px; }
.emoji_0x1f697 { background-position: -136px -238px; }
.emoji_0x26a1 { background-position: -136px -272px; }
.emoji_0x26bd { background-position: -136px -306px; }
.emoji_0x270a { background-position: -136px -340px; }
.emoji_0x270c { background-position: -136px -374px; }
.emoji_0x2600 { background-position: -136px -408px; }
.emoji_0x2601 { background-position: -136px -442px; }
.emoji_0x2614 { background-position: -136px -476px; }
.emoji_0x2615 { background-position: -136px -510px; }

@media only screen and (-webkit-device-pixel-ratio: 3) and (device-height: 812px) and (device-width: 375px) {
    .message_container {
        padding-bottom: 1.1rem;
    }
    .message_container-pdb {
        padding-bottom: 1.56rem;
    }
}

@media only screen and (-webkit-min-device-pixel-ratio: 2) {
    .emoji, .emoji_img{
        background-image: url(../images/emoji_2x.png);
        background-size: auto 544px;
    }
    .emoji-xhsemoji{
        background-image: url(../images/xhsemoji_2x.png);
    }
}