/*右下角底部即时通讯*/

#IMBox{
	position: fixed;
	right: 0;
	bottom: 0;
	z-index: 1000;
	display: none;
}
#IM_btn_show {
	background: #FFFFFF;
	box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.40);
	width: 250px;
	height: 50px;
	padding: 10px 20px;
	box-sizing: border-box;
	cursor: pointer;
	overflow: hidden;
}

.im_icon {
	float: left;
	width: 28px;
	height: 28px;
	background: url(../images/im_icon_message.png) no-repeat center center;
	background-size: 100%;
}

.im_info {
	font-size: 14px;
	color: #2C3E4D;
	float: left;
	padding: 5px 10px;
}

.im_num {
	display: inline-block;
	background: #FF5858;
	border-radius: 9px;
	min-width: 22px;
	height: 18px;
	line-height: 18px;
	text-align: center;
	color: #fff;
	margin-top: 2px;
	margin-left: 10px;
	font-size: 12px;
}
#IM_content{
	display: none;
	overflow: hidden;
	background: #FFFFFF;
box-shadow: 0 2px 6px 0 rgba(0,0,0,0.40);
}
#friendslist{
	float: left;
	width: 200px;
	height: 450px;
	box-sizing: border-box;
	border-right: 1px solid #E9E9E9;
	overflow-y: auto;
}
.friend_cell{
	padding: 7px 10px;
	height: 54px;
	overflow: hidden;
	cursor: pointer;
}
.friend_cell.current_chat{
	background: #EEEEEE;
}

.friend_picWrap{
	float: left;
	position: relative;
	width: 50px;
	margin-right: 10px;
}
.friend_pic{
	width: 40px;
	height: 40px;
	border-radius: 50%;
	overflow: hidden;
}
.friend_pic img{
	width: 100%;
	height: 100%;
}
.friend_msg_mum{
	position: absolute;
	right: 0;
	top: 0;
	width: 15px;
	height: 15px;
	line-height: 15px;
	text-align: center;
	color: #fff;
	background: #FF5858;
	border-radius: 50%;
	font-size: 12px;
	display: none;;
}
.friend_name{
	float: left;
	font-size: 14px;
	color: #2C3E4D;
	width: 100px;
	height: 40px;
	line-height: 40px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin:0;
}
#chatviewWrap{
	float: left;
	width: 450px;
	height: 450px;
}
.chatviewTab{
	display: none;
}
.chatviewTab.current_chat_tab{
	display: block;
}
.chat_profile{
	padding: 15px;
	border-bottom: 1px solid #E9E9E9;
}
.chat_name{
	font-size: 14px;
color: #2C3E4D;
display: inline-block;
}
.chat_btn_close{
float: right;
cursor: pointer;	
}
.chat_messages{
	padding-top: 10px;
	height: 275px;
	overflow-y: auto;
}
.message_item{
	padding-bottom: 10px;
	overflow: hidden;
}
.message_time{
	padding-bottom: 5px;
	font-size: 12px;
}
.message_item .friend_pic{
	float: left;
	margin: 0 10px;
}
.message_bubble{
	float: left;
	position: relative;
}
.message_bubble{
	 max-width: calc(100% - 120px);
}
.message_content{
    position: relative;
    min-height: 30px;
    border-radius: 4px;
    padding: 6px;
    box-sizing: border-box;
    min-width: 60%;	
}
.message_content pre {
    white-space: pre-wrap;
    word-break: break-all;
    color: #1a1a1a;
    font-size: 14px;
    line-height: 20px;
    margin: 0;
}
.message_left .message_corner i{
	color: #f1f2ec;
}
.message_left .message_content{
	background-color: #f1f2ec;
}
.message_left .message_deliver{
	display: none;
}
.message_right .message_content{
	background-color: #b4e4fc;
}
.message_right .message_corner i{
	color: #b4e4fc;
}
.message_right .friend_pic{
	float: right;
}
.message_right .message_bubble{
	float: right;
}
.message_right .message_time{
	text-align: right;
}
.message_right .message_content{
	float: right;
}
.message_right .message_deliver{
	float: right;
	margin: 0 2px 0 0;
	font-size: 14px;
}

.message_corner{
	position: absolute;
	top: 4px;
}
.message_corner i{
	font-size: 12px;
	    width: 40px;
    height: 40px;
    font-family: 'webim' !important;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;
}
.message_left .message_corner{
	left:-6px;
	
}
.message_right .message_corner{
	right: -6px;
}
.sendmessage{
	border-top:1px solid #E9E9E9;
	padding:0 10px;
	height: 90px;
	line-height: 50px;
	font-size: 14px;
}
.send_btn{
	display: inline-block;
	text-align: right;
	padding: 4px 8px;
	background:#1A92ED;
	border: none;
	color: #fff;
}
.message_textarea{
	text-align: justify;
	resize: none;
	overflow-y: auto;
	padding: 4px 0;
	height: 90px;
	line-height: 150%;
	display: block;
	width: 100%;
	border: none;
	font-size: 14px;
}
.webim-chatwindow-options{
	width: 100%;
	height: 30px;
	line-height: 30px;
	border-top:1px solid #E9E9E9;
	padding:0px 10px;
}
.webim-chatwindow-options li{
	float: left;
    	margin: 0px 6px;
	cursor: pointer;
	height: 31px;
   	line-height: 31px;
}
.emoji{
	position: relative;
}
#emoji{
	position: absolute;
	border: 1px solid #E9E9E9;
	width: 310px;
    	height: 155px;
	bottom: 30px;
	padding: 5px;
	display: none;
	background-color: #fff;
}
.message_content img{
	max-width: 100%;
}
/*聊天室样式wp*/
.friend_cell{ height: auto; }
.message_right .message_body{background: #69BBFF; font-family: 'PingFangSC-Regular;';font-size: 14px;color: #FFFFFF; border-radius:10px; padding: 10px ; /*position: absolute;  right: 0;*/ margin-right: 8px; display:inline-block; float: right; position: relative; }
.message_right .message_body:after{ content: ''; display: inline-block; width: 8px; height: 9px;position: absolute; right: -8px; top: 10px;  background: url(../images/Rectangle.png) no-repeat center;}
.message_item .friend_pic{ margin-top: 10px;  }

.message_left .message_content{ background: none ;  min-height: 26px; padding: 0;}
.message_left .message_body{border: 1px #C6CCD6 solid; font-family: 'PingFangSC-Regular;';font-size: 14px;color: #2C3E4D; border-radius:10px; padding: 8px 8px 0 8px; /*position: absolute;  left:0;*/ margin-left: 8px; display:inline-block;  position: relative;}
.message_left .message_body:after{ content: ''; display: inline-block; width: 8px; height: 9px;position: absolute; left: -8px; top: 10px;  background: url(../images/Rectangle2.png) no-repeat center;}
.message_content pre{font-family: 'PingFangSC-Regular;';font-size: 14px;color: #2C3E4D;border: 0;background: none;padding: 0; }
.message_left .message_corner{ display: none; padding: 0; min-height: auto; }
.message_right .message_bubble .message_body{ text-align: right; }
.message_left .message_bubble .message_body{ text-align: right; }
.message_bubble{ width: 100% }
.message_right .message_time,.message_left .message_time{text-align: center; margin:10px 0; }
.message_item{ padding: 0 0 30px 0;}
.message_body_left{
	float: left;
}