/* Estilos para la caja de chat */
.chatbox {
  /* Ancho del contenido con tag .page-content */
  width: calc(100% - 14rem);
  margin-left: 14rem;
  transition: all 0.3s; }

/* CSS talk bubble */
.talk-bubble {
  margin-top: 20px;
  margin-left: 10px;
  margin-bottom: 32px;
  margin-right: 10px;
  display: block;
  position: relative;
  width: 70%;
  height: auto;
  background-color: #ffffff; }

/* Right triangle, placed bottom left side slightly in */
.tri-right.btm-left:after {
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  left: 0px;
  right: auto;
  top: auto;
  bottom: -20px;
  border: 22px solid;
  border-color: transparent transparent transparent #ffffff; }

/* Right triangle, placed bottom right side slightly in */
.tri-right.btm-right:after {
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  left: auto;
  right: 0px;
  bottom: -20px;
  border: 12px solid;
  border-color: #fff #fff transparent transparent; }

/* talk bubble contents */
.talktext {
  padding: 1em;
  text-align: left;
  line-height: 1.5em; }

.talktext p {
  /* remove webkit p margins */
  -webkit-margin-before: 0em;
  -webkit-margin-after: 0em; }

.card.chatbox {
  border: 0 !important;
  /* box-shadow: 0px 0px 40px 20px rgba(0, 0, 0, 0.2); */
  width: 100%;
  max-width: 440px;
  min-width: 100%;
  margin: 0 auto;
  display: block;
  max-height: 570px;
  min-height: 100%; }

.chatbox .card-body {
  height: calc(100vh - 110px);
  /* height: calc(200vh - 100px); */
  overflow-y: auto;
  background-color: #d7e8f7;
  box-shadow: inset 0px 0px 50px 10px rgba(0, 0, 0, 0.25);
  padding: 1rem; }

.chatbox .card-header {
  background-color: #106db9;
  color: #ffffff;
  min-height: 48px; }

.chatbox .card-header .close {
  color: #ffffff; }

.chatbox .card-footer {
  background-color: #106db9; }

.chatbox .form-rounded {
  border-radius: 2rem; }

.chatbox .btn-send-chat {
  background-color: transparent; }

.chatbox .btn-send-chat:hover {
  background-color: transparent; }

.chatbox .card-body .btn {
  text-transform: none; }

.chatbox .card-body button.btn {
  text-transform: none; }

.chatbox .card-body a.btn {
  background: none;
  color: #3d88a9;
  text-decoration: underline;
  border: none;
  font-size: 1rem; }

/* --------------------- */
/* ------ LOADER ------- */
/* --------------------- */
.lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 50px;
  height: 30px; }

.lds-ellipsis div {
  position: absolute;
  top: 13px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  animation-timing-function: cubic-bezier(0, 1, 1, 0); }

.lds-ellipsis div:nth-child(1) {
  left: 6px;
  animation: lds-ellipsis1 0.6s infinite; }

.lds-ellipsis div:nth-child(2) {
  left: 6px;
  animation: lds-ellipsis2 0.6s infinite; }

.lds-ellipsis div:nth-child(3) {
  left: 22px;
  animation: lds-ellipsis2 0.6s infinite; }

.lds-ellipsis div:nth-child(4) {
  left: 38px;
  animation: lds-ellipsis3 0.6s infinite; }

@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0); }
  100% {
    transform: scale(1); } }

@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1); }
  100% {
    transform: scale(0); } }

@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0); }
  100% {
    transform: translate(14px, 0); } }

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

.close_bubble_btn {
  float: right;
  right: 10px;
  position: relative;
  top: 6px;
  color: #888;
  font-size: 14px; }
