@font-face {
     font-family: "calibri-regular";
     src: url("/wp-content/themes/7comm/assets/font/calibri-regular.ttf");
}

#footer-chatbot {
  position: fixed;
  margin: 0px 0px 2px 2px;
  padding: 0px 0px 0px 0px;
  bottom: 0;
  width: 100%;
  text-align: start;
  height: 75px;
  background: #ffffff00;
  color: white;
  vertical-align: bottom;
  z-index: 1001;
}

.chatcontainer {
  font-family: "calibri-regular";
  position: fixed;
  margin: 0px 0px 40px 65px;
  bottom: 0;
  width: 30%;
  min-width: 350px;
  text-align: start;
  height: 440px;
  background: #ffff;
  background-color: #fff;
  z-index: 1002;
  border-radius: 10px 10px 10px 10px;
  box-shadow: 5px 5px 18px #888888;
  transition: width 1s, height 0.4s, opacity 0.5s, visibility 0.5s;
  visibility: visible;
}

.chatcontainer.hidden {
  opacity: 0;
  visibility: hidden;
}

#chatbot {
  cursor: pointer;
  max-width: 70px;
  max-height: 70px;
}

#closeBtn {
  cursor: pointer;
}

#sendBtn {
  cursor: pointer;
}


#attachmentBtn {
  cursor: pointer;
}

#chatHeader {
  margin: 1px 0px 0px 5px;
  width: 98%;
  min-height: 20px;
  padding: 0px 0px 0px 0px;
  align-items: end;
  text-align: right;
  background-color: #fff;
}
.chat-messages {
  margin: 0 0 0 0;
  flex: 1;
  font-size: 0.9em;
  background-color: #fff;
  padding: 5px;
  height: 76%;
  overflow-y: scroll;
}
.message {
  margin-bottom: 10px;
}
.message.sender {
  text-align: right;
}
.message.receiver {
  text-align: left;
}
.message.sender .message-body {
  background-color: #EFF7F8;
  font-style: italic;
  border-radius: 10px 0 10px 10px;
}
.message.receiver .message-body {
  white-space: pre-line;
  background-color: #1266E3;
  color: #FFFFFF;
  border-radius: 0 10px 10px 10px;
}

.message.receiver .message-action {
  white-space: pre-line;
  background-color: #fff;
  color: #076eff;
  border-radius: 5px 5px 5px 5px;
  border-color: #076eff;
  border-style: solid;
  text-decoration: underline;
  cursor: pointer;
  border-width: 1px;
  padding: 0px 4px 0px 4px;
  display: inline-block;
  max-width: 90%;
  word-wrap: break-word;
  margin-right: 5px;
}
.message-body {
  padding: 4px 12px;
  display: inline-block;
  max-width: 90%;
  word-wrap: break-word;
}
.message-body a{
  color: #0dfdd3;
  text-decoration: underline;
}
.input-container {
  padding: 5px;
  text-align: left;
  align-items: center;
  background-color: #fff;
}

.input-container input[type="text"] {
  font-size: 0.9em;
  width: calc(100% - 30px);
  padding: 4px;
  border: 1px solid #ccc;
  border-radius: 4px;
  outline: none;
}

.typing-indicator {
  display: inline-block;
  position: relative;
  width: 70px;
  height: 5px;
}

.typing-indicator div {
  display: inline-block;
  position: absolute;
  left: 8px;
  width: 0.5em;
  height: 0.5em;
  background-color: #007bff;
  border-radius: 50%;
  animation: typing-animation 1s infinite ease-in-out;
}

.typing-indicator div:nth-child(2) {
  left: 32px;
  animation-delay: 0.1s;
}

.typing-indicator div:nth-child(3) {
  left: 56px;
  animation-delay: 0.3s;
}

@keyframes typing-animation {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

/* a:link { */
  /* text-decoration: none; */
/* } */

/* a:hover, */
/* a:active, */
/* a:visited, */
/* a:link { */
  /* color: #000; */
  /* font-style: italic; */
  /* text-decoration: underline; */
  /* border: 1px solid rgba(255, 255, 255, 0); */
/* } */

.references { 
  font-size: 0.9em;
}
.container-buttons {
  margin: 0 0 0 0;
  flex: 1;
  font-size: 0.9em;
  background-color: #000;
  padding: 0px;
}

arquivofooter {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #a0a0ff;
  padding: 0px;
  text-align: left;
  z-index: 1003;
}

.teste {
  margin-top: 0px;
  vertical-align: middle;
  text-align: center;
  background-color: #fff;
}
.message-teste {
  font-size: 0.9em;
  background-color: #007bff;
  color: #fff;
  border-radius: 10px 10px 10px 10px;
  padding: 4px 12px;
  display: inline-block;
  max-width: 90%;
  word-wrap: break-word;
  cursor: pointer;
}

.btnenviar {
  font-size: 0.9em;
  background-color: #007bff;
  color: #fff;
  border-radius: 10px 10px 10px 10px;
  padding: 4px 12px;
  display: inline-block;
  word-wrap: break-word;
  text-align: center;
  cursor: pointer;
  width: 80px;
}

.required-file {
  font-size: 0.8em;
  padding: 0px;
  font-weight: bold;
}

.custom-upload {
  /* margin: 10px 0px 0px 0px;  
  width: 100px; */
  /* display: inline-block;
  padding: 6px 12px; */
  margin: 0px 0px 0px 10px;
  height: 30px;
  width: calc(100% - 45px);
  cursor: pointer;
  border: 2px dashed #ccc;
  text-align: center;
}

input[type="file"] {
  display: none;
}

.enviararquivo {
  background-color: #007bff;
  /* margin-left: 10px; */
  color: #f0f;
  font-weight: bold;
  text-align: center;
  border-radius: 3px 3px 3px 3px;
  display: inline-block;
  /* min-width: 120px; */
  font-size: 0.8em;
  cursor: pointer;
}

#divFileUpload {
  visibility: hidden;  
}

#tblFiles {
  margin: 0px 0px 0px 0px;
  font-size: 0.9em;
  text-align: center;
  border: 1px dashed;
}

/* th { */
  /* background-color: #aee; */
  /* color: #000; */
  /* border: 1px dashed; */
  /* font-weight: bold; */
/* } */

/* tr, td { */
  /* padding: 0px 5px 0px 5px; */
  /* border: 1px dashed; */
  /* text-wrap: nowrap; */
/* } */

.message.table {
  text-align: left;
}
.message.table .message-body {
  white-space: pre-line;
  background-color: #fff;
  color: #333;
  border-radius: 0 10px 10px 10px;
}