.page-chat {
  background: #f6f6f8 0% 0% no-repeat padding-box;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  min-height: 300px;
}

.chat {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  min-height: 300px;
}

.validacao {
  color: #f00;
  font-weight: bold;
}

.data {
  text-align: center;
  font-size: 12px;
}

.bs-row {
  display: flex;
  width: 100%;
}

.message {
  display: flex;
  flex-direction: row;
}

.message .message-text {
  box-shadow: 1px 1px 1px 1px #0000004f;
  padding: 5px 10px;
  margin-left: 10px;
  border-radius: 5px;
  font-size: 10px;
  background-color: #fff;
  line-height: 25px;
  margin-bottom: 10px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

.message-text p:nth-child(1) {
  margin-top: 5px;
}

.message-text p {
  font-size: 10px;
  margin: 0;
  padding: 0;
  line-height: 15px;
}

.message-text p.p_hora {
  float: right;
  font-size: 8px;
  display: flex;
  justify-content: end;
}

.row-send {
  display: flex;
  align-items: flex-start;
  justify-content: normal !important;
}

.row-receive .message-receive {
  position: relative;
  float: right;
}

.message {
  display: flex;
  flex-direction: row;
}

.icon-user {
  height: 30px;
  width: 30px;
  background-color: #ffffff;
  color: #cc092f;
  font-size: 24px !important;
  border-radius: 25px;
  margin: 0 auto 2px auto;
  display: flex;
  align-items: center;
  -webkit-box-shadow: 0 3px 10px -3px rgb(77 78 83 / 20%);
  box-shadow: 0 3px 10px -3px rgb(77 78 83 / 20%);
}

.message .message-text {
  box-shadow: 1px 1px 1px 1px #0000004f;
  padding: 5px 10px;
  margin-left: 10px;
  border-radius: 5px;
  font-size: 10px;
  background-color: #fff;
  line-height: 25px;
  margin-bottom: 10px;
  padding: 0 20px;
}

.message .message-text {
  box-shadow: 1px 1px 1px 1px #0000004f;
  padding: 5px 10px;
  margin-left: 10px;
  border-radius: 5px;
  font-size: 10px;
  background-color: #fff;
  line-height: 25px;
  margin-bottom: 10px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

.message-receive .message-text {
  background-color: #0b67bd;
  color: #fff;
}

.message-send .message-text {
  background-color: #fff;
  color: #000;
}

.message-text p:nth-child(1) {
  margin-top: 5px;
}

.message-text p {
  font-size: 10px;
  margin: 0;
  padding: 0;
  line-height: 15px;
}

.message-text p.p_hora {
  float: right;
  font-size: 8px;
  display: flex;
  justify-content: end;
}

.icon-nav-anexar {
  color: #4d4e53;
  font-size: 1.8rem;
  margin-top: 2px;
}

.icon-nav-anexar {
  color: #4d4e53;
  font-size: 1.8rem;
  margin-top: 2px;
}

.chat-content {
  min-height: 300px;
}

.footer {
  box-shadow: -2px -3px 8px #ccc;
  background-color: #fff;
  display: flex;
  min-height: auto;
  position: relative;
  bottom: 0;
  width: 100%;
  padding: 10px;
  margin: 0;
  min-height: 50px;
  padding: 15px 20px;
}

.bs-form input,
.bs-form textarea,
.bs-form__field {
  background-color: #fff;
  border: 1px solid #d2d4da;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  color: #4d4e53;
  display: block;
  font-size: 1rem;
  height: 35px;
  line-height: 35px;
  padding: 0 14px;
  width: 100%;
}

.col-links {
  display: flex;
}

.icon-send {
  height: 30px;
  width: 30px;
  background-color: #0b67bd;
  color: #fff;
  font-size: 24px !important;
  border-radius: 25px;
  margin: 0 auto 2px auto;
  display: flex;
  align-items: center;
  -webkit-box-shadow: 0 3px 10px -3px rgb(77 78 83 / 20%);
  box-shadow: 0 3px 10px -3px rgb(77 78 83 / 20%);
  padding: 2px 5px;
  margin-left: 10px;
}

.row-receive {
  justify-content: end;
}

.bs-media__button .bs-button {
  margin-left: 25px;
  min-width: 100px;
  text-align: center;
}

.bs-media__button .bs-button:nth-child(1) {
  margin-left: 0;
}

.bs-section-header__description {
  padding-bottom: 10px;
}

.link-send {
  background-color: #fff;
  color: #fff;
  border: 0;
}

.link-send .ui-button-icon-only .ui-icon {
  margin-left: -15px;
  margin-top: -20px;
}

.icon-send {
  margin-left: -40px;
  margin-top: 10px;
}

.icon-nav-anexar {
  line-height: 50px;
}

.modal-chat .bs-modal__footer {
  background-color: #e8e9ec;
  display: flex;
  font-family: 'Bradesco Sans';
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 22px;
  min-height: 70px;
  padding: 10px 20px;
  height: 150px;
}

/* Trecho chat e Modal chat */
.trecho-chat {
  position: fixed;
  bottom: 100px;
  right: 0;
  z-index: 1000001;
}

.hidden {
  display: none;
}

.modal-chat {
  width: 100% !important;
  position: fixed !important;
  bottom: 100px !important;
  left: inherit !important;
  right: 0% !important;
  z-index: 9999 !important;
  height: calc(100% - 0px) !important;
  max-width: 400px;
}

.input-msg-modal-chat {
  width: 100%;
}

.modal-encerrar-chat {
  z-index: 10000 !important;
}

.bs-modal--open {
  height: 100%;
  opacity: 1;
  -webkit-transition: opacity 0.6s;
  transition: opacity 0.6s;
  visibility: visible;
}

.modal-chat.bs-modal--overlay-dark {
  background-color: rgba(255, 255, 255, 0.5) !important;
}

.modal-chat .bs-modal__header {
  padding: 10px 20px;
}

.modal-chat .bs-modal__body {
  background-color: rgba(255, 255, 255, 0.5);
}

/* Botão enviar */
.ui-button.link-send.link-enviar {
  /*
  width: 45px !important;
  height: 45px !important;
  background: #0B67BD !important;
  border-radius: 40px !important;
  */
  border-radius: 3px;
  display: inline-block;
  font-family: Bradesco Sans;
  font-size: 1rem;
  font-weight: 500;
  line-height: 20px;
  min-height: 40px;
  overflow: hidden;
  padding: 9px 15px;
  position: relative;
  transition: 0.3s ease-in-out;
  vertical-align: middle;
  z-index: 10;
  background: linear-gradient(180deg, #e60935 70%, #99000f 140%);
  border: 1px solid transparent;
  color: #fff;
  cursor: pointer;
  min-width: 125px;
  text-align: center;
}

.ui-button.link-send.link-enviar span {
  /*
  color: #fff;
  font-size: 30px;
  box-shadow: none;
  margin: 2px 6px;
  */
  color: #fff;
  font-size: 14px;
  box-shadow: none;
  margin: 0;
}

.modal-chat .bs-modal__body {
  height: 400px;
  overflow-y: auto;
}

.modal-chat .bs-js-close-modal {
  position: absolute;
  top: 10px;
  right: 10px;
}

.icon-minimizar {
  height: 3px !important;
  background-color: #4d4e53;
  width: 20px !important;
  margin: 0;
  padding: 0;
}

.bs-modal__body p {
  margin-bottom: 0px !important;
}

.input-hidden {
  display: none;
}

.col-input-message {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.col-links {
  padding-left: 0 !important;
  padding-right: 0 !important;
  display: flex;
  justify-content: end !important;
}

.col-input-message input[type='text'] {
  width: 103%;
}

/* Adicionando ícone para janela de encerrar chat */
.modal-encerrar-chat .bs-modal__header {
  text-align: center;
}

.modal-encerrar-chat .icon-atend-call-center {
  font-size: 100px;
  color: #cc092f;
}

.col-both-input-message-link {
  width: 410px;
  display: flex;
  flex-direction: row;
}

.col-both-input-message-link input[type='text'] {
  width: 100% !important;
  margin-left: 0;
}

.col-both-input-message-link .link-send {
  margin-left: 60px;
}

.bs-button.btn-iniciar:hover {
  background: #99000f;
  border-radius: 5px;
  content: '';
  display: block;
  height: 100%;
  transition: none;
  width: 100%;
}
