@font-face {
  font-family: "FontAwesome";
  src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/fonts/fontawesome-webfont.eot");
  src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/fonts/fontawesome-webfont.eot")
      format("embedded-opentype"),
    url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/fonts/fontawesome-webfont.woff2")
      format("woff2"),
    url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/fonts/fontawesome-webfont.woff")
      format("woff"),
    url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/fonts/fontawesome-webfont.ttf")
      format("truetype"),
    url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/fonts/fontawesome-webfont.svg")
      format("svg");
  font-weight: normal;
  font-style: normal;
}

.fa {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.fa-clock-o:before {
  content: "\f017";
}

.fa-paperclip:before {
  content: "\f0c6";
}

.chat {
  width: 320px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 5px;
  box-shadow: 10px 10px 15px 0 rgba(0, 0, 0, 0.3);
}

.chat-header {
  background: #8F8043;
  padding: 20px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.chat-header span {
    float: right;
    cursor:pointer;
}
.chat-header span:hover {
    color: #000;
}
.chat-header__name {
  color: #fff;
  text-transform: uppercase;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  border-radius: 0;
  box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0;
}

::-webkit-scrollbar-thumb:window-inactive {
  background: rgba(0, 0, 0, 0.3);
}

.chat-history {
  height: auto;
  max-height: 400px;
  overflow-y: auto;
  padding: 20px 20px 0 20px;
}

.chat-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.chat-item__img {
  width: 36px;
  border-radius: 50%;
}

.chat-item-me .message {
  margin-left: 15px;
  background: #f6f6f6;
  width: 224px;
}

.chat-item-me .message::before {
  right: 100%;
  border: solid transparent;
  border-right-color: #f6f6f6;
  content: "";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-width: 10px;
  top: 10px;
}

.message {
  padding: 10px;
  border-radius: 5px;
  position: relative;
}

.message div {
  font-size: 13px;
  color: #777;
  word-wrap: break-word;
}

.message__user-name {
  font-size: 13px;
  font-weight: bold;
  color: #000;
}

.fa-clock-o:before {
  color: #999;
  font-size: 11px;
}

.message__time {
  font-size: 11px;
  color: #999;
}

.message__text {
  font-size: 14px;
  line-height: 18px;
  color: #777;
  word-wrap: break-word;
}

.chat-item-other .message {
  margin-right: 15px;
  background: #f6f6f6;
}
.chat-item-other .message::after {
  left: 100%;
  border: solid transparent;
  border-left-color: #f6f6f6;
  content: "";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-width: 10px;
  top: 10px;
}

@media (max-width:991px) {
    .message__text {
        font-size: 18px;
        color: #444;
    }
}

.chat-controls {
  width: 320px;
  margin-top: 10px;
  border-top: 1px solid #f6f6f6;
  padding: 20px 20px 20px 20px;
}

.chat-controls__textarea {
  width: auto;
  border: none;
  padding: 10px;
  border-radius: 5px;
  resize: none;
  outline: none;
  max-height: 80px;
  height: 50px;
  overflow: auto;
  color: #777;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.chat-controls-buttons {
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
}

.chat-controls-buttons-wrapper {
  display: flex;
}

.chat-controls-buttons__send {
  padding: 0 15px;
  background: #8F8043;
  line-height: 25px;
  display: inline-block;
  color: #fff;
  text-decoration: none;
  border-radius: 3px;
  border: 0;
  cursor: pointer;
  margin-left: auto;
}

.chat-controls-buttons__send:hover {
    background: #8F8043;
}

.chat-controls-buttons__send:focus {
    outline: none;
}

.chat-controls__textarea img {
  height: 30px;
  vertical-align: middle;
}

.message__newImg {
  max-width: 150px;
}

[contenteditable="true"]:empty:before {
  content: attr(placeholder);
  color: #999;
  font-family: monospace;
  letter-spacing: 0.015em;
}

[placeholder]:empty:focus:before {
  content: "";
}

.files {
  display: flex;
  align-items: center;
}

#chat-controls-buttons__upload {
  display: none;
}

.chat-controls-buttons__attach {
  color: #999;
  cursor: pointer;
  margin-left: 17px;
  display: flex;
  align-items: center;
}

/*@import "assets/reset/reset.min.css";*/
/*@import "components/app/app.css";*/
