body {margin: 0;
    font-family: "Microsoft YaHei", sans-serif;
    color: #4d5259;
    line-height: 1.5;
    font-size: 14px;
    overflow-x: hidden;
    background-color: #F4F5FA;
}
*, ::after, ::before {box-sizing: border-box;}
html,body{height: 100%;}
p {margin: 0px;}
a {text-decoration: none;}
html {
    font-family: sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}
@media (min-width:450px) {
.scm_msg{padding:10px;width: 350px;}
}
@media (max-width:450px) {
.scm_msg{padding:10px;width:100%;}
}
@media (min-width:950px) {
.scm_A{position: relative;max-width: 950px;height:600px;top: 50px;margin:0 auto;border-radius: 12px;border: 0px;background-color: #fff;box-shadow: 0 0 3px 3px rgb(23 94 103 / 15%);
}
.scm_A1{height: 40px;border-top-left-radius:12px;border-top-right-radius:12px;}
}
@media (max-width:950px) {
.scm_A{width: 100%;height:100%;background-color: #fff;}
.scm_A1{height: 40px;}
}
.scm_A1 .scm_s{padding-left: 10px;color: #fff;line-height: 40px;float: left;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
.scm_A1 .ss1{width: calc(100% - 130px);}
.scm_A1 .ss2{width: calc(100% - 85px);}
.scm_yuan {border-radius: 100%;}
.scm_kft{margin-left: 5px;margin-top:5px;width: 30px;height: 30px;float: left;}
.scmskk{position: relative;width: 100%;height: calc(100% - 171px);}
.scm_A2A{position: relative;width: 100%;height: calc(100% - 90px);}
.scm_A2B{position: relative;width: 100%;height: calc(100% - 130px);}
.scm_A3{border-top: 1px solid #e6eaee;}
@media (min-width:950px) {#scm_syA,#scm_syB,#scm_zxh,#scmdd,#scm_lyx{margin-right:20px;}}
@media (max-width:950px) {#scm_syA,#scm_syB,#scm_zxh,#scmdd,#scm_lyx{margin-right:5px;}}
#scm_syA,#scm_syB,#scm_zxh,#scmdd,#scm_lyx{margin-top: 8px;width: 25px;height: 25px;float: right;cursor: pointer;}
#scm_zxh{background:url(img/t1.png) no-repeat;background-size: 100% 100%; }
#scmdd{background:url(img/t2.png) no-repeat;background-size: 100% 100%; }
#scm_syA{background:url(img/y1.png) no-repeat;background-size: 100% 100%; }
#scm_syB{background:url(img/y2.png) no-repeat;background-size: 100% 100%; }
.emoj-box{background:url(img/b1.png) no-repeat;background-size: 100% 100%; }
#image{background:url(img/b2.png) no-repeat;background-size: 100% 100%; }
#video{background:url(img/b3.png) no-repeat;background-size: 100% 100%; }
#file{background:url(img/b4.png) no-repeat;background-size: 100% 100%; }
#scm_lyx{background:url(img/x.png) no-repeat;background-size: 100% 100%; }
.voice-open{background:url(img/b5.png) no-repeat;background-size: 100% 100%; }
#voice-closeA{background:url(img/b6.png) no-repeat;background-size: 100% 100%; }
#scm_ppp{background:url(img/b10.png) no-repeat;background-size: 100% 100%; }
.scm_sf {background-color: #1E9FFF !important;}
.scm_kk{background:url(img/k1.svg) no-repeat;background-size: 100% 100%; margin-top: 7px;margin-right:4px;width: 18px;height: 18px;float: right;cursor: pointer;}
.scm_sf .scm_kk{background:url(img/k2.svg) no-repeat;background-size: 100% 100%;}
.scm_bbbaa{background:url(img/b7.png) no-repeat;background-size: 100% 100%;}
/*评价*/
.star{margin-left:5px;width: 25px;height: 25px;cursor: pointer;float: left;}
.star{background:url(img/pja.png) no-repeat;background-size: 100% 100%;}
.star.active{background:url(img/pjb.png) no-repeat;background-size: 100% 100%;}
.scm_msg span{margin-top:10px;margin-bottom:10px;}
/*表情*/
#scmbbqq {
    line-height: 22px;
    width: 300px;
    background-color: #fff;
    padding: 10px;
    -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.075);
    -khtml-box-shadow: 0 0 4px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.075);
    -ms-box-shadow: 0 0 4px rgba(0, 0, 0, 0.075);
    -o-box-shadow: 0 0 4px rgba(0, 0, 0, 0.075);
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.075);
}
#scmbbqq img {border: 1px solid #fff; width: 30px;}
#scmbbqq img:hover {border-color: #1565c0;cursor: pointer;}
.chat-system{
    padding: 8px 15px;
    background-color: #e2e2e2;
    border-radius: 3px;
    color: #333;
    word-break: break-all;
    font-size: 13px;
    cursor: pointer;
}
.agent-avatar{
    
    top: 6px;
    left: 10px;
    width: 30px;
    height: 30px;
    border-radius: 20px;
    box-shadow: 0 3px 3px 0 rgba(0,0,0,.1);
}
.chat-header-title{
    height: 100%;
    text-align: left;
    color: #fff;
}
.chat-header-tool{
    height: 100%;
    line-height: 60px;
    color: #eee;
    text-align: center;
    cursor: pointer;
}
/*222*/
#scm_chat_hh{
    position: absolute;
    right: 0;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    word-wrap: break-word; background-color: #fcfcfc;
}
@media (min-width:950px) {.scmyj{border-bottom-left-radius: 12px;border-bottom-right-radius: 12px;}}
.chat-footer{
  bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 130px;
    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: 8px;
}

.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: 70%;
    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 .chat-message {
    max-width: 70%;
    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 .text-holder #textarea {
    display: block;
    width: 100%;
    height: 90px;
    padding: 8px 10px;
    overflow-x: hidden;
    overflow-y: auto;
    resize: none;
    outline: 0;
    background-color: #fff;
    border: 0;
    word-break: break-all;
    font-size: 13px;
    line-height: 17px;
    -webkit-appearance: none;
}
.chat-footer .send-bar{
    height: 40px;
}
.chat-footer .send-bar div{
    float: left;
}
@media (min-width:500px){.chat-footer .send-bar .tool-box{left: 10px;}}
@media (max-width:500px){.chat-footer .send-bar .tool-box{left: 0px;}}

.chat-footer .send-bar .tool-box{height: 100%;width: calc(100% - 155px);line-height: 40px;text-align: left;position: relative;}
.chat-footer .send-bar .tool-box i{margin-top: 10px;margin-left: 12px;width: 20px;height: 20px;float: left;cursor: pointer;}
@media (min-width:950px) {
.chat-footer .send-bar .send-btn-div{
  height: 100%;width: 125px;float:right;margin-right: 30px;
}
}
@media (max-width: 950px) {
.chat-footer .send-bar .send-btn-div{
  height: 100%;width: 125px;float:right;
}
}
.chat-footer .send-bar .send-btn-div .send-input{
    display: block;
    padding: 0;
    margin-top: 4px;
    margin-right: 10px;
    width: 100px;
    height: 30px;
    font-size: 13px;
    border: 0;
    outline: none;
    background-color: #F0F1F3;
    border-radius: 3px;
    color: #666666;
    cursor: pointer;
    text-align: center;
}
.chat-footer .send-bar .send-btn-div #sendBtn.active {
    background-color: #1E9FFF;
    color: #fff;
}


.no-read{
    color:#FF5722;
    font-size:12px;
    top:5px;
    left:-5px;
    position: relative;
}

.already-read{
    color:#c2c2c2;
    font-size:12px;
    top:5px;
    left:-5px;
    position: relative;
}

.zzz_rg {background-color: #1E9FFF;color: #fff;line-height: 40px;
    margin-left: 12px;font-size: 12px;padding: 2px 8px; text-align: center;white-space: nowrap;-webkit-border-radius: 5px;border-radius: 5px; }

.right .chat-message a{
    color: #fff;
}

.left .chat-message a{
    color: #1e9fff;
}
.chat-back{
    top: 18px;
    color: #fff;
    left: 10px;
    height: 40px;
    width: 40px;
}
.chat-set {
    position: relative;
    background:#F0F1F3;
    padding: 0;
    margin-left: 98px;
    top: -30px;
    height: 30px;
    display: block;
    width: 25px;
    border-radius: 0 3px 3px 0;
    border-left: 1px solid #fff;
    text-align: center;
    line-height: 30px;
    cursor: pointer;
}
.chat-set-menu {
    display: none;
    width: 110px;
    position: relative;
    top: -140px;
    right: 5px;
    border: 1px solid #E2E2E2;
    border-radius: 2px;
    background-color: #fff;
    box-shadow: 1px 1px 20px rgba(0,0,0,.1);
    cursor: pointer;
    padding: 5px 3px 5px 0px;
}
.chat-set-menu li {
    padding-left: 32px;
    padding-top: 5px;
    padding-bottom: 5px;
    position: relative;
   list-style-type:none;
}
.chat-set-menu li:hover {
    background: #f7f7f7;
}
.chat-set-menu .show-this i {
    display: block;
}
.chat-set-menu li i {display: none;position: absolute;left: 8px;top: 8px;
background:url(img/b9.png) no-repeat;background-size: 100% 100%; width: 14px;height: 14px;}
.scm_btn{display: inline-block; max-width: 80%;margin-top:2px;margin-bottom: 5px;font-size: 12px;padding: 6px 14px;letter-spacing: 1.5px;border-radius: 6px;cursor: pointer;
color: #4d5259 !important;
    background-color: #e4e7ea;
    border-color: #e4e7ea;  
}
.text-center {text-align: center!important;}
.btn {font-size: 12px;max-width: 80%;padding: 6px 14px;letter-spacing: 1.5px;border-radius: 6px;background-color: #01AAED;border-color: #01AAED;color: #fff !important;border: 1px solid transparent;
margin-right: 5px;margin-bottom: 10px;}
#scm_pjqd{float:right;}

/**Loading*/
.spinner-border {border-width: .125em;}
.text-info {color: #48b0f7 !important;}
.spinner-border {
display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: .25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: spinner-border .75s linear infinite;
    animation: spinner-border .75s linear infinite;
}
.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center}@-webkit-keyframes spinner-border{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-border{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}
.bg-danger {background-color: #f96868 !important;color: #fff!important;}
.form-group {margin-bottom: 1rem;}label {display: inline-block;margin-bottom: .5rem;}
/**留言*/
.scm_form {padding-right: 36px;}
.btn-default {background-color: #fcfdfe;border-color: #ebebeb;color: #8b95a5!important;cursor: pointer;}
.form-control{
    line-height: 1.72;
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    height: calc(1.5em + .75rem + 2px);
    font-weight: 400;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    color: #8b95a5;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
button, input, optgroup, select, textarea {margin: 0;font-family: inherit;font-size: inherit;line-height: inherit;}
.form-control:focus{color:#495057;background-color:#fff;border-color:#80bdff;outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}
textarea.form-control {height: auto;}
.pc_ss{-webkit-box-flex: 1;-webkit-flex: 1;flex: 1;height:100%;border: none 0;background-color: #fff;width: 100%;color: #888;cursor: pointer;}
.hh_ss{-webkit-box-flex: 1;-webkit-flex: 1; flex: 1; height: 35px; margin-top: 7.5px;border: none 0;background-color: #fff;border-radius: 3px;width: 100%;color: #888;cursor: pointer;}
.scm_mdi{background:url(img/5x.png) no-repeat;background-size: 100% 100%; position: absolute; top:8px;left:auto;right:0;width:15px; height: 15px;z-index: 4;display: block;text-align: center;pointer-events: none;}
@media (min-width:950px) {.scm_lyA{padding: 10px 25px 25px 25px;}}
@media (max-width:950px) {.scm_lyA{padding: 5px 10px 10px 10px;}}
.scm_gb{float: right;color: #c2c2c2;font-size: 25px; margin-right:20px;line-height: 40px;}
input{position: relative;}
.scm_ly{position: relative;width: 100%;height: calc(100% - 40px);}
.scm_lyA{position: absolute;right: 0;bottom: 3px;left: 0;width: 100%;height: 100%;overflow-x: hidden;overflow-y: auto;word-wrap: break-word;background-color: #fcfcfc;}
.ly_cg{text-align: center;font-size: 28px;font-weight: 600;}
.scm_pj{padding:10px}
/**发送文件样式*/
.scm_wj{background-color: #fff;padding:5px;}
.scm_wj .wjt{width:40px;height: 40px;float: left;margin-right:5px;background:url(img/ww.svg) no-repeat;background-size: 100% 100%;}
.scm_wj a{color: #000 !important;}