/*
Module Name: 客服机器人
Author: DouCo Co.,Ltd.
Author URI: https://www.douphp.com/
*/
/* 初始化
----------------------------------------------- */
body {
 font-family: Microsoft Yahei, \5FAE\8F6F\96C5\9ED1, \5b8b\4f53, Arial, Lucida, Verdana, Helvetica, sans-serif;
 color: #555;
 background-color: #EEE;
}
body, button, input, textarea {
 font-size: 14px;
 line-height: 1.531;
 outline: none;
 margin: 0;
 padding: 0;
 border: 0;
}
a {
 color: #333333;
}
a:hover {
 color: #333333;
 text-decoration: none;
}
p, ul, ol, dl, dt, dd, form, blockquote {
 margin: 0;
 padding: 0;
}
ul, ol {
 list-style: none;
}
h1, h2, h3, h4, h5, h6 {
 font-size: 14px;
 margin: 0;
 padding: 0;
}
input, select {
 font-family: Microsoft Yahei;
 vertical-align: middle;
}
input:-webkit-autofill {
 -webkit-box-shadow: 0 0 0px 1000px #EEEEEE inset !important;
}
em, b, i {
 font-style: normal;
 font-weight: normal;
}
img {
 vertical-align: middle;
 border: 0;
}
label {
 cursor: pointer;
}
/* 主体框架
----------------------------------------------- */
#wrapper .mb {
 margin-bottom: 50px;
}
@media (min-width: 1200px) {
 .container {
  max-width: 1140px;
 }
}
#chat-box {
 border: 0;
 margin: 0;
 background-color: #FFF;
 position: relative;
}
@media (max-width: 768px) {
 #chat-box {
  border: 0;
  margin: 0;
  height: 100%;
 }
}
.chat-head {
 padding: 20px;
 border-bottom: 1px solid #EEE;
 font-size: 32px;
 height: 90px;
}
.chat-scroll {
 transition: bottom 0.15s, padding-bottom 0.15s;
 overflow-y: auto;
 height: 500px;
 padding: 20px;
 position: relative;
 background-repeat: repeat;
 background-position: left top;
}
.chat-scroll .notice {
 position: fixed;
 left: 0;
 top: 90px;
 width: 100%;
 background-color: #F5F5F5;
 padding: 4px 20px;
 font-size: 12px;
 color: red;
}
.chat-scroll .btnHistory {
 line-height: 180%;
 text-align: center;
 font-size: 12px;
}
.chat-scroll .btnHistory em {
 cursor: pointer;
}
.chat-scroll .chat-msg {
 line-height: 180%;
 padding: 5px 0;
}
.chat-scroll .chat-msg img {
 max-width: 100%;
}
.chat-scroll .chat-msg .question .head {
 color: #008040;
 font-size: 14px;
}
.chat-scroll .chat-msg .answer .head {
 color: #0000FF;
 font-size: 12px;
}
.chat-scroll .chat-msg .question .msg {
 font-size: 12px;
}
.chat-scroll .chat-msg .answer .msg {
 font-size: 14px;
}
.chat-scroll .chat-msg .key, .chat-scroll .chat-msg .que, .chat-scroll .chat-msg a {
 cursor: pointer;
 color: #0072C6;
}
.chat-scroll .chat-msg .related {
 color: #999;
 margin-top: 5px;
}
.chat-scroll .chat-msg .related .que {
 display: block;
 color: #0072C6;
}
.chat-ask {
 padding: 20px;
 border-top: 1px solid #EEE;
 height: 160px;
}
.chat-ask .input-box {
 position: relative;
}
.chat-ask .input-box .text-area {
 width: 100%;
 background-color: #FFF;
 line-height: 20px;
 -webkit-appearance: none;
 resize:none;
}
.chat-ask .input-box a {
 position: absolute;
 right: 0;
 top: 0;
 cursor: pointer;
}
.chat-ask .input-box a i {
 font-size: 18px;
}
.chat-ask .input-box a.btn-human-on i {
 color: #33c900;
}
.chat-ask .btn-box {
 text-align: right;
}
.chat-ask .btn-box .submit {
 display: inline-block;
 background-color: #0072C6;
 color: #EEE;
 padding: 6px 25px;
 text-transform: capitalize;
 cursor: pointer;
 font-weight: bold;
 text-align: center;
 -webkit-appearance: none;
 font-size: 14px;
 line-height: 1.5;
 border-radius: 0;
 border: 0;
 vertical-align: middle;
}
.chat-ask .btn-box .submit.gray {
 background-color: #DDD;
 color: #333;
 margin-right: 10px;
}
.chat-menu {
 box-sizing: content-box;
 padding: 10px 20px;
 height: 25px;
 line-height: 25px;
 font-size: 13px;
}
.chat-menu a {
 display: inline-block;
 border-radius: 13px;
 border: 1px solid #e0e0e0;
 color: #999;
 padding: 0 10px;
 cursor: pointer;
}
/* 全局样式
----------------------------------------------- */ ::-moz-selection {
 background: rgba(105, 203, 241, 0.65);
}
::selection {
 background: rgba(105, 203, 241, 0.65);
}
::-webkit-scrollbar {
 width: 7px;
 height: 7px;
 background-color: transparent;
}
::-webkit-scrollbar-track {
 border-radius: 0;
 padding: 0;
 background-color: transparent;
}
::-webkit-scrollbar-thumb {
 border-radius: 10px;
 padding: 0;
 background-color: rgba(0, 0, 0, 0.2);
}
::-webkit-scrollbar-thumb:hover {
 background-color: rgba(0, 0, 0, 0.3);
}
::-webkit-input-placeholder {
 color: #999;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
 color: #999;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
 color: #999;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
 color: #999;
}
/* -- scale -- */
.scale {
 overflow: hidden;
}
.scale img {
 width: 100%;
 cursor: pointer;
 transition: all 0.6s;
}
.scale img:hover {
 transform: scale(1.1);
}
/* -- common -- */
.cue {
 color: red;
 font-size: 14px;
}
.clear {
 clear: both;
 height: 0;
 line-height: 0;
 font-size: 0;
}
.captcha {
 text-transform: uppercase;
}
.price {
 color: #CC0000;
}
.price-line {
 color: #999;
 font-size: 14px;
 text-decoration: line-through;
}
.none {
 display: none;
}
.pointer {
 cursor: pointer;
}
/* -- form -- */
.btn {
 display: inline-block;
 background-color: #0072C6;
 color: #EEE;
 padding: 6px 25px;
 text-transform: capitalize;
 cursor: pointer;
 font-weight: bold;
 text-align: center;
 -webkit-appearance: none;
 font-size: 14px;
 line-height: 1.5;
 border-radius: 0;
 border: 0;
}
.btn:hover {
 text-decoration: none;
 color: #FFFFFF;
 background-color: #007AD5;
}
.btn-gray {
 display: inline-block;
 background-color: #CCC;
 border: 0;
 color: #333;
 padding: 6px 15px;
 text-transform: capitalize;
 cursor: pointer;
 font-weight: bold;
 -webkit-appearance: none;
}
.btn-payment {
 display: inline-block;
 background-color: #ff4246;
 color: #FFF;
 padding: 7px 28px;
 text-transform: capitalize;
 cursor: pointer;
 font-weight: bold;
 font-size: 14px;
 text-align: center;
 -webkit-appearance: none;
}
.btn-captcha {
 display: inline-block;
 background-color: #19B4EA;
 -moz-border-radius: 2px;
 -webkit-border-radius: 2px;
 border: 0;
 color: #FFF;
 padding: 7px 22px;
 text-transform: capitalize;
 cursor: pointer;
 font-size: 13px;
}
.btn-captcha[disabled], .btn-captcha:disabled, .btn-captcha.disabled {
 color: #FFF;
 background-color: #b2b2b2;
 opacity: 1;
}
/* -- color -- */
.cRed {
 color: #F40;
}
.cOra {
 color: #f30;
}
.cGre {
 color: #0c6;
}
.cBlu {
 color: #69c;
}
.cGra {
 color: #999;
}
/* -- input -- */
.text-input {
 height: 34px;
 padding: 6px;
 font-size: 14px;
 border: 1px solid #E9E9E9;
 background-color: #FFF;
 color: #666;
 -webkit-appearance: none;
}
.text-input[disabled], .text-input:disabled, .text-input.disabled {
 color: #999;
}
.text-area-auto {
 border: 1px solid #E9E9E9;
 background-color: #FFF;
 padding: 0;
 font-size: 12x;
 line-height: 20px;
 resize: none;
 min-height: 40px;
 -webkit-appearance: none;
}
@media (max-width: 768px) {
 .btn, .btn-gray, .btn-payment, .btn-captcha, .text-input, .text-area, .text-area-auto, .inp-main {
  max-width: 100%;
 }
}