@charset 'utf-8';

/*通用设置*/

* {
    padding: 0;
    margin: 0;
}
::-webkit-scrollbar-track
{
	border-radius: 10px;
}

::-webkit-scrollbar
{
    width: 8px;
    height: 10px;
}

::-webkit-scrollbar-thumb
{
	border-radius: 10px;
	background-color: #d0d1d3;
}

html {
    height: 100%;
    overflow: hidden;
}

body {
    color: #666;
    font-family: "微软雅黑";
    font-size: 14px;
    height: 100%;
    overflow: hidden;
    background-color: #e5e5e5;
}

img {
    border: none;
    vertical-align: middle;
}

button {
    outline: none;
    margin: 0;
    padding: 0;
    border: 1px solid transparent;
}

a {
    text-decoration: none;
    color: #333;
}

.fl {
    float: left;
}

.fr {
    float: right;
}
.clear {
    clear: both;
}

.over_y {
    overflow-y: auto;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden
}

.text_c {
    text-align: center;
}

.pr {
    position: relative;
}

.d-f {
    display: flex;
    display: -webkit-flex;
}

.d-dc {
    flex-direction: column;
}

.d-dr {
    flex-direction: row;
}

.d-rw {
    flex-flow: row wrap;
}

.d-cc {
    justify-content: center;
    align-items: center;
}

.d-sbc {
    justify-content: space-between;
    align-items: center;
}

.d-sac {
    justify-content: space-around;
    align-items: center;
}

.ell {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ell2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ell3 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.m-10 {
    margin: 0px 10px;
}


/*头部*/

.header {
    background-color: #21904b;
    height: 50px;
    width: 100%;
    position: fixed;
    left: 0px;
    top: 0px;
    z-index: 1;
    line-height: 50px;
    width: 100%;
    font-size: 16px;
}

.header>img {
    height: 35px;
    width: auto;
    margin-top: -4px;
}

.header>div {
    position: absolute;
    right: 10px;
    top: 0px;
}
.pointer{
  cursor: pointer;
}
.header>div>img {
    width: 20px;
    cursor: pointer;
}


/*右侧标签*/

.aside {
    position: absolute;
    right: 0px;
    bottom: 0px;
    height: 100%;
    width: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    border-left: 1px solid #e3e4e6;
    padding-top: 50px;
}

.aside>div {
    padding: 0px 10px 10px;
}

.aside_header {
    height: 40px;
    line-height: 45px;
    text-align: center;
    border-bottom: 1px solid #e3e4e6;
}

.aside_header span {
    display: inline-block;
    height: 100%;
    border-bottom: 2px solid #21904b;
    padding: 0px 10px;
    box-sizing: border-box;
    position: relative;
    top: 2px;
}

.aside .aside_list {
    overflow-y: auto;
}

.aside .aside_list::-webkit-scrollbar {
    display: none
}

.aside .aside_list .user_kd {
    width: 100%;
    margin-left: 0px;
    margin-top: 15px;
}

.aside>img {
    width: width;
    height: auto;
}


/*底部*/

.footer {
    width: 100%;
    position: relative;
    padding-top: 35px;
    box-sizing: border-box;
    border-top: 1px solid #e3e4e6;
}

.chat_area {
    height: 150px;
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
    font-size: 14px;
    padding: 5px 15px;
    outline: none;
    overflow: auto;
}
.chat_area:empty::before{
      content: attr(placeholder);
      color:#999;
}
.chat_area:focus::before{
     content:none;
}
.chat_area img{
  width: 50px;
  height: 50px;
}
.chat_area img.emit {
    width: 25px;
    height: 25px;
}

.chat_footer {
    border-top: 1px solid #e3e4e6;
    padding-top: 35px;
}

.chat_footer_nav {
    position: absolute;
    top: 5px;
    left: 10px;
    width: 96%;
}

.chat_footer_nav input {
    width: 30px;
    height: 30px;
    position: absolute;
    left: 0px;
    top: 0px;
    opacity: 0;
    z-index: 5;
}

.chat_footer_nav .img-20 {
    width: 20px;
    height: 20px;
    padding: 5px;
}

.chat_footer_nav>.pr>b {
    font-size: 20px;
    padding: 5px;
    margin-left: 10px;
}

.chat_footer_emit img {
    width: 30px;
    height: 30px;
    margin: 5px;
}

.send_btn {
    position: absolute;
    bottom: 50px;
    right: 30px;
    padding: 5px 15px;
    border-radius: 6px;
    background-color: #21904b;
    color: #fff;
    cursor: pointer;
}

#face_all {
    overflow-y: scroll;
    display: block;
    box-sizing: border-box;
    padding: 10px 0px;
    position: absolute;
    width: 400px;
    height: 300px;
    top: -300px;
    z-index: 8;
    background-color: #Fff;
    left: 0px;
}

#face_all img {
    width: 30px;
    padding: 5px;
}


/*主体*/

.container {
    padding-top: 50px;
    width: 100%;
    padding-right: 250px;
    box-sizing: border-box;
    background-color: #f3f4f6;
}


/*聊天*/

.content {
    overflow-y: auto;
    box-sizing: border-box;
    padding-top: 10px;
}

.mess {
    margin-bottom: 15px;
    float: left;
    width: 100%;
    position: relative;
}

.mess img {
    width: auto;
    max-width: 100%;
    max-height: 280px;
    vertical-align: middle;
}

.header_left {
    float: left;
    vertical-align: middle;
    margin-top: 0px;
    margin-left: 10px;
    width: 38px;
    height: 38px;
    max-width: 38px;
    border-radius: 38px;
}

.header_right {
    float: right;
    vertical-align: middle;
    margin-top: 0px;
    margin-right: 10px;
    width: 38px;
    height: 38px;
    max-width: 38px;
    border-radius: 38px;
}

.mess p {
    margin: 0 0 8px;
}

.time_left {
    color: #8f9ba9;
    font-size: 12px;
    padding: 15px 63px 0;
    text-align: left;
}

.time_left>span {
    margin-right: 5px;
}

.time_right {
    color: #8f9ba9;
    font-size: 12px;
    padding: 15px 63px 0;
    text-align: right;
}

.time_right>span {
    margin-right: 5px;
}

.pckf {
    max-width: 65%;
    text-align: left;
    padding-left: 63px;
    *padding-left: 22px;
    *max-width: 300px;
    float: right;
}

.pcyh {
    max-width: 70%;
    text-align: right;
    padding-right: 24px;
    float: left;
}

.kfsay {
    background: #d0e9ff;
    border-radius: 10px;
    padding: 10px;
    font-size: 14px;
    color: #333;
    text-align: left;
    float: right;
    word-break: break-word;
    margin-right: 10px;
}

.kfsay_kp {
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    font-size: 14px;
    color: #333;
    text-align: left;
    float: right;
    word-break: break-word;
    margin-right: 10px;
}

.yhsay {
    text-align: left;
    padding: 10px;
    background: #fff;
    border-radius: 10px;
    color: #333;
    font-size: 13px;
    margin-left: 10px;
    float: left;
    word-break: break-word;
}

.pckftime {
    color: #8f9ba9;
    font-size: 12px;
    padding: 15px 72px 0;
    text-align: right;
}

.voice_h {
    float: left;
}

.voice_h img {
    width: 25px;
}

.chat_time {
    height: 30px;
    width: 100%;
    color: #666;
}

.chat_timer {
    width: 100%;
    text-align: center;
    color: #0189ff;
    height: 30px;
    line-height: 30px;
}

.video_img {
    position: relative;
}

.video_img>img:nth-child(2) {
    width: 40px;
    position: absolute;
    left: calc( 50% - 20px);
    top: calc( 50% - 20px);
}


/*文件卡片*/

.chat_file {
    padding: 0px;
}

.chat_file>.clearfix {
    padding: 8px 15px;
}

.chat_file>.clearfix>div.pr img {
    width: 55px;
}

.chat_file>.clearfix>div.pr span {
    position: absolute;
    bottom: 11px;
    left: 12px;
    color: #fff;
}

.chat_file>div.clearfix>div:last-child {
    width: calc(100% - 55px);
    margin-top: 10px;
    font-size: 13px;
}

.chat_file>div.clearfix strong.ell {
    float: left;
    width: 100%;
}

.chat_file>div.clearfix>div:last-child>div {
    float: left;
    margin-left: 4px;
    margin-top: 4px;
    color: #b2b2b2;
}

.chat_file_btn {
    border-top: 1px solid #e2e3e5;
    padding: 8px 10px;
}

.chat_file_btn>a {
    box-sizing: border-box;
    text-align: center;
    display: inline-block;
    width: 100%;
    color: #0089ff;
}


/*链接*/

.links_cont {
    padding: 8px 10px;
    width: 300px;
}

.links_cont>div img {
    width: 70px;
}

.links_cont>div:first-child {
    width: calc(100% - 80px);
}
.links_cont>div>span{
  margin-left: 6px;
  margin-top: 3px;
  font-size: 13px;
  color:#333;
}
.links_cont>div>div.ell2 {
    margin-left: 6px;
    margin-top: 3px;
    color: #666;
    font-size: 12px;
}

.links_cont>div:last-child {
    width: 70px;
    font-size: 14px;
    margin-left: 7px;
    color: #5f5f5f;
}
.chat_links{
}
.chat_links_btn {
    text-align: center;
    line-height: 30px;
    border-top: 1px solid #e2e3e5;
    color: #38adff;
}


/*用户卡片*/

.user_kd {
    width: 80%;
    margin-left: 10%;
    box-sizing: border-box;
    background-color: #ffffff;
    border-radius: 5px;
    padding: 10px;
}

.user_kd>div img {
    width: 70px;
}

.user_kd>div:first-child>div:last-child {
    width: calc(100% - 80px);
    font-size: 13px;
}

.user_kd .user_kd_btn {
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid #e3e4e6;
    font-size: 12px;
}
.user_kd_btn::active{

}

/*弹出层*/

.modal {
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 99;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
}

.modal img,
.modal video {
    width: auto;
    max-width: 80%;
    height: auto;
    max-height: 98%;
}

.loading {
    width: 100px;
    height: 100px;
    line-height: 100px;
    border-radius: 10px;
}

#unend {
    float: right;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 12px;
    border: 1px solid #dcdfe6;
}

#endch {
    float: right;
    padding: 5px 10px;
    background: #F56C6C;
    color: #fff;
    border-radius: 10px;
    margin-right: 10px;
    font-size: 12px;
}

#endchat>div {
    width: 80%;
    border-radius: 10px;
    padding: 10px;
    background-color: #fff;
}

#endchat>div>div:first-child {
    font-size: 15px;
    position: relative;
}

#endchat>div>div:first-child>img {
    width: 16px;
    position: absolute;
    right: 0px;
}

#endchat>div>div:nth-child(2) {
    line-height: 60px;
}


/*上传加载*/

.mess_load {
    position: absolute;
    top: 0px;
    background: rgba(0, 0, 0, 0.2);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mess_load>img {
    width: 30px;
}


/*地址卡片*/

.chat_add {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    box-sizing: border-box;
    float: left;
}

.chat_add_head {
    font-size: 14px;
    font-weight: 600;
}

.chat_add_box {
    font-size: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
    float: left;
}

.chat_add_box>img {
    width: 30%;
    float: left;
}

.chat_add_box>div {
    width: 70%;
    float: left;
    padding-left: 5px;
    box-sizing: border-box;
}

.clear {
    clear: both;
}

.chat_add_u {
    margin-bottom: 5px;
    font-size: 12px;
}

.chat_add_btn {
    width: 65px;
    height: 25px;
    border-radius: 20px;
    float: right;
    margin-right: 10px;
    outline: none;
}

.btn_bg1 {
    border: 1px solid #ccc;
}

.btn_bg2 {
    background-color: #2a91fc;
    color: #fff;
}

.chat_add_box div.ell1 {
    margin-bottom: 2px;
    padding-top: 6px;
}


/*地址选择*/

.chat_addList {
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 999;
    width: 100%;
    height: 100%;
}

.chat_addList>div {
    width: 100%;
    background: #fff;
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 10px 10px 0 0;
}

.chat_address {
    width: 90%;
    margin: 0 0 0 10%;
    box-sizing: border-box;
}

.chat_address>div {
    display: flex;
    display: -webkit-flex;
    align-items: center;
    flex-direction: row;
}

.chat_address>div>div.addimg>img {
    width: 20px;
    height: 20px;
}

.chat_item {
    width: 90%;
    margin-left: 10px;
    border-bottom: 1px solid #ddd;
    padding: 10px 20px 10px 8px;
}

.chat_item>div {
    display: flex;
    display: -webkit-flex;
    justify-content: space-between;
    font-size: 12px;
}

.chat_item>div:first-child {
    font-size: 14px;
    margin-bottom: 5px;
}

.chat_addressHeader {
    font-size: 16px;
    text-align: center;
    height: 50px;
    line-height: 50px;
    border-bottom: 1px solid #ddd;
    position: relative;
}

.chat_addressHeader>img {
    width: 18px;
    height: 18px;
    position: absolute;
    top: 16px;
    right: 15px;
}

.address_btn {
    outline: none;
    background-color: #2698d6;
    width: 100%;
    height: 45px;
    color: #fff;
    font-size: 16px;
    margin-top: 30px;
}

.chat_ads {
    max-height: 300px;
    overflow: scroll;
    border-bottom: 1px solid #ddd;
}

.chat_ads>div:last-child .chat_item {
    border: none;
}
