.wrapper-chat {
  box-shadow: 0 0 10px 1px #828282;
  border-radius: 10px;
  width: 400px;
  overflow: hidden;
  height: calc(100vh - 130px);
  background-color: #fff;
}

.m-chat-wrapper {
  height: calc(100vh - 170px);
  /*overflow: auto;*/
}


.drop-file-wrapper {
  height: calc(100vh - 177px);
}

.content-chat .personal-wrapper .personal-message {
  height: calc(100vh - 370px);
}

.content-chat .personal-footer .footer-wrapper {
  border-radius: 10px 10px 5px 5px;
}

.content-chat .profile .mobile {
  height: 100vh;
  overflow: auto;
}

@media (max-width: 414px) {
  .wrapper-chat {
    border-radius: 0px;
  }
  .wrapper-chat {
    width: 414px;
    height: 100vh;
  }
  .content-chat .personal-wrapper .personal-message {
    height: calc(100vh - 215px);
  }

}

/*@media (height: 1366px) and (width: 1024px ) {*/
/*  .messages-block {*/
/*    height: 72vh;*/
/*  }*/
/*}*/



.wrapper-modal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-direction: column;
  position: fixed;
  top: 2%;
  right: 2%;
  z-index: 999;
}

.message {
  font-size: 14px;
  height: 21px;
  overflow: hidden;
  width: 260px;
  margin-top: 5px;
  white-space: nowrap;
  cursor: pointer;
}

.user {
  display: flex;
  cursor: pointer;
  align-items: flex-end;
}

.user-img {
  width: 20%;
  margin: auto;
}

.user-img .img {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background-size: cover;
  margin: auto;
}

.user-info {
  display: flex;
  justify-content: space-between;
  width: 90%;
}

.user-info .name {
  font-weight: 500;
  font-size: 13px;
}



/* Let's get this party started */
::-webkit-scrollbar {
  width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
  -webkit-border-radius: 5px;
  border-radius: 3px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  -webkit-border-radius: 10px;
  border-radius: 10px;
  background: rgba(108, 108, 108, 0.8);
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}
::-webkit-scrollbar-thumb:window-inactive {
  background: rgba(106, 106, 106, 0.4);
}





@media (max-width: 414px) {
  .wrapper-modal {
    top: 0%;
    right: 0%;
    max-width: 414px;
  }
  .wrapper-chat {
    width: 414px;
  }

  .personal-messages {
    height: 80vh;
  }
  .users {
    height: 80vh;
  }
  .m-chat-wrapper {
    height: calc(100vh - 40px);
  }
}

@media (max-width: 375px) {
  .wrapper-chat {
    max-width: 375px;
    padding-right: 0px;
  }
  .users {
    padding: 0px 10px;
  }
  .new-mess {
    right: 12%;
  }
}

@media (max-width: 320px) {
  .wrapper-chat {
    max-width: 320px;
  }
  .chat-header a {
    right: 25%;
  }

  .message-date {
    font-size: 11px;
  }
  .users {
    padding: 0px 25px;
  }
  .personal-messages {
    padding: 0 10px;
  }
}
