﻿@media only screen and (max-width: 667px) {
  /* 576 */
  .tabulator .tabulator-tableholder {
    overflow-x: hidden;
  }
  .tabulator-col,
  .tabulator-cell {
    width: 110px !important;
  }
  .chatTableIcons {
    font-size: 20px !important;
  }
}
.chatModal{
  width: 70px;
}
.newMessage {
  background-color: #069cce45 !important;
}

.chatbox {
  position: fixed;
  z-index: 9999;
  bottom: 40px;
  right: 25px;
}

.chatbox__support {
  display: flex;
  flex-direction: column;
  background: #eee;
  width: 500px;
  height: 450px;
  transition: all 0.5s ease-in-out;
  z-index: -123456;
  opacity: 0;
  position: fixed;
  bottom: 80px;
  right: 40px;
  pointer-events: none;
}

.chatbox__support {
  background: #f9f9f9;
  height: 450px;
  width: 450px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  margin-bottom: 15px;
}

@media (max-width: 700px) {
  .chatbox__support {
    width: 100% !important;
    height: 100% !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 0;
    display: none;
    pointer-events: auto;
  }
}

#chatMessages {
  display: none;
}

.chatbox__support.chatbox--active {
  display: flex;
  transform: translateY(0);
  z-index: 123456;
  opacity: 1;
  pointer-events: auto;
}

.chatbox--active {
  transform: translateY(-40px);
  z-index: 123456;
  opacity: 1;
}

.chatbox__button {
  text-align: right;
}

.chatbox__header {
  position: sticky;
  top: 0;
  background: orange;
}

.chatbox__messages {
  flex-grow: 1;
  overflow-y: auto;
}

.chatbox__messages_server {
  padding: 10px;
  overflow-y: auto;
  max-height: 400px;
}

.messages__item {
  background: orange;
  max-width: 60.6%;
  width: fit-content;
}

.messages__item--operator {
  margin-left: auto;
}

.messages__item--visitor {
  margin-right: auto;
}

.chatbox__footer {
  position: sticky;
  bottom: 0 !important;
}
.er{
  height: 20px;
}
html {
  --primaryGradient: linear-gradient(93.12deg, #0274CF 0.52%, #1EB1E2 100%);
  --secondaryGradient: linear-gradient(
    268.91deg,
    #0274CF -2.14%,
    #1EB1E2 99.69%
  );
  --primaryBoxShadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
  --secondaryBoxShadow: 0px -10px 15px rgba(0, 0, 0, 0.1);
  --light: 300;
  --regular: 400;
  --semiBold: 600;
  --extraLight: 300;
  --italic: 300;
  --primary: #5b55e4;
}
.chatbox__header {
  background: var(--primaryGradient);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 15px 15px;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  box-shadow: var(--primaryBoxShadow);
}

.closeBtn {
  background-color: white;
  width: 30px;
  height: 30px;
  padding-top: -10px;
}

.chatbox__image--header {
  margin-right: 15px;
}

.chatbox__heading--header {
  font-size: 1.5rem;
  color: white;
  padding-top: 11px !important;
  margin-top: 0 !important;
}

.chatbox__description--header {
  display: hidden !important;
}

.chatbox__messages {
  padding: 0 20px;
}

.messages__item {
  margin-top: 10px;
  background: #e0e0e0;
  padding: 8px 12px;
  max-width: 70%;
}

.messages__item--visitor,
.messages__item--typing {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

.messages__item--operator {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border-bottom-left-radius: 20px;
  background: var(--primary);
  color: white;
}

.chatbox__footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px;
  background: var(--secondaryGradient);
  box-shadow: var(--secondaryBoxShadow);
  margin-top: 20px;
}

.chatbox__footer input {
  border: none;
  padding: 10px 10px;
  border-radius: 30px;
}

.chatbox__send--footer {
  color: white;
  background: #1EB1E2;
  padding: 10px;
  border-radius: 20px;
}

.chatbox__button button,
.chatbox__button button:focus,
.chatbox__button button:visited {
  padding: 10px;
  background: white;
  border: none;
  outline: none;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
  border-bottom-left-radius: 50px;
  box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}
.letChatImg{
  width: 40px;height: 40px;
}
.let_chat {
  margin-bottom: -10px;
  padding-left: 5px;
  font-style: italic;
  color: #39336d;
}

.startchat_button {
  text-align: center;
  width: 100%;
  padding: 8px 5px;
  display: block;
  margin-top: 10px;
}

.form_box {
  height: 100%;
}
.form_box form input textarea {
  border-radius: 20px;
}

.sender {
  margin-bottom: -3px;
  font-size: 12.5px;
  color: gray;
  text-transform: capitalize;
}

.box {
  padding: 5px;
}

.box-client {
  color: white;
  background: var(--secondaryGradient);
  box-shadow: var(--secondaryBoxShadow);
  border-radius: 10px 10px 0px 10px;
  margin-right: 2px;
}

.box-server {
  color: black;
  background: white;
  box-shadow: var(--secondaryBoxShadow);
  border-radius: 10px 10px 10px 0px;
  margin-left: 2px;
}

.chat_text_container_client {
  display: flex;
  justify-content: end;
  align-items: center;
  margin: 15px 0;
}

.chat_text_container_server {
  display: flex;
  justify-content: start;
  align-items: center;
  margin: 15px 0;
}

.img_chat {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}