@import url('https://fonts.googleapis.com/css?family=Roboto:300,400');
@font-face {
  font-family: 'Circular' !important;
  src: url('fonts/CircularStd-Medium.otf');
}

.leanbot_btn_small {
  font-size: 13px;
  text-decoration: none;
  color: #fff;
  background-color: #26a69a;
  text-align: center;
  letter-spacing: 0.5px;
  -webkit-transition: background-color 0.2s ease-out;
  transition: background-color 0.2s ease-out;
  cursor: pointer;
  outline: 0;
  border: none;
  border-radius: 2px;
  display: inline-block;
  height: 36px;
  line-height: 36px;
  padding: 0 16px;
  text-transform: uppercase;
  width: 200px !important;
  vertical-align: middle;
  -webkit-tap-highlight-color: transparent;
}

.leanbot_botao_chat {
  width: 7%;
  color: white;
  border: none;
  cursor: pointer;
  opacity: 1;
  position: fixed;
  bottom: 0px;
  right: 11px;
}

.leanbot_botao_chat img {
  width: 100%;
  height: 100%;
}

.leanbot_fecha_chat {
  position: absolute;
  right: 11px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
}

/* *********** baloes de msg *********** */

.leanbot_balao {
  background-color: #f2f2f2;
  color: black;
  border-radius: 20px;
  box-shadow: 0 0 2px #c0c0c0;
  display: inline-block;
  padding: 10px 15px;
  position: relative;
  vertical-align: top;
}

.leanbot_atendente {
  float: left;
  margin: 10px 10px 5px 10px;
  color: black;
  clear: both;
  font-weight: 300;
  font-size: 14px;
}

.leanbot_atendente::before {
  box-shadow: -1px 1px 0px 0px rgba(178, 178, 178, 0.3);
  left: -7px;
}

.leanbot_cliente {
  float: right;
  margin: 5px 0 5px 45px;
  clear: both;
  font-weight: 300;
  font-size: 14px;
  align-items: end;
  display: flex;
  flex-direction: column;
}

.leanbot_cliente_balao {
  background-color: #1c4b82;
  color: #ffffff;
}

.leanbot_cliente::before {
  background-color: #1c4b82;
  box-shadow: 1px -1px 0px 0px rgba(178, 178, 178, 0.4);
  right: -7px;
}

/* ********************************************** */

.leanbot_chat_popup {
  background-color: white;
  box-shadow: 0 1px 10px rgba(167, 167, 167, 0.28);
  bottom: 40px;
  display: flex;
  flex-direction: column;
  font-family: 'Circular', 'Roboto', sans-serif !important;
  height: 100%;
  max-height: 560px;
  max-width: 364px;
  overflow: hidden;
  position: fixed;
  right: 15px;
  width: 100%;
  z-index: 9999;
  border-radius: 10px;
}

.leanbot_chat_titulo_container {
  background-color: #0070b8;
  width: 100%;
  display: flex;
  align-items: center;
  height: 50px;
}

.leanbot_chat_bodyt_container {
  /* height: 83%; */
  height: -moz-calc(100% - (100px));
  height: -webkit-calc(100% - (100px));
  height: calc(100% - (100px));
}

.leanbot_div_chat_messages {
  padding: 0 10px;
  overflow: auto;
  height: 100%;
}

.leanbot_chat_field_control {
  align-items: center;
  display: flex;
  width: 100%;
  height: 50px;
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.leanbot_archive_chatbot_container {
  margin-bottom: 4px;
  padding-left: 6px;
}

.leanbot_chat_field_control
  .leanbot_archive_chatbot_container
  > input[type='file'] {
  display: none;
}

.leanbot_box_chatbot_container {
  width: 89%;
  display: flex;
  justify-content: end;
  margin-bottom: 4px;
  margin-right: 4px;
  margin-left: 5px;
}

.leanbot_campo_texto {
  border-radius: 14px;
  margin-top: 4px;
  overflow: hidden;
  padding: 7px;
  border: 0;
  outline: 0;
  width: 100%;
  font-size: 15px;
  resize: none;
}

.leanbot_campo_texto__disabled {
  pointer-events: none;
  background: #ffffffbd;
}

.leanbot_send_box_chatbot_container {
  width: 10%;
  margin-bottom: 1px;
}

.leanbot_botao_enviar {
  outline: none;
  height: 36px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  line-height: 1;
  color: #827b75;
  border: none;
  background-color: transparent;
  text-align: center;
  cursor: pointer;
}

.leanbot_chat_titulo {
  margin: 0 0 0 15px;
  vertical-align: middle;
  font-size: 18px;
}

.leanbot_chat_image {
  width: 100%;
}

.leanbot_chat_typing {
  width: 11%;
  float: right;
  margin: 5px 5px 0px 0px;
  clear: both;
  padding: 2px 0 9px 0px;
}

.leanbot_chat_field_control .box {
  background: #ffffff;
  height: 36px;
  border-radius: 30px;
  padding: 8px;
}

.leanbot_cliente {
  font-size: 1rem;
  word-break: break-word;
}

.leanbot_atendente {
  font-size: 1rem;
  word-break: break-word;
}

.leanbot_chat_time {
  font-size: 11px;
  opacity: 0.5;
  font-weight: 400;
}

.leanbot_chat_time_client {
  margin: 5px 10px 0 0;
}

.leanbot_chat_time_atendente {
  margin: 5px 0 0 10px;
}

.leanbot_container_button {
  width: 100%;
  float: left;
  text-align: center;
  margin-bottom: 20px;
  display: flex;
  overflow-x: scroll;
  white-space: nowrap;
  resize: none;
}

.leanbot_container_button::-webkit-scrollbar {
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
}

.leanbot-glider-next,
.leanbot-glider-prev {
  border: 0;
  padding: 0;
  user-select: none;
  outline: 0;
}

.leanbot-glider-next,
.leanbot-glider-prev {
  width: 16px !important;
  position: sticky;
  background: 0 0;
  z-index: 2;
  font-size: 40px;
  text-decoration: none;
  left: 0px;
  top: 13%;
  cursor: pointer;
  color: #666;
  opacity: 1;
  line-height: 1;
  transition: opacity 0.5s cubic-bezier(0.17, 0.67, 0.83, 0.67),
    color 0.5s cubic-bezier(0.17, 0.67, 0.83, 0.67);
}

.leanbot-glider-next:focus,
.leanbot-glider-next:hover,
.leanbot-glider-prev:focus,
.leanbot-glider-prev:hover {
  color: #ccc;
}
.leanbot-glider-next {
  right: 0px;
  left: auto;
}
.leanbot-glider-next.disabled,
.leanbot-glider-prev.disabled {
  opacity: 0.25;
  color: #666;
  cursor: default;
}

.leanbot-glider-prev {
  right: 95%;
}

.leanbot_loader {
  animation: is-rotating 1s infinite;
  border: 6px solid #e5e5e5;
  border-radius: 50%;
  border-top-color: #464646;
  height: 28px;
  width: 28px;
  margin-top: 2px;
  margin-left: 5px;
  pointer-events: none;
  display: flex;
  background-color: transparent;
}

@keyframes is-rotating {
  to {
    transform: rotate(1turn);
  }
}

.leanbot_div_chat_messages::-webkit-scrollbar {
  box-shadow: inset 0 0 6px rgb(148 148 148 / 30%);
  width: 9px;
}

.leanbot_div_chat_messages::-webkit-scrollbar-thumb {
  background-color: #c1c1c1;
  border-radius: 10px;
}

.leanbot-dot {
  fill: rgb(60 60 60 / 70%);
  transform-origin: 50% 50%;
  animation: ball-beat 1.1s 0s infinite cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

.leanbot-dot:nth-child(2) {
  animation-delay: 0.3s !important;
}

.leanbot-dot:nth-child(3) {
  animation-delay: 0.6s !important;
}

@keyframes ball-beat {
  0% {
    opacity: 0.7;
  }
  33.33% {
    opacity: 0.55;
  }
  66.67% {
    opacity: 0.4;
  }
  100% {
    opacity: 1;
  }
}

@media screen and (max-device-width: 1024px) {
  .leanbot_titulo {
    height: 45px;
    position: relative;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }

  .leanbot_botao_chat {
    width: 20%;
  }

  .leanbot_chat_popup {
    border: none;
    bottom: 10;
    max-height: 760px;
    max-width: 564px;
    right: 10;
  }
}

@media screen and (max-device-width: 600px) {
  .leanbot_botao_chat {
    width: 20%;
  }

  .leanbot_chat_popup {
    border: none;
    bottom: 0;
    max-height: unset;
    max-width: unset;
    right: 0;
  }

  .leanbot_chat_titulo_container {
    border-top-left-radius: unset;
    border-top-right-radius: unset;
  }

  .leanbot_fecha_chat {
    position: absolute;
    right: 10px;
    color: white;
    cursor: pointer;
    height: 40px;
    width: 40px;
  }

  .leanbot_fecha_chat .material-icons {
    color: #ffffff;
    font-size: 36px;
  }

  .leanbot_chat_bodyt_container {
    /* height: 84%; */
    height: -moz-calc(100% - (100px));
    height: -webkit-calc(100% - (100px));
    height: calc(100% - (100px));
  }

  .leanbot_chat_field_control {
    height: 50px;
  }
}
