:root {
  --primary-color: #0d6efd;
  --secondary-color: #6c757d;
  --background-color: #f8f9fa;
  --text-color: #212529;
  --font-family: 'Lato', sans-serif;
  --footer-bg: #ffffff;
  --footer-text: #6c757d;
  --link-color: #0d6efd;
}

html, body {
  font-family: var(--font-family);
  color: var(--text-color);
  background-color: var(--background-color);
  margin: 0;
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

/* El contenedor principal debe crecer para empujar el footer hacia abajo */
.main-content {
  flex: 1;
}

.container-plus, .container-plus-1 {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

.donation-section-lista {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.donation-section-editar {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th, .table td {
  padding: 10px;
  border: 1px solid #dee2e6;
}

/* footer.footer {
  position: relative;
  width: 100%;
  background-color: var(--footer-bg);
  padding: 10px 20px;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 73px;
} */

/* Enlaces alineados a la izquierda */
/* footer.footer .footer-links {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 20px;
} */

/* Redes sociales alineadas a la derecha y centradas verticalmente */
/* footer.footer .social-icons {
  position: absolute;
  right: 20px; 
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 15px;
  font-size: 1.8rem;
} */

/* .footer-links {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 13px;
} */
 .footer-links, .footer-links-1 {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 10px;
  align-items: center; /* Asegura que los puntos separadores estén alineados */
}

.social-icons a {
  font-size: 1.8rem;
  text-decoration: none;
  display: none;
}

.social-icons a:hover {
  color: #0056b3;
}

.footer {
  display: flex;
  justify-content: space-between; /* Espacia los elementos */
  align-items: center; /* Alinea verticalmente */
  padding: 20px 50px;
  width: 100%;
}

.footer-1 {
  display: flex;
  justify-content: space-between; /* Espacia los elementos */
  align-items: center; /* Alinea verticalmente */
  padding: 20px 50px;
  width: 100%;
  margin-top: -133px;
}

.footer-left{
  display: flex;
  flex-direction: column; /* Acomoda en columna */
  align-items: flex-start; /* Alinea a la izquierda */
  /* margin-left: 51px; */
}

.footer-left-1 {
  display: flex;
  flex-direction: column; /* Acomoda en columna */
  align-items: flex-start; /* Alinea a la izquierda */
  margin-left: -700px;
}

.footer-right {
  display: flex;
  align-items: center; /* Alinea los iconos verticalmente */
  gap: 15px;
  /* margin-right: 51px; */
}

/* Empujar el footer hasta abajo cuando hay poco contenido */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Asegura que el cuerpo tenga al menos el alto de la ventana */
}

.headerWord {
  color: #C7C8C9;
}

.headerWord:hover {
  color: #007bff;  
}

.divPrincipal {
  margin-left: 33px; 
  margin-top:  33px;
}

.btn-guardar {
  margin-top: 15px;
}

li {
  list-style: none;
}

a {
  text-decoration: none !important;
}

.color-gris {
  color:#6C757D;
}

.first-top-bar {
  height: 38px;
  background-color: #ECF4F9;
  display: block !important;
}

/* Top Bar */
.top-bar {
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  height: 76px;
  padding: 0 3px;
  background-color: white;
}

.column {
  flex: 1;
}

.column-donations {
  margin-left: 47rem !important;
}

.column-donar { 
  margin-left: 1rem !important;
}

.column-header-image {
  width: 333px;
}

.column-image {
  width: 333px;
  text-align: left;
}

.anchor {
  color: #282b2e;  
}

.anchor:hover {
  color: #0B5ED7;
}

.red-hat-display-regular {
  font-family: "Red Hat Display", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-size: small;
}

.red-hat-display-regular-font {
  font-family: "Red Hat Display", serif;
}

.btn-link {
  background: none;
  border: none;
  color: #007bff; /* Color del texto */
  text-decoration: none; /* Subrayado como un enlace */
  cursor: pointer; /* Manito como un enlace */
  padding: 0; /* Quitar relleno */
}

.btn-link:hover {
  color: #0B5ED7; /* Cambiar color al pasar el mouse */  
}

.donation-section-border {
  border: 1px solid red;
  padding: 2rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  margin-right: 1.5rem;
}

.container-plus-1 {
  width: 45%;
  padding: 15px;
  margin-left: 33px;
}

.container-plus {
  width: 95%; /* Ajusta el tamaño del div */
  margin: 0 auto; /* Esto centra el div horizontalmente */
  padding: 15px; /* Espaciado interno */
}

.section-top-lista {
  width: 100%; /* Se asegura de que la sección ocupe todo el ancho disponible */  
}

.section-top-editar {
  width: 100%; /* Se asegura de que la sección ocupe todo el ancho disponible */  
}

table td:first-child {
  vertical-align: top;
  text-align: left; /* Asegura que el texto esté alineado a la izquierda */
  padding-top: 5px; /* Opcional, para mejor separación */
}

#error-msg
{
  margin-top: 19px;
}

#error-msg1
{
  margin-top: 19px;
}

#div-cargar-mas {
  width: 50%; 
  margin: 0 auto; 
  width: 120px;
  margin-bottom: 30px !important;
  margin-top: 30px !important;
}

/* Buena posible opción para RESPONSIVE */
/* body {
  display: flex;
  justify-content: center;
} */

.search-container{
  display: flex;
  width: 109px;
}

.div-contrasenia {
  display: flex;
}

#search-input {
  border: 1px solid #ccc; /* Color del borde */
  margin-right: 1px;
  border-radius: 5px 0 0 5px; /* Bordes redondeados solo en la izquierda */
  outline: none;
}

.btn-busqueda {
  border: 1px solid #ccc; /* Mismo borde que el input */
  background: white; /* Fondo blanco */
  border-radius: 0 5px 5px 0; /* Bordes redondeados solo en la derecha */
  cursor: pointer;
}

button i {
  font-size: 16px; /* Tamaño del ícono */
  color: black; /* Color de la lupa */
}

.anchor-recuperar-contrasenia {
  color: blue !important;
  margin-left: 5px !important;
  margin-top: 1px !important;
  font-size: 0.9rem !important;
}

.anchor-recuperar-contrasenia:hover {
  cursor: pointer !important;
  color: darkblue !important;
}

.anchor-recuperar-contrasenia-eliminar {
  color: blue !important;
  margin-top: 5px !important;
  margin-bottom: 9px !important;
  font-size: 0.9rem !important;
  margin-left: -10px !important;
}

.anchor-recuperar-contrasenia-eliminar:hover {
  cursor: pointer !important;
  color: darkblue !important;
}

.header {
  position: relative;
  background: url("../assets/img/bg-masthead.jpg") no-repeat center center;
  background-size: cover;
  padding-top: 14rem;
  padding-bottom: 11.5rem;
}

.header:before {
  content: "";
  position: relative;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;  
}

.btn-xs {
  padding: 2px 5px !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  border-radius: 3px !important;
}

.anchor-whatsapp {
  cursor: pointer;
}

/* Responsive adjustments */
/*****************RESPONSIVE WEB******************/
@media (max-width: 1099px) { 
  /*CELULARES*/
 
  .footer {
    display: none;
  }

  .footer-1 {
    display: none;
  }

  .container-plus, .container-plus-1 {
    width: 90%; /* Ajustar para pantallas más pequeñas */
    padding: 10px;
  }

  .donation-section-lista {
    min-height: 113vh; /* Permite que el contenido crezca */
    display: flex;
    flex-direction: column;
    margin-bottom: 263px;
  }

  .footer, .footer-1 {
    flex-direction: column;
    text-align: center;
    padding: 20px 10px;
  }

  .footer-left, .footer-right {
    width: 100%;
    justify-content: center;
  }

  .footer-links, .footer-links-1 {
    font-size: 0.85rem;
  } 

  #todos-los-derechos-p {
    font-size: 0.75rem;
  }

  .column-donations, .column-donar {
    margin-left: 0 !important;
    text-align: center;
  }

  .top-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Distribuye los elementos */
    align-items: center;
    height: auto;
    padding: 10px;
  }

  .column {
    flex: 1;
    text-align: center; /* Centra los elementos */
    margin: 5px;
  }

  .footer {
    display: flex;
    flex-direction: column; /* Se apila en pantallas pequeñas */
    text-align: center;
    padding: 20px;
  }
  
  .footer-left, .footer-right {
    width: 100%;
    justify-content: center;
  }

  .header {
    padding: 10rem 1rem; /* Reduce en pantallas pequeñas */
  }

  .table td img {
    width: 100%; /* Ocupará todo el ancho de la celda */
    max-width: 1000px; /* Ajusta esto según el tamaño máximo deseado */
    height: auto; /* Mantiene la proporción */
    display: block; /* Evita espacios extra debajo de la imagen */
  }

  .foto::after {
    content: ".............................................................";
    color: #F8F9FA;
  }

  #table-container { 
    min-height: 200vh; /* Asegura que el contenedor ocupe toda la pantalla */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .donation-section-editar {
    flex-grow: 1;
    min-height: 126vh; /* Permite que el contenido crezca */
    display: flex;
    flex-direction: column;
  }

  .footer-left-1 {
    display: flex;
    flex-direction: column; /* Acomoda en columna */
    align-items: flex-start; /* Alinea a la izquierda */
    margin-left: 0 !important;
    margin-right: 20px !important;
  }

  #div-cargar-mas {
    width: 50%; 
    margin: 0 auto; 
    width: 120px;
    margin-bottom: 30px !important;
    margin-top: -25px !important;
  }
 
  html, body {
    height: 100%;
    margin: 0;
    padding: 0;
  }

  #load-more {
    margin-bottom: 400px;
  }

  .section-top-lista {
    height: 300px;
  }
}

.borrar-cancelar-btns {
  margin-bottom: 10px;
}

@media (min-width: 1100px) {

   .donation-section-lista {
    margin-bottom: 40px;
  }
}
 
