/**
 * @author pei-qiao.peng 
 * @date   2015/1/15.
 * @email  ppq1991@gmail.com
 * @github https://github.com/ppq1991/
 * @blog   http://pengpeiqiao.tk/
 */
body {
  -webkit-user-select: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #F2F2F2;
  font-family: \5FAE\8F6F\96C5\9ED1;
  font-size: 12px;
}
p {
  margin: 0 5px;
  padding: 0;
}
.drag {
  position: absolute;
  top: 0;
  right: 0;
}
.drag > div {
  -webkit-transition: all .5s;
  position: absolute;
  top: -30px;
  width: 20px;
  z-index: 100000000;
}
.drag > div.active {
  top: 0;
}
.drag > div:before {
  content: '';
  position: absolute;
  top: 0;
  left: 10px;
  height: 45px;
  width: 1px;
  background-color: #52abff;
}
.drag > div > div {
  position: absolute;
  top: 40px;
  background-position: center 0;
  background-repeat: no-repeat;
  width: 20px;
  cursor: pointer;
}
.drag > div > div:hover {
  background-position: center -22px;
}
.drag > div > div:active {
  background-position: center -44px;
}
#drag-post {
  right: 80px;
}
#drag-post > div {
  background-image: url('../../../images/chat/drag/sound.png');
  height: 22px;
}
#drag-mic {
  right: 45px;
}
#drag-mic > div {
  background-image: url('../../../images/chat/drag/user.png');
  height: 22px;
}
#drag-toggle {
  width: 22px !important;
  right: 10px;
}
#drag-toggle > div {
  background-image: url('../../../images/chat/drag/arrow-up.png');
  width: 22px !important;
  height: 36px;
}
#drag-toggle > div:hover {
  background-position: center -36px;
}
#drag-toggle > div:active {
  background-position: center -72px;
}
#drag-toggle:before {
  left: 11px !important;
}
#drag-toggle.down > div {
  background-image: url('../../../images/chat/drag/arrow-down.png');
}
#input-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #E8E8E8;
}
#input-tools {
  position: relative;
  height: 30px;
}
#input-tools > div {
  position: absolute;
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: 0 0;
}
#input-box {
  margin: 5px 10px;
  height: 30px;
}
#btn-send {
  cursor: pointer;
  position: absolute;
  bottom: 5px;
  right: 10px;
  width: 50px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  color: #ffffff;
  background-color: #00A2FF;
}
#btn-send:hover {
  background-color: #2EB0FB;
}
#btn-send:active {
  background-color: #038EDE;
}
#btn-send.disabled,
#btn-send.disabled:hover,
#btn-send.disabled:active {
  cursor: default;
  background-color: #ACADAE;
}
#btn-emoji {
  top: 5px;
  left: 10px;
  width: 22px;
  height: 21px;
  background-image: url('../../../images/chat/expression.png');
}
#btn-emoji:hover {
  background-position: 0 -21px;
}
#btn-emoji:active {
  background-position: 0 -42px;
}
#btn-clear {
  top: 7px;
  left: 40px;
  margin-left: 5px;
  width: 22px;
  height: 18px;
  background-image: url('../../../images/chat/trash.png');
}
#btn-clear:hover {
  background-position: 0 -18px;
}
#btn-clear:active {
  background-position: 0 -36px;
}
#btn-hint {
  top: 3px;
  right: 10px;
  width: 19px;
  height: 24px;
}
#btn-hint.on {
    background-image: url('../../../images/chat/tips.png');
}
#btn-hint:hover, #btn-hint.off {
  background-image: url('../../../images/chat/tips2.png');
}
#btn-hint:hover > span {
  display: block;
}
#btn-hint > span {
  display: none;
  width: 52px;
  position: absolute;
  bottom: 24px;
  right: 19px;
  border: 1px solid #61838F;
  padding: 3px 5px;
  box-shadow: 2px 2px 3px #61838F;
  border-radius: 3px;
  background-color: #FFF;
  -webkit-transition: width .5s;
}
#flower-container {
  cursor: pointer;
  position: absolute;
  right: 15px;
  top: -69px;
  width: 43px;
  height: 43px;
  /*background-color: rgba(178, 178, 178, 0.6);*/
  /*background-image: url("../../../images/chat/rose-40x40.png");*/
  background:  rgba(178, 178, 178, 0.6) url("../../../images/chat/rose-new.png") no-repeat center center;
  border-radius: 5px;
  z-index: 1000;
}
#flash-container {
    width: 40px;
    height: 40px;
    position: absolute;
    right: 6px;
    top: -55px;
    /*background-color: rgba(178, 178, 178, 0.6);*/
    border-radius: 4px;
}
#flash-container embed {
    width: 100%;
    height: 100%;
}
#flower-container:hover {
  background-color: rgba(178, 178, 178, 0.8);
}
#flower-container:hover #flower-tip {
  display: block;
}
#flower-text {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 18px;
  height: 18px;
  background-color: #E50606;
  border-radius: 9px;
  color: #ffffff;
  text-align: center;
}
#flower-tip {
  display: none;
  width: 165px;
  position: absolute;
  bottom: 50px;
  right: 10px;
  border: 1px solid #61838F;
  padding: 3px 5px;
  box-shadow: 2px 2px 3px #61838F;
  border-radius: 3px;
  background-color: #FFF;
  -webkit-transition: width .5s;
}
#flower-tip span {
  color: #ff3f4e;
}
#flower-tip p {
  margin: 0;
  padding: 0;
}
#input-style {
  display: none;
  cursor: default !important;
  top: -202px;
  left: 0;
  width: 300px;
  height: 200px;
  border: 1px solid #969696;
  background-color: #F6F6F6;
}
#input-style-btns {
  position: absolute;
  left: 5px;
  top: 5px;
  width: 290px;
  height: 20px;
}
#input-style-btns > div {
  float: left;
  background-repeat: no-repeat;
  width: 20px;
  height: 19px;
  cursor: pointer;
}
#style-color {
  margin-right: 10px;
  background-position: 0 0;
  background-image: url('../../../images/chat/color.jpg');
}
#style-color:hover {
  background-position: 0 -38px;
}
#style-color:active {
  background-position: 0 -19px;
}
#style-color.disabled {
  background-position: 0 -57px;
}
#style-b {
  background-image: url('../../../images/chat/font.jpg');
  background-position: 0 0;
}
#style-b:hover {
  background-position: 0 -19px;
}
#style-b:active,
#style-b.active {
  background-position: 0 -38px;
}
#style-b.disabled {
  background-position: 0 -57px;
}
#style-i {
  background-image: url('../../../images/chat/font.jpg');
  background-position: center 0;
}
#style-i:hover {
  background-position: center -19px;
}
#style-i:active,
#style-i.active {
  background-position: center -38px;
}
#style-i.disabled {
  background-position: center -57px;
}
#style-u {
  background-image: url('../../../images/chat/font.jpg');
  background-position: right 0;
}
#style-u:hover {
  background-position: right -19px;
}
#style-u:active,
#style-u.active {
  background-position: right -38px;
}
#style-u.disabled {
  background-position: right -57px;
}
#style-color-list {
  display: none;
  position: absolute;
  left: 5px;
  top: 30px;
  width: 47px;
  height: 144px;
  padding: 1px;
  margin: 0;
  border: 1px solid #60BDC0;
  background-color: #FFF;
}
#style-color-list > li {
  cursor: pointer;
  width: 45px;
  height: 14px;
  list-style-type: none;
  border: 1px solid #fff;
}
#style-color-list > li:hover,
#style-color-list > li.active {
  border: 1px solid #60BDC0;
}
#emoji-box {
  position: absolute;
  left: 5px;
  top: 30px;
  border-collapse: collapse;
  border-spacing: 0;
}
#emoji-box td {
  cursor: pointer;
  position: relative;
  border: 1px solid #D8DADB;
  width: 31px;
  height: 30px;
  padding: 0;
  background-color: #fff;
  text-align: center;
}
#emoji-box td:hover {
  background-color: #AFF5F7;
}
#emoji-box td > img {
  position: absolute;
  top: 1px;
  left: 1px;
}
.ac-chat {
  -webkit-user-select: initial;
  font-size: 12px;
  color: #000000;
  line-height: 24px;
  overflow-x: hidden;
  overflow-y: auto;
}
.ac-chat p {
  padding: 0 20px;
}
.ac-chat span,.ac-chat i {
    padding-top:8px;
}
.ac-chat .line-style-1, #input-tools .line-style-1{
  color: #666;
  background-position: -4px 0;
  background-repeat: no-repeat;
}
.ac-chat .line-style-2 {
  line-height: 24px;
  font-size: 14px;
  word-break: break-all;
}
.ac-chat .line-style-2 > img {
  width: 28px;
  height: 28px;
  margin: 0;
  vertical-align: text-bottom;
}
.ac-chat .line-webim {
    width: 16px;
    height: 16px;
    background: url("../../../images/chat/webMsgIcon.png") no-repeat;
    position: absolute;
    margin-top: 3px;
}
.ac-chat .line-style-3 {
  display: -webkit-flex;
  line-height: 32px;
  margin: 2px 5px;
  background-position: -4px center;
  background-repeat: no-repeat;
}
.ac-chat .line-style-3 span.link-name{
    color: #ff6600;
}

.ac-chat .line-style-3 span.concat-text {
    color: #666;
}

.ac-chat .line-style-3 > em {
  margin-right: 5px;
}
.ac-chat .line-style-3 > .img {
  background-repeat: no-repeat;
  background-position: center;
  width: 32px;
  height: 32px;
  display: inline-block;
  margin: 0 5px;
}
.ac-chat .line-style-4 {
  position: relative;
  line-height: 24px;
  font-size: 14px;
  word-break:break-all;
  width:400px;
  overflow:auto;
}
.ac-chat .line-style-4 > img {
  width: 28px;
  height: 28px;
  margin: 0;
  vertical-align: text-bottom;
}
.ac-chat .line-style-4:before {
  position: absolute;
  top: 11px;
  left: 5px;
  content: '';
  width: 4px;
  height: 4px;
  background-color: #A5A5A5;
  border-radius: 2px;
}
.ac-chat .msg-sys-1 {
  background: url("../img/ico-sys-1.jpg") left 5px no-repeat;
}
.ac-chat .msg-sys-2 {
  background: url("../img/ico-sys-2.jpg") left 5px no-repeat;
}
.ac-chat .link-name, #input-tools .link-name {
  color: #0B5EE7;
  /*text-decoration: underline;*/
  cursor: pointer;
  font-style: normal;
  margin-right: 10px;
}
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  -webkit-border-radius: 10px;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  -webkit-border-radius: 10px;
  border-radius: 10px;
  background: rgba(210, 210, 210, 0.4);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(197, 197, 197, 0.6);
}
::-webkit-scrollbar-thumb:active {
  background: rgba(179, 179, 179, 0.8);
}

.concatMic span.disabled {
    color: #cccccc;
    text-decoration: none;
    cursor: none;
}
.concatMic span.enable {
    color: dodgerblue;
    text-decoration: underline;
    cursor: pointer;
}
