
#overlay {
      cursor: inherit!important;
      padding: 0px 30px;
}
.chatcontainer  {
    width:900px!important;
    max-width:100%!important;
    position:relative;
    top:0!important;
}

.chatcontainer .chat-window {
  background: #fff;
  border-radius: 10px;
      padding: 20px;
}

.chatcontainer .channel-list,
.chatcontainer  .sc-chat-window{
  border-radius: 10px;
  -webkit-box-shadow: none!important;
  box-shadow: none!important;
      height: 100%!important;
}

.chatcontainer  .sc-chat-window{
  width: 58%!important;
  font-family:  'Roboto', sans-serif!important;
}

.chatcontainer .channel-list {
      width: 40%!important;
          font-family: 'Roboto', sans-serif!important;
}

.chatcontainer .sc-chat-window .closeBox {
    margin-right: 0px;
    position: absolute;
    right: -25px;
    top: 0px;
    cursor:pointer;

}

.chatcontainer  .chat-header-text {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    margin-bottom: 6px;
  letter-spacing: 0.5px;
}
.chatcontainer  .userlist.chat-bottom-line {
font-weight: 700;
font-size: 13px;
margin-bottom: 0px;
    min-height: 32px;
}
.chatcontainer .sc-chat-window .date-last-chat-message {
  color: #9b9b9b;
  font-size: 14px;
  display: none;
}
.chatcontainer  .sc-message--text {
  text-align: left;
  line-height: 0;
      padding: 12px 18px 12px;
}
.chatcontainer .sc-message--content.sent .sc-message--text {
    max-width: 100%;
}
.chatcontainer .sc-message--content.received .sc-message--text {
    max-width: 100%;
}
.chatcontainer .sc-message--file {
    background-color: #E6E6E6!important;
    padding: 15px 20px 0px;
    border-radius: 6px;
}
.chatcontainer .sc-message--content.received .sc-message--file {

  max-width: 100%;
      color: #fff!important;
}
.chatcontainer .sc-message--content.received .sc-message--file .sc-message--file-name a {
    color: #FFF!important;
}
.chatcontainer .sc-message--content.sent .sc-message--file {

  max-width: 100%;
      color: #000!important;
}
.chatcontainer .sc-message--content.sent .sc-message--file .sc-message--file-name a {
    color: #000!important;
}
.chatcontainer .sc-message--file  .sc-message--file-icon {
  margin-top:0px;
}
.chatcontainer .sc-message--file  .sc-message--file-name {
      padding: 5px;
      display: none;
}
.chatcontainer .sc-message--content.sent {
  margin-left: 40px;
}
.chatcontainer .sc-message--content.sent .sc-message--text,
.chatcontainer .sc-message--content.sent .sc-message--file  {
  border-radius: 16px 16px 0px 16px;
  padding: 10px 13px 10px;
  line-height: 0px;
}
.chatcontainer .sc-message--content.sent .sc-message--text .text {
  line-height: 16px;
  font-size:14px;
      font-weight: 400;
          color: #383838;
}
.chatcontainer .sc-message--content.received  .sc-message--text,
.chatcontainer .sc-message--content.received  .sc-message--file {
  border-radius: 16px 16px 16px 0px;
  padding: 10px 13px 10px;
}
.chatcontainer .sc-message--content.sent .sc-message--file,
.chatcontainer .sc-message--content.received  .sc-message--file  {
  border-radius: 16px 16px 0px 16px;
  padding: 4px;
  line-height: 0px;
}
.chatcontainer .sc-message--content.received  .sc-message--file  {
  border-radius: 16px 16px 16px 0px;
}
.chatcontainer .sc-message--content.sent .sc-message--file img,
.chatcontainer .sc-message--content.received  .sc-message--file img  {
  border-radius: 12px;
}
.chatcontainer .sc-message--content.received  .sc-message--text div.author-name,
.chatcontainer .sc-message--content.received  .sc-message--file div.author-name  {
  font-weight: 700;
  font-size: 12px;
  line-height: 13px;
  margin-bottom: 8px;
}
.chatcontainer .sc-message--content.received  .sc-message--file div.author-name  {
  text-align: left;
  padding-left: 9px;
  padding-top: 4px;
}
.chatcontainer .sc-message--content.received  .sc-message--text div.text {
    line-height: 16px;
    font-size:14px;
        font-weight: 400;
}
.chatcontainer .sc-message--content.sent::before {
    border-right: 0px solid #0094FF!important;
    border-bottom: 10px solid #0094FF!important;
    display: none;
}
.chatcontainer .sc-message--content.received::after {
    border-left: 0px solid #E6E6E6;
    border-bottom: 10px solid #E6E6E6;
    display:none;
}
.chatcontainer  .sc-user-input {
  background-color: #e6e6e6;
}
.chatcontainer  .sc-user-input.active {
    background-color: #e6e6e6!important;
    box-shadow: none!important;
}
.chatcontainer  .sc-user-input--text {
  background: #fff;
  /* padding: 5px; */
  border: 8px solid #e6e6e6;
  border-left: 0px solid #e6e6e6;
  /* padding-left: 20px; */
  margin-left: 50px;
  text-align: left;
  padding: 10px;
  color: #000;
  border-right: 0px;
}


.chatcontainer .channel-list  .chat-bottom-line {
  width: 88%;
  margin: 0 auto;
}

.chatcontainer .channel-list .tablerow {
    float: left;
    display: flex;
    align-items: center;
    height: auto;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    text-align: left;
    font-weight: 700;
    font-size: 12px;
    margin-top: -2px;
    /* border-bottom: 1px solid #ccc; */
        position: relative;
}

.chatcontainer .channel-list .tablerow div.con {
  display: block;
  width: 100%;
  padding: 12px 0px;
    padding-left: 65px;
    position: relative;
  cursor: pointer;
    overflow: hidden;

}
.chatcontainer .channel-list .tablerow div.con .text-con {
  height: 50px;
overflow: hidden;
padding-right: 20px;
}

.chatcontainer .channel-list .tablerow div.con .text-con div.group {
  color: #fff;
  background: #0078DC;
  display: inline-block;
  padding: 3px 3px 1px 3px;
  line-height: 10px;
}

.chatcontainer .channel-list .tablerow div.con .img-msg {
  position:absolute;
  left:0;
}
.chatcontainer .channel-list .tablerow div.con .img-msg,
.chatcontainer .channel-list .tablerow div.con .img-msg img {
  margin:0;
  width: 50px;
height: 50px;
    border-radius: 100%;
}

.chatcontainer .channel-list .tablerow div.con i.fa.fa-chevron-circle-right {
  position: absolute;
  right: 0;
  font-size: 22px;
  bottom: 10px;
  color: #0094ff;
  display: none;
}

.chatcontainer .channel-list .tablerow div.con .unreadCounter {
  position: absolute;
  left: 30px;
  width: 20px;
  height: 20px;
  bottom: 6px;
  line-height: 22px;
  font-size: 10px;
      background: #dc3545;
}

.chatcontainer .channel-list .tablerow div.con  .date-last-channel-message {
  position: absolute;
right: 0;
font-size: 12px;
top: 12px;
font-weight: 400;
text-transform: initial;
color: #9b9b9b;
text-overflow: ellipsis;
-o-text-overflow: ellipsis;
white-space: nowrap;
width: 75px;
overflow: hidden;
}

.chatcontainer .channel-list .tablerow div.con  .content-last-channel-message {
  font-size: 12px;
  top: 6px;
  font-weight: 400;
  text-transform: initial;
  color: #454545;
  padding-top: 6px;
  height: 25px;
  overflow: hidden;
  text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    white-space: nowrap;
    width: 208px;
}

.chatcontainer  .chat-header {
  padding-left: 15px!important;
padding-right: 15px!important;
padding-top: 15px!important;
  }

.chatcontainer  .chat-header .con {
  position: relative;
}

  .chatcontainer  .chat-header .con .addbutton {
    position: absolute;
    right:0;
    top:0;
  }

    .chatcontainer  .chat-header .con .addbutton .button-text {
      font-size: 18px;
  line-height: 24px;
    }

  .chatcontainer .channel-list .chat-header {
    padding-bottom: 0px;
    }

  .chatcontainer  .channel-list .chat-header .con {

          min-height: 60px;
    }

  .chatcontainer .userlist {
    width:93%!important;
  }

.chatcontainer  .sc-message-list {
      padding: 10px 0px!important;
}

  .chatcontainer  .sc-message {
      width: 93%;
      overflow: hidden;
  }

  .chatcontainer .msg-date {
    font-size: 10px;
    color: #9b9b9b;
  }

  .chatcontainer  .addbutton {
    padding-right: 0!important;
    margin-top: 0!important;
        cursor: pointer;
}

/*Popup User Auswahl*/
  .chatcontainer  .new-channel-container {
        background-color: rgba(0,0,0,0.5);
        width: 100%!important;
        max-width: 100%!important;
        left: 0px;
        top: 0;
        border-radius: 10px;
  }
  .chatcontainer  .new-channel-container .create-new-channel {
      width: 100%!important;
      margin: 0 auto!important;
      max-width: 365px;
          margin-top: 40px!important;
  }
    .chatcontainer  .new-channel-container .create-new-channel .closeBox {
      margin: 0!important;
                cursor: pointer;
    }
    .chatcontainer  .new-channel-container .create-new-channel .closeBox img {
      margin: 0!important;
    }
    .chatcontainer  .new-channel-container .create-new-channel .label {
      display: none;
    }
    .chatcontainer  .new-channel-container .create-new-channel .body {
        display: block;
        width: 100%;
        /* height: 100%; */
        padding-top: 20px;
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 10px;
    }

    .chatcontainer  .new-channel-container .create-new-channel .body .selectPerson {
      float: none;
    }

    .chatcontainer .sc-user-input--buttons {
      position: initial;
      width: auto!important;
      right: 0px;
      padding-right: 15px;
      padding-left: 15px;
    }

    .chatcontainer .sc-user-input--button {
      margin:0;
      width: auto!important;
    }

    .chatcontainer .sc-user-input--button.fileUpload {
      position: absolute;
      left: 15px;
      top: 2px;
      cursor:pointer;
    }


    .chatcontainer  .new-channel-container .create-new-channel .footer button.btn,
    .chatcontainer .sc-user-input--button button.sc-user-input--send-icon-wrapper {
      border-radius: 3px;
      font-size: 12px;
      font-weight: 600;
      padding: 5px 25px;
      border: 0px;
      min-width: 170px;
      cursor:pointer;
    }
    .chatcontainer .sc-user-input--button button.sc-user-input--send-icon-wrapper {
      min-width: 100px;
    }

    .chatcontainer  .new-channel-container .create-new-channel .body .selectPerson .multiselect,
    .chatcontainer  .new-channel-container .create-new-channel .body .selectPerson .multiselect__tags,
    .chatcontainer  .new-channel-container .create-new-channel .body .selectPerson .multiselect__input {
        font-size: 13px;
    }

    .chatcontainer  .new-channel-container .create-new-channel .body .selectPerson .multiselect__option {
        padding: 12px;
        min-height: 20px;
        line-height: 13px;
    }

    .chatcontainer  .new-channel-container .create-new-channel .body .selectPerson .multiselect__tag-icon:after {
      color: #ffffff;
    }

    .chatcontainer  .new-channel-container .create-new-channel .body .selectPerson .multiselect__tag-icon:focus,
    .chatcontainer  .new-channel-container .create-new-channel .body .selectPerson .multiselect__tag-icon:hover {
        background: #dc3545;
    }

    .chatcontainer  .new-channel-container .create-new-channel .body .selectPerson  .multiselect__tag {
        margin-right: 5px;
        margin-bottom: 0px;
    }

    .chatcontainer .channelname {
      overflow: hidden;
      text-overflow: ellipsis;
      -o-text-overflow: ellipsis;
      white-space: nowrap;
      width: 160px;
    }

    /*Loader*/
    .chat.initloader_con {
          background-color: rgba(0,0,0,0.5);
          border-radius: 10px;
          z-index: 999999;
          display:none;
    }
    a.download-file.chat  {
      color: #fff;
      position: absolute;
      top: 34px;
      font-size: 18px;
      right: -21px;
    }


/*Delete Button*/
.delete-chat-button-container {
  position: absolute;
  right: 14px;
  cursor: pointer;
  bottom: 5px;
  display:none;
}
.chatcontainer .channel-list .tablerow:hover  .delete-chat-button-container {
  display:block;
}
.delete-chat-button-container i {
  color: #6b6b6b;
}
.delete-chat-button-container i:hover {
  color: #ff021a;
}
