.chat {
  position: absolute;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  width: 75vw;
  height: 100vh;
  z-index: 3;
  background: rgba(200, 200, 200, 0.1); }

.chat-header {
  display: flex;
  align-items: center;
  position: relative;
  height: 6vh;
  width: 100vw;
  padding: 0.5em;
  background: #fff;
  box-shadow: 0 1px 5px rgba(10, 10, 10, 0.26);
  color: #0a0a0a;
  text-transform: uppercase;
  z-index: 5; }
  .chat-header .header-infos {
    display: flex;
    flex-flow: column;
    justify-content: space-around;
    margin-left: 0.75em; }
  .chat-header .info-title {
    font-size: 1em; }
  .chat-header .info-username {
    color: rgba(10, 10, 10, 0.5);
    font-size: 0.75em;
    letter-spacing: 1px;
    padding-left: 1em; }
  .chat-header .header-icon {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-radius: 50%;
    width: 5.4vh;
    height: 5.4vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(200, 200, 200, 0);
    transition: border ease 200ms; }
    .chat-header .header-icon:hover {
      border: 1px solid rgba(200, 200, 200, 0); }
      .chat-header .header-icon:hover img {
        opacity: 0;
        z-index: 3; }
      .chat-header .header-icon:hover i {
        opacity: 1; }
    .chat-header .header-icon img {
      position: absolute;
      width: 100%;
      height: auto;
      opacity: 1;
      z-index: 5;
      transition: opacity ease 200ms; }
    .chat-header .header-icon i {
      position: absolute;
      font-size: 2em;
      font-weight: 200;
      opacity: 0;
      z-index: 4;
      cursor: pointer;
      transition: opacity ease 200ms; }

.messages {
  flex: 1 1 auto;
  color: rgba(255, 255, 255, 0.75);
  overflow: hidden;
  position: relative;
  width: 100%; }
  .messages-content {
    position: absolute;
    top: 0.5em;
    left: 0;
    height: calc(100% - .5em);
    width: 100%;
    padding: 0.5em;
    box-sizing: border-box;
    overflow: scroll; }
    .messages-content::-webkit-scrollbar {
      display: none; }
  .messages .message-info {
    width: 100%;
    clear: both;
    text-align: center;
    font-size: 0.7em;
    color: rgba(100, 100, 100, 0.75); }
  .messages .message {
    position: relative;
    clear: both;
    float: left;
    padding: 7px 10px 8px;
    border-radius: 10px 10px 10px 0;
    background: rgba(10, 10, 10, 0.35);
    color: #fff;
    margin: 8px 0;
    font-size: 0.8em;
    font-weight: 300;
    font-size: 0.9em;
    line-height: 1.4;
    margin-left: 2.5rem;
    margin-top: 1.75em; }
    .messages .message .msg-user {
      position: absolute;
      top: -15px;
      left: 1em;
      font-size: 0.8em;
      color: rgba(15, 15, 15, 0.5); }
    .messages .message .timestamp {
      position: absolute;
      bottom: -13px;
      font-size: 9px;
      color: rgba(15, 15, 15, 0.3); }
    .messages .message::before {
      content: '';
      position: absolute;
      bottom: -6px;
      border-top: 6px solid rgba(10, 10, 10, 0.35);
      left: 0;
      border-right: 7px solid transparent; }
    .messages .message .avatar {
      position: absolute;
      z-index: 1;
      bottom: -1em;
      left: -2.75rem;
      border-radius: 50%;
      width: 2.5rem;
      height: 2.5rem;
      overflow: hidden;
      margin: 0;
      padding: 0;
      border: 1px solid rgba(200, 200, 200, 0.5); }
      .messages .message .avatar img {
        width: 100%;
        height: auto; }
    .messages .message.message-personal {
      float: right;
      color: #fff;
      text-align: right;
      background: linear-gradient(440deg, #0D47A1, #303F9F);
      border-radius: 10px 10px 0 10px;
      margin-top: 0.5em; }
      .messages .message.message-personal::before {
        left: auto;
        right: 0;
        border-right: none;
        border-left: 5px solid transparent;
        border-top: 4px solid #303F9F;
        bottom: -4px; }
    .messages .message:last-child {
      margin-bottom: 30px; }
    .messages .message.new {
      transform: scale(0);
      transform-origin: 0 0;
      animation: bounce 300ms linear both; }
    .messages .message.loading::before {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      content: '';
      display: block;
      width: 3px;
      height: 3px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.5);
      z-index: 2;
      margin-top: 4px;
      animation: ball 0.45s cubic-bezier(0, 0, 0.15, 1) alternate infinite;
      border: none;
      animation-delay: 0.15s; }
    .messages .message.loading span {
      display: block;
      font-size: 0;
      width: 20px;
      height: 10px;
      position: relative; }
      .messages .message.loading span::before {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        content: '';
        display: block;
        width: 3px;
        height: 3px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.5);
        z-index: 2;
        margin-top: 4px;
        animation: ball 0.45s cubic-bezier(0, 0, 0.15, 1) alternate infinite;
        margin-left: -7px; }
      .messages .message.loading span::after {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        content: '';
        display: block;
        width: 3px;
        height: 3px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.5);
        z-index: 2;
        margin-top: 4px;
        animation: ball 0.45s cubic-bezier(0, 0, 0.15, 1) alternate infinite;
        margin-left: 7px;
        animation-delay: 0.3s; }

.message-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100vw;
  padding: 0.75em;
  box-shadow: 0 -1px 3px 0 rgba(0, 0, 0, 0.16);
  background: #fff;
  z-index: 1; }
  .message-box .message-input {
    background: none;
    border: none;
    outline: none !important;
    resize: none;
    color: rgba(10, 10, 10, 0.9);
    font-size: 1em;
    height: 1.25em;
    padding-right: 2em;
    width: 80%; }
  .message-box .input-button {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%; }
  .message-box .label-file i {
    cursor: pointer;
    font-size: 1.5em;
    vertical-align: middle;
    color: #303F9F; }
  .message-box .file-selector {
    display: none; }
  .message-box textarea:focus:-webkit-placeholder {
    color: transparent; }
  .message-box .message-submit {
    z-index: 1;
    color: #fff;
    border: none;
    background: #303F9F;
    font-size: 0.75em;
    text-transform: uppercase;
    line-height: 1;
    padding: 0.5em 0.75em;
    border-radius: 10px;
    outline: none !important;
    transition: background 0.2s ease; }
    .message-box .message-submit:hover {
      background: #1D7745; }

/*--------------------
Custom Srollbar
--------------------*/
.mCSB_scrollTools {
  margin: 1px -3px 1px 0;
  opacity: 0; }

.mCSB_inside > .mCSB_container {
  margin-right: 0;
  padding: 0 10px; }

.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
  background-color: rgba(0, 0, 0, 0.5) !important; }

@keyframes bounce {
  0% {
    transform: matrix3d(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  4.7% {
    transform: matrix3d(0.45, 0, 0, 0, 0, 0.45, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  9.41% {
    transform: matrix3d(0.883, 0, 0, 0, 0, 0.883, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  14.11% {
    transform: matrix3d(1.141, 0, 0, 0, 0, 1.141, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  18.72% {
    transform: matrix3d(1.212, 0, 0, 0, 0, 1.212, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  24.32% {
    transform: matrix3d(1.151, 0, 0, 0, 0, 1.151, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  29.93% {
    transform: matrix3d(1.048, 0, 0, 0, 0, 1.048, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  35.54% {
    transform: matrix3d(0.979, 0, 0, 0, 0, 0.979, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  41.04% {
    transform: matrix3d(0.961, 0, 0, 0, 0, 0.961, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  52.15% {
    transform: matrix3d(0.991, 0, 0, 0, 0, 0.991, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  63.26% {
    transform: matrix3d(1.007, 0, 0, 0, 0, 1.007, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  85.49% {
    transform: matrix3d(0.999, 0, 0, 0, 0, 0.999, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  100% {
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } }
@keyframes ball {
  from {
    transform: translateY(0) scaleY(0.8); }
  to {
    transform: translateY(-10px); } }

/*# sourceMappingURL=chat.css.map */
