/* Estilos generales y variables */
:root {
  --secondary-bg: #6c757d;
  --light-text: #f8f9fa;
  --dark-text: #212529;
  --success-color: #28a745;
  --light-bg: #e6e6e6;
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  padding-top: 88px;
  margin: 0;
  background-color: #f4f4f4;
}

.w-100 {
  width: 100%;
}

.m-1 {
  margin: 0.25rem;
}

.fondo-secundario {
  background-color: var(--secondary-bg);
}

a {
    text-decoration: none; /* Elimina el subrayado */
}

/* Define el color y el estilo para cada estado del enlace */
a:link, /* Enlace no visitado */
a:visited, /* Enlace ya visitado */
a:hover, /* Enlace cuando el mouse pasa por encima */
a:active /* Enlace cuando se hace clic */ {
    text-decoration: none; /* Mantiene el subrayado eliminado */
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

h1 {
  font-size: 2.5rem; /* ~40px */
  font-weight: 500;
  line-height: 1.2;
}

h2 {
  font-size: 2rem; /* ~32px */
  font-weight: 500;
  line-height: 1.2;
}

h3 {
  font-size: 1.75rem; /* ~28px */
  font-weight: 500;
  line-height: 1.2;
}

h4 {
  font-size: 1.5rem; /* ~24px */
  font-weight: 500;
  line-height: 1.2;
}

h5 {
  font-size: 1.25rem; /* ~20px */
  font-weight: 500;
  line-height: 1.2;
}

h6 {
  font-size: 1rem; /* ~16px */
  font-weight: 500;
  line-height: 1.2;
}

hr {
  margin-top: 1rem;
  margin-bottom: 1rem;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  box-sizing: content-box; /* Opcional, pero es la configuración por defecto de Bootstrap */
  height: 0; /* Asegura que el hr no tenga altura si no es un borde */
  overflow: visible; /* Asegura que el contenido sea visible */
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

.navbar {
  background-color: var(--secondary-bg);
  padding: 1rem 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  position: fixed; /* Fija la barra de navegación en la parte superior */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10; /* Asegura que esté por encima de otros elementos */
}

.nav-wrapper {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  flex-shrink: 0;
}

.navbar-brand img {
  width: 200px;
  height: 72px;
  display: block;
}

.navbar-toggler {
  display: none; /* Oculto por defecto en escritorio */
  background: none;
  border: 1px solid var(--light-text);
  cursor: pointer;
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  transition: all 0.3s ease;
}

.navbar-toggler-icon {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba%28248, 249, 250, 0.75%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-collapse {
  flex-grow: 1;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end; /* Alinea los elementos a la derecha */
  width: 100%;
}

.nav-link {
  padding: 0.5rem 0.5rem; /* Ajusta el padding para que se vea bien en todos los casos */
}

/* Estilo específico para los enlaces de texto */
.nav-link a {
  color: var(--light-text);
  text-decoration: none;
}

.nav-link a:hover {
  color: var(--dark-text);
}

/* Responsive design para pantallas pequeñas */
@media (max-width: 992px) {
  .nav-wrapper {
    flex-wrap: wrap;
  }

  .navbar-toggler {
    display: block; /* Muestra el botón de hamburguesa */
  }

  .navbar-collapse {
    width: 100%;
    max-height: 0; /* Oculta el menú por defecto */
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
  }

  .navbar-collapse.show {
    max-height: 500px; /* Expande el menú al mostrar */
  }

  .nav-list {
    flex-direction: column; /* Apila los elementos verticalmente */
    align-items: stretch;
    margin-top: 1rem;
  }

  .nav-link {
    margin: 0.05rem 0;
  }

  .nav-link a {
    display: block; /* Hace que los enlaces llenen el ancho */
  }
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255,255,255,1);
	padding: 7px 5px;
}
.navbar-dark .navbar-nav .nav-link:hover {
  color: rgba(5,5,5,1);
}

.row-home {
  margin: 2rem 0;
}

.embed-video {
  background: #000; padding: 5px; border-radius: 11px; overflow: hidden;
}

dl.clima {
  color: #007135;
  margin: 1rem;
  font-size: 1.25rem;
}

dt.clima.dd {
  font-weight: 700;
}

@media (min-width: 992px) {
  .linea-columnas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 1rem;
  }
  .home-historia {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-auto-rows: 1fr;
    gap: 1rem;
  }
}

.swiper, .cartelera-item {
  height: 100%;
}

#carouselSecciones / Home .carousel-item {
  /*height: 65vh;*/
  /*min-height: 300px;*/
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.portfolio-item {
  margin-bottom: 30px;
}

.menu {
  color: #ffef9e;
  padding-right: 8px;
}

.menu-activo a {
	border: 1px solid white;
}

.bg-light {
  background-color: var(--light-bg);
}

.card {
  border: 2px solid var(--light-bg);
  display: flex;
  flex-direction: column;
}
.card > .card-header {
  background-color: var(--light-bg);
  font-size: 1.25rem;
  padding: 0.75rem;
  color: #404040;
}
.card > .card-body {
  box-sizing: border-box;
  padding: 0.75rem;
  flex-grow: 1;
}
.card > .card-footer {
  background-color: var(--light-bg);
  padding: 0.75rem;
}

.fichaLote {
	font-family: Arial, Helvetica, sans-serif;
}

.fichaLote > div {
	margin-top: 10px;
	margin-bottom: 10px;
}

.fichaLote .carousel-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.loteDspFlex {
  width: 100%;
  display: -webkit-flex; /* Safari */
  display: flex;
  background-color: #EFEFEF;
  border-radius: 5px;
  padding: 10px 10px;
}

.loteDspFlex div {
  -webkit-flex: 1;  /* Safari 6.1+ */
  -ms-flex: 1;  /* IE 10 */  
  flex: 1;
}

.loteCard {
	border: 1px solid grey;
	border-radius: 5px;
}

.loteCardDescrTitulo { 
	color: white;
	font-size: 14px;
	font-weight: 700;
  background-color: rgb(89, 89, 89);
	padding: 5px;
	text-align: center;
}

.loteCardDescrCont {
	padding: 5px;
	font-size: 12px;
	min-height: 58px;
	text-align: left;
}

.tabla-hacienda td {
  padding: 7px 3px;
  font-size: .9em;
}

.whatsapp {
  position: fixed;
  width:60px;
  height:60px;
  bottom:40px;
  right:40px;
  background-color:#25d366;
  color:#FFF;
  border-radius:50px;
  text-align:center;
  font-size:30px;
  z-index:100;
}

.whatsapp-icon {
  margin-top: 13px;
}

.container {
  width: 100%;
  padding-right: 0.5rem;
  padding-left: 0.5rem;
  margin-right: auto;
  margin-left: auto;
}

/* Pequeño (sm) - Ancho >= 576px */
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

/* Mediano (md) - Ancho >= 768px */
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

/* Grande (lg) - Ancho >= 992px */
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

/* Extra grande (xl) - Ancho >= 1200px */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Extra extra grande (xxl) - Ancho >= 1400px */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

.btn {
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  border-radius: 0.25rem;
  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;
}

.btn:hover {
  color: #212529;
  background-color: #e9ecef;
  border-color: #e9ecef;
}

.btn:focus {
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  border-radius: 0.2rem;
}

.btn-lg {
  padding: 0.5rem 1rem; /* Aumenta el padding para hacerlo más grande */
  font-size: 1.25rem; /* Aumenta el tamaño de la fuente */
  line-height: 1.5; /* Mantiene la altura de línea consistente */
  border-radius: 0.3rem; /* Aumenta el radio de los bordes para coincidir con el tamaño */
}

.btn-block {
  display: block;
  width: 100%;
}

/* Botón Primary */
.btn-primary {
  color: #fff;
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.btn-primary:hover {
  color: #fff;
  background-color: #0b5ed7;
  border-color: #0a58ca;
}

/* Botón Secondary */
.btn-secondary {
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
}

.btn-secondary:hover {
  color: #fff;
  background-color: #5c636a;
  border-color: #565e64;
}

/* Botón Success */
.btn-success {
  color: #fff;
  background-color: #198754;
  border-color: #198754;
}

.btn-success:hover {
  color: #fff;
  background-color: #157347;
  border-color: #146c43;
}

/* Botón Danger */
.btn-danger {
  color: #fff;
  background-color: #dc3545;
  border-color: #dc3545;
}

.btn-danger:hover {
  color: #fff;
  background-color: #bb2d3b;
  border-color: #b02a37;
}

/* Botón Warning */
.btn-warning {
  color: #000;
  background-color: #ffc107;
  border-color: #ffc107;
}

.btn-warning:hover {
  color: #000;
  background-color: #ffcd39;
  border-color: #ffc720;
}

/* Botón Info */
.btn-info {
  color: #000;
  background-color: #0dcaf0;
  border-color: #0dcaf0;
}

.btn-info:hover {
  color: #000;
  background-color: #31d2f2;
  border-color: #25cff2;
}

/* Botón Light */
.btn-light {
  color: #000;
  background-color: #f8f9fa;
  border-color: #f8f9fa;
}

.btn-light:hover {
  color: #000;
  background-color: #e9ecef;
  border-color: #e9ecef;
}

/* Botón Dark */
.btn-dark {
  color: #fff;
  background-color: #212529;
  border-color: #212529;
}

.btn-dark:hover {
  color: #fff;
  background-color: #1c1f23;
  border-color: #1a1e21;
}

.btn-link {
  font-weight: 400;
  color: #0d6efd;
  text-decoration: underline;
  background-color: transparent;
  border-color: transparent;
}

.btn-link:hover {
  color: #0a58ca;
}

.btn-link:focus {
  text-decoration: none;
}

/* Botón Outline-Primary */
.btn-outline-primary {
  color: #0d6efd;
  border-color: #0d6efd;
}

.btn-outline-primary:hover {
  color: #fff;
  background-color: #0d6efd;
  border-color: #0d6efd;
}

/* Botón Outline-Secondary */
.btn-outline-secondary {
  color: #6c757d;
  border-color: #6c757d;
}

.btn-outline-secondary:hover {
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
}

/* Botón Outline-Success */
.btn-outline-success {
  color: #198754;
  border-color: #198754;
}

.btn-outline-success:hover {
  color: #fff;
  background-color: #198754;
  border-color: #198754;
}

/* Botón Outline-Danger */
.btn-outline-danger {
  color: #dc3545;
  border-color: #dc3545;
}

.btn-outline-danger:hover {
  color: #fff;
  background-color: #dc3545;
  border-color: #dc3545;
}

/* Botón Outline-Warning */
.btn-outline-warning {
  color: #ffc107;
  border-color: #ffc107;
}

.btn-outline-warning:hover {
  color: #000;
  background-color: #ffc107;
  border-color: #ffc107;
}

/* Botón Outline-Info */
.btn-outline-info {
  color: #0dcaf0;
  border-color: #0dcaf0;
}

.btn-outline-info:hover {
  color: #000;
  background-color: #0dcaf0;
  border-color: #0dcaf0;
}

/* Botón Outline-Light */
.btn-outline-light {
  color: #f8f9fa;
  border-color: #f8f9fa;
}

.btn-outline-light:hover {
  color: #000;
  background-color: #f8f9fa;
  border-color: #f8f9fa;
}

/* Botón Outline-Dark */
.btn-outline-dark {
  color: #212529;
  border-color: #212529;
}

.btn-outline-dark:hover {
  color: #fff;
  background-color: #212529;
  border-color: #212529;
}
