/* CSS chat room */

.cursor-pointer{
  cursor: pointer !important;
}

.no-select {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

.chat_window {
  overflow: hidden;
}

.messages {
  position: relative;
  list-style: none;
  padding: 30px 20px 0 20px;
  margin: 0;
  height: 388px;
  background-color: #f5f5f5;
}

.messages .message {
  clear: both;
  overflow: hidden;
  margin-bottom: 15px;
  transition: all 0.5s linear;
  opacity: 0;
}

.messages .message.system .avatar {
  background-color: #b1e0f5;
  float: left;
}

.messages .message.system .text_wrapper {
  background-color: #b1e0f5;
  margin-left: 20px;
}

.messages .message.system .text_wrapper::after,
.messages .message.system .text_wrapper::before {
  right: 100%;
  border-right-color: #b1e0f5;
}

.messages .message.system .text {
  color: #6f6f6f;
}

.messages .message.admin .avatar {
  background-color: #f5886e;
  float: left;
}

.messages .message.admin .text_wrapper {
  background-color: #ffeebf;
  margin-left: 20px;
}

.messages .message.admin .text_wrapper::after,
.messages .message.admin .text_wrapper::before {
  right: 100%;
  border-right-color: #ffeebf;
}

.messages .message.admin .text {
  color: #6f6f6f;
}

.messages .message.left .avatar {
  background-color: #f5886e;
  float: left;
  cursor: pointer;
}

.messages .message.left .text_wrapper {
  background-color: #fff;
  margin-left: 20px;
}

.messages .message.left .text_wrapper::after,
.messages .message.left .text_wrapper::before {
  right: 100%;
  border-right-color: #fff;
}

.messages .message.left .text {
  color: #6f6f6f;
}

.messages .message.right .avatar {
  background-color: #03a9f3;
  float: right;
}

.messages .message.right .text_wrapper {
  background-color: #b1e0f5;
  margin-right: 20px;
  float: right;
}

.messages .message.right .text_wrapper::after,
.messages .message.right .text_wrapper::before {
  left: 100%;
  border-left-color: #b1e0f5;
}

.messages .message.right .text {
  color: #4a6e7d;
}

.messages .message.appeared {
  opacity: 1;
}

.messages .message .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-block;
  text-align: center;
  color: #fff;
  font-size: 14pt;
}

.messages .message .avatar_img {
  border-radius: 50%;
    /* display: flex; */
    width: 100%;
    max-width: 45px;
    height: auto;
    max-height: 45px;
}

.messages .message .text_wrapper {
  display: inline-block;
  padding: 11px 15px;
  border-radius: 6px;
  max-width: calc(100% - 85px);
  position: relative;
}

.messages .message .text_wrapper::after,
.messages .message .text_wrapper:before {
  top: 18px;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

.messages .message .text_wrapper::after {
  border-width: 10px;
  margin-top: -10px;
}

.messages .message .text_wrapper::before {
  border-width: 12px;
  margin-top: -11px;
}

.messages .message .text_wrapper .text {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.1;
}

.bottom_wrapper {
  width: 100%;
  background-color: #fff;
  padding: 0 1rem;
  margin-top: .9rem;
}

.bottom_wrapper .message_input_wrapper {
  display: inline-block;
  height: 40px;
  border-radius: 25px;
  border: 1px solid #bcbdc0;
  width: calc(100% - 50px);
  position: relative;
  padding: 0 20px;
}

.bottom_wrapper .message_input_wrapper .message_input {
  border: none;
  height: 100%;
  box-sizing: border-box;
  width: calc(100% - 40px);
  position: absolute;
  outline-width: 0;
  color: gray;
}

.bottom_wrapper .send_message {
  width: 40px;
  height: 40px;
  display: inline-block;
  border-radius: 50%;
  background-color: #03a9f3;
  border: 2px solid #03a9f3;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s linear;
  text-align: center;
  float: right;
}

.bottom_wrapper .send_message:hover {
  color: #03a9f3;
  background-color: #fff;
}

.bottom_wrapper .send_message .text {
  font-size: 15px;
  font-weight: 300;
  display: inline-block;
  line-height: 40px;
}

.message_template {
  display: none;
}

.avatar-icon {
  display: inline-block;
  line-height: 40px;
}

.display-name-chat {
  margin-bottom: 3px;
}

.messages .message.speaker .avatar {
  background-color:#db3547;
  float: left;
}

.messages .message.speaker .text_wrapper {
  background-color: #ffc4ca;
  margin-left: 20px;
}

.messages .message.speaker .text_wrapper::after,
.messages .message.speaker .text_wrapper::before {
  right: 100%;
  border-right-color: #ffc4ca;
}

.messages .message.speaker .text {
  color: #6f6f6f;
}

/*MULTICHAT*/

.bottom_wrapper_multi {
  width: 100%;
  background-color: #fff;
  margin-top: .5rem;
}

.bottom_wrapper_multi .message_input_wrapper {
  display: inline-block;
  height: 35px;
  border-radius: 20px;
  border: 1px solid #bcbdc0;
  width: calc(100% - 45px);
  position: relative;
  padding: 0 15px;
}

.bottom_wrapper_multi .message_input_wrapper .message_input {
  border: none;
  height: 100%;
  box-sizing: border-box;
  width: calc(100% - 40px);
  position: absolute;
  outline-width: 0;
  color: gray;
  font-size: 14px;
}

.bottom_wrapper_multi .send_message {
  width: 35px;
  height: 35px;
  display: inline-block;
  border-radius: 50%;
  background-color: #03a9f3;
  border: 2px solid #03a9f3;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s linear;
  text-align: center;
  float: right;
}

.bottom_wrapper_multi .send_message:hover {
  color: #03a9f3;
  background-color: #fff;
}

.bottom_wrapper_multi .send_message .text {
  font-size: 14px;
  font-weight: 300;
  display: inline-block;
  line-height: 32px;
  padding-right: 2px;
}

.multi_messages {
  position: relative;
  list-style: none;
  padding: 30px 20px 0 20px;
  margin: 0;
  max-height: 283px;
  background-color: #fff;
}

.multi_messages .message {
  clear: both;
  overflow: hidden;
  margin-bottom: 15px;
  transition: all 0.5s linear;
  opacity: 0;
}

.multi_messages .message.left .text_wrapper {
  background-color: #e4e6eb;
  margin-left: 15px;
}

.multi_messages .message.left .text_wrapper::after,
.multi_messages .message.left .text_wrapper::before {
  right: 99%;
  border-right-color: #e4e6eb;
}

.multi_messages .message.left .text {
  color: #6f6f6f;
}

.multi_messages .message.right .text_wrapper {
  background-color: #b1e0f5;
  margin-right: 15px;
  float: right;
}

.multi_messages .message.right .text_wrapper::after,
.multi_messages .message.right .text_wrapper::before {
  left: 98%;
  border-left-color: #b1e0f5;
}

.multi_messages .message.right .text {
  color: #4a6e7d;
}

.multi_messages .message.appeared {
  opacity: 1;
}

.multi_messages .message .text_wrapper {
  display: inline-block;
  padding: 11px 15px;
  border-radius: 6px;
  max-width: calc(100% - 45px);
  position: relative;
}

.multi_messages .message .text_wrapper::after,
.multi_messages .message .text_wrapper:before {
  top: 18px;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

.multi_messages .message .text_wrapper::after {
  border-width: 10px;
  margin-top: -10px;
}

.multi_messages .message .text_wrapper::before {
  border-width: 12px;
  margin-top: -11px;
}

.multi_messages .message .text_wrapper .text {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.1;
}

.multichat-row{
  position: fixed !important;
  z-index: 999;
  bottom: 0 !important;
  right: 0 !important;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

.box-singlechat{
  -webkit-box-shadow: 0px 0px 7px -2px rgba(107,107,107,0.75);
  -moz-box-shadow: 0px 0px 7px -2px rgba(107,107,107,0.75);
  box-shadow: 0px 0px 7px -2px rgba(107,107,107,0.75);
  border-top-left-radius: 10px !important;
  border-top-right-radius: 10px !important;
  position: absolute;
}

.card-singlechat{
  border-top-left-radius: 10px !important;
  border-top-right-radius: 10px !important;
}

.card-header-singlechat{
  border-top-left-radius: 7px !important;
  border-top-right-radius: 7px !important;
  border-bottom: 1px solid #d7dfe3;
  background-color: #fff !important;
  padding: .4rem .8rem 0 .6rem !important;
}

.card-body-singlechat{
  color: #6f6f6f !important;
  -webkit-box-shadow: inset 0px 5px 13px -13px rgba(79,79,79,1);
  -moz-box-shadow: inset 0px 5px 13px -13px rgba(79,79,79,1);
  box-shadow: inset 0px 5px 13px -13px rgba(79,79,79,1);
}

.rotate{
  transform: rotate(180deg);
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  padding-left: 0.4rem !important;
  padding-bottom: 1px;
}

.minimize-multichat{
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

.tx-0{
  transform: translateX(-91%);
}
.tx-1{
  transform: translateX(-193%);
}
.tx-2{
  transform: translateX(-295%);
}
.tx-3{
  transform: translateX(-340%);
}

@media (max-width: 590px) {

  .tx-0{
    transform: translateX(0%);
  }
  .tx-1{
    transform: translateX(0%);
  }
  .tx-2{
    transform: translateX(0%);
  }
  .tx-3{
    transform: translateX(0%);
  }

  .btn-all-chats{
    transform: translateX(-12.5%) translateY(-420px) !important;
  }

}

.btn-all-chats{
  cursor: pointer;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: inline-block;
  text-align: center;
  color: #fff;
  font-size: 14pt;
  background-color: #ffffffe3;
  bottom: 94px;
  right: 40px;
  box-shadow: 0 0 4px 0px #959595;
  position: absolute;
  z-index: 99;
}

.btn-all-chats span{
  font-size: 18pt;
  line-height: 54px;
  color: #6f6f6f;
}

.btn-all-chats:hover{
  box-shadow: none;
}

.box-all-chats{
  -webkit-box-shadow: 0 0 4px -2px #9d9d9d;
  box-shadow: 0 0 4px -2px #9d9d9d;
  box-shadow: 0 0 4px -2px #9d9d9d;
  border-radius: 8px;
  background-color: #ffffffe3;
  min-width: 60px !important;
}

.bubble-user{
  width: 45px;
  height: 45px;
  border-radius: 50%;
  align-content: center;
  text-align: center;
  background-color: #6f6f6f;
  cursor: pointer;
}

.bubble-user span{
  display: inline-block;
  line-height: 46px;
  font-size: 17pt;
  color: #fff;
}

.qtd-bubble-chat{
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #df1313;
  position: absolute;
  right: 0;
}

.txt-qtd-bubble-chat{
  font-size:12px;
  display: block;
}

.bg-new-chat{
  background-color: #f5f7f8 !important;
  color: #4b4b4b !important;
}

.chat-info{
  background-color: #2980b9;
  color: #fff;
  font-size: 10pt;
}

#alert-pin-message {
  background-color: #ffe6a3;
  color: #727271;
  line-height: 1.2;
  min-height: 64px !important;
  position: absolute;
  top: 0;
  margin-top: 3.4rem;
  z-index: 10;
  width: 100%;
}

.view-last-messages{
  z-index: 10;
  position: absolute;
  width: 100%;
}

.box-perguntas{
  height: 350px !important;
  max-height: 350px !important;
  position: relative;
  list-style: none;
  margin: 0;
}

.enquetes{
  height:430px;
  overflow-y: auto;
  position: relative;
  list-style: none;
  margin: 0;
}

.alert-new-msg{
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #f33d53;
  display: inline-block;
  text-align: center;
  margin-left: 5px;
  bottom: .6rem;
  position: relative;
}

.txt-alert-new-msg{
  font-size: 12px;
  display: block;
  line-height: 21px;
  color: #fff;
}

.badge-gray {
  background: #999999;
  border-color: #999999;
  color: #fff !important;
}

.link-tab-chat{
  padding-right: 15px !important;
}

.buttons-multichat{
  font-size: 9pt;
  line-height: 2.8;
}

#chat-all-footer {
  width: 100%;
  position: fixed;
  left: 0;
  bottom: 0;
  border-bottom: 0;
  z-index: 1040;
  display: flex;
  flex-wrap: wrap;
  font-family: "roboto-light", sans-serif;
  color: #4b4b4b;
}

.online-people-container {
  width: 300px;
  max-height: 25rem;
  min-height: 40px;
  position: absolute;
  z-index: 100;
  background-color: #fff;
  -webkit-box-shadow: 0px 0px 7px -2px rgb(107 107 107 / 75%);
  -moz-box-shadow: 0px 0px 7px -2px rgba(107,107,107,0.75);
  box-shadow: 0px 0px 7px -2px rgb(107 107 107 / 75%);
  border-top-left-radius: 7px !important;
  border-top-right-radius: 7px !important;
  align-self: flex-end !important;
  z-index: 999;
}

.online-people-card-header {
  border-top-left-radius: 7px !important;
  border-top-right-radius: 7px !important;
  border-bottom: 1px solid #d7dfe3;
  background-color: #fff !important;
  padding: .4rem .6rem 0 .6rem !important;
  cursor: pointer;
}

.chat-all-avatar-container {
  position: relative;
  display: inline-flex;
}

.chat-all-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: #03a9f3;
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
}

.chat-all-avatar-me {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: #03a9f3;
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
}

.chat-all-avatar-status {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background-color: #15a224;
  position: absolute;
  bottom: 0;
  right: 0;
  border: 2px solid #fff;
}

.chat-all-name {
  position: relative;
  display: inline-flex;
  line-height: 2.5;
  padding: 0 .5rem;
  font-size: 11pt;
  letter-spacing: .02rem;
  color: #4b4b4b;
  font-weight: 700;
}

.txt-siglechat-name {
  max-width: 27ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-all-minimize {
  position: relative;
  display: inline-flex;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: all 0.1s linear;
  display: inline-block;
  text-align: center;
  line-height: 2.9;
  font-size: 9pt;
  color: #4b4b4b;
  float: right;
}

.chat-all-minimize:hover {
  background-color: #f2f2f2;
}

.chat-all-rotate {
  line-height: 2.5;
  transform: rotate(180deg);
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

.online-people-card-body {
  padding: .4rem 0 0 0 !important;
}

.chat-person-container {
  padding: .6rem;
  border-bottom: 1px solid #f1f3f4;
  display: grid;
  grid-template-columns: 48px;
  grid-template-rows: auto auto;
  gap: 0 15px;
  grid-template-areas:
    "chat-person-avatar-container chat-person-name"
    "chat-person-avatar-container chat-person-desc";
}

.chat-person-container:hover {
  background-color: #eef3f8;
  cursor: pointer;
  width: 100%;
  position: relative;
}

.chat-person-avatar-container {
  grid-area: chat-person-avatar-container;
  position: relative;
}

.chat-person-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #ddd;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
}

.chat-person-avatar-status {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  position: absolute;
  bottom: 0;
  right: 0;
  border: 2px solid #fff;
  background-color: #cdcdcd;
}

.chat-person-avatar-status.status-on{
  background-color: #15a224 !important;
}

.chat-person-avatar-status.status-off{
  background-color: #cdcdcd !important;
}

.chat-person-name {
  grid-area: chat-person-name;
  color: #4b4b4b;
  font-weight: 600;
}

.chat-person-desc {
  grid-area: chat-person-desc;
  color: #4b4b4b;
  font-size: 11pt;
  /*font-style: italic;*/
}

.chat-person-searchbar {
  background-color: #eef3f8;
  padding: .3rem;
  border-radius: 7px;
  margin: .6rem 1rem;
  display: grid;
  grid-template-columns: 30px;
  grid-template-rows: 1fr;
  gap: 0px 0px;
  grid-template-areas:
    "chat-person-searchbar-icon chat-person-searchbar-input-c";
}

.chat-person-searchbar-icon {
  grid-area: chat-person-searchbar-icon;
  text-align: center;
}

.chat-person-searchbar-input-c { grid-area: chat-person-searchbar-input-c; }

.chat-person-searchbar-input-c input {
  border: none;
  background-color: #eef3f8;
}

#chat-all-people-container{
  max-height: 17rem;
  position: relative;
  list-style: none;
  margin: 0;
  height: auto;
  overflow-y: scroll;
}

#chat-all-people-no-results{
  padding: 1.2rem;
  text-align: center;
  line-height: 1.2;
}

#chat-all-people-no-people{
  padding: 1.2rem;
  text-align: center;
  line-height: 1.2;
}

.chat-all-people-no-results-svg{
  background-image: url("../../images/samples/no-result-found.svg");
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  width: auto;
  height: 6rem;
  margin-bottom: 1rem;
}

.chat_rm_msg{
  color: #596a72 !important;
  font-size: 9pt !important;
  padding-left: 5px;
  padding-right: 5px;
  margin-left: 5px;
}

.p_r_x{
  padding-right: 5px !important;
}

.geral-message-right .text_wrapper:hover .chat_rm_msg > i{

  color: #333;
}
.geral-message-right .text_wrapper:hover .chat_rm_msg{

  transition: 0.3s ease-in;
  cursor: pointer;
  border-radius: 20%;
}
.chat_rm_msg:hover{
  background: #d6edf9de;;
}
.geral-message-right  .text_wrapper{
  display: flex !important;
  word-break: break-all;
  align-items: center;
}
.loader-users a {

  display: flex;
  justify-content: center;
  margin-bottom: 3.5px;
  /* border-top: 0px; */
  color: #10a8f9 !important;
  font-weight: 600;
  cursor: pointer;
  transition: 0.5s;
}

.loader-users a:hover{
  color: #195f85 !important;
  font-weight: 600;
}