/*Chat CSS*/
#chat_widnow {
    width: 250px;
    bottom: 80px;
    right: 0;
    position: fixed;
    overflow-x: hidden;
    box-shadow: 0 5px 10px -2px rgba(0, 0, 0, 0.7) !important;
}

.chat_header {
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    box-shadow: 0 1px 2px rgb(10 10 10 / 10%);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background: #084B5B;
    color: #fff;
}

.chat_search input{
  width: 100%;
  height: 2rem;
  border: none;
}

#chat_title_bar {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: #363636;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    font-weight: 700;
    padding: 0.75rem;
    color: #fff;
}

.tag {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: whitesmoke;
    border-radius: 290486px;
    color: #4a4a4a;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    font-size: 0.75rem;
    height: 2em;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    line-height: 1.5;
    padding-left: 0.875em;
    padding-right: 0.875em;
    white-space: nowrap;
    background-color: #00d1b2;
    color: #fff;
}

#chat_min_button {
    margin-left: auto;
    cursor: pointer;
}

#chat_box {
    height: 318px;
    background: #DFDFDF;
}
    /*Chat End*/




    #chat_box a {
        display: block;
        padding: 8px 15px;
        cursor: pointer;
        text-decoration: none;
        color: #fff;
        background: #00D1B1;
    }

    #chat_box .bg-info {
        display: block;
        padding: 8px 15px;
        cursor: pointer;
        text-decoration: none;
    }

.ui-chatbox .ui-widget-header {
    color: #fff;
    font-weight: 400;
    background: #084B5B;
    height: 50px;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    box-shadow: 0 1px 2px rgb(10 10 10 / 10%);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    border: none;
    border-radius: initial;
    min-width: 100% !important;
}
.ui-widget-header > span {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: #363636;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    font-weight: 700;
    padding: 0.75rem;
    color: #fff;
}

.ui-widget-header > a {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color:#fff;
    padding: 0.35rem;
}

.ui-widget-header > a > span {
    color:#fff;
}


.ui-chatbox-input {
    border: 0 !important;
    width: 100% !important;
}

.ui-chatbox-input-box {
    width: 100% !important;
    min-height: 50px !important;
    border-radius: inherit;
    outline: none;
}

/* style sheets */
.ui-chatbox {
    position: fixed;
    bottom:0;
  
      box-shadow: 0 5px 10px -2px rgba(0, 0, 0, 0.7) !important;
}

.ui-chatbox-titlebar {
    padding: 4px 3px;
    height: 28px;
    cursor: pointer;

    border-bottom:0
}

.ui-chatbox-content {
    padding: 0px;
    margin: 0px;
    border: 0px;
}

.ui-chatbox-log {
    padding: 13px;
    height: 245px;
    overflow-y: auto;
    overflow-x: hidden;
    background: #FFFFFF;
    position: relative;
}

.ui-chatbox-input {
    padding: 3px;
    border-top: 1px solid grey;
    overflow: hidden;
}

.ui-chatbox-input-box {
    margin: 5px;
    border: initial !important;
    padding: 2px;
    height: 50px;
}

.ui-chatbox-icon {
    float: right;
}

.ui-chatbox-input-focus {
    border-color: #6699FF;
}

.ui-chatbox-msg {
    margin-top: 10px;
    float: left;
    clear: both;
    /* Source: http://snipplr.com/view/10979/css-cross-browser-word-wrap */
    white-space: pre-wrap;      /* CSS3 */
    white-space: -moz-pre-wrap; /* Firefox */
    white-space: -pre-wrap;     /* Opera <7 */
    white-space: -o-pre-wrap;   /* Opera 7 */
    word-wrap: break-word;      /* IE */
}


.chat-messages {
    float: left;
    width: 80%;
}

.chat-message-group .chat-messages {
    float: left;
    width: 80%;
    margin-bottom: 20px;
}

.chat-messages .from {
  float: left;
  display: block;
  width: 100%;
  text-align: left;
  font-size: 11px;
}

.writer-user .chat-messages {
    float: right;
    width: 100%;
}

.chat-messages .from {
    float: left;
    display: block;
    width: 100%;
    text-align: left;
    font-size: 11px;
    margin-bottom: 4px;
}

.chat-message-group .message {
    float: left;
    padding: 10px;
    background: #ecf1f8;
    font-size: 13px;
    border-radius: 5px;
    margin-bottom: 3px;
}

.chat-message-group .typing{
    float: left;
    margin-left: 4px;
  }

.writer-user .chat-messages .message {
    float: right;
    background: #683db8;
    color: #FFF;
}

.writer-user .chat-messages .from {
  float: left;
  display: block;
  width: 100%;
  text-align: right;
}

.chat-message-group .typing{
    float: left;
  }

/* CSS Spinner */
.spinner {
    margin: 0 30px;
    width: 70px;
    text-align: center;
  }
  
  .spinner > div {
    width: 4px;
    height: 4px;
    background-color: #888;
  
    border-radius: 100%;
    display: inline-block;
    -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  }
  
  .spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
  }
  
  .spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
  }
  
  @-webkit-keyframes sk-bouncedelay {
    0%, 80%, 100% { -webkit-transform: scale(0) }
    40% { -webkit-transform: scale(1.0) }
  }
  
  @keyframes sk-bouncedelay {
    0%, 80%, 100% { 
      -webkit-transform: scale(0);
      transform: scale(0);
    } 40% { 
      -webkit-transform: scale(1.0);
      transform: scale(1.0);
    }
  }


  .allUsersList{
  width: 300px;
  margin: 20px;
}
.allUsersList .card-header{
  background: #683db8;
  color: #FFF;
  padding: 10px;
}
.allUsersList .image img{
  border-radius: 16px;
}
.usersChatList{
  position: absolute;
  width: 250px;
  bottom: 0;
  margin-bottom: 0;
  right: 360px;
}
.show{
  display: block;
}
.thumb-user-list{
  display: none;
}
.thumb-user-list .image img{
  border-radius: 30px;
}
.usersChatList .card-header{
  background: #683db8;
  font-size: 13px;
}
.chatBox{
  position: absolute;
  bottom: 0;
  right: 0;
  width: 300px;
  margin: 40px;
  margin-bottom: 0;
  font-size: 13px;
}
.chat-content{
  overflow: auto;
  height: 300px;
}
.chatBox .card{
  border-radius: 4px;
}
.chatBox .card-header{
  background: #683db8;
}
.header-title{
  height: 50px;
}
.card-header-title i{
  font-size: 10px;
  color: #32e4cd;
  margin-right: 6px;
}
.card-header .card-header-title{
  color: #FFF;
}
.chat-content small{
  margin: 0;
}
.chat-content p{
  background: #ecf1f8;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 0;
}
.my-content .media-content{
  width: 80%;
}
.my-content .message{
  float: right;
  background: #683db8;
  color: #FFF;
  text-align: right;
  padding: 10px;
  margin-bottom: 4px;
  font-size: 13px;
}
.my-content .chat-content small{
  float: right;
}
.my-content small{
  display: block;
  float: right;
  width: 100%;
  text-align: right;
}
.chat-textarea{
  font-size: 14px;
  padding: 8px;
  height: 40px;
  width: 100%;
  border: none;
  overflow: auto;
  outline: none;

  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  resize: none;
}
.chat-message-group{
  
}
.chat-message-group .chat-thumb{
  float: left;
  width: 20%;
}
.chat-message-group .chat-messages{
  float: left;
  width: 80%;
  margin-bottom: 20px;
}
.chat-message-group .message{
  float: left;
  padding: 10px;
  background: #ecf1f8;
  font-size: 13px;
  border-radius: 5px;
  margin-bottom: 3px;
}
.chat-messages .from{
  float: left;
  display: block;
  width: 100%;
  text-align: left;
  font-size: 11px;
}
.chat-thumb img{
  border-radius: 40px;
}
.writer-user .chat-messages{
  float: right;
  width: 100%;
}
.writer-user .chat-messages .message{
  float: right;
  background: #683db8;
  color: #FFF;
}
.writer-user .chat-messages .from{
  float: left;
  display: block;
  width: 100%;
  text-align: right;
}
.chat-message-group .typing{
  float: left;
}
.chatBox .card-header-icon i{
  color: #FFF;
  font-size: 13px;
}
/* CSSS */
.outside-box{
  height: 100px;
  background: #F8C;
  width: 200px;
  margin: 20px;
  overflow: auto;
}
.outside-box .content-insider{
  height: 300px;
  background: #C9C;
}
/* CSS Spinner */
.spinner {
  margin: 0 30px;
  width: 70px;
  text-align: center;
}

.spinner > div {
  width: 4px;
  height: 4px;
  background-color: #888;

  border-radius: 100%;
  display: inline-block;
  -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.spinner .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
  0%, 80%, 100% { -webkit-transform: scale(0) }
  40% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bouncedelay {
  0%, 80%, 100% { 
    -webkit-transform: scale(0);
    transform: scale(0);
  } 40% { 
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
  }
}
/* EmojiBox */
.emojiBox{
  width: 150px;
  margin: 30px;
}
.emojiBox .box{
  height: 100px;
  padding: 4px;
}
/* */
.card-header-title img{
  border-radius: 40px;
}


****************************************************************


.allUsersList{
  width: 300px;
  margin: 20px;
}
.allUsersList .card-header{
  background: #683db8;
  color: #FFF;
  padding: 10px;
}
.allUsersList .image img{
  border-radius: 16px;
}
.usersChatList{
  position: absolute;
  width: 250px;
  bottom: 0;
  margin-bottom: 0;
  right: 360px;
}
.show{
  display: block;
}
.thumb-user-list{
  display: none;
}
.thumb-user-list .image img{
  border-radius: 30px;
}
.usersChatList .card-header{
  background: #683db8;
  font-size: 13px;
}
.chatBox{
  position: absolute;
  bottom: 0;
  right: 0;
  width: 300px;
  margin: 40px;
  margin-bottom: 0;
  font-size: 13px;
}
.chat-content{
  overflow: auto;
  height: 300px;
}
.chatBox .card{
  border-radius: 4px;
}
.chatBox .card-header{
  background: #683db8;
}
.header-title{
  height: 50px;
}
.card-header-title i{
  font-size: 10px;
  color: #32e4cd;
  margin-right: 6px;
}
.card-header .card-header-title{
  color: #FFF;
}
.chat-content small{
  margin: 0;
}
.chat-content p{
  background: #ecf1f8;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 0;
}
.my-content .media-content{
  width: 80%;
}
.my-content .message{
  float: right;
  background: #683db8;
  color: #FFF;
  text-align: right;
  padding: 10px;
  margin-bottom: 4px;
  font-size: 13px;
}
.my-content .chat-content small{
  float: right;
}
.my-content small{
  display: block;
  float: right;
  width: 100%;
  text-align: right;
}
.chat-textarea{
  font-size: 14px;
  padding: 8px;
  height: 40px;
  width: 100%;
  border: none;
  overflow: auto;
  outline: none;

  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  resize: none;
}
.chat-message-group{
  
}
.chat-message-group .chat-thumb{
  float: left;
  width: 20%;
}
.chat-message-group .chat-messages{
  float: left;
  width: 90%;
  margin-bottom: 0px;
}
.chat-message-group .message{
  float: left;
  padding: 10px;
  background: #ecf1f8;
  font-size: 13px;
  border-radius: 5px;
  margin-bottom: 3px;
}
.chat-messages .from{
  float: left;
  display: block;
  width: 100%;
  text-align: left;
  font-size: 11px;
}
.chat-thumb img{
  border-radius: 40px;
}
.writer-user .chat-messages{
  float: right;
  width: 90%;
}
.writer-user .chat-messages .message{
  float: right;
  background: #084B5B;
  color: #FFF;
}
.writer-user .chat-messages .from{
  float: left;
  display: block;
  width: 100%;
  text-align: right;
}
.chat-message-group .typing{
  float: left;
}
.chatBox .card-header-icon i{
  color: #FFF;
  font-size: 13px;
}
/* CSSS */
.outside-box{
  height: 100px;
  background: #F8C;
  width: 200px;
  margin: 20px;
  overflow: auto;
}
.outside-box .content-insider{
  height: 300px;
  background: #C9C;
}
/* CSS Spinner */
.writing {
  margin: 0 7px;
  text-align: center;
}

/* .chat-message-group.loading {
    position: absolute;
    bottom: 0;
} */

.writing > div {
  width: 4px;
  height: 4px;
  background-color: #fff;

  border-radius: 100%;
  display: inline-block;
  -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.writing .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.writing .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
  0%, 80%, 100% { -webkit-transform: scale(0) }
  40% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bouncedelay {
  0%, 80%, 100% { 
    -webkit-transform: scale(0);
    transform: scale(0);
  } 40% { 
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
  }
}


.ui-chatbox .ui-widget-content {
    border:inherit;
    border-bottom: 1px solid #aaaaaa;
}



#chat-box {
  position: absolute;
  right: 1em;
  bottom: 2.5em;
  z-index: 20;
  overflow: hidden;
  width: 25%;
  height: 80vh;
  transition: transform 1s;
  transition: opacity 0.3s;
  opacity: 0;
}
#chat-box.active {
  opacity: 1;
}
#chat-box .heading {
  background-color: #333333;
  height: 25%;
}
#chat-box .chat-body {
  background-color: white;
  height: 60%;
  display: flex;
  flex-direction: column;
  padding: 1em;
  overflow: scroll;
}
#chat-box .chat-body .msg-row {
  margin-bottom: 0.6em;
  margin-right: 2em;
}
#chat-box .chat-body .msg-row .msg {
  color: #333;
  display: inline-block;
  background-color: #ddeefe;
  padding: 1em;
  border-radius: 12px;
  float: left;
}
#chat-box .chat-body .msg-row .msg.own {
  margin-right: 0em;
  margin-left: 2em;
  background-color: #ddfeed;
  float: right;
}
#chat-box .message-input {
  background-color: #f4f7f9;
  min-height: 15%;
  display: flex;
  padding: 10px;
}
#chat-box .message-input input[type=text] {
  width: 100%;
  background-color: transparent;
  border: none;
}
#chat-box .message-input input[type=text]::-webkit-input-placeholder {
  color: #a5adb6;
}
#chat-box .message-input input[type=text]:focus {
  outline: none;
}

#chat-prompt {
  position: absolute;
  right: 1em;
  bottom: 1em;
  z-index: 56;
  background-color: #333333;
  display: inline-block;
  padding: 1em;
  cursor: pointer;
  border-radius: 100%;
}
#chat-prompt .icon-container {
  display: flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
}
#chat-prompt i {
  color: white;
  font-size: 24px;
}
#chat-prompt i.fa-comments {
  animation: disappear 0.5s linear reverse;
  animation-fill-mode: forwards;
}
#chat-prompt i.fa-times {
  display: none;
}
#chat-prompt.active .fa-comments {
  animation: disappear 0.5s linear;
  animation-fill-mode: forwards;
  display: none;
}
#chat-prompt.active .fa-times {
  opacity: 1;
  display: block;
  animation: disappear 0.5s linear reverse;
  animation-fill-mode: forwards;
}

@keyframes disappear {
  0% {
    display: block;
    opacity: 1;
  }
  75% {
    opacity: 0;
    display: block;
  }
  100% {
    opacity: 0;
    display: none;
  }
}