﻿*,*:after,*:before {-webkit-box-sizing: border-box;-moz-box-sizing: border-box;	box-sizing: border-box;}
.floatser{width:140px;height:170px;background:#313131; position: fixed;right:10px;top:50%;margin-top:-85px; z-index: 9999;}
.floatser li{min-height:44px; position: relative;}
.floatser li.online{border-bottom:1px solid #393939;}
.floatser li a{display:block;width:120px;margin-left:10px;margin-right:10px; background: url(../images/droparr.png) no-repeat right center;line-height:43px;}
.floatser li span{display:block;padding-left:25px;font-size:15px;color:#fff; line-height: 43px; }
.floatser li a.icon-box span{background: url( ../images/ico_serphone.png) no-repeat left center;}
.floatser li.sertel {height:82px;}
.floatser li.sertel span{background: url(../images/ico_tel.png) no-repeat 3px center;margin-left:10px;}
.floatser li.sertel p{height:38px;font-size:22px; font-family:Arial;color:#fff;text-align:center;width:150px;background:#6cbd13;-ms-border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px; position: absolute;top:44px;left:-5px; line-height: 38px;}
.floatser li.flserwx span{background: url(../images/ico_wx.png) no-repeat left center;}
.floatser li.flserwx p{background:#6cbd13;-ms-border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px; position: absolute;top:44px;left:-5px;color:#fff;text-align:center;padding:15px;font-size:12px;width:150px;display:none;}
.floatser li.flserwx p img{width:120px;height:120px;display:block;margin-top:10px;}
.floatser li p strong.close{display:block;width:20px;height:20px;font-size:16px;line-height:20px;text-align:center; color:#fff; position: absolute;right:0px;top:0px; z-index: 9;cursor:pointer;}
.floatser li.sertel p strong.close{display:none;}
.floatser.pagein{width:44px;height:132px;margin-top:-66px;right:0px;}
.floatser.pagein a{width:44px;margin-left:0px;margin-right:0px;background:none;}
.floatser.pagein li{border-bottom:1px solid #393939;}
.floatser.pagein li span{font-size:0; text-indent:-999px;padding:0;margin:0;  background-position:center center;}
.floatser.pagein li.sertel{height:44px;}
.floatser.pagein li.sertel p{display:none;right:44px;left:auto;top:0;height:44px;-ms-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;-webkit-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px; line-height:44px;}
.floatser.pagein li a.icon-box span{ background-position:center center;}
.floatser.pagein li.flserwx p{right:44px;left:auto;top:0;}
.floatser.pagein li.sertel p strong.close{display:block;}
.floatser.pagein li:hover{background:#6cbd13;}

.iconfont.close{ position:absolute;right:10px;top:10px;display:block;width:24px;height:24px;color:#F00;text-align:center;overflow:hidden; z-index:2;cursor:pointer; background:url(../images/chatclose.png) no-repeat;}

.chatbar {
    position: fixed;top:140px;
    right: 0;
    bottom: 0;
    display: none;
    width: 300px;
    background: #fff;
    -webkit-box-shadow: -3px 0 3px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: -3px 0 3px rgba(0, 0, 0, 0.1);
    box-shadow: -3px 0 3px rgba(0, 0, 0, 0.1);
	z-index:999;
	border:1px solid #eee;
}

.chatbar-box {
    position: relative;
    height: 100%;
}

.chatbar-contacts {
	position: absolute;
	top: 0;
    width: 100%;
	bottom: 0;
    background: #fff;
	
}

.chatbar-messages {
    position: absolute;
    top: 0;
    width: 100%;
    bottom: 0;
    background: #f3f3f3;
    transition: all 0.5s;
	z-index:99;
	display:none;
}



.contacts-search-box {
	position: relative;
    border-bottom: 1px solid #ccc;
}

.contacts-search-box .search-text {
    width: 100%;
    height: 40px;
    color: #999;
    line-height: 40px;
    padding-left: 48px;
    box-sizing: border-box;
    border: none;
    outline: none;
}
.contacts-search-box i{
	position: absolute;
	left: 20px;
	top: 0px;
	color: #6CBD13;
	font-size: 14px;
	font-weight: bold; background:url(../images/ico_ser.png) no-repeat left center;height:100%;width:24px;
}

.chatbar-contacts-uls{
	position: absolute;
	width: 100%:;
	top: 41px;
	left: 0;
	right: 0;
	bottom: 0;
	overflow: auto;
}
.chatbar-contacts-uls li{
	height: 60px;
	padding:10px;
	position: relative;
	cursor: pointer;
}

.chatbar-contacts-uls li:hover{
	background: #f3f3f3;
}
.messages-title i,.chatbar-contacts-uls li i{
	position: absolute;
	top: 50%;
	left: 20px;
	margin-top: -12px;
	color: #6CBD13;
	font-size: 24px;
	height:24px;
	width:24px;
	line-height:1.0;
	display:inline-block;
	border-radius:50%;
}
.chatbar-contacts-uls li i span{display:block;width:20px;height:20px;background:#F00;border-radius:50%;line-height:20px;text-align:center;color:#fff;font-size:12px; position:absolute;top:-8px;right:-8px;}
.messages-title i img,.chatbar-contacts-uls li i img{width:24px;height:24px;}
.chatbar-contacts-uls li p{
	height: 100%;
	line-height: 40px;
	padding-left: 60px;
}
.messages-title {
	position: relative;
    height: 80px;
    background: #f3f3f3;
    padding: 10px 20px;
    border-bottom: 1px solid #e2e2e2;
}
.messages-title i:nth-child(1){
	position: absolute;
	top: 50%;
	left: 20px;
	margin-top: -14px;
	font-size: 28px;
	color: #6CBD13;
}
.messages-title h4{
	width: 100%;
	height: 100%;
	line-height: 60px;
	padding-left: 56px;
	overflow:hidden;
}
.messages-text-lis{
	padding: 10px 15px;width:100%;overflow:hidden;
}

.messages-text-lis h4{overflow:Hidden;height:12px;}
.messages-text-lis h4 .liclose{float:right;cursor:pointer;display:inline-block;}
.messages-text-lis {clear:both;}
.messages-text-lis .cface{width:30px;height:30px;border-radius:50%;overflow:Hidden;margin-right:-30px; position:relative; z-index:2;}
.messages-text-lis .cface img{width:30px;height:30px;}
.messages-text-lis .cface.left{margin-right:-30px;margin-left:0;}
.messages-text-lis .cface.right{margin-left:-30px;margin-right:0;}
.messages-text-lis .ctxt{width:100%; position:relative; z-index:1;}
.messages-text-lis .ctxt.left{padding-right:0;}
.messages-text-lis .ctxt.right{ text-align:right;padding-left:0;}
.messages-text-lis .chatcont{position: relative;width:100%;border-radius: 2px; background-color: #fff; color: #333; padding: 10px;  font-size: 12px; line-height: 1.8;border:1px solid #ddd;margin-top:15px; word-break:break-all; text-align:left;}
.messages-text-lis .ctxt.left i.out{width: 0px;height: 0px;display: block;border-style: dashed dashed solid dashed;border-color:transparent transparent #ddd transparent;border-width:9px; position:absolute;left:10px;top:-18px; z-index:1;overflow:hidden;content: '';}
.messages-text-lis .ctxt.left i.inn{width: 0px;height: 0px;display: block;border-style: dashed dashed solid dashed;border-color:transparent transparent #fff transparent;border-width:9px; position:absolute;left:10px;top:-17px; z-index:5;overflow:hidden;content: '';}
.messages-text-lis .ctxt.right i.out{width: 0px;height: 0px;display: block;border-style: dashed dashed solid dashed;border-color:transparent transparent #ddd transparent;border-width:9px; position:absolute;left:auto;right:10px;top:-18px; z-index:1;overflow:hidden;content: '';;}
.messages-text-lis .ctxt.right i.inn{width: 0px;height: 0px;display: block;border-style: dashed dashed solid dashed;border-color:transparent transparent #fff transparent;border-width:9px; position:absolute;left:auto;right:10px;top:-17px; z-index:5;overflow:hidden;content: '';}
.messages-text-lis .chatcont td:first-child{padding-right:10px;}
.messages-title i.return-icon{
	position: absolute;
	right: 20px;
	left:auto;
	top: 20px;
	font-size: 24px;
	height:24px;
	line-height:1.0;
	display:inline-block;
	cursor: pointer;
	background:url(../images/chatback.png) no-repeat;
}
.messages-text {
	position: absolute;
	top: 81px;
	left: 0;
	right: 0;
	bottom: 174px;
	width: 100%;
	background: #fafafa;
	border-bottom: 1px solid #ccc;
	overflow-y: auto;overflow-x:hidden;
}
.messages-box {
	position: absolute;
	bottom: 60px;
	left: 5%;
	width: 90%;
	height: 80px;
	border: 1px solid #ccc;
	background: #fafafa;
	text-align: center;
}
.messages-pic{position: absolute;
	bottom: 140px;
	left: 5%;
	width: 90%;height:24px;}
.messages-pic a.messup{display:block;height:24px; position:relative; line-height:24px;overflow:hidden;}
.messages-pic a.messup input{width:100%;height:24px; position:absolute;left:0;top:0; opacity:0; z-index:9;}
.messages-pic a.messup span{display:inline-block;font-size:24px;text-align:center;color:#6CBD13; vertical-align:middle;float:left;}
.messages-box textarea{
	height: 100%;
	width: 100%;
	border: 1px solid #ddd;
	padding: 5px;
}
.messages-box input{
	display: inline-block;
	width: 100px;
	height: 32px;
	line-height: 32px;
	color: #fff;
	border: none;
	outline: none;
	margin-top: 10px;
	border-radius: 5px;
	background: #6CBD13;
}

.messages-text-lis .time{
	font-size: 12px;
	color: #999;
	margin-left: 15px;
}
.messages-text-lis p{
	
}


.message-tooltip{
	position: fixed;
	bottom: 55px;
	right: 75px;
	width: 150px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	font-size: 14px;
	color: #d8534f;
	background: #fae5e5;
	border: 1px solid #d8534f;
	border-radius: 5px;
	padding: 0 5px;
}
.message-tooltip:before{
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-left: 1px solid #d8534f;
    border-bottom: 1px solid #d8534f;
    transform: rotate(-45deg);
    background: #fae5e5;
    bottom: -6px;
    left: 50%;
    margin-left: -5px;
}

