@import url(https://fonts.googleapis.com/css?family=Lato:400,700);
.chat {
  background: transparent;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  color: #434651;
}

.chat .chat-history {
  padding: 30px 30px 20px;
  border-bottom: 2px solid #f7f7f7;
  overflow-y: hidden;  
}

.chat-history ul{
    list-style-type: none;
}

.chat .chat-history .message-data {
  margin-bottom: 16px;
}

.chat .chat-history .message-data .message-data-name{
  font-weight: bold;
  font-size: 1.1rem;
}
.chat .chat-history .message-data-time {
  color: #a8aab1;
  padding-left: 6px;
}
.chat .chat-history .message {
  color: #fff;
  padding: 18px 20px;
  line-height: 26px;
  font-size: 17px;
  border-radius: 7px;
  margin-bottom: 30px;  
  width:90%;
  position: relative;
}
.chat .chat-history .message:after {
  bottom: 100%;
  left: 7%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-bottom-color: #86BB71;
  border-width: 10px;
  margin-left: -10px;
}
.chat .chat-history .my-message {
  background: #86BB71; 
}
.chat .chat-history .other-message {
  background: #94C2ED; 
}
.chat .chat-history .other-message:after {
  border-bottom-color: #94C2ED;
  left: 93%;
}

.online, .offline, .me {
  margin-right: 3px;
  font-size: 16px;
}

.online {
  color: #86BB71;
}
/* unused 
.offline {
  color: #E38968; 
}
*/
.me {
   color: #94C2ED; 
}

.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}
