.bg-gray {
  background-color: #eceff1;
}

.cuadro-busqueda {
  font-size: 70px;
  padding: 5px 3px 5px 3px;
  border: 2px solid rgb(153, 153, 153);
}

.fila-tabla-contacto:hover {
  background-color: rgb(204, 209, 242);
}
.rotate-transition {
  transition: transform 0.5s ease-in-out; /* Establecer la transición de 0.5 segundos */
}

/* .estiloEnvioImagen i{
    padding: 5px;
    
    font-size: 30px;
}

.estiloEnvioImagen{
    display: block;
    cursor: pointer;
}

.btnEnvioImagenes{
    position: absolute;
    top: 0;
    left: 0;
    right: 20;
    bottom: 0; 
    width: 100%;
    height: 100%;  
    opacity: 0; 
    cursor: pointer;
}
*/

.btnEnviarImagen {
  align-self: center;
  display: none;
}

.btnEnviarDocumento {
  align-self: center;
  display: none;
}

.btnEnviarExcel {
  align-self: center;
  display: none;
}

.btnEnviarVideo {
  align-self: center;
  display: none;
}

#addFile {
  padding-top: 30px;
  padding-bottom: 30px;
  justify-content: space-between;
  display: flex;
}

.botonCerrarAdjuntarArchivo {
  font-size: 30px;
  float: left;
}

/* #Images .add-new-photo {
    display: flex;
    border: 4px dashed #fff;
    height: 100%;
    min-height: 240px;
    justify-content: center;
    align-items: center;
    font-size: 50px;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s all ease;
    -webkit-transition: 0.3s all ease;
    -moz-transition: 0.3s all ease;
    -ms-transition: 0.3s all ease;
    -o-transition: 0.3s all ease;
} */

#Images .add-new-photo {
  display: flex;
  /*border: 4px dashed #fff;*/
  height: 100%;
  min-height: 90px;
  min-width: 90px;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.3s all ease;
  -webkit-transition: 0.3s all ease;
  -moz-transition: 0.3s all ease;
  -ms-transition: 0.3s all ease;
  -o-transition: 0.3s all ease;
}

/* #Images .add-new-document {
    display: flex;
    border: 4px dashed #fff;
    height: 100%;
    min-height: 240px;
    justify-content: center;
    align-items: center;
    font-size: 50px;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s all ease;
    -webkit-transition: 0.3s all ease;
    -moz-transition: 0.3s all ease;
    -ms-transition: 0.3s all ease;
    -o-transition: 0.3s all ease;
} */

#Images .add-new-document {
  display: flex;
  /*border: 4px dashed #fff;*/
  height: 100%;
  min-height: 90px;
  min-width: 90px;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.3s all ease;
  -webkit-transition: 0.3s all ease;
  -moz-transition: 0.3s all ease;
  -ms-transition: 0.3s all ease;
  -o-transition: 0.3s all ease;
}

#Videos .add-new-video {
  display: flex;
  /*border: 4px dashed #fff;*/
  height: 100%;
  min-height: 90px;
  min-width: 160px;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.3s all ease;
  -webkit-transition: 0.3s all ease;
  -moz-transition: 0.3s all ease;
  -ms-transition: 0.3s all ease;
  -o-transition: 0.3s all ease;
}

#Images .add-new-photo.first {
  background: rgba(72, 204, 55, 0.57);
}

#Images .add-new-document.first {
  background: rgba(210, 14, 27, 0.57);
}

.excelFile {
  background: #25a54aa8;
}

.excelFile:hover {
  background: #25a54a;
}

.zipFile {
  background: #ffd300b0;
}

.zipFile:hover {
  background: #ffd300;
}

.generalFile {
  background: #7c7a6c8a;
}

.generalFile:hover {
  background: #7c7a6c;
}

#Images .add-new-photo.first:hover {
  background: rgba(72, 204, 55, 0.97);
}

#Images .add-new-document.first:hover {
  background: rgba(210, 14, 27, 0.97);
}

#Videos .add-new-video.first {
  background: rgba(45, 156, 219, 0.57);
  /* Puedes ajustar los valores RGB según tu preferencia */
}

#Videos .add-new-video.first:hover {
  background: rgba(45, 156, 219, 0.97);
}

#add-photo-container input {
  display: none;
}

#add-document-container input {
  display: none;
}

#add-excel-container input {
  display: none;
}

#add-zip-container input {
  display: none;
}

#add-general-container input {
  display: none;
}

#add-video-container input {
  display: none;
}

.imgPreview {
  height: 50;
  width: 50;
}

#imagenPrevisualizacion {
  display: none;
}

#DocPrevisualizacion {
  display: none;
}

#ExcelPrevisualizacion {
  display: none;
}

#ZipPrevisualizacion {
  display: none;
}

#GeneralPrevisualizacion {
  display: none;
}

#VideoPrevisualizacion {
  display: none;
}

.caja {
  position: fixed;
  bottom: 0;
  left: auto;
  right: auto;
  box-sizing: border-box;
  backdrop-filter: blur(10px);
}

body {
  display: flex;
  flex-wrap: nowrap;
  height: 100vh;
  height: -webkit-fill-available;
  max-height: 100vh;
  overflow-x: auto;
  overflow-y: hidden;
}

.chat-online {
  color: #34ce57;
}

.chat-offline {
  color: #e4606d;
}

.chat-messages {
  display: flex;
  flex-direction: column;
  overflow-y: scroll;
}

.chat-message-left,
.chat-message-right {
  display: flex;
  flex-shrink: 0;
}

.chat-message-left {
  margin-right: auto;
}

.chat-message-right {
  flex-direction: row-reverse;
  margin-left: auto;
}

.py-3 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.px-4 {
  padding-right: 1.5rem !important;
  padding-left: 1.5rem !important;
}

.flex-grow-0 {
  flex-grow: 0 !important;
}

.border-top {
  border-top: 1px solid #dee2e6 !important;
}

.conversaciones {
  display: flex;
  overflow-y: auto;
  overflow-x: hidden;
}

#btn-toggle-sidebar {
  position: fixed;
  z-index: 9999;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* número de líneas a mostrar */
  -webkit-box-orient: vertical;
}

.dt-buttons {
  padding: 1rem;
}

.table tbody td {
  padding: 0.75rem 1.5rem !important;
}

.clip {
  transform: rotate(315deg);
}

.bgAdjuntarFile {
  background: #ffffff;
}

@media (min-width: 768px) {
  .pre-datatable-contacts {
    position: absolute;
  }
}

#datatable-contacts tbody tr {
  cursor: pointer;
}

.hoverDrag {
  border: dashed 2px #456777;
  margin-top: 5px;
  margin-bottom: 5px;
  margin-left: 5px;
  margin-right: 5px;
  /*background-color: #97c0ea;*/
  animation-name: hoverAnimation;
  animation-duration: 3s;
}

/* @keyframes hoverAnimation {
    0% {
        background-color: #bbbbbb;
    }

    100% {
        background-color: transparent;
    }
} */

/* CHAT SOCKET */
.urio {
  cursor: pointer;
}

.table tbody td {
  padding: 0.75rem 1.5rem;
}

.table tfoot th {
  padding: 0.4rem 1.5rem;
}

audio::-webkit-media-controls-panel {
  background-color: #5e72e4;
}

audio::-webkit-media-controls-volume-slider {
  background-color: #b1d4e0;
  border-radius: 25px;
  padding-left: 8px;
  padding-right: 8px;
}

audio::-webkit-media-controls-current-time-display {
  color: #ececec;
}

audio::-webkit-media-controls-time-remaining-display {
  color: #ececec;
}

audio::-webkit-media-controls-play-button {
  background-color: #f3f3f3;
  border-radius: 50%;
}

audio::-webkit-media-controls-timeline {
  background-color: #f3f3f3;
  border-radius: 25px;
  margin-left: 10px;
  margin-right: 10px;
}

.navBarReportes {
  background-color: white;
  /* Establece el color de fondo inicial */
  max-height: 100vh;
  overflow-x: auto;
}

.barraReportes {
  padding: 0;
}

.barraReportes li a {
  display: block;
  padding-top: 15px;
  padding-bottom: 15px;
  padding-left: 10px;
}

.barraReportes li {
  list-style: none;
}

.barraReportes li:hover {
  background-color: rgb(231, 231, 231);
  /* Cambia el color de fondo al pasar el cursor */
  transition: 0.5s;
  border-left: 5px solid #5e72e4;
}

.barraReportes li.active {
  background-color: #e6e6e6;
  /* Cambia el color de fondo cuando se hace clic */
  border-left: 5px solid #5e72e4;
}

.cabeceraReportes {
  padding-left: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #d0d0d0;
}

color-square {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 5px;
  vertical-align: middle;
}

.option-circle {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 5px;
}

.btnEliminarRes {
  cursor: pointer;
  color: #5e72e4;
  font-size: 20px;
}

.tabla {
  display: flex;
  flex-direction: column;
  /*border: 1px solid #000;*/
  width: 100%;
}

.fila {
  display: flex;
}

.celda {
  flex: 1;
  /*border: 1px solid #000;*/
  padding: 5px;
}

.encabezado {
  padding-top: 5px;
  padding-bottom: 5px;
  border-bottom: 3px solid #d0d0d0;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-weight: bold;
}

.pieTabla {
  padding-top: 5px;
  font-weight: bold;
}

.bodyTable .fila .celda {
  padding-top: 10px;
  padding-bottom: 10px;
  color: #4b4b4b;
}

#btnDescargarPDF {
  cursor: pointer;
}

.dropdown-menu {
  max-height: 200px;
  /* Ajusta la altura máxima según tus necesidades */
  overflow-y: auto;
  overflow-x: hidden;
}

#filtro-origen {
  align-self: center;
  margin-left: 20px;
  margin-right: 20px;
  background-color: #d4d4d4;
  border-radius: 30px;
  padding: 5px;
}

.half-circle-spinner,
.half-circle-spinner * {
  box-sizing: border-box;
}

.half-circle-spinner {
  width: 60px;
  height: 60px;
  border-radius: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
}

.half-circle-spinner .circle {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 100%;
  border: calc(60px / 10) solid transparent;
}

.half-circle-spinner .circle.circle-1 {
  border-top-color: #ff1d5e;
  animation: half-circle-spinner-animation 1s infinite;
}

.half-circle-spinner .circle.circle-2 {
  border-bottom-color: #ff1d5e;
  animation: half-circle-spinner-animation 1s infinite alternate;
}

@keyframes half-circle-spinner-animation {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* boton to up */

.content-button-up {
  position: absolute;
  bottom: 12rem;
  right: 1.5rem;
  border-radius: 2rem;
  width: 2.7rem;
  height: 2.7rem;
  border: none;
  background-color: #5562aa !important;
  opacity: 0.2;
  transition:
    opacity 0.7s,
    transform 0.3s ease;
}

.content-button-up:hover {
  background-color: #5e72e4 !important;
  transform: scale(1.2);
  opacity: 1;
}

.opacity-0 {
  opacity: 0;
}

/* Establece la opacidad en 1 */
.opacity-1 {
  opacity: 1;
}

::-webkit-scrollbar {
  width: 7px;
  /* Cambiar el ancho de la barra de desplazamiento */
  height: 6px;
  background-color: #f1f1f1;
  /* Cambiar el color de fondo */
}

::-webkit-scrollbar-thumb {
  background: #344767;
  border-radius: 1rem;
}

.dt-buttons {
  float: right;
}

.btn-excel {
  margin-right: 1.5rem;
  background-color: #42af80;
}

.btn-excel:hover {
  margin-right: 1.5rem;
  background-color: #34ce57;
}

#datatable-busqueda th:hover {
  cursor: col-resize;
}

.cell-content {
  text-overflow: ellipsis;
  /* Agrega puntos suspensivos (...) cuando el texto se desborda */
  overflow: hidden;
}

#datatable-busqueda_info {
  float: left;
  padding-left: 1.5rem;
}

#datatable-busqueda_paginate {
  float: right;
  padding-right: 1.5rem;
}

.template-item {
  border: 1px solid #ddd;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
  background-color: #f9f9f9;
  cursor: pointer;
}

.template-title {
  font-weight: bold;
  color: #333;
}

.template-text {
  margin-top: 5px;
  font-size: 14px;
  color: #555;
}

.template-example {
  margin-top: 5px;
  font-size: 12px;
  color: #888;
}

.template-details {
  margin-top: 10px;
  font-size: 12px;
}

.template-details span {
  display: inline-block;
  margin-right: 15px;
  color: #666;
}

.template-item.selected {
  background-color: #e0e0e0; /* Cambia el fondo para el elemento seleccionado */
}

.user-item {
  padding: 10px;
  margin-bottom: 5px;
  border: 1px solid #ddd;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f9f9f9;
}

.userList-checkbox {
  margin-left: 10px;
}
.user-checkbox {
  margin-left: 10px;
}

.loader-container {
  background-color: transparent;
  margin: auto;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader {
  width: 5rem;
  height: 5rem;
  border: 0.5rem solid #181b32;
  border-bottom-color: #7e8ee9;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}
