/* pages/chat-room/chat-room.wxss */
.chat-room {
    width: 100%;
    padding: 30rpx;
    box-sizing: border-box;
}

.otherItem {
    width: 100%;
    height: 108rpx;
    display: flex;
    align-items: center;
    padding-bottom: 10rpx;
    border-bottom: solid 1rpx #ece9e4;
}

.otherItem image {
    width: 100rpx;
    height: 100rpx;
    margin-right: 22rpx;
}

.otherItem text {
    font-size: 34rpx;
    color: #000;
}

.chat {
    width: 100%;
    display: flex;
    height: 108rpx;
    display: inline-flex;
    flex-direction: row;
    border-bottom: solid 1rpx #ece9e4;
    padding-bottom: 10rpx;
    margin-top: 20rpx;
}

.photo {
    width: 100rpx;
    height: 100rpx;
    border-radius: 50rpx;
}

.item-row {
    display: inline-flex;
    flex-direction: column;
    height: 100rpx;
    width: 82%;
    margin-left: 15rpx;
}

.chat-name {
    font-size: .9em;
    width: 70%;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.chat-time {
    font-size: .7em;
    color: #9a9a9a;
    position: absolute;
    right: 40rpx;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.chat-content {
    font-size: .9em;
    color: #aaa9a8;
    line-height: 50rpx;
    max-width: 80%;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.unread-num {
    background-color: #e95543;
    width: 50rpx;
    height: 50rpx;
    border-radius: 25rpx;
    color: white;
    position: absolute;
    right: 48rpx;
    margin-top: 50rpx;
    font-size: .5em;
    line-height: 50rpx;
    text-align: center;
}


.mask {
    background-color: black;
    opacity: 0.4;
    position: fixed;
    top: 80rpx;
    left: 0;
    right: 0;
    bottom: 0;
}

.chat_list_wraper {
    padding-bottom: 270rpx;
    box-sizing: border-box;
    height: 100%;
    position: fixed;
    top: 128rpx;
    overflow: hidden;
}

.chat_list {
    width: 100%;
    height: 128rpx;
    overflow: hidden;
}

.tap_mask {
    width: 100%;
    overflow: hidden;
}

.list_box {
    margin: 0 32rpx;
    height: 126rpx;
    border-bottom: 0.5px #E5E5E5 solid;
    display: flex;
}

.list_left {
    width: 63%;
    height: 100%;
    float: left;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex: 1;
}

.list_text {
    width: 60%;
    height: 100%;
    float: left;
    font-size: 28rpx;
}

.list_pic {
    margin-right: 20rpx;
}

.list_pic image {
    display: block;
    width: 88rpx;
    height: 88rpx;
}

.list_user {
    font-size: 34rpx;
    color: #000;
    position: relative;
    top: 22rpx;
    overflow: hidden;
    width: 350rpx;
    display: inline-block;
    text-overflow: ellipsis;
}

.em-msgNum {
    position: absolute;
    right: 32rpx;
    top: 76rpx;
    min-width: 28rpx;
    height: 28rpx;
    border-radius: 14rpx;
    background: #f04134;
    color: #fff;
    line-height: 28rpx;
    font-size: 24rpx;
    text-align: center;
}

.list_word {
    height: 40rpx;
    display: block;
    margin-top: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    position: absolute;
    width: 70%;
    font-size: 24rpx;
    color: #9B9B9B;
    top: 66rpx;
}

.list_right {
    width: 240rpx;
    height: 100%;
    float: right;
    font-size: 24rpx;
    text-align: right;
}

.list_right text:first-child {
    display: block;
    line-height: 60rpx;
    margin: 12rpx auto auto auto;
}

.list_right text:last-child {
    height: 40rpx;
    font-size: 26rpx;
    color: #CFCFCF;
    display: block;
    margin-top: 4rpx;
}

.chat_noChat {
    text-align: center;
    font-size: 30rpx;
    color: #9B9B9B;
    margin-top: 400rpx;
}

.main_title_hide {
    top: -128rpx;
    transition: top 0.5s;
}

.main_title_show {
    top: 0;
    transition: top 0.5s;
}

.goTop {
    top: 0rpx;
    transition: top 0.5s;
    padding-bottom: 104rpx !important;
}

.goTopX {
    top: 0rpx;
    transition: top 0.5s;
    padding-bottom: 140rpx !important;
}

.goback {
    top: 128rpx;
    transition: top 0.5s;
}

.scan-jion-group {
    background-color: #516C9C;
    width: 130rpx;
    height: 130rpx;
    border-radius: 65rpx;
    position: absolute;
    right: 19rpx;
    bottom: 92rpx;
    color: #FEFEFE;
    font-size: 22rpx;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}