/*
Theme Name: Agepsa WEB Guiselle
Author: Guiselle Gonzalez
Author URI: https://agepsani.com
Version: 1.3
Description: Tema simple con Bootstrap para sitio básico.
*/

/* Tu CSS puro aquí: resets, estilos globales */
body {
  font-family: Arial, sans-serif;
  margin: 0;
}

.carousel-section {
  margin-top: 148px;
}

.headerImage {
  height: 120px;
}

.navbarAgepsa {
  background-color: #004a98;
  border-radius: 1rem 0rem 0rem 1rem;
  width: 50rem;
}

.carousel-Agepsa {
  background-color: #c10230;
}

.btn-AgepsaCarrousel {
  background-color: white;
  color: #ca3625;
  border-radius: 1rem;
}

.imageCarouselAgepsa {
  width: 70%;
}

.deleteSpacingH2 {
  margin-bottom: 0rem;
}

.deleteSpacingUL {
  margin-top: 0rem;
  margin-bottom: 0.4rem;
}

.tituloCardCatalogo {
  border-top-right-radius: 2rem;
  border-bottom-left-radius: 2rem;
  background-color: #ca3625;
  color: white;
  padding: 1rem;
  width: 70%;
  position: static;
  margin-left: 16%;
  margin-right: 16%;
}

.btnTableStandUp {
  background-color: #004a98;
  color: #ffffff;
  border: 1px solid #dee2e6;
  font-weight: bold;
  padding: 8px 5px;
  transition: all 0.2s;
}

.sidebar-link {
  text-decoration: none;
  color: var(--azul-oscuro);
  font-weight: 600;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #dee2e6;
  background: #f8f9fa;
}

.sidebar-link:hover {
  background: #e9ecef;
}

.submenu-link {
  padding: 8px 30px;
  display: block;
  text-decoration: none;
  color: #666;
  border-bottom: 1px solid #eee;
}

.submenu-link.active {
  color: #d93025;
}

/* Color rojo del texto activo */

/* Ocultar sidebar en móvil, mostrar en desktop */
@media (max-width: 991.98px) {
  #sidebarCol {
    display: none;
  }
}

.btn-measure {
  background-color: #fff;
  color: #d9432e;
  /* Color naranja/rojo de los números */
  border: 1px solid #dee2e6;
  font-weight: bold;
  padding: 8px 5px;
  transition: all 0.2s;
}

.btn-measure:hover {
  background-color: #f1f1f1;
  color: #002350;
}

/* Clase para resaltar el botón seleccionado */
.btn-measure.active {
  background-color: #d9432e !important;
  color: #fff !important;
  border-color: #d9432e;
}

#img-producto.loading {
  opacity: 0.3;
}

.marginMenuCatalogo {
  margin-top: 10rem;
}

.fondorAgepsa {
  background-color: #ca3625;
}

.fontAgepsa {
  font-size: 1.1rem;
  color: white;
}

.borderCardAgepsa {
  border-radius: 2rem;
  width: 21rem;
}

.tituloCardAgepsa {
  width: 5rem;
  background-color: #ca3625;
}

.contenedor-imagen {
  position: relative; /* Establece el contexto de posicionamiento */
  width: fit-content; /* Ajusta el ancho al de la imagen */
}

.contenedor-imagen img {
  /* Asegura que la imagen ocupe todo el ancho del contenedor */
  width: 100%;
  height: auto;
  display: block;
  /*border-top-right-radius: 2rem;
  border-top-left-radius: 2rem;*/
  border-radius: 2rem;
}

.contenedor-imagen h5 {
  border-top-right-radius: 2rem;
  border-bottom-left-radius: 2rem;
  position: absolute; /* Posiciona el h5 de forma absoluta dentro del contenedor */
  bottom: -2rem; /* Ejemplo: 10px desde el borde inferior */
  left: 2.5rem; /* Ejemplo: 10px desde el borde izquierdo */
  color: white; /* Color de texto para que contraste con la imagen */
  background-color: #ca3625; /* Fondo semi-transparente para mejor legibilidad */
  padding: 5px 10px;
  margin: 0; /* Elimina el margen por defecto del h5 */
  width: 16rem;
  height: 3rem;
  padding-top: 0.75rem;
}
.contenedor-imagen a {
  position: absolute; /* Posiciona el enlace de forma absoluta dentro del contenedor */
  bottom: -2.3rem; /* Ejemplo: 10px desde el borde inferior */
  left: 7.1rem; /* Ejemplo: 10px desde el borde izquierdo */
  background-color: white;
  color: #ca3625;
  border-radius: 1rem;
}

/** NUESTROS PRODUCTOS**/

.contenedorProd-imagen {
  position: relative; /* Establece el contexto de posicionamiento */
  width: fit-content; /* Ajusta el ancho al de la imagen */
}

.contenedorProd-imagen img {
  /* Asegura que la imagen ocupe todo el ancho del contenedor */
  width: 100%;
  height: auto;
  display: block;
  /*border-top-right-radius: 2rem;
  border-top-left-radius: 2rem;*/
  border-radius: 2rem;
}

.textoContenedorProd {
  color: #004a98;
  font-weight: 700;
}

.cajaCatalogo2 {
  width: 300px;
  min-height: 240px;
  top: 56%;
  left: 62%;
  border-radius: 25% 25% 25% 0%;
  background-color: #004a98;
}
.logo-footer {
  width: 10rem;
}
.footer-agepsa {
  background-color: #c10230;
  font-family: sans-serif;
  font-size: 0.85rem;
  /* Tamaño de letra pequeño como la imagen */
}

.footer-agepsa .v-line {
  border-left: 1px solid white;
  height: 45px;
  /* Altura de las líneas divisoras */
  margin: 0 15px;
}

.footer-agepsa p {
  margin-bottom: 0;
  line-height: 1.2;
}

.footer-agepsa img.icon-sm {
  width: 28px;
  height: auto;
}

.footer-agepsa .logo-main {
  width: 140px;
}

.imgContacto {
  position: relative !important;
  width: 50%;
  left: 5rem;
  top: 4rem;
}

.cardbodyContacto {
  background-color: #f1f4f9;
  border-radius: 0rem 6rem 0rem 6rem;
  width: 20rem;
  height: 12rem;
}

/* Importa Bootstrap via CDN o local (mejor CDN para simplicidad) */
/* Ej: pon esto en el HTML, no aquí */

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
}

.gallery {
  background: #ffffff;
}

.gallery-cell {
  width: 66%;
  height: 200px;
  margin-right: 10px;
  background: #8c8;
  counter-increment: gallery-cell;
}

/* cell number */
.gallery-cell:before {
  display: block;
  text-align: center;
  content: counter(gallery-cell);
  line-height: 200px;
  font-size: 80px;
  color: white;
}

/* Estilos personalizados para ajustar el diseño a la imagen */
.nosotros-content p {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  text-align: justify;
}

/* Clase para bordes redondeados extra grandes como en la foto */
.rounded-5 {
  border-radius: 2.5rem !important;
}

/* Ajuste de color azul corporativo si es necesario */
.nosotros-content {
  color: #1a5da4 !important;
  /* Ajusta este azul según tu manual de marca */
}

/* Contenedor principal de la tarjeta */
.card-mvv {
  position: relative;
  padding-top: 60px;
  height: 100%;
}

/* Ajuste de los iconos circulares proporcionados */
.icon-header {
  width: 120px;
  height: 120px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}

.icon-header img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Caja de contenido con la forma de la imagen original */
.content-box {
  background-color: #f1f4f9;
  /* Gris muy claro azulado */
  border-radius: 30px 30px 80px 30px;
  /* Esquina inferior derecha más redondeada */
  padding: 70px 25px 40px;
  text-align: center;
  height: 100%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
  color: #1a5da4;
}

.title-mvv {
  font-weight: 800;
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #1a5da4;
}

.content-box p,
.content-box li {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Estilos para la galería inferior */
.gallery-label {
  color: #1a5da4;
  font-weight: 700;
  margin-top: 10px;
}

.rounded-4 {
  border-radius: 2rem !important;
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* Efecto Hover opcional para que se vea interactivo */
.card-mvv:hover .content-box {
  transform: translateY(-5px);
  transition: all 0.3s ease;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Esto fuerza a que los enlaces generados por WP se vean como Bootstrap */
.navbar-nav li {
  margin-right: 2rem; /* El me-5 que tenías antes */
}
.navbar-nav li a {
  color: #1a5da4; /* Tu azul fontAgepsa */
  text-decoration: none;
  font-weight: bold;
}

.textContenedorProd2 {
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
}

.imgBannerSpam {
  width: 100%;
  height: auto;
  margin-left: 3rem;
}

.productoIcono {
  width: 65%;
}

.productoCol {
  margin-left: 0rem !important;
  margin-right: 0rem !important;
}

@media (max-width: 500px) {
  .textContenedorProd2 {
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
  }
  .productoIcono {
    width: 85%;
  }

  .imgBannerSpam {
    width: 20%;
    height: auto;
    margin-left: 0rem;
  }

  .imageCarouselAgepsa {
    width: 100%;
  }

  .headerImage {
    height: 88px;
  }

  .carousel-section {
    margin-top: 100px;
  }
}

/*! Flickity v1.0.0
http://flickity.metafizzy.co
---------------------------------------------- */

.flickity-enabled {
  position: relative;
}

.flickity-enabled:focus {
  outline: none;
}

.flickity-viewport {
  overflow: hidden;
  position: relative;
  height: 100%;
}

.flickity-slider {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* draggable */

.flickity-enabled.is-draggable {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.flickity-enabled.is-draggable .flickity-viewport {
  cursor: move;
  cursor: -webkit-grab;
  cursor: grab;
}

.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

/* ---- previous/next buttons ---- */

.flickity-prev-next-button {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: white;
  background: hsla(0, 0%, 100%, 0.75);
  cursor: pointer;
  /* vertically center */
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.flickity-prev-next-button:hover {
  background: white;
}

.flickity-prev-next-button:focus {
  outline: none;
  box-shadow: 0 0 0 5px #09f;
}

.flickity-prev-next-button:active {
  filter: alpha(opacity=60); /* IE8 */
  opacity: 0.6;
}

.flickity-prev-next-button.previous {
  left: 10px;
}
.flickity-prev-next-button.next {
  right: 10px;
}
/* right to left */
.flickity-rtl .flickity-prev-next-button.previous {
  left: auto;
  right: 10px;
}
.flickity-rtl .flickity-prev-next-button.next {
  right: auto;
  left: 10px;
}

.flickity-prev-next-button:disabled {
  filter: alpha(opacity=30); /* IE8 */
  opacity: 0.3;
  cursor: auto;
}

.flickity-prev-next-button svg {
  position: absolute;
  left: 20%;
  top: 20%;
  width: 60%;
  height: 60%;
}

.flickity-prev-next-button .arrow {
  fill: #333;
}

/* color & size if no SVG - IE8 and Android 2.3 */
.flickity-prev-next-button.no-svg {
  color: #333;
  font-size: 26px;
}

/* ---- page dots ---- */

.flickity-page-dots {
  position: absolute;
  width: 100%;
  bottom: -25px;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
  line-height: 1;
}

.flickity-rtl .flickity-page-dots {
  direction: rtl;
}

.flickity-page-dots .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 8px;
  background: #333;
  border-radius: 50%;
  filter: alpha(opacity=25); /* IE8 */
  opacity: 0.25;
  cursor: pointer;
}

.flickity-page-dots .dot.is-selected {
  filter: alpha(opacity=100); /* IE8 */
  opacity: 1;
}
