html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/****** More of My Resets *******/
*,
*::before,
*::after {
  box-sizing: border-box;
}

button {
  background-color: transparent;
  color: inherit;
  border-width: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  text-align: inherit;
}

img {
  display: block;
  max-width: 100%;
}

#countdown {
  background: white;
  border-radius: 20px;
  padding: 10px 20px;
  color: #ea3737;
  font-weight: bolder;
}

#cierra_ventana {
  display: inline-block;
  cursor: pointer;
  padding-left: 5px;
}

#lista-loading {
  position: fixed;
  top: 125px;
  background: #ffffffbd;
  height: 60px;
  width: 60px !important;
  border-radius: 50%;
  box-shadow: 4px 4px 10px rgb(0 0 0 / 50%);
  display: none !important;
}

/* Responsive Variables */
@media (min-width: 768px) {
  .is-only-mobile {
    display: none !important;
  }
}

/* Multi direcrtion Languages Support Variables*/
/* colors */
:root {
  --white: #fff;
  --dark-gray: #333;
  --main-gray: #ededed;
  --light-gray: #f7f7f7;
  --dark-green: #009688;
  --info-message: rgba(225, 245, 254, 0.92);
  /* blue messages */
}

.blue {
  color: rgb(0, 132, 255);
  filter: grayscale(0);
}
/*mixin*/
/*scrolls*/
::-webkit-scrollbar {
  width: 6px !important;
  height: 6px !important;
  background-color: #f5f5f5;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-track {
  background-color: rgba(255, 255, 255, 0.08);
}

/* typography */
html {
  font-size: 1px;
  /*for using REM units*/
}

body {
  font-family: Segoe UI, Helvetica Neue, Helvetica, Lucida Grande, Arial, Ubuntu,
    Cantarell, Fira Sans, sans-serif;
  font-size: 14rem;
  line-height: 1.3;
  color: var(--dark-gray);
}

/* background */
html {
  background: linear-gradient(
    to bottom,
    var(--dark-green) 1px,
    var(--dark-green) 130px,
    #dddbd1 131px,
    #d2dbdc 100%
  );
  background-repeat: no-repeat;
  min-height: 100vh;
}

/* utilities classes (always with !important)*/
.u-flex {
  display: flex !important;
}

.u-flex-column {
  flex-direction: column !important;
}

.u-margin-end {
  margin-right: 10px !important;
}

.u-hide {
  display: none !important;
}

/* animation */
@keyframes clickableAnimation {
  0% {
    transform: scale(1);
  }
  95% {
    transform: scale(1);
  }
  96% {
    transform: scale(1.5) rotate(-30deg);
  }
  97% {
    transform: scale(1.5) rotate(30deg);
  }
  100% {
    transform: scale(1);
  }
}
.u-animation-click {
  animation: clickableAnimation 20s ease-in-out -17s infinite;
}

/*icons*/
.icon-back {
  transform: scale(1.4);
  transform-origin: center;
}

.icons-status {
  float: right;
}

.icon-status {
  filter: grayscale(1) opacity(0.75);
  background: #efefef;
  padding: 4px;
  border-radius: 10px;
  font-size: 12px;
  margin: 0 2px;
  cursor: pointer;
}

.chats-item-content .icon-status {
  padding: 4px 4px 4px 3px;
}

.icon-silent {
  filter: grayscale(1) opacity(0.5);
}

.icon-attach {
  /*transform:rotateZ(70deg); transform-origin:center*/
}

.icon-menu {
  text-align: center;
}
.icon-menu::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--dark-gray);
  box-shadow: 0px -6px var(--dark-gray), 0px 6px var(--dark-gray);
}

.media-content {
  width: 330px !important;
}

.media-content p {
  background: #ffffff94;
  padding: 12px;
  border-radius: 5px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

#modal_avisos {
  z-index: 10000;
  position: relative;
  background: white;
  width: 50%;
  margin: 20px auto;
  box-shadow: 5px 5px 10px rgb(0 0 0 / 50%);
  border-radius: 3px;
  border: solid 1px #ededed;
  display: none;
}

.modal-content {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #fff;
  background-clip: padding-box;
  border-radius: 0.3em;
  outline: 0;
}

.modal-header {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: start;
  align-items: flex-start;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 1em 1em;
  border-bottom: 1px solid #dee2e6;
  border-top-left-radius: calc(0.3em - 1px);
  border-top-right-radius: calc(0.3em - 1px);
}

.modal-body {
  position: relative;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 1em;
}

button.close {
  float: right;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: 0.5;
  padding: 0;
  background-color: transparent;
  border: 0;
  cursor: pointer;
}

.modal-footer {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: end;
  justify-content: flex-end;
  padding: 0.75em;
  border-top: 1px solid #dee2e6;
  border-bottom-right-radius: calc(0.3em - 1px);
  border-bottom-left-radius: calc(0.3em - 1px);
}

.modal .btn {
  display: inline-block;
  font-weight: 400;
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.375em 0.75em;
  font-size: 1em;
  line-height: 1.5;
  border-radius: 0.25em;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.modal .btn.cancel:hover {
  color: #fff;
  background-color: #d99400;
  border-color: #cc8b00;
}

.modal .btn.cancel {
  color: #fff;
  background-color: #ff9900;
  border-color: #ffbb00;
}

.modal .btn:hover {
  color: #fff;
  background-color: #0069d9;
  border-color: #0062cc;
  text-decoration: none;
}

.modal-title {
  margin-bottom: 0;
  line-height: 1.5;
}

.modal-header .close {
  padding: 1em 1em;
  margin: -1em -1em -1em auto;
}

#fondo_modal {
  position: fixed;
  background: #0000004d;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

#modal-emoji,
#modal-respuestas,
#modal-upload,
#modal-plantillas,
#modal-dni {
  z-index: 1;
  position: absolute;
  background: white;
  width: 90%;
  left: 5%;
  top: 15%;
  margin: auto auto;
  height: 90%;
  max-height: 380px;
}

#modal-respuestas {
  max-height: 670px;
}

#modal-dni {
  max-width: 50%;
  left: 40%;
}

#modal-upload {
  background: #e8e8e8;
}

#content-emoji,
#content-respuestas,
#content-upload,
#content-plantillas,
#content-dni {
  overflow-y: auto;
  width: 100%;
  height: calc(100% - 40px);
  padding: 10px;
  border-top: 10px solid white;
  background: #f0eeef;
}

#content-upload {
  max-height: 370px;
  overflow: hidden;
}

#bar-emoji,
#bar-respuestas,
#bar-upload,
#bar-plantillas,
#bar-dni {
  text-align: right;
  width: 100%;
  height: 40px;
}

.btn-cerrar-modal {
  filter: grayscale(1);
  opacity: 0.5;
  border: 1px solid #d2d2d2;
  line-height: 32px;
  height: 32px;
  width: 32px;
  display: inline-block;
  text-align: center;
  border-radius: 3px;
  background: #fff;
  box-shadow: none;
  cursor: pointer;
  margin: 9px;
}

#sel_numero {
  line-height: 22px;
}

#sel_numero label {
  margin-bottom: 20px;
}

#content-plantillas #botones-plantillas {
  width: 30%;
  float: right;
}

#content-plantillas #previa_plantilla,
#content-plantillas #sel_numero {
  width: 66%;
  float: right;
  display: block;
  position: absolute;
  top: 58px;
}

#content-plantillas #cont_plantilla {
  height: 258px;
}

#txt_plantilla {
  height: 262px;
  overflow: auto;
  border: solid 1px #eaeaea;
  border-radius: 10px;
  width: 100%;
  padding: 10px;
  background: white;
}

#argumentos_plantilla {
  background: #efefef;
  height: 49px;
  width: calc(100% - 187px);
  overflow: hidden;
  overflow-x: auto;
  white-space: nowrap;
  float: left;
}

.parametro {
  color: #6586f0;
  font-weight: bolder;
  font-style: italic;
}

.btn-cerrar-modal:hover {
  opacity: 1;
  box-shadow: inset -8px -8px 14px rgba(0, 0, 0, 0.15);
}

span.emoji {
  font-size: 24px;
  margin: 2px;
  border: 1px solid #fff;
  height: 32px;
  width: 32px;
  display: inline-block;
  text-align: center;
  border-radius: 3px;
  background: #fff;
  box-shadow: none;
  cursor: pointer;
}

span.emoji:hover {
  border: 1px solid #d2d2d2;
  box-shadow: inset -8px -8px 14px rgba(0, 0, 0, 0.15);
}

span.button-respuesta,
span.button-plantilla,
span.button-dni {
  font-size: 16px;
  margin: 5px auto;
  border: 1px solid #eee;
  min-height: 32px;
  width: auto;
  display: block;
  text-align: center;
  border-radius: 3px;
  background: #fff;
  box-shadow: none;
  cursor: pointer;
  padding: 2px 10px;
}

span.button-respuesta:hover,
span.button-plantilla:hover,
span.button-dni:hover {
  border: 1px solid #d2d2d2;
  background: #fafafa;
  box-shadow: inset -1px -1px 2px rgba(0, 0, 0, 0.15);
}

span.button-respuesta small,
span.button-plantilla small,
span.button-dni small {
  font-size: 0.8em !important;
}

/* Grid Layout */
.main-grid {
  --private-block-margins: 0;
  /* private variables are for local componenet use */
  position: fixed;
  left: 0;
  right: 0;
  top: var(--private-block-margins);
  bottom: var(--private-block-margins);
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.06), 0 2px 5px 0 rgba(0, 0, 0, 0.2);
  overflow: hidden;
  /*height: calc(100% - 61px);
  /*logic styles*/
}

@media (max-width: 767px),
  (min-width: 768px) and (max-width: 1023px),
  (min-width: 1024px) and (max-width: 1439px) {
  .main-grid > * {
    max-height: 100vh;
  }
  .common-message {
    max-width: calc(100% - 14px) !important;
  }
}
@media (min-width: 1440px) {
  .main-grid > * {
    max-height: 100vh;
  }
}
@media (min-width: 768px) {
  .main-grid {
    display: grid;
    grid-template-areas: "side-a main side-b";
    grid-template-columns: minmax(260px, 30%) 1fr auto;
  }

  #countdown {
    padding: 10px 8px !important;
  }
}
@media (min-width: 1440px) {
  .main-grid {
    display: grid;
    grid-template-areas: "side-a main side-b";
    grid-template-columns: minmax(260px, 30%) 1fr auto;
  }
}
@media (max-width: 767px) {
  .main-grid.is-main-info-open .main-side {
    display: none;
  }
  .main-grid.is-main-info-open .main-content {
    display: none;
  }
  .main-grid.is-main-info-open .main-info {
    width: 100%;
    height: 100%;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .main-grid.is-main-info-open {
    grid-template-areas: "side-a side-b";
    grid-template-columns: minmax(260px, 30%) 1fr;
  }
  .main-grid.is-main-info-open .main-content {
    display: none;
  }
  .main-grid.is-main-info-open .main-info {
    width: auto;
  }
}
@media (max-width: 767px) {
  .main-grid.is-message-open .main-content {
    transform: translateX(-100%);
  }
}

.main-side {
  grid-area: side-a;
}

.main-content {
  grid-area: main;
}

.main-info {
  grid-area: side-b;
}

/* elements */
.profile-image {
  flex-shrink: 0;
  display: block;
  height: 40px;
  border-radius: 50%;
}

.big-title {
  margin: 5px 0;
  font-size: 19rem;
}

.section-title {
  color: var(--dark-green);
  font-size: 14rem;
  margin-bottom: 10px;
}

.info-text {
  font-size: 14rem;
  color: rgba(0, 0, 0, 0.45);
}

.status {
  letter-spacing: -7px;
  font-size: 10rem;
  filter: grayscale(1);
  opacity: 0.5;
  line-height: 3em;
}
.status.is-seen {
  filter: sepia(80%) hue-rotate(140deg) saturate(4000%) opacity(1);
}

.text-input {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: var(--white);
  padding: 10px;
  margin: 5px 10px;
  border-radius: 20px;
  border-width: 0;
}
.text-input:focus {
  outline: none;
}

.common-search,
.emoji-search,
.respuestas-search,
.upload-search,
.plantillas-search {
  display: flex;
  flex-shrink: 0;
  background: var(--light-gray);
  position: relative;
  transition: 0.2s;
  height: 60px;
}
.emoji-search::before {
  content: "🔎";
  position: absolute;
  left: 30px;
  top: 15px;
  filter: grayscale(1) opacity(0.5);
}
.common-search:focus-within,
.emoji-search:focus-within {
  background-color: var(--white);
}
.common-search .text-input {
  flex: 1;
  margin: 12px 16px;
}

.emoji-search .text-input {
  flex: 1;
  padding-left: 50px;
  margin: 12px 16px;
}

.unread-messages {
  display: block;
  /*min-width: 12px;*/
  min-width: 20px;
  padding: 3px;
  border-radius: 12px;
  margin: 0 2px;
  background-color: #3cdf7a;
  color: var(--white);
  font-size: 12rem;
  font-weight: bold;
  text-align: center;
  /*height: 12px;*/
}
.unread-messages:empty {
  display: none;
}

.common-button {
  padding: 2px;
  margin: 5px 0;
}
.common-button:hover,
.common-button:focus {
  outline: none;
}
.common-button:hover .icon,
.common-button:focus .icon {
  filter: grayscale(1) opacity(1);
}
.common-button .icon {
  display: block;
  width: 24px;
  height: 24px;
  font-size: 18px;
  text-align: center;
  filter: grayscale(1) opacity(0.5);
  transition: 0.2s;
  line-height: 24px;
}

.button-deshacer .icon {
  filter: none !important;
}

.button-deshacer.disabled {
  opacity: .2;
}

.button-active {
  background: #fff700;
  border-radius: 20px;
}

.button-active span {
  filter: none !important;
}

span.chats-item-info-item.bullet {
  background: red;
  display: block;
  border-radius: 50%;
  position: absolute;
  margin-left: 16px;
  margin-top: -6px;
  font-size: 0.5em;
}

.bullet_cantidad,
.bullet_cantidad2 {
  background: red;
  display: block;
  border-radius: 10px;
  margin-left: 26px;
  margin-top: -20px;
  font-size: 12px;
  color: #fff;
  padding: 1px 6px;
  min-width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
}

.bullet_cantidad2 {
  background: rgb(85, 85, 85);
}

.twitter {
  display: block;
  color: #1da1f2;
}
.twitter-label {
  margin-right: 10px;
}

/*** components ***/
.common-header {
  --common-header-border-color: #e0e0e0;
  display: flex;
  background-color: var(--main-gray);
  height: 60px;
  padding: 10px 2px;
  flex-shrink: 0;
  /*
    bottom: 0;
    position: fixed;
    width: 100%; 
  */
}
.common-header-content {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  display: block;
}
.common-header-title {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  display: block;
}
.common-header-start {
  display: flex;
  margin-right: auto;
}
.common-header-content {
  margin: auto 2px;
  line-height: 1.5;
}

.common-nav-list {
  display: flex;
}
.common-nav-item {
  margin-left: 10px;
}

.common-nav-item button {
  border-right: 1px solid #bfbfbf;
  min-width: 50px;
}

.common-nav-item button:last-child {
  border-right: none;
}


/*main*/
.main-content {
  display: flex;
  flex-direction: column;
}
.main-content .common-header {
  border-left: solid 1px var(--common-header-border-color);
}
@media (max-width: 767px) {
  .main-content {
    position: fixed;
    right: -100%;
    top: 0;
    bottom: 0;
    width: 100%;
    transition: transform 0.4s;
  }
}

.messanger {
  overflow-y: auto;
  scrollbar-width: thin;
  /*-webkit-overflow-scrolling:touch;*/
  flex: 1;
  background-color: #e5ddd5;
  background-image: url(/img/fondo-whatsapp.png);
  background-repeat: repeat;
}
.messanger-list {
  display: flex;
  flex-direction: column;
  padding: 20px 7%;
}

.common-message {
  position: relative;
  background-color: var(--white);
  width: -moz-fit-content;
  width: fit-content;
  max-width: 500px;
  padding: 8px;
  border-radius: 8px;
  box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13);
  margin-bottom: 10px;
  letter-spacing: 0.015em;
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
  line-height: 1.4em;
}
.common-message time {
  font-size: 11rem;
  color: rgba(0, 0, 0, 0.45);
  float: right;
  margin-top: 8px;
}
.common-message .status {
  float: right;
  padding-right: 10px;
  text-align: end;
  font-size: 9rem;
}
.common-message .respuesta, 
.common-message .common-message-content {
  max-width: 520px !important;
}

.common-message::before {
  position: absolute;
  left: -10px;
  top: 0;
  content: "";
  display: block;
  border: solid;
  border-width: 0px 16px 16px 0px;
  border-color: transparent;
  border-right-color: var(--white);
}
.common-message.is-you {
  --user-color-message: #f7f7f7; /* #dcf5c2; */
  align-self: flex-end;
  background-color: #e1f6cb;
}
.common-message.is-you::before {
  left: auto;
  right: -28px;
  border-width: 0px 16px 16px 16px;
  border-color: transparent;
  border-left-color: #e1f6cb;
}
.common-message.is-you + .is-you::before {
  display: none;
}
.common-message.is-other + .is-other::before {
  display: none;
}

.common-message.borrado {
  filter: saturate(0);
}
.common-message.borrado p {
  opacity: 0.18;
}

.common-message.error p {
  text-decoration: line-through;
  color: #ff9a9a;
}
.common-message.is-time {
  align-self: center;
  background-color: var(--info-message);
  color: rgba(74, 74, 74, 0.88);
  font-size: 12rem;
  text-transform: uppercase;
}
.common-message.is-time::before {
  display: none;
}

.common-message-content {
  overflow-wrap: break-word;
}

.common-message a {
  color: #3190dd !important;
  text-decoration: none;
}

.common-message a:hover {
  color: #3190dd !important;
  text-decoration: underline;
}

.respuesta {
  background: rgba(0, 0, 0, 0.05);
  padding: 4px;
  border-left: 4px solid #54c28f;
  border-radius: 4px;
  font-size: 0.9em;
  color: gray;
  text-overflow: ellipsis;
  overflow: hidden;
  max-height: 100px;
  white-space: nowrap;
  margin-bottom: 6px;
  cursor: pointer;
}

li.destacado {
  transition: all 0.2s;
}

.zoom {
  transform: scale(1.5);
  box-shadow: 0 0 20px;
}

.message-box {
  display: flex;
  flex-shrink: 0;
  background-color: #f0f0f0;
  padding: 5px 10px;
}

.message-box .text-input {
  flex: 1;
}

.message-box .text-input:empty::before {
  content: "Escriba aquí";
  font-size: 15rem;
  opacity: 0.5;
}

.message-box.disabled .text-input:empty::before {
  content: "CERRADO";
  font-size: 15rem;
  opacity: 0.5;
  color: red;
}

/*side (users)*/
.main-side {
  display: flex;
  flex-direction: column;
  background-color: var(--white);
}

.chats {
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  /*-webkit-overflow-scrolling:touch;*/
  background-color: var(--white);
}
.chats-item,
.chats-item-button {
  /* layout grid */
  /*** end grid ***/
  /*overrides last item*/
  min-height: 80px;
}
.chats-item-button {
  display: grid;
  /*  grid-template-columns: 50px 1fr;
  grid-column-gap: 10px;*/
  padding: 0 10px;
  cursor: pointer;
  grid-template-areas: "header" "content";
  min-height: 80px;
  overflow-wrap: anywhere;
}

.icono_chat {
  max-width: 70px;
  display: inline-block;
  vertical-align: middle;
}

.imgagen_chat {
  max-width: 200px;
  display: inline-block;
  vertical-align: middle;
}

li.chats-item.fixed {
  background: #f8bda5;
}

li.chats-item.bot {
  background: #c3e1fa;
}

li.chats-item.ojo {
  background: #edc6fc;
}

li.chats-item.phone {
  background: #dbf7c1;
}

li.chats-item:hover {
  background: #e5e5e5;
}

li.chats-item.phone:hover {
    background: #b4cf9b;
}

li.chats-item.archive:hover {
    background: #e5e5e5;
}

li.chats-item.bot:hover {
    background: #b8cfe3;
}

li.chats-item.ojo:hover {
    background: #cca4db;
}

li.chats-item.fixed:hover {
    background: #dba590;
}

li.chats-item.active,
li.chats-item:focus {
  background: #fff703;
}

.chats-item-button.js-chat-button.active,
.chats-item-button:focus,
.main-content header.archived {
  background-color: #bfbfbf;
  outline: none;
}

li.chats-item h3 a
{
  text-decoration: none !important;
} 

li.chats-item .active h3 a,
#num_chat_activo a
{
  color: #fff703 !important;
  text-decoration: none !important;
} 

.chats-item-title {
  text-decoration: none !important;
}

.button-manuales {
  border-bottom: 6px solid #d16236 !important;
}

.button-ojo {
  border-bottom: 6px solid #a857c9 !important;
}

.button-robot {
  border-bottom: 6px solid #68a3d3 !important;
}

.button-archive {
  border-bottom: 6px solid #bfbfbf !important;
}

.button-llamada {
  border-bottom: 6px solid #72a83f !important;
}


li.chats-item.fixed .active,
li.chats-item.fixed:focus,
.main-content header.fixed {
  background: #d16236 !important;
}


li.chats-item.ojo .active,
li.chats-item.ojo:focus,
.main-content header.ojo {
  background: #a857c9 !important;
}

li.chats-item.bot .active,
li.chats-item.bot:focus,
.main-content header.bot {
  background: #68a3d3 !important;
}

li.chats-item.phone .active,
li.chats-item.phone:focus,
.main-content header.phone {
  background: #72a83f !important;
}

/* border-bottom: 6px solid green; */

.chats-item .profile-image {
  grid-area: image;
  display: none;
}
.chats-item-header {
  grid-area: header;
}
.chats-item-content {
  grid-area: content;
}
.chats-item .profile-image {
  flex-shrink: 0;
  height: 50px;
  margin: auto;
}
.chats-item-header {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  display: block;
  display: flex;
  padding-top: 10px;
}
.chats-item-title {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  display: block;
  flex: 1;
  font-weight: bold;
  margin-right: 10px;
}
.chats-item-time {
  font-size: 12rem;
  opacity: 0.6;
}
.chats-item-last {
  flex: 1;
  opacity: 0.6;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 18px;
}
.chats-item-content {
  display: flex;
  padding-bottom: 10px;
  border-bottom: solid 1px #f2f2f2;
}
.chats-item-info {
  display: flex;
}
#screen-loading {
    height: 100%;
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(255,255,255,.5);
}
#screen-loading svg.spinner {
    top: 50%;
    position: fixed;
    left: 50%;
    margin-top: -20px;
    margin-left: -20px;
}

/*side (chat info)*/
.main-info {
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  width: 300px;
}
.main-info .common-header {
  border-left: solid 1px var(--common-header-border-color);
}
.main-info-content {
  overflow-y: auto;
  scrollbar-width: thin;
  /*-webkit-overflow-scrolling:touch;*/
  background-color: var(--light-gray);
}
.main-info-image {
  display: block;
  max-width: 200px;
  margin: 0 auto;
  margin-bottom: 20px;
  border-radius: 50%;
}

.common-box {
  background-color: var(--white);
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  margin-bottom: 10px;
}
.common-box p {
  font-size: 14rem;
  color: #4a4a4a;
}

.chats-item-content .chats-item-info .icon-phone,
.chats-item-content .chats-item-info .icon-archive,
.chats-item-content .chats-item-info .icon-bot,
.chats-item-content .chats-item-info .icon-eye,
.chats-item-content .chats-item-info .icon-fix {
  display: none !important;
}


/* CSS Logilcs */
#message-box {
  /*when textbox empty show microhpone*/
  /*when textbox with texy show submit button*/
  max-height: 130px;
  overflow-y: auto;
}
#message-box:empty ~ #submit-button {
  display: none;
}
#message-box:not(:empty) ~ #voice-button {
  display: none;
}

.dropzone {
  border: 2px dashed #0087f7 !important;
  border-radius: 5px;
  background: white;
  color: #646c7f;
  height: 260px;
}

.dropzone div.dz-message {
  line-height: 170px;
}

.boton_final {
  transform: scaleX(1) scaleY(1);
  display: none;
  bottom: 80px;
  right: 30px;
  position: fixed;
  z-index: 10;
  background: white;
  padding: 10px;
  border-radius: 50%;
  box-shadow: 0 3px 3px rgb(0 0 0 / 35%);
  cursor: pointer;
  transition: all 0.5s;
}

.boton_final svg {
  opacity: 0.5 !important;
}

.boton_fina:hover svg {
  opacity: 1 !important;
}

.boton_final_bullet {
  padding: 9px 0;
  display: none;
  border-radius: 10px;
  background: #3cdf7a;
  width: 20px;
  height: 20px;
  margin: 0;
  line-height: 0;
  position: absolute;
  margin-left: 15px;
  margin-top: -3px;
  font-size: 10px;
  font-weight: bold;
  color: white;
  text-align: center;
}

.boton-responder {
  right: -32px;
  position: absolute;
  top: 50%;
  width: 25px;
  height: 25px;
  color: white;
  margin-top: -13px;
  background-color: rgba(0, 0, 0, 0.14);
  cursor: pointer;
  border-radius: 50%;
}

li.is-you .boton-responder {
  left: -32px;
}

.bg-color-1 {
  background-color: #35cd96 !important;
}

.caja-texto {
  max-width: 500px;
}

.caja_reenviar {
  position: relative;
}

.caja_reenviar_texto_cont {
  border-left: 1px solid rgba(0, 0, 0, 0.05);
}

.caja_reenviar_texto_cont {
  padding-top: 5px;
  background-color: #f0f0f0;
}
.caja_reenviar_texto_cont {
  display: flex;
  align-items: center;
  width: 100%;
}

.caja_reenviar_texto {
  display: flex;
  flex-grow: 1;
  overflow: hidden;
  margin-left: 66px;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 5px;
}

.caja_reenviar_texto_in {
  width: 100%;
}

.caja_reenviar_texto_in2 {
  background-color: initial;
  border-radius: 0;
}
.caja_reenviar_texto_in2 {
  position: relative;
  display: flex;
  overflow: hidden;
}

.bg-color-1 {
  background-color: #35cd96 !important;
}

.span_caja_reenviar_texto {
  border-top-left-radius: 7.5px;
  border-bottom-left-radius: 7.5px;
}
.span_caja_reenviar_texto {
  flex: none;
  width: 4px;
}

.div_caja_reenviar_texto {
  padding: 8px 12px 9px 11px;
  max-height: 66px;
  display: flex;
  flex-grow: 1;
  align-items: center;
  min-height: 42px;
  overflow: hidden;
}

.div_caja_reenviar_texto_in {
  max-width: 500px;
  flex-grow: 1;
  overflow: hidden;
}

.div_caja_reenviar_texto_cont {
  max-height: 40px;
  font-size: 12.6px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: -webkit-box;
  max-height: 60px;
  overflow: hidden;
  font-size: 13.2px;
  line-height: 20px;
  color: var(--secondary);
  text-overflow: ellipsis;
  word-wrap: break-word;
  white-space: pre-wrap;
  -webkit-box-orient: vertical;
}

.boton-cerrar_reenviar {
  color: #b2b2b2;
  margin: 0 14px;
  cursor: pointer;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.01);
}

.boton-cerrar_reenviar:hover {
  color: #a2a2a2;
  background-color: rgba(0, 0, 0, 0.05);
}

.icon-on,
.icon-status.fixed,
.icon-status.bot,
.icon-status.ojo,
.icon-status.phone,
.icon-status.archived {
    filter: none !important;
    background: #fff703 !important;
    cursor: default;
    border: none !important;
}