.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}

/* .align-items-center {
  padding-top: 0 !important;
} */

.b-example-divider {
  height: 3rem;
  background-color: rgba(0, 0, 0, .1);
  border: solid rgba(0, 0, 0, .15);
  border-width: 1px 0;
  box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.ancla {
  width: 100%;
  background-color: #fff;
}

.fondo {
  display: block;
  width: 100%;
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
}

.tabla {
  overflow: scroll;
  height: 20rem;
  width: 40%;
  min-width: 20rem;
  top: 10rem;
  left: 20rem;
  background-color: white;
  position: absolute;
  z-index: 15;
}

.b-example-vr {
  flex-shrink: 0;
  width: 1.5rem;
  height: 100vh;
}

.bi {
  vertical-align: -.125em;
  fill: currentColor;
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.navbar-nav {
  font-size: 13px;
}

.search-icon {
  position: relative;
  display: inline-block;
}

.search-icon i {
  position: absolute;
  top: 50%;
  left: 10px;
  /* Ajusta el espacio para el ícono en el lado izquierdo */
  transform: translateY(-50%);
  font-size: 20px;
  /* Ajusta el tamaño del ícono según tus necesidades */
  color: white;
  transition: opacity 0.2s;
  /* Agrega una transición de opacidad */
}

/* input.form-control::placeholder-shown + .search-icon i {
  opacity: 0; 
  /* Oculta el ícono cuando el marcador de posición está visible
} */

input.form-control {
  /* background-color: #DC0909;
  border: 1px solid #DC0909; */
  background: rgba(194, 0, 0, 0.30);
  padding-left: 10px;
  padding-left: 30px;
  /* Espacio para el ícono en el lado izquierdo */
  color: white;
}

input.form-control:focus {
  background-color: #00917d;
  /* Mantén el color de fondo cuando el input está enfocado */
  color: white;
}

/* .fw-normal {
  color: white !important;
  padding: 5px !important;
} */

.encabezado {
  border-radius: 0px 0px 25px 25px;
  background: #EBEBEB;
  padding: 20px;
}

.sub-titles {
  color: #FF0000;
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-align: center;
}

.logo-encabezado {
  float: right;
  margin-left: 10px;
  margin-top: -0px;
}

.contenedor-titulo {
  border-top: 1px solid #F00;
  padding-top: 10px;
  margin-top: 30px;
}

#tabla-container{
  margin-top: 4%;
  padding-bottom: 4%;
  text-align: -webkit-center !important;
}

table {
  width: 50% !important;
}

table.table-striped.table-hover th {
  color: #FFF;
  border-radius: 7px 7px 0px 0px;
  background: #9d9d9d !important;
  text-align: center;
  font-size: 19px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

tr {
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-align: center;
}

thead{
  border-bottom: 3px solid #FC0000 !important;
}

.background-styles-cadenas {
  background-color: #fff !important;
  background: url(../img/fondos_secciones/ENGRANAJE3.png) no-repeat;
  background-size: auto 50%;
  background-position: top right;
}

.background-styles-uniones {
  background-color: #fff !important;
  background: url(../img/fondos_secciones/uniones.png) no-repeat;
  background-size: auto 100%;
  background-position: top left;
}

.background-styles-kits {
  background-color: #fff !important;
  background: url(../img/fondos_secciones/kits_de_transmision.png) no-repeat;
  background-size: auto 100%;
  background-position: top right;
}

.background-styles-bujias {
  background-color: #fff !important;
  background: url(../img/fondos_secciones/bujia.png) no-repeat;
  background-size: auto 100%;
  background-position: top left;
}

.background-styles-corta-cadenas {
  background-color: #fff !important;
  background: url(../img/fondos_secciones/corta_cadena.png) no-repeat;
  background-size: auto 100%;
  background-position: top right;
}

.background-styles-cadenas-distribucion {
  background-color: #fff !important;
  background: url(../img/fondos_secciones/cadena_de_distribucion.png) no-repeat;
  background-size: auto 100%;
  background-position: top left;
}

.full-div-contact{
  width: 100%;
  /* background: url('../img/fondos_secciones/WEB_CHOHO_linear.png'), lightgray 50% / cover no-repeat; */
  background: #fff;
  display: flex;
}

.full-div-contact h2 {
  width: 70%;
  padding: 20px;
  color: white;
  /* background: linear-gradient(90deg, #5B0000 47.06%, rgba(52, 8, 8, 0.00) 71.91%); */
  background: #9D9D9D;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  border-radius: 7px 7px 0px 0px;
}

#nosotros{
  background-color: #FFF;
}

.full-width-div {
  background-image: url('../img/fondos_secciones/Moto-Lubricación-Cadena.png'); /* Reemplaza 'ruta-de-tu-imagen.jpg' con la URL de tu imagen de fondo */
  background-size: cover;
  background-position: center center;
  background-attachment: fixed; /* Esto es opcional y hará que la imagen se mantenga fija al hacer scroll */
  width: 100%;
  /* height: 100vh;  Esto hace que ocupe el largo total de un dispositivo*/
  display: flex;
}

.full-width-frase {
  /* background: linear-gradient(90deg, #5B0000 100%, rgba(82, 9, 9, 0.49) 47.25%, rgba(148, 0, 0, 0.47) 93.37%); */
  background: #000;
  width: 100%;
  display: flex;
}

.full-width-frase p{
  color: #FFF;
  font-size: 31px;
  /* font-style: italic; */
  /* font-weight: 500; */
  font-weight: 300;
  line-height: normal;
  text-align: center;
  /* padding: 20px; */
  width: inherit;
  /* background: linear-gradient(90deg, #5B0000 100%, rgba(82, 9, 9, 0.49) 100%, rgba(148, 0, 0, 0.47) 100%); */
}

.separador-blanco{
  width: 100% !important;
  background: #EBEBEB !important; 
  padding: 50px !important;
}

.half-width-div {
  width: 50% !important;
  flex: 1; /* Esto hace que ambos elementos ocupen la misma cantidad de ancho */
  /* Otras propiedades de estilo para cada contenedor (puedes personalizar según tus necesidades) */
  padding: 20px; /* Agrega espacio alrededor del contenido, por ejemplo */
}

.half-width-div h2 {
  padding: 20px;
  color: white; /* Cambia el color del texto según tus necesidades */
  /* Otras propiedades de estilo para el título si es necesario */
  /* background: linear-gradient(90deg, #5B0000 47.06%, rgba(52, 8, 8, 0.00) 71.91%);
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25); */
  border-radius: 7px 7px 0px 0px;
  background: #9D9D9D;
  margin: 0 !important;
}

.half-width-div p {
  /* padding: 20px; */
  color: white;
  background: linear-gradient(179deg, #000 12.23%, rgba(0, 0, 0, 0.00) 145.25%);
}

.title-contact{
  padding: 20px;
  color: white;
  background: url('../img/fondos_secciones/WEB_CHOHO_linear.png'), lightgray 50% / cover no-repeat;
}

.title-contact h2 {
  margin: auto;
}

.half-width-div form {
  margin-top: 50px;
}

/* .contactinfo-block{
  margin-top: 130px;
} */

.footer {
  background:#D9D9D9;
}

footer img {
  width: 25% !important;
  padding: 3rem !important;
}

.center-contact{
  padding-left: 25%;
}

#contacto .center-contact {
  padding-left: 40% !important;
}

.contactdetail {
  display: flex;
  padding-top: 25px;
}
/* button.carousel-control-prev[data-bs-target="#myCarousel"]:not(.collapsed)::after {
  background-color: black !important;
} */

a.nav-link.active:hover {
  color: #00917d;
  border-bottom: 1px solid #00917d;
}

.hover-color:hover {
  color: #00917d !important; /* Cambia el color al hacer hover */
}

.contactus-form {
  padding-left: 35% !important;
}

.video-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.full-width {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.content {
  position: relative;
  z-index: 1;
  padding: 20px;
}

/* Efecto de transparencia al hacer scroll */
.video-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  z-index: 1;
}

/* Efecto de desaparición al hacer scroll */
.video-container video {
  opacity: 1;
  transition: opacity 0.8s ease;
}

.video-container.scrolled video {
  opacity: 0.4;
}

/* MODELOS PLAIN / ZOMBIE*/
#fullScreenDiv {
  width: 100vw;
  height: 80vh;
  /* background-image: url('../img/fondos/fondo_plain_a.jpg'); */
  background-image: url('../img/fondos/fondo_trama.jpg'); 
  background-size: 80% 100%;
  /* background-size: cover; */
  background-repeat: no-repeat;
  background-position: center;
  overflow: auto;
  position: relative;
  background-color: black;
}

.text-description {
  width: 100%;
  max-width: 1550px; /* Ancho máximo para el texto */
  margin: 0 auto; /* Centrar el contenido */
  padding: 50px 10px 10px 10px; /* Espaciado */
  color: white; /* Color del texto */
  /* background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%); Degradado */
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.9); */
}

/* Estilos para el párrafo */
.text-description p {
  font-family: sans-serif;
  line-height: 1.5;
  font-size: 1.25rem;
  font-weight: 300;
  /* text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4); */
}

#imageContainer {
  width: 100%;
  height: 2000px; /* Alto específico para contener las imágenes */
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Estilos para las imágenes */
.hidden-image {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  margin: 20px 0; /* Espacio entre las imágenes */
}

/* Animación para que las imágenes aparezcan al hacer scroll */
.visible {
  opacity: 1;
}

.custom-img-titulo{
  width: 15%;
  margin-top: 3rem !important;
}

.custom-img-footer-plain {
  width: 10%; /* Ancho del 25% del contenedor padre */
  position: absolute; /* Posición relativa */
  top: 650%; /*Ejemplo: mueve la imagen 50px hacia abajo desde su posición original */
  right: 10%; /* Ejemplo: mueve la imagen 20px hacia la derecha desde su posición original */
  /* Otros estilos que desees aplicar */
}

.custom-img-footer-zombie {
  width: 10%; /* Ancho del 25% del contenedor padre */
  position: absolute; /* Posición relativa */
  top: 950%; /*Ejemplo: mueve la imagen 50px hacia abajo desde su posición original */
  right: 10%; /* Ejemplo: mueve la imagen 20px hacia la derecha desde su posición original */
  /* Otros estilos que desees aplicar */
}

/* Estilos específicos para pantallas más estrechas (móviles) */
@media (max-width: 768px) {
  table{
    width: 100% !important;
  }

  .scrollable-table {
    width: 100%;
    overflow-x: auto;
  }

  .scrollable-table table {
    width: 100%;
  }

  .full-width-div {
    flex-direction: column; /* Cambia la dirección de los elementos a columna */
  }

  .half-width-div {
    width: 100% !important;
    flex:none !important;
  }

  .full-div-contact{
    flex-direction: column; /* Cambia la dirección de los elementos a columna */
  }

  .full-div-contact h2 {
    width: 100%;
  }

  .half-width-div img {
    width: 100%; /* Ajusta el ancho de las imágenes al 100% */
    margin: 0 !important;
  }

  /* .contactinfo-block{
    margin-top: 0;
  } */

  footer img {
    /* display: none !important; */
    width: 100% !important;
  }

  .center-contact{
    padding-left: 0 !important;
  }

  .contactdetail {
    display:block !important;
    padding-top: 0 !important;
  }

  #contacto .center-contact {
    padding-left: 0 !important;
  }

  .col-auto h2 {
    width: 100%;
    max-width: 150px; /* ajusta el ancho máximo según tus necesidades */
  }

  .contactus-form {
    padding-left: 0 !important;
  }

  #contactanos {
    margin-top: 10% !important;
  }

  #nosotros{
    padding-top: 3rem!important;
  }

  #imageContainer {
    max-height: 80vh; /* Limitar la altura del contenedor al 80% de la altura de la pantalla */
    overflow: auto; /* Agregar desplazamiento si el contenido excede el área visible */
  }
  
  #imageContainer img {
    width: 80%; /* Imágenes ocupan el 80% del ancho de la pantalla */
    height: auto; /* Altura se ajusta automáticamente */
    margin: 20px auto; /* Espaciado y centrado horizontal */
    display: block; /* Convertir a bloque para centrar */
  }

  .custom-img-titulo{
    width: 40%;
    margin-top: 3rem !important;
  }

  .custom-img-footer-plain {
    width: 40%; /* Ancho del 25% del contenedor padre */
    position: relative; /* Posición relativa */
    top: 5px; /*Ejemplo: mueve la imagen 50px hacia abajo desde su posición original */
    left: 60%; /* Ejemplo: mueve la imagen 20px hacia la derecha desde su posición original */
    /* Otros estilos que desees aplicar */
  }

  .custom-img-footer-zombie {
    width: 40%; /* Ancho del 25% del contenedor padre */
    position: relative; /* Posición relativa */
    top: 5px; /*Ejemplo: mueve la imagen 50px hacia abajo desde su posición original */
    left: 60%; /* Ejemplo: mueve la imagen 20px hacia la derecha desde su posición original */
    /* Otros estilos que desees aplicar */
  }
}