/* #chatlog {
    position: relative;
    height: 100%;
    height: calc(100% - 10px);
    width: 100%;
} */

/* fallback */
@font-face {
  font-family: "Material Icons";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2") format("woff2");
}

.scroll-down {
  position: fixed;
  z-index: 999;
  align-items: center;
  display: inline-block;
  width: 100%;
  bottom: 65px;
  animation: alert-emergency 1s infinite;
}

.material-icons {
  font-family: "Material Icons";
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  /* -webkit-font-feature-settings: 'liga'; */
  -webkit-font-smoothing: antialiased;
}

.modal-margin {
  height: 10%;
}
.location {
  width: 400px;
}
.userdetail-log {
  color: red;
  font-size: 20px;
}
@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (orientation: portrait) {
  div.msg-left-messagedata,
  div.msg-left-messagedata-info,
  div.msg-right-messagedata,
  div.msg-right-messagedata-info {
    max-width: 52vh !important;
  }
}

/* @media only screen 
and (min-device-width : 320px) 
and (max-device-width : 568px) 
and (orientation : portrait) {
    div.msg-left-messagedata,
    div.msg-left-messagedata-info,
    div.msg-right-messagedata,
    div.msg-right-messagedata-info{
        max-width: 47vh !important;
    }
} */

@keyframes alert-emergency {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-o-keyframes alert-emergency {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-moz-keyframes alert-emergency {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes alert-emergency {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.alert-emergency {
  -webkit-animation: alert-emergency 1s infinite;
  -moz-animation: alert-emergency 1s infinite;
  -o-animation: alert-emergency 1s infinite;
  animation: alert-emergency 1s infinite;
}

.brand-logo-livechat {
  width: 60px;
  margin: 2px;
}

.login-screen {
  margin-top: 5%;
}

.transparent {
  background-color: transparent !important;
}

.chat-input-text {
  width: 100%;
  height: 100%;
  display: inline-block;
}

.input-field {
  height: 100%;
}
.input-field-livechat {
  background-color: white;
  padding-left: 5px;
  padding-right: 5px;
}
.livechat-input {
  width: calc(100% - 270px);
  margin-top: 2px;
  margin-left: 10px;
}
.livechat-input-agent {
  width: calc(100% - 370px);
  margin-top: -14px;
  margin-left: 120px;
}
.chat-input-btn {
  float: right;
  height: 100%;
}
.btn.btn-primary {
  height: 100%;
  width: 100%;
  font-size: 16px;
  background-color: #83baf1;
  border-radius: 0px;
  margin-top: -6px;
  margin-bottom: -2px;
}
.btn.btn-primary-client {
  height: 100%;
  width: 100%;
  font-size: 16px;
  background-color: #83baf1;
  border-radius: 0px;
  margin-top: -9px;
  margin-bottom: -2px;
}
.chat-input-text.input-field {
  height: 100%;
}

select.browser-default {
  margin-left: 4px;
  margin-top: 8px;
  /* display: block; */
  width: 100%;
  /* opacity: 1; */
}

select.select-type {
  height: 40px;
  width: 98%;
  opacity: 1;
}

.msg-realtime-time-right {
  position: relative;
  color: black;
  font-size: 10px;
  /* font-weight: bold; */
  display: inline-block;
  top: 0;
  right: 0;
  vertical-align: top;
  margin-left: 4px;
}
/* @keyframes msg-realtime-time-right {
    0%   { opacity:1; }
    50%  { opacity:0; }
    100% { opacity:1; }
  }
  @-o-keyframes msg-realtime-time-right{
    0%   { opacity:1; }
    50%  { opacity:0; }
    100% { opacity:1; }
  }
  @-moz-keyframes msg-realtime-time-right{
    0%   { opacity:1; }
    50%  { opacity:0; }
    100% { opacity:1; }
  }
  @-webkit-keyframes msg-realtime-time-right{
    0%   { opacity:1; }
    50%  { opacity:0; }
    100% { opacity:1; }
  }
  .msg-realtime-time-right {
     -webkit-animation: msg-realtime-time-right 2s infinite;
     -moz-animation: msg-realtime-time-right 2s infinite;
     -o-animation: msg-realtime-time-right 2s infinite;
      animation: msg-realtime-time-right 2s infinite;
  } */

.msg-time-right {
  position: relative;
  color: #aaa;
  font-size: 10px;
  display: inline-block;
  top: 0;
  right: 0;
  vertical-align: top;
  margin-left: 4px;
}

.msg-time-left {
  position: relative;
  color: #aaa;
  font-size: 10px;
  top: 0;
  left: 0;
  vertical-align: top;
  margin-right: 4px;
  float: right;
}

.select-user-list {
  color: black;
  width: 30%;
  float: left;
}

.msg-left-avatarimg {
  width: 25px;
  float: left;
  margin-right: 4px;
}
.msg-right-avatarimg {
  width: 25px;
  float: right;
  margin-left: 4px;
  margin-right: 2px;
}
.message-template {
  width: 110px;
  margin-left: -10px;
  float: left;
  height: 100%;
}
.livechat-emoji-div {
  width: 40px;
  margin-top: 6px;
  float: left;
  font-size: 30px;
  height: 100%;
}
.livechat-send-div {
  width: 110px;
  margin-top: 4px;
  float: right;
  font-size: 30px;
  height: 100%;
}
.livechat-imgupload-div {
  width: 40px;
  float: left;
  font-size: 30px;
  height: 100%;
  cursor: pointer;
  margin-left: 15px;
}
.livechat-image-thumbnail {
  cursor: pointer;
}
.google_map {
  /* height: 500px; */
  /* width: 500px;  */
  /* height : calc(90vh - 28px); */
  width: 100%;
}
.mapouter {
  margin-bottom: -20px;
  margin-top: -20px;
}

.chatdata {
  /* position: fixed; */
  display: table-cell;
  vertical-align: bottom;
  /* overflow: -webkit-paged-y; */
  /* -webkit-overflow-scrolling: y; */
  /* overflow: y; */
  /* bottom: 0; */
  height: calc(90vh - 28px);
  width: 10000px;
  /* height: calc(100% - 10px); */
}

.empty {
  height: 10px;
}

.clientmsgpic {
  display: block;
  float: right;
}

.agentmsgpic {
  display: block;
  float: left;
}

.chatimage {
  max-width: 400px;
  height: auto;
}
.chatvideo {
  max-width: 600px;
  height: auto;
}
div.msg-realtime-left-messagedata {
  color: black;
  border-radius: 3px;
  background: #e3f2fd;
  padding-right: 8px;
  padding-left: 8px;
  display: inline-block;
  padding-top: 3px;
  margin-bottom: 8px;
  /* margin-left: -3px; */
  max-width: 100vh;
  word-wrap: break-word;
}

div.msg-left-messagedata {
  color: black;
  border-radius: 3px;
  background: #e3f2fd;
  padding-right: 8px;
  padding-left: 8px;
  display: inline-block;
  padding-top: 3px;
  margin-bottom: 8px;
  /* margin-left: -3px; */
  max-width: 100vh;
  word-wrap: break-word;
}
div.msg-right-messagedata {
  color: black;
  border-radius: 3px;
  background: #ffefef;
  padding-left: 8px;
  padding-right: 8px;
  padding-top: 3px;
  /* margin-left: -2px; */
  max-width: 100vh;
  word-wrap: break-word;
  float: right;
}

div.msg-left-messagedata-info {
  color: black;
  border-radius: 3px;
  background: #ececec;
  padding-right: 8px;
  padding-left: 8px;
  display: inline-block;
  padding-top: 3px;
  margin-bottom: 8px;
  /* margin-left: -3px; */
  max-width: 100vh;
  word-wrap: break-word;
}
div.msg-right-messagedata-info {
  color: black;
  border-radius: 3px;
  background: #ececec;
  padding-left: 8px;
  padding-right: 8px;
  padding-top: 3px;
  /* margin-left: -2px; */
  max-width: 100vh;
  word-wrap: break-word;
  float: right;
}

body.noscroll {
  margin: 0;
  padding: 0;
  border-width: 0;
  position: fixed;
}
body {
  background-color: white;
}

.msg-row {
  display: inline-block;
  position: relative;
  margin: 2px;
  background-size: 100%;
  white-space: pre-wrap;
  width: calc(100% - 15px);
  top: 8px;
  padding-left: 5px;
}

div.clientmsg {
  color: black;
  border-radius: 3px;
  background: #efdfe2;
  padding-right: 8px;
  padding-left: 8px;
  float: right;
  height: 33px;
  padding-top: 3px;
  white-space: pre-wrap;
  height: 100%;
  max-width: calc(100% - 60px);
  word-wrap: break-word;
}
div.agentmsg {
  color: black;
  border-radius: 3px;
  background: #bddbf5;
  padding-left: 8px;
  padding-right: 8px;
  float: left;
  height: 33px;
  padding-top: 3px;
  margin-left: -2px;
  height: 100%;
  max-width: calc(100% - 60px);
  word-wrap: break-word;
}

.nav-livechat {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 25px;
  /* background-color: #abcdef85; */
}

.nav-reconnecting {
  color: red;
  -webkit-animation: alert-emergency 1s infinite;
  -moz-animation: alert-emergency 1s infinite;
  -o-animation: alert-emergency 1s infinite;
  animation: alert-emergency 1s infinite;
}

.nav a {
  font-size: 20px;
  padding-left: 10px;
}

nav .nav-wrapper {
  height: 55px;
}

#disconnect {
  margin-top: -13px;
  margin-right: 0px;
}

.logo-livechat {
  position: fixed;
  font-size: 24px;
  color: black;
  margin-left: 10px;
  margin-top: -3px;
}

.chatboxheader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background-color: #abcdef85;
  z-index: 999;
}

.chatboxcontent {
  position: fixed;
  top: 64px;
  bottom: 55px;
  left: 0;
  right: 0;
  background-color: white;
  overflow-y: scroll;
  overflow-x: hidden;
}

.close-thread-chatboxcontent {
  position: fixed;
  top: 65px;
  bottom: 55px;
  left: 0;
  right: 0;
  background-color: #80808024;
  overflow-y: scroll;
  border-radius: 0px;
}

.close-input-field {
  background-color: #80808000;
}

.chatboxfooter {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55px;
  border-top: 1px solid rgb(222, 222, 222);
  /* padding-left: 10px; */
  background-color: #f1f1f182;
}

.close-thread-chatboxfooter {
  background-color: #80808024;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55px;
  border-top: 1px solid #bfc5c1;
  padding-left: 10px;
}

.receiving-emergency-list {
  background-color: #fbd0d0;
}

#sendMsg {
  width: 10%;
  float: right;
  font-size: 25px;
  height: 100%;
  /*padding-right: -10px;*/
  /*border-radius: 0px;*/
}
#browseImg {
  width: 10%;
  height: 100%;
}
#messageInputClient,
#messageInputAgent {
  width: 78%;
  font-size: 18px;
  display: inline-block;
  border-radius: 0px;
  outline: none;
  height: 55px;
  /*padding-left:4px;*/
  margin-left: 10px;
  margin-right: 10px;
  border-bottom: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.form-control {
  outline: none;
}

#typingRealtimeClient {
  font-size: 18px;
  display: inline-block;
  margin-left: 5px;
  bottom: 62px;
  right: 8px;
  height: 30px;
  border-radius: 3px;
  background: #efdfe2;
  padding-top: 3px;
  padding-right: 8px;
  padding-left: 8px;
  display: none;
  color: black;
  word-wrap: break-word;
  max-width: calc(100% - 60px);
}

#typingRealtimeAgent {
  font-size: 18px;
  bottom: 62px;
  right: 8px;
  height: 33px;
  border-radius: 3px;
  background: #bddbf5;
  padding-top: 3px;
  padding-right: 8px;
  padding-left: 8px;
  display: none;
  color: black;
  left: 0px;
  word-wrap: break-word;
  max-width: calc(100% - 60px);
}

.typingrow {
  display: inline-block;
  position: absolute;
  width: 100%;
  margin: 2px;
  bottom: 0;
  margin-bottom: 14px;
  margin-left: 12px;
}
.font-adjust-btn {
  background-color: #80808094;
  width: 20px;
  font-size: 16px;
  border-style: solid;
  border-width: 1px;
  margin-top: -1px;
}
.close-thread-btn {
  cursor: pointer;
  height: 100%;
  font-size: 14px;
  background-color: #ef9a9a;
  border-radius: 0px;
}
.send-emergency-history {
  cursor: pointer;
  height: 100%;
  font-size: 16px;
  background-color: red;
  border-radius: 0px;
}
.edit-thread-typemessage {
  cursor: pointer;
  height: 100%;
  font-size: 16px;
  background-color: cornflowerblue;
  border-radius: 0px;
}
.change-agent-btn {
  cursor: pointer;
  height: 100%;
  font-size: 14px;
  background-color: #6877d0;
  border-radius: 0px;
}
.agent-reconnect {
  position: fixed;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 999;
  font-size: 20px;
}
.lds-ring {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 8px solid #2a7efc;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #2a7efc transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.client-alway-notification {
  color: red;
}
.client-alway-notification > div {
  height: 20px;
}
.client-alway-btn {
  cursor: pointer;
  font-size: 14px;
  margin-top: 10px;
  margin-left: -10px;
  margin-right: -9px;
  line-height: 20px;
  height: 100%;
  width: 78px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 0px;
  color: red;
  -webkit-animation: alert-emergency 2s infinite;
  -moz-animation: alert-emergency 2s infinite;
  -o-animation: alert-emergency 2s infinite;
  animation: alert-emergency 2s infinite;
}
@keyframes client-alway-btn {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-o-keyframes client-alway-btn {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-moz-keyframes client-alway-btn {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes client-alway-btn {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.client-history-btn {
  cursor: pointer;
  height: 100%;
  font-size: 14px;
  background-color: #43ab5e;
  border-radius: 0px;
}

@keyframes flickerAnimation {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-o-keyframes flickerAnimation {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-moz-keyframes flickerAnimation {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes flickerAnimation {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.typecompleteradio {
  /* position: relative; */
  left: 23px !important;
  opacity: 1 !important;
  margin-top: 5px !important;
}

.typecompletetext {
  color: black !important;
  font-size: 16px !important;
  margin-left: 26px !important;
  margin-bottom: 10px !important;
}

/*
#typingRealtimeAgent, #typingRealtimeClient {
   -webkit-animation: flickerAnimation 1s infinite;
   -moz-animation: flickerAnimation 1s infinite;
   -o-animation: flickerAnimation 1s infinite;
    animation: flickerAnimation 1s infinite;
}

*/
.star {
  /* position: relative; */
  /* display: inline-block;
    margin: 5px; */
  margin: 5px;
}
.star-level {
  width: 50px;
}
.star-color-hide {
  display: none;
}
.star-color-show {
  width: 50px;
}
.header-rating {
  text-align: center;
}
.comment-rating {
  font-size: 16px;
  height: 150px;
  border: 1px solid #aca8a8;
  border-radius: 8px !important;
  resize: none;
  outline: none;
}
.textarea:focus {
  resize: none;
  outline: none;
}
.btn-rating {
  width: 89%;
  font-size: 20px;
}
