@import 'https://fonts.googleapis.com/css?family=Noto+Sans';
::-webkit-scrollbar {
  width: 5px; 
}

::-webkit-scrollbar-track {
  border-radius: 15px;
  background-color: rgba(25, 147, 147, 0.1); }

::-webkit-scrollbar-thumb {
  border-radius: 15px;
  background-color: rgba(25, 147, 147, 0.6); }
.chat-window-div{
  background-color: white;
  position: relative;
width: 75%;
    float: right;
  }
.chat-thread-div {
  background-color: #f0f8ff6e;
  margin: 6% auto 0 auto;
  padding: 1%;
  list-style: none;
  position: relative;
  overflow-y: scroll;
  overflow-x: hidden;
  height: 78vh;
  width: 75%;
  /* background-color: rgba(255, 255, 255, 0.85); */
  /* border-radius: 20px; */
  word-break: break-word;
  margin-top: 0;
  border-top-style: solid;
  border-top-width: 1px;
 }

.chat-thread li {
  width: auto;
  max-width: 80%;

  position: relative;
  clear: both;
  text-align: left;
  float:inherit;
  display: inline-block;
  padding: 16px 40px 16px 20px;
  margin: 0 0 20px 0;
  font: 16px/20px 'Noto Sans', sans-serif;
  border-radius: 10px;
  background-color: rgba(25, 147, 147, 0.6); }
.chat_name_link{
  text-decoration: none;
  font-weight: bold;
  color: black;
}
.chat_name_link:hover{
  text-decoration: underline;
}

.chat-thread li.message_left{
  /* position: relative; */
float: revert;
}
.chat-thread li.message_right{
  /* position: relative; */
float: revert;
}
/* Chat - Avatar */
.chat-thread li:before {
  position: absolute;
  top: 0;
  display: none;
  width: 50px;
  height: 50px;
  border-radius: 50px;
  content: ''; }

/* Chat - Speech Bubble Arrow */
.chat-thread li:after {
  position: absolute;
  top: 15px;
  content: '';
  width: 0;
  height: 0;
  border-top: 15px solid rgba(25, 147, 147, 0.6); }

.chat-thread li:nth-child(odd) {
  animation: show-chat-odd 0.15s 1 ease-in;
  -moz-animation: show-chat-odd 0.15s 1 ease-in;
  -webkit-animation: show-chat-odd 0.15s 1 ease-in;
  float: right;
  margin-right: 80px;
  color: #ffffff; }

.chat-thread li:nth-child(odd):before {
  right: -80px;

.chat-thread li:nth-child(odd):after {
  border-right: 15px solid transparent;
  right: -15px; }

.chat-thread li:nth-child(even) {
  animation: show-chat-even 0.15s 1 ease-in;
  -moz-animation: show-chat-even 0.15s 1 ease-in;
  -webkit-animation: show-chat-even 0.15s 1 ease-in;
  float: left;
  margin-left: 80px;
  color: #ffffff; }


.chat-thread li:nth-child(even):before {
  left: -80px;

.chat-thread li:nth-child(even):after {
  border-left: 15px solid transparent;
  left: -15px; }


  .chat-window-message >textarea{
    width: 100%;
  height: 48px;
  font: 32px/48px 'Noto Sans', sans-serif;
  background: aliceblue;
  color: #000000;
  border: 0;
  border-bottom: 1px solid rgba(25, 147, 147, 0.6);
  outline: none;
  margin:0px;}


/* Small screens */
@media all and (max-width: 767px) {
  .chat-thread {
    width: 90%;
    height: 360px; }
  .chat-window {
    left: 5%;
    width: 90%; } }

/* Medium and large screens */
  .chat-window {    width: 100%;
    bottom: 0;
    left: 0;
    /* float: left; */
    position: absolute;
    /* padding: 1%; */
   }

@keyframes show-chat-even {
  0% {
    margin-left: -480px; }
  100% {
    margin-left: 0; } }

@-moz-keyframes show-chat-even {
  0% {
    margin-left: -480px; }
  100% {
    margin-left: 0; } }

@-webkit-keyframes show-chat-even {
  0% {
    margin-left: -480px; }
  100% {
    margin-left: 0; } }

@keyframes show-chat-odd {
  0% {
    margin-right: -480px; }
  100% {
    margin-right: 0; } }

@-moz-keyframes show-chat-odd {
  0% {
    margin-right: -480px; }
  100% {
    margin-right: 0; } }

@-webkit-keyframes show-chat-odd {
  0% {
    margin-right: -480px; }
  100% {
    margin-right: 0; } }
