body{
    background: #efefef;
}
.head{
    position: fixed;
    top: 0;
    height: 60px;
    width: 100%;
    background: #313031;
    font-size: 20px;
    color: #fff;
    z-index: 999;
}
.head .head-left{
    float: left;
    font-size: 18px;
    line-height: 60px;
}
.head .back-jump{
    float: left;
    display: inline-block;
    width: 28px;
    height: 50px;
    background: url("../images/left.png") no-repeat;
    -webkit-background-size: 50%;
    background-size: 43%;
    margin: 20px 0 0 20px;
}
.head .head-right{
    float: right;
    display: inline-block;
    background-image: url("../images/right-click.png");
    background-repeat: no-repeat;
    -webkit-background-size: 50%;
    background-size: 50%;
    width: 51px;
    height: 9px;
    margin: 30px 5px 0 0;
}
.message-content{
    position: relative;
    width: 100%;
    height: auto;
    font-size: 20px;
    color: #313431;
    background: #efefef;
    margin-top: 10px;
    padding-bottom: 75px;
}
.message-content::after {
    content: " ";
    display: block;
    clear: both;
}
.message-content .face img{
    width: 40px;
    height: 40px;
}
.message-content .msg-front,.message-content .msg-opposite{
    width: 95%;
    margin-top: 10px;
}
.message-content .msg-front,.message-content .msg-opposite1{
    width: 85%;
    margin-top: 10px;
}
.message-content .msg-front{
    float: right;
    margin-right: 10px;
    position: relative;
}
.message-content .msg-front .face{
    float: right;
    margin-left: 10px;
}

.message-content .img{
    background: none!important;
    padding-top:0!important;
}
.message-content .img::before{
    content: none!important;
}
.message-content .msg-front .main{
    max-width: 75%;
    background: #9cee70 url("../images/unread.png") no-repeat right bottom;
    padding: 9px;
    border-radius: 5px;
    margin-top: 0;
    /*margin-right: 15px;*/
    float: right;
    font-size: 16px;
    /*border: 1px solid #73be52;
    display: flex;
    align-items: center;*/
    align-items: flex-end;
    flex-direction: column;
    flex-wrap: wrap;
    position: relative;
    word-break:break-all;
}
.message-content .msg-front .main::before{
    content: " ";
    display: block;
    position: absolute;
    right: -5px;
    top:14px;
    width: 0;
    height: 0;
    border-width: 6px;
    border-style: solid;
    border-color: transparent #9cee70 transparent transparent;
    transform: rotate(60deg);
}
.message-content .msg-front .main img{
    width: 24px;
}
.message-content .msg-front .top {
    background: #9cee70 url("../images/is_top.png") no-repeat right bottom !important;
    background-size: 13px auto !important;
}
.message-content .msg-opposite{
    float: left;
    margin-left: 10px;
}
.message-content .msg-opposite .face{
    float: left;
}
.message-content .msg-opposite .nickname{
    display: block;
    color: #adaead;
    font-size: 13px;
    margin-left: 50px;
    line-height: 14px;
    margin-bottom: 8px;
}
.message-content .msg-opposite .main{
    position: relative;
    float: left;
    max-width: 75%;
    display: inline-block;
    background: #fff;
    padding: 10px;
    border-radius: 5px;
    margin-left: 10px;
    font-size: 16px;
    word-break:break-all;
}
.message-content .msg-opposite .main::before {
    content: " ";
    display: block;
    position: absolute;
    left: -12px;
    top:15px;
    width: 0;
    height: 0;
    border-width: 6px;
    border-style: solid;
    border-color: transparent #fff transparent transparent;
}
.message-content .msg-opposite .top {
    background:#ffffff url("../images/is_top.png") no-repeat bottom right !important;
    background-size: 13px auto !important;
}
.message-content .tag-time{
    float: left;
    width: 100%;
    color: #fff;
    margin-top: 26px;
    height: 20px;
    text-align: center;
}
.message-content .tag-time span{
    background: #d7d7d7;
    border-radius: 2px;
    font-size: 15px;
    padding: 1px 3px;
}
.message-content .main img{
    width: 24px;
}

.push_img img{
    width: 98%!important;
}
.push_img .edui-upload-video{
    width: 98%!important;
    height: 200px!important;
}
.msg-opposite .img img{
    display: block;
    /*width: 200px!important;*/
    width: auto!important;
    max-width: 150px;
    margin-left: -10px;
    padding-right: 15px;
}
.msg-front .img {
    text-align:right;
}
.msg-front .img img{
    display: block;
    /*width: 200px!important;*/
    width: auto!important;
    max-width: 150px;
}
.foot{
    min-height: 60px;
    width: 100%;
    border-top: 1px solid #d6d6d6;
    background: #f8f8f8;
    position: fixed;
    bottom: 0;
    z-index: 999;

}
.foot .button-box{
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-bottom: 2px;
    min-height: 54px;
    justify-content: space-between;
    width: 96%;
    margin: 0 auto;
}
.foot .button-box .yuyinimg{
    width: 30px;
    height: 30px;
}

.foot #textarea{
    border: none;
    resize: none;
    height: 35px;
    line-height: 35px;
    font-size:14px;
    width: 70%;
    background: white;
    margin-left: 3px;
    margin-right: 3px;
    border-radius: 3px;
    padding:0 8px;
}
.foot .send-img{
    width: 30px;
    height: 30px;
    display: inline-block;

}
.foot .send-img1{
    background: url('../images/biaoqingg.png') no-repeat;
    background-size: 30px;
    width: 33px;
    height: 30px;
    display: inline-block;
    margin-right: 5px;
}
.foot .send-img2{
    position: absolute;
    bottom: 12px;
    right:145px;
    background: url('../images/biaoqing.png');
    background-size: 35px;
    width: 35px;
    height: 35px;
    display: inline-block;
    top:12px;

}

.foot .send-button{
    border: 1px solid #09c567;
    width: 50px;
    height: 30px;
    background: #09c567;
    color:#fff;
    font-size: 12px;
    border-radius: 2px;
    text-align: center;
    line-height: 28px;
    top:12px;
}
.foot .send-button:hover{
    background: #09c567;
}
.foot .tool-box{
    /*height: 184px;*/
    display: none;
    border-top: 1px solid #f8f8f8;
    /*padding: 28px 10px 15px 10px;*/
}

.foot .tool-box .tool-ico{
    display: flex;
    justify-content: center;
}
.foot .tool-box .tool-ico img{
    width: 50px;
    height: 50px;
}
.foot .tool-box .tool-name{
   text-align: center;
    color: #858585;
    font-size: 12px;
}
.foot .tool-box ul{
    width: 100%;height:auto;display: flex;flex-wrap: wrap;justify-content: flex-start;
}
.foot .tool-box ul li{
    display: block;width:25%;height:90px;
}
/*.foot .tool-box ul{*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*}*/
.foot .tool-box li{
    /*margin-right: 10px;*/
}
.im-user-list{
    padding: 20px;
    margin-top: 60px;
}
.im-user-list li{
    margin-right: 10px;
}
.im-user-list .face img{
    width: 50px;
    height: 50px;
}
.pswp__top-bar, .pswp__caption{
    background-color:unset!important;
}
.flex {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.flex-v {
    -webkit-box-orient: vertical;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

.flex-1 {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.flex-align-center {
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.flex-pack-center {
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.flex-pack-justify {
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.envelopes-back{
    width: 80%;
    background-color: #faa344;
    border-radius: 5px;
    overflow: hidden;
}
.envelopes-back.receive {
    background-color: #fce1c4;
}
.envelopes-back.receive .envelimg {opacity:0.3;}
span.bimg-big{
    color: #fff;
    font-size: 14px;
}
span.bimg-sm{
    color: #fff;
    font-size: 12px;;
}
img.envelimg{
    width: 28px;
    margin: 10px;
}
.envelopes-back-img{
    height: 55px;
}
.envelopes-back-p{
    padding: 0;
    margin: 0;
    background-color: #fff;
    color: #666;
    font-size: 12px;
    line-height: 25px;
    padding-left: 10px;
}

.tips {
    text-align:center;
    clear: both;
}
.tips span {
    display: inline-block;
    background: #7d7d7d;
    color:#fff;
    font-size: 12px;
    padding: 3px 12px;
    border-radius: 3px;
}

#newMsg {
    position: fixed;
    right: 0;
    top: 10%;
    z-index: 999;
    color:#1aad19;
    border: 1px solid #ddd;
    background: #fff;
    border-right: none;
    border-radius: 20px 0 0 20px;
    padding: 5px 15px;
    display: none;
}

.jquery-qqface-layer {
    height: 180px;
    position: relative;
    background: #ededef;
    overflow-y: auto;
}
.jquery-qqface-layer i {
    width: 14.28%;
    height: 30px;
    padding:10px 0;
    display: block;
    float: left;
    text-align: center;
}
.jquery-qqface-layer span, #qqface .add {
    width: 20%;
    height: 66px;
    display: block;
    float: left;
    text-align: center;
    padding:10px 0;
}
.jquery-qqface-layer h4 {
    font-weight: 400;
    padding: 5px 4% 0;
    color: #000;
    clear: both;
}
.panel {
    width: 30px;
    height: 30px;
    margin-left: 10px;
}
#bet_panel {
    padding:13px 5px 0;
    background: #cfd3df;
}
#bet_panel::after {
    content:' ';
    display:block;
    clear:both;
}
#bet_panel li {
    width:10%;
    float: left;
    text-align: center;
    margin:2px 0;
    list-style:none;
}
#bet_panel li.two {
    width:20%;
}
#bet_panel li a {
    display: inline-block;
    background: #fefefe;
    font-weight: bold;
    width: 30px;
    height: 30px;
    line-height: 32px;
    border-radius: 5px;
    color: #636364;
    overflow: hidden;
}
#bet_panel li.two a {
    width:68px;
}
.packet-bg {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f2f2f2;
    z-index: 9999;
    opacity: 0.7;
    display: none;
}
.packet-box {
    position: fixed;
    width:260px;
    top: 10%;
    left: 50%;
    margin-left: -130px;
    z-index: 99999;
    display: none;
}
.packet-box .content {
    background: url("../images/packet_box.png") no-repeat left bottom;
    background-size: 100%;
    border-radius: 8px;
    height:400px;
    color:#fee1b5;
    text-align: center;
    padding:40px 0 0;
    position: relative;
}
.packet-box .packet-close {
    width: 30px;
    height: 30px;
    margin: 20px auto;
}
.packet-box .user {
    font-size: 0.8rem;
    line-height: 1.5rem;
    position: relative;
}
.packet-box .user .name {
    max-width: 60%;
    display: inline-block;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.packet-box .user img {
    border-radius: 5px;
    margin-right: 8px;
    display: inline-block;
}
.packet-box .message {
    font-size: 1.2rem;
    margin-top: 0.2rem;
    padding: 0 20px;
}
.packet-box .packet-open {
    width: 100px;
    height: 100px;
    background: url("../images/packet-open.png") no-repeat;
    background-size: 100%;
    border-radius: 50%;
    overflow: hidden;
    position: absolute;
    bottom: 55px;
    left: 50%;
    margin-left: -50px;
}
.packet-box .open {
    background: url("../images/packet_open.png") no-repeat;
    background-size: 100%;
    -webkit-animation:open .8s linear infinite;
}
@-webkit-keyframes open{
    100%{ -webkit-transform:rotateY(360deg);}
}
.packet-box .everybody {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
}
.packet-box .everybody a {
    color:#fee1b5;
}
#qqface .nav {
    background: #f8f8f8;
    display: block;
    /*padding:0 10px 7px;*/
    border-bottom: 1px solid #d5d5d5;
}
#qqface .nav li {
    height: 38px;
    width: 38px;
    text-align: center;
    border-radius: 5px;
    margin: 0 5px;
}
#qqface .nav li img {
    margin-top: 6px;
}
#qqface .nav li.current {
    background: #ffffff;
}
#qqface .add p {
    display: inline-block;
    width: 46px;
    height: 46px;
    border: 1px dotted #0f0f0f;
    font-size: 35px;
    line-height: 46px;
    text-align: center;
    padding: 0;
    margin: 0;
    font-weight: 100;
    cursor: pointer;
    border-radius: 5px;
}