.clearfloat:after, .clearfloat:before {
  display: block;
  content: "";
  height: 0;
  line-height: 0;
  font-size: 0;
  clear: both; }

.msgBox {
  width: 100%;
  height: 100%;
  overflow: hidden; }
  .msgBox .msg-left {
    float: left;
    width: 282px;
    height: 100%;
    background: #3b567c; }
  .msgBox .msg-right {
    float: left;
    width: calc(100% - 282px);
    height: 100%; }

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  vertical-align: middle; }

.msg-left .msg-admin {
  height: 72px;
  line-height: 72px;
  border-bottom: 1px solid #31496b;
  color: #fff;
  font-size: 18px;
  padding: 0 20px; }
  .msg-left .msg-admin img {
    margin-right: 12px; }
.msg-left .msg-search {
  padding: 12px 20px;
  overflow: hidden;
  border-bottom: 1px solid #31496b;
  position: relative; }
  .msg-left .msg-search .im-icon-search {
    position: absolute;
    top: 21px;
    left: 32px;
    z-index: 2; }
  .msg-left .msg-search input {
    width: 196px;
    height: 32px;
    line-height: 32px;
    background: #334a6a;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding-left: 32px;
    padding-right: 10px;
    outline: none;
    float: left; }
    .msg-left .msg-search input:focus {
      opacity: 1;
      background: #2f4461; }
  .msg-left .msg-search .icon-add {
    float: left;
    width: 32px;
    height: 32px;
    border-radius: 5px;
    background-color: #334a6a;
    background-image: url("../../images/im/icon-msg-add.png");
    background-repeat: no-repeat;
    background-position: center;
    margin-left: 10px; }
    .msg-left .msg-search .icon-add:hover {
      background-color: #2f4461; }
.msg-left .msg-left-list {
  height: calc(100% - 72px - 58px);
  overflow: auto; }
  .msg-left .msg-left-list li {
    height: 68px;
    color: #fff;
    padding: 10px 14px;
    overflow: hidden;
    border-bottom: 1px solid #354e72;
    cursor: pointer; }
    .msg-left .msg-left-list li:hover, .msg-left .msg-left-list li.active {
      background: #587296; }
    .msg-left .msg-left-list li img {
      float: left;
      margin-right: 15px; }
    .msg-left .msg-left-list li .name {
      float: left;
      max-width: 142px;
      white-space: nowrap;
      text-overflow: ellipsis;
      overflow: hidden; }
    .msg-left .msg-left-list li .time {
      float: right;
      color: #c7c7c7; }
    .msg-left .msg-left-list li h3 {
      font-size: 16px;
      margin: 3px 0 4px;
      font-weight: normal;
      max-width: 142px;
      white-space: nowrap;
      text-overflow: ellipsis;
      overflow: hidden; }
    .msg-left .msg-left-list li .con-info {
      font-size: 12px;
      opacity: 0.7;
      max-width: 142px;
      white-space: nowrap;
      text-overflow: ellipsis;
      overflow: hidden; }
      .msg-left .msg-left-list li .con-info em {
        font-size: 14px;
        font-style: normal; }
      .msg-left .msg-left-list li .con-info .blue {
        color: #298cfa; }
      .msg-left .msg-left-list li .con-info .red {
        color: #ff4200; }

.msg-right .msg-right-tit {
  height: 72px;
  line-height: 72px;
  border-bottom: 1px solid #e0e2e4;
  color: #333;
  font-size: 16px;
  text-align: center;
  position: relative; }
.msg-right .msg-right-con {
  height: calc(100% - 72px); }
.msg-right .msg-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 71px;
  background: url("../../images/im/msg-close.png") no-repeat center center;
  opacity: 0.6; }
  .msg-right .msg-close:hover {
    opacity: 1; }
.msg-right .msg-view {
  height: calc(100% - 156px);
  background: #e8edf6;
  overflow: auto;
  padding: 8px 0; }
.msg-right .msg-bottom {
  height: 156px;
  border-top: 1px solid #e0e2e4; }
  .msg-right .msg-bottom .mas-sendfile {
    padding: 8px 20px 2px;
    overflow: hidden; }
  .msg-right .msg-bottom .send-input {
    display: inline-block;
    margin-right: 10px;
    width: 28px;
    position: relative; }
    .msg-right .msg-bottom .send-input a {
      display: inline-block;
      opacity: 0.7;
      cursor: pointer; }
      .msg-right .msg-bottom .send-input a label {
        display: block;
        width: 100%;
        cursor: pointer; }
      .msg-right .msg-bottom .send-input a img {
        display: block; }
      .msg-right .msg-bottom .send-input a:hover {
        opacity: 1; }
    .msg-right .msg-bottom .send-input input {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      opacity: 0;
      z-index: -1;
      cursor: pointer; }
  .msg-right .msg-bottom .mas-textarea {
    padding: 5px 20px; }
    .msg-right .msg-bottom .mas-textarea textarea {
      height: 62px;
      vertical-align: top;
      overflow-y: auto;
      overflow-x: hidden;
      word-break: normal;
      word-wrap: break-word;
      outline: 0;
      resize: none;
      padding: 0;
      border: 0;
      width: 100%;
      background: 0;
      color: #333; }
  .msg-right .msg-bottom .send-bottom {
    padding: 0 10px;
    text-align: right; }
  .msg-right .msg-bottom .send-btn {
    display: inline-block;
    width: 82px;
    height: 32px;
    line-height: 32px;
    font-size: 14px;
    text-align: center;
    background: #298cfa;
    color: #fff;
    border-radius: 5px; }

.textarea-scrollbar::-webkit-scrollbar-thumb {
  height: 50px;
  background-color: rgba(0, 0, 0, 0.3);
  -webkit-border-radius: 4px;
  outline-offset: -2px;
  border: none; }

.textarea-scrollbar::-webkit-scrollbar {
  width: 8px;
  height: 8px; }

.msg-view::-webkit-scrollbar-thumb {
  height: 50px;
  background-color: rgba(0, 0, 0, 0.3);
  -webkit-border-radius: 4px;
  outline-offset: -2px;
  border: none; }

.msg-view::-webkit-scrollbar {
  width: 8px;
  height: 8px; }

.msg-left-list::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.3); }

.chat-msg {
  width: 100%;
  padding: 4px 0;
  overflow: hidden; }
  .chat-msg .time {
    font-size: 14px;
    font-weight: bold;
    color: #999;
    text-align: center; }
  .chat-msg .chat-msg-info .user-avatar {
    float: left;
    margin-left: 12px; }

.right-view {
  margin: 0 76px;
  padding: 6px 0; }
  .right-view .view-con {
    max-width: 60%;
    min-height: 38px;
    position: relative;
    line-height: 20px;
    display: inline-block;
    border-radius: 5px;
    font-size: 14px;
    color: #333;
    word-break: break-all;
    border: 1px solid #ddd;
    background: #fff; }
    .right-view .view-con:after {
      content: "";
      position: absolute;
      height: 14px;
      width: 7px;
      top: 11px;
      left: -7px;
      background: url("../../images/im/text-left.png"); }
  .right-view .view-con-text {
    padding: 8px 10px; }
    .right-view .view-con-text img {
      max-width: 100px;
      display: block; }
  .right-view .view-con-img {
    padding: 2px;
    position: relative; }
    .right-view .view-con-img img {
      width: 100px;
      max-width: 100px;
      display: block; }
    .right-view .view-con-img .img-mask {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      background-image: url("../../images/im/img-loading.gif");
      background-repeat: no-repeat;
      background-position: center;
      background-size: 50px 50px; }
    .right-view .view-con-img:hover .icon-enlarge {
      display: block; }
  .right-view .view-con-file {
    padding: 4px 8px 4px 4px;
    width: 316px; }
    .right-view .view-con-file img {
      float: left;
      width: 60px;
      height: 60px; }
    .right-view .view-con-file .file-con {
      margin-left: 68px;
      width: calc(100% - 68px); }
      .right-view .view-con-file .file-con h3 {
        font-size: 15px;
        color: #333;
        width: 100%;
        margin: 3px 0 10px;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden; }
      .right-view .view-con-file .file-con .file-download {
        color: #298cfa;
        margin-left: 10px; }
        .right-view .view-con-file .file-con .file-download:hover {
          color: #185598; }
      .right-view .view-con-file .file-con .file-progress-bar {
        height: 5px;
        width: 100%;
        background: #e8edf6;
        margin-top: 1px;
        border-radius: 3px; }
        .right-view .view-con-file .file-con .file-progress-bar .percent-bar {
          height: 100%;
          background: #298cfa;
          border-radius: 3px; }

.chat-msg.right .user-avatar {
  float: right;
  margin-right: 12px; }
.chat-msg.right .right-view {
  text-align: right; }
.chat-msg.right .send-icon {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -38px;
  width: 28px;
  height: 28px;
  background: url("../../images/im/icon-danger-k.png");
  margin: auto;
  cursor: pointer; }
.chat-msg.right .view-con {
  text-align: left;
  position: relative; }
  .chat-msg.right .view-con:after {
    left: auto;
    right: -7px;
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg); }
.chat-msg.right .view-con-text {
  background: #b8d1f3;
  border: 1px solid #b8d1f3; }
  .chat-msg.right .view-con-text:after {
    left: auto;
    right: -7px;
    background: url("../../images/im/text-right.png");
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg); }

.send-state {
  text-align: center;
  margin: 20px 0; }
  .send-state .send-state-text {
    display: inline-block;
    padding: 0 6px;
    line-height: 26px;
    background: #e1e3e3;
    font-size: 12px;
    color: #666;
    border-radius: 5px; }
    .send-state .send-state-text img {
      vertical-align: middle;
      margin-top: -3px;
      margin-right: 4px; }
    .send-state .send-state-text .blue {
      color: #298cfa; }
      .send-state .send-state-text .blue:hover {
        color: #185598; }

.right-click-menu {
  width: 126px;
  position: absolute;
  display: none;
  z-index: 100; }
  .right-click-menu ul {
    background: #fff;
    border-radius: 5px;
    overflow: hidden; }
  .right-click-menu li {
    height: 36px;
    line-height: 36px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    padding: 0 18px; }
    .right-click-menu li:last-child {
      border-bottom: none; }
    .right-click-menu li:hover {
      background: #f2f2f2; }

.new-message-num {
  display: inline-block;
  min-width: 16px;
  height: 16px;
  line-height: 16px;
  background: #ff7800;
  border-radius: 9px;
  padding: 0px 3px;
  text-align: center;
  color: #fff;
  font-size: 12px; }

.im-windows-modal {
  width: 100%;
  z-index: 9005; }
  .im-windows-modal .mask {
    width: 100%;
    height: 974px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9006;
    background-color: rgba(0, 0, 0, 0.5); }
  .im-windows-modal .im-chat-img {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 30px auto;
    z-index: 9010;
    text-align: center;
    width: 80%; }
    .im-windows-modal .im-chat-img img {
      max-width: 100%;
      max-height: 100%;
      position: absolute;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      margin: auto; }

.icon-enlarge {
  width: 16px;
  height: 16px;
  line-height: 16px;
  border-radius: 50%;
  background: #fff;
  color: #333;
  position: absolute;
  right: 8px;
  bottom: 8px;
  opacity: 0.4;
  text-align: center;
  cursor: pointer;
  display: none;
  transition: all 0.2s; }
  .icon-enlarge .fa {
    vertical-align: middle; }
  .icon-enlarge:hover {
    opacity: 0.6; }

.msg-right-no {
  text-align: center;
  padding-top: 200px; }
  .msg-right-no img {
    width: 98px;
    vertical-align: middle; }

/*# sourceMappingURL=instantMsg.css.map */
