*{font-weight: 300}
.chat-container{
    padding: 0;
    width: 100%;
    height: 100%;
    position: absolute;
}
.chat-system{
    padding: 8px 15px;
    background-color: #e2e2e2;
    border-radius: 3px;
    color: #333;
    word-break: break-all;
    font-size: 13px;
    cursor: pointer;
}
.chat-container .chat-header,.chat-container .chat-body{
    position: absolute;
    left: 0;
    right: 0;
    width: 100%
}
.chat-container .chat-header{
    height: 60px;
    background: #1E9FFF;
}
.chat-header .chat-header-avatar{
    height: 100%;
}
.chat-header .chat-header-avatar .agent-avatar{
    position: absolute;
    top: 10px;
    left: 10px;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    box-shadow: 0 3px 3px 0 rgba(0,0,0,.1);
}
.chat-header .chat-header-title{
    height: 100%;
    line-height: 60px;
    text-align: left;
    color: #fff;
}
.chat-header .chat-header-tool{
    height: 100%;
    line-height: 60px;
    color: #eee;
    text-align: center;
    cursor: pointer;
}
.chat-container .chat-body{
    top: 60px;
    bottom: 130px;
    background-color: #fcfcfc;
}
.chat-container .chat-body .chat-box{
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 99%;
    overflow-x: hidden;
    overflow-y: auto;
    word-wrap: break-word;
}
.chat-container .chat-footer{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 45px;
    background-color: #fff;
    box-shadow: 0 -1px 0 0 rgba(0,0,0,.04), 0 -2px 0 0 rgba(0,0,0,.01);
    border-bottom: 1px solid #e2e2e2;
}
.clearfloat {
    zoom: 1;
    margin: 10px 10px;
}
.author-name {
    text-align: center;
    margin: 15px 0 5px 0;
    color: #888;
}
.small-chat-box .chat-date {
    opacity: .6;
    font-size: 10px;
    font-weight: 400;
}
.clearfloat .left .chat-avatars {
    margin-right: 10px;
}

.clearfloat .chat-avatars {
    display: inline-block;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #eee;
    vertical-align: top;
    overflow: hidden;
}
.clearfloat .chat-avatars>img {
    width: 35px;
    height: 35px;
}
img {
    display: inline-block;
    border: none;
    vertical-align: middle;
}
.clearfloat .chat-message {
    max-width: 78vw;
    padding: 8px 12px;
    border-radius: 6px;
    word-wrap: break-word;
    display: inline-block;
    position: relative;
}
.clearfloat .left .chat-message {
    background: #e9f0ef;
    min-height: 14px;
}
.clearfloat .left .chat-message:before {
    border-right: 10px solid #e9f0ef;
}
.clearfloat .left .chat-message:before {
    position: absolute;
    content: "";
    top: 8px;
    left: -6px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}
.clearfloat .right {
    text-align: right;
}
.clearfloat .right {
    float: right;
}
.clearfloat .right .chat-message {
    background: #01AAED;
    color: #fff;
    text-align: left;
    min-height: 14px;
    margin-right: 12px;
}
.clearfloat .right .chat-message:before {
    position: absolute;
    content: "";
    top: 6px;
    right: -6px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid #01AAED;
}
.chat-footer .text-holder {
    height: 90px;
}
.chat-footer .send-bar #textarea {
    border: 0;
    background: #f0f1f2;
    width: calc(100% - 50px);
    padding-bottom:0;
    margin-left: 50px;
    line-height: 32px;
    padding-left: 10px;
    height: 32px;
    display: block;
    /*width: 92%;*/
    /*height: 75px;*/
    /*padding: 8px 10px;*/
    overflow-x: hidden;
    overflow-y: auto;
    resize: none;
    outline: 0;
    /*background-color: #fff;*/
    word-break: break-all;
    font-size: 14px;
    /*line-height: 17px;*/
    -webkit-appearance: none;
}
.chat-footer .send-bar{
    height: 40px;
    margin-top: 6px;
}
.chat-footer .send-bar div{
    float: left;
}
.chat-footer .send-bar .tool-box{
    height: 100%;
    width: calc(100% - 65px);
    line-height: 40px;
    text-align: left;
    position: relative;
    /*left: 10px;*/
}
.chat-footer .send-bar .tool-box i{
    margin-left: 10px;
    font-size: 20px;
    color: #c2c2c2;
    cursor: pointer;
}
.chat-footer .send-bar .send-btn-div{
     height: 100%;
     width: 5px;
	 padding-left: 8px;
}
.chat-footer .send-bar .send-btn-div .send-input{
    border-radius: 3px;
    height: 34px;
    padding: 0 10px;
    border: 0;
    background-color: #5FB878;
    color: #fff;
}
.chat-footer .send-bar .send-btn-div #sendBtn.active {
    background-color: #1E9FFF;
    color: #fff;
}
body .layui-xiaotian-face{
    border: none;
    background: none;
}
body .layui-xiaotian-face  .layui-layer-content{
    padding:0;
    background-color:#fff;
    color:#666;
    box-shadow:none
}
.layui-xiaotian-face .layui-layer-TipsG{
    display:none;
}
.layui-xiaotian-face ul{
    position:relative;
    width:372px;
    padding:10px;
    border:1px solid #D9D9D9;
    background-color:#fff;
    box-shadow: 0 0 20px rgba(0,0,0,.2);
}
.layui-xiaotian-face ul li{
    cursor: pointer;
    float: left;
    border: 1px solid #e8e8e8;
    height: 22px;
    width: 26px;
    overflow: hidden;
    margin: -1px 0 0 -1px;
    padding: 4px 2px;
    text-align: center;
}
.layui-xiaotian-face ul li:hover{
    position: relative;
    z-index: 2;
    border: 1px solid #eb7350;
    background: #fff9ec;
}
.layui-unselect .close{
    position: relative;
    top: -24px;
    left: 36px;
    color:#2F4056
}
.chat-box .no-read{
    color:#FF5722;
    font-size:12px;
    top:35px;
    left:-16px;
    position: relative;
}

.chat-box .already-read{
    color:#c2c2c2;
    font-size:12px;
    top:35px;
    left:-16px;
    position: relative;
}

.staff-service {
    font-size: 12px;
    padding: 3px 10px 3px 10px;
    margin-left: 10px;
    cursor: pointer;
    margin-top: -5px;
    top: -3px;
    position: relative;
    color: #fff;
    background: #1E9FFF;
    border-radius: 1px;
}

.right .chat-message a{
    color: #FF5722!important;
}

.chat-back{
    top: 18px;
    position: absolute;
    color: #fff;
    left: 10px;
    height: 40px;
    width: 40px;
}

.wrap {
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2;
  width: 100%;
  height: 100%;
  display: none;
}
.address{
    position: fixed;
bottom: 0;
width: 100%;
z-index: 101;
}
.address_header{
    line-height: 20px;
padding: 10px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
background: #fff;
text-align: center;
}
.address_content{
  padding: 10px;
  font-size: 14px;
  background: #fff;
  border-top: 1px solid #F9F9F9;
  text-align: center;
}
.address_submit{
  background-color: #4CAF50;
  height: 45px;
  line-height: 45px;
  text-align: center;
  display: block;
  width: 100%;
  color: white;
  font-size: 16px;
  border: 0;
  border-top: 1px solid #F0F0F0;
}

.STY_POP {
    position: absolute ;
    z-index: 9999999;
    display: none;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.1);
    left: -80px !important;
    top: 34px;
}

.STY_POP.STY_POP_UP {
    top: auto;
    bottom: 60px;
}

.STY_POP ul {
    border: 1px solid #e6e6e6;
}

.STY_POP ul {
    background-color: #fff;
    height: 237px;
    padding: 5px 0;
    float: left;
    margin-left: -1px;
    overflow : auto;
}

.STY_POP ul:first-child {
    margin-left: 0
}

.STY_POP ul li {
    padding: 5px 30px 5px 20px;
    position: relative;
    cursor: pointer
}

.STY_POP ul li.child-row:after {
    font-family: 'layui-icon'!important;
    content: "\e602";
    color: #e6e6e6;
    position: absolute;
    top: 5px;
    right: 10px
}

.STY_POP ul li:hover {
    background-color: #f8f8f8
}

.STY_POP ul li.active {
    color: red
}
