/* The popup chat - hidden by default */
.chat-btn{
  z-index: 1172;
    bottom: 3%;
    border-radius: 45px;
    right: 10%;
    position: fixed;
    padding: 10px;
}
.chat-popup {
  display: none;
  position: fixed;
  bottom: 0;
  border: 3px solid #f1f1f1;
  z-index: 1500;
  height: 600px;
  width: 100%;
  background-color: white
}

/* Add styles to the form container */
.form-container {
  width: 100%;
  padding: 10px;
  background-color: white;
}

/* Full-width textarea */
.chat-textarea {
  width: 100%;
  padding: 5px;
  border: solid #efe5e5 1px;
  resize: none;
}

/* When the textarea gets focus, do something */
.chat-textarea:focus {
  background-color: #fff;
  outline: none;
  border-color : #17a2b8;
}

/* Add some hover effects to buttons */
.form-container .btn:hover, .open-button:hover {
  opacity: 1;
}
.chat-message{
  height: 515px;
  width: 100%;
  border: solid #efe5e5 1px;
  background: #f8f8f8;
  overflow-y: scroll;
}
.dp-chat{
  width: 20px !important;
  height: 20px !important;
}

.customer-text{
  margin-top: 3px;
  margin-bottom: 3px;
  width: 75%; 
  text-align: justify;
}
.chat-message::-webkit-scrollbar {
    width: 0px;
    background: transparent; /* make scrollbar transparent */
}
.dp-chat-padding{
  margin-left: 5px;
  margin-right: 5px;
}


.attachments-window{
   bottom: 42px;
   position: absolute;
   right: 13px;
   text-align: right;
   display: flex;
}
.attachment-upload{
    padding: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white !important;
    background-color: #17a2b8 !important;
    margin-right: 3px;
}



.attachment-upload label{
  display: flex;
    justify-content: center;
    align-items: center;
    font-size: 19px;
    height: 100%;
    width: 100%;
    color: white;
}
 .attachment-upload:hover, .attachment-upload label:hover{
  background-color: #0c7484 !important;
  cursor: pointer;

}
@media screen and (min-width: 800px) {
   .chat-popup {
    width: 350px;
    right: 15px;

   }
   .chat-btn{
    bottom: 36%;
   }
}

.attachment-upload[titles]:hover:after {
  content: attr(titles);
  /*position: absolute;*/
  background-color: #10101061;
  color: white;
  border-radius: 5px;
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 2px;
  padding-bottom: 2px;
  margin-right: 15px;
}
.upload-loading{
  width: 100%;
  position: absolute;
    color: red;
    left: 34%;
    bottom: 36px;
    display:  none;
}


/*.chat-box{
  margin-top: 3px;
  margin-bottom: 3px;
  width: 75%; 
  text-align: justify;
}*/
.chat-box{
  margin-top: 2px;
  margin-bottom: 2px;
  /*max-width: 90%; */
  width: 75%; 
  text-align: justify;
  position: relative;
  border-radius: 10px
}
.sb1{
      margin-right: 17px;
      background: #eafdff !important;
}
.sb2{
      margin-left: 17px;
}
.sb1:before {
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  border-left: 10px solid #eafdff;
  border-right: 10px solid transparent;
  border-top: 10px solid #eafdff;
  border-bottom: 10px solid transparent;
  right: -19px;
  top: 3px;
}

.sb2:before {
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  border-left: 10px solid transparent;
  border-right: 10px solid #fff;
  border-top: 10px solid #fff;
  border-bottom: 10px solid transparent;
  left: -19px;
  top: 3px;
}
.audio-control{
  margin-left: -5px;
    max-width: 100%;
}
