.message-detail {
  white-space: nowrap;
  padding: 4px 0;
  font-size: 12px;
}

.chat-bubble-main-container {
  display: inline-block;
  width: 100%;
}

.chat-bubble-container {
  display: inline-block;
  position: relative;
  margin: 10px;
  max-width: 80%;
}

.chat-bubble-container.left {
  float: left;
  margin-left: 55px;
}

.chat-bubble-container.right {
  float: right;
  margin-right: 55px;
}

.chat-bubble-container.right .message-detail {
  text-align: right;
}

.chat-bubble-container.reset-margin-right {
  margin-right: 10px;
}

.chat-bubble-container.reset-margin-left {
  margin-left: 10px;
}

.chat-bubble {
  border-radius: 5px;
  padding: 10px 18px;
}

.chat-bubble::before {
  content: '\00a0';
  display: block;
  height: 16px;
  width: 9px;
  position: absolute;
  bottom: -4.5px;
}

.chat-bubble.left {
  background-color:rgba(255, 215, 39, 0.744);
  
}

.chat-bubble.left::before {
  background-color: rgba(255, 215, 39, 0.744);
  left: 4px;
  transform: rotate(70deg) skew(5deg);
}

.chat-bubble.right {
  background-color: rgba(20, 83, 117, 1);
  color: #fff;
}

.chat-bubble.right::before {
  background-color:rgba(20, 83, 117, 1);
  right: 4px;
  transform: rotate(118deg) skew(-5deg);
}

.chat-bubble .message {
  word-wrap: break-word;
}

img.profile-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  position: absolute;
  bottom: 10px;
}

img.profile-avatar.left {
  left: 10px;
}

img.profile-avatar.right {
  right: 10px;
}

message-composer {
  height: 50px;
  border-top: 1px solid #b2b2b2;
  background-color: #f8f8f8;
  position: absolute;
  bottom: 0;
  width: 100%;
}

message-composer :focus {
  outline: none;
}

message-composer form {
  display: -ms-flexbox;
  display: flex;
}

message-composer textarea {
  margin: 5px;
  padding: 0;
  border: 0;
  -ms-flex-positive: 2;
  flex-grow: 2;
  background-color: #f8f8f8;
  font-size: 14px;
  resize: none;
  word-wrap: break-word;
}

message-composer button {
  margin: 5px;
  border-radius: 5px;
  background-color: #158ffe;
  color: #fff;
  border: 1px solid #fff;
  cursor: pointer;
}

message-composer button[disabled] {
  opacity: .5;
  pointer-events: none;
}

simple-chat {
  border: 1px solid #b2b2b2;
  display: inline-block;
  width: 100%;
  height: 750px;
  position: relative;
  font-size: 14px;
  font-family: "Helvetica Neue",Roboto,sans-serif;
}

.message-wrapper {
  position: relative;
}

.message-wrapper:last-child {
  margin-bottom: 10px;
}

.simple-chat-container {
  overflow-y: scroll;
  height: calc(100% - 50px);
}

.simple-chat-container.full-height {
  height: 100%;
}
