.msg_box {
  position: fixed;
  bottom: -5px;
  width: 300px;
  background: white;
  border-radius: 5px 5px 0px 0px;
  z-index: 2000;
}

.msg_head {
  background: #515151;
  color: white;
  padding: 10px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px 5px 0px 0px;
}

.msg_body {
  background: white;
  height: 250px;
  font-size: 14px;
  padding: 15px;
  overflow: auto;
  overflow-x: hidden;
}
.msg_input {
  width: 100%;
  height: 55px;
  border: 1px solid white;
  border-top: 1px solid #dddddd;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  resize: none;
}
.cerrar,
.minimizar {
  cursor: pointer;
}
.cerrar,
.minimizar {
  color: #ffffff;
  opacity: 0.8;
}
.cerrar:hover,
.minimizar:hover {
  opacity: 0.2;
}
.minimizar {
  font-size: 30px;
}
.cerrar {
  font-size: 20px;
  padding-right: 0;
}
.actions {
  float: right;
  color: #ffffff;
  font-weight: normal;
}

.minimize {
  float: right;
  cursor: pointer;
  padding-right: 5px;
}

.msg-left {
  position: relative;
  /* background:#e2e2e2;*/
  padding: 5px;
  min-height: 10px;
  margin-bottom: 5px;
  margin-right: 30%;
  border-radius: 5px;

  clear: both;
}

.msg_push {
  margin-top: 55px;
}

.msg-left-archivo {
  position: relative;
  padding: 5px;
  min-height: 10px;
  margin-bottom: 5px;
  margin-right: 30%;
  border-radius: 5px;
}

.msg-right {
  /* background:#d4e7fa;*/
  padding: 5px;
  min-height: 15px;
  margin-bottom: 5px;
  position: relative;
  margin-left: 30%;
  border-radius: 5px;
  clear: both;
}

.msg-right-text {
  background-color: #323137 !important;
  padding: 5px;
  border-radius: 5px;
  float: right;
  clear: both;
  /* margin-bottom: 25px;*/
  color: #ffffff;
  word-break: break-word;
}

.right-visto {
  padding: 5px;
  /* min-height:15px;*/
  margin-bottom: 5px;
  position: relative;
  margin-left: 80%;
  /* clear: both;*/
}

.msg-right-visto {
  float: right;
  clear: both;
  margin-bottom: 5px;
  color: #c4c4c4;
}
.msg-right-visto i {
  font-size: 10px;
}

.msg-left-text {
  background-color: #616161 !important;
  padding: 5px;
  border-radius: 5px;
  float: left;
  clear: both;
  /*margin-bottom: 25px;*/
  color: #ffffff;
  word-break: break-word;
}

.msg-right-archivo {
  padding: 5px;
  min-height: 15px;
  margin-bottom: 25px;
  position: relative;
  margin-left: 30%;
  border-radius: 5px;
}
/**** Slider Layout Popup *********/

#chat-sidebar {
  width: 280px;
  position: fixed;
  height: 100%;
  right: 0px;
  top: 43px;
  padding-top: 5px;
  padding-bottom: 10px;
  background-color: #ffffff;
  /*border: 1px solid #eeeeee;*/
  /*  overflow-y: scroll;*/
  z-index: 3000;
}
.div-slider span.slider-username {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  width: 150px;
}
.div-slider span.ultimo_mensaje {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  opacity: 0.7;
  /*width: 120px !important;*/
}
.sidebar-user-box {
  padding: 2px;
  /* margin-bottom: 4px;*/
  font-size: 13px;
  /*font-weight:bold;*/
  cursor: pointer;
  font-weight: bold;
  /* border-bottom: 1px solid #eeeeee;*/
  /* opacity: 0.5;*/
  opacity: 1;
}
.sidebar-user-box:hover {
  background-color: #999999;
}
.sidebar-user-box:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
.sidebar-user-box img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  float: left;
  object-fit: cover;
  margin-bottom: -5px;
}
.slider-username {
  float: left;
  /*line-height:30px;*/
  margin-left: 5px;
  padding-right: 2px;
}

.msg_head img {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  float: left;
  margin-right: 5px;
  object-fit: cover;
}

.upload-attachment {
  border-top: 1px solid #eeeeee;
  background-color: #f3f6f8;
  padding: 5px;
}
#loader {
  display: none;
}

#limpiar_filtro {
  font-weight: normal;
  color: black;
  /* padding: 10px;
      font-size: 14px;
   */
}

.mCustomScrollBox {
  height: 100% !important;
}
#chat-lista {
  border-right: none !important;
  border-bottom: none !important;
  border: 1px solid #eeeeee;
  border-top: transparent;
  padding-bottom: 30px;
  background-color: #ffffff;
  margin-top: 50px;
}
#busqueda_usuarios {
  position: fixed;
  top: 43px;
  right: 5px;
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  width: 275px;
  background-color: #ffffff;
  padding-top: 5px;
}
.filtros_chat {
  position: fixed;
  top: 80px;
  right: 5px;
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  width: 275px;
}

#filtro_lista_usuarios {
  outline: none;
  border-left: 1px solid #eeeeee;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  box-shadow: none !important;
}
.count {
  width: 13px;
  height: 13px;
  border-radius: 13px;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  position: absolute;
  top: 5px;
  left: 55px;
  background: #ff2b00;
  color: #ffffff;
}

.usuario_online {
  color: #00a71a;
  margin-top: 10px;
  margin-bottom: 5px;
}

.select2-container.req_place .select2-default .select2-chosen {
  color: #fff !important;
}

.emojionearea-editor {
  min-height: 5em !important;
}

.etiqueta_dia {
  background: #302f34;
  color: #a6a5aa;
  padding: 5px;
  border-radius: 5px;
}
.hora-chatbox {
  color: #9d9d9d;
  float: right;
  font-size: 9px !important;
}

.nombre_destino {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  width: 160px;
  display: inline-block;
}
.tipo_usuario_lista_chat {
  font-size: 8px;
  opacity: 0.7;
  margin-left: 6px;
}
.mensajes_no_leidos {
  position: absolute !important;
  left: 1px !important;
  z-index: 2000 !important;
  top: -5px;
}

.prettydate,
.prettydate-span {
  font-size: 10px;
  margin-left: -4px;
  opacity: 0.7;
}
.columna-1-chat-lista-usuario {
  width: 3% !important;
}
.columna-2-chat-lista-usuario {
  margin-right: 5px;
}

#mensajes_masivosModal {
  z-index: 3000;
}

.input-tipo-usuario {
  margin-bottom: 10px;
}

/*
.select2-container{
    z-index: 3000 !important;

}*/
#mensajes_masivosModal .select2-container {
  width: 100% !important;
}

.tooltip {
  z-index: 5000 !important;
}

.mCSB_inside > .mCSB_container {
  margin-right: 15px !important;
}
@media (max-width: 768px) {
  .menu-chat {
    display: none !important;
  }
}
