/* General */
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    background: #eee;
    background-image: url('../../Shared/assets/img/gris-fond-king-size.jpg');
    background-position: center top;
    background-size: auto;
    background-repeat: repeat;
    background-attachment: scroll;
}

a {
    text-decoration: none;
    color: #00a99d;
}

.container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto; }
#page {
    background: #fff; }
    .boxed #page {
      margin-left: auto;
      margin-right: auto;
      max-width: 1172px; }

      img {
        vertical-align: middle; }
      
      .img-responsive {
        display: block;
        height: auto;
        max-width: 100%; }

/*==================================================================*/
/*       HEADER
/*==================================================================*/
/* Asegura que el header ocupe el ancho completo */
header {
    display: flex;
    align-items: center;
    padding: 20px 0;
}

header img {
    width: 320px; /* Ajusta el tamaño del logo */
    height: auto;
}


.site-title {
    font-size: 2.5rem; /* Ajuste según tu theme.php */
    font-weight: bold;
    margin-bottom: 0.5rem; /* espacio entre título y subtítulo */
}

.site-subtitle-img {
    display: block;
    margin: 0 auto;
    max-width: 70%;   /* hace que sea más pequeño que el título */
    height: auto;
}


.site-description {
    color: #b01788;
    font-size: 1.2em;
    margin-top: 5px;
}
/* Estilos específicos para el header dividido en columnas */
#page header {
    padding: 20px 0;
}

#page header .col-3 img {
    width: 200px;
    height: auto;
}

#page header h1.site-title {
    font-size: 2rem;
    color: #333;
}

#page header .text-muted {
    color: #949ca3 !important; /* Gris claro */
    font-size: 1.25rem;        /* Tamaño de h4 */
    margin-right: 10px;
}

#page header .text-muted a {
    color: inherit;            /* Hereda el color gris claro */
    text-decoration: none;
}

#page header .bi-telephone {
    margin-right: 5px;
}

/*==================================================================*/
/*       NAVBAR
/*==================================================================*/
.navbar-nav .nav-link {
    color: #333;
}
.bg-light-blue {
    background-color: #b01788;
    border: 1px solid #000000;
    border-radius: 5px;
}

.navbar-nav .nav-link:hover {
    background-color: #a8488f;
    color: #fff;
    border-radius: 5px;
}
/* Estilo personalizado para el menú */
.navbar-light .navbar-nav .nav-link {
    color: #fff; /* Cambia el color de los enlaces del menú */
    text-decoration: none; /* Elimina el subrayado de los enlaces */
    padding: 10px 15px;
}

.navbar-light .navbar-nav .nav-link:hover {
    background-color: #a8488f; /* Color azul al pasar el mouse */
    color: #fff;
    border-radius: 5px; /* Bordes redondeados para darle un mejor efecto */
}
/* Submenú */
.dropdown-menu {
    background-color: #87CEEB; /* Color de fondo del submenú */
    border-radius: 5px;
}

.dropdown-item {
    color: #333;
}

.dropdown-item:hover {
    background-color: #0b4c9b;
    color: white;
    border-radius: 5px;
}

/* CSS para submenús anidados */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    left: 100%;
    top: 0;
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

@media (max-width: 991px) {
    .dropdown-menu {
        position: static !important;
    }

    .dropdown-submenu .dropdown-menu {
        position: static !important;
        margin-left: 1rem;
    }
}

.flex-grow-1 {
    text-align: center; /* Asegura que el título y el subtítulo estén centrados */
}
@keyframes blink {
    50% {
        opacity: 0;
    }
}

.blinking {
    animation: blink 1s linear infinite;
}


/*==================================================================*/
/*       MAIN
/*==================================================================*/
main {
    padding: 40px 0;
}
main h1 {
    color: #b01788;
    text-align: center;
   
}
main h2 {
    color: #000;
    text-align: center;
    margin-bottom: 20px;
}

main h3 {
    color: #b11f8a;
    text-align: center;
    margin-bottom: 30px;
}

main p {
    font-size: 1.1em;
    line-height: 1.6;
}

.alignright {
    float: right;
    margin-left: 20px;
    margin-bottom: 20px;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semitransparente */
    border-radius: 50%; /* Hace que los controles tengan un aspecto redondeado */
    width: 40px; /* Ajusta el tamaño del botón */
    height: 40px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%; /* Hace los botones más pequeños si deseas reducir su área de clic */
}
.highlight-box {
    background-color: #f8f9fa; /* Color de fondo suave */
    border: 2px solid #e0e0e0; /* Borde gris claro */
    border-radius: 5px;        /* Bordes redondeados */
    padding: 15px;             /* Espaciado interno */
    margin-top: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra para resaltar */
}


/*==================================================================*/
/*       FOOTER
/*==================================================================*/
footer {
    background-color: #b01788;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

footer p {
    margin: 0;
}
/*==================================================================*/
/*      BLOG
/*==================================================================*/
#blog-home {
    padding: 20px;
}

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.blog-post {
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}
.post-content {
    text-align: left; /* Asegúrate de que el texto se alinee a la izquierda */
    margin: 20px;     /* Ajuste de márgenes para mejor lectura */
    line-height: 1.6; /* Ajuste de altura de línea para mejor legibilidad */
    font-family: Arial, sans-serif; /* O elige la fuente adecuada para tu sitio */
}

.blog-post h2 a {
    color: #333;
    text-decoration: none;
}

.blog-post .post-meta {
    font-size: 0.9em;
    color: #777;
}

/* Estilo para la estructura de columnas */
#blog-container {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr; /* Ajusta las proporciones de las columnas */
    gap: 20px;
    padding: 20px;
}

.column {
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9;
}

.left {
    border-right: 1px solid #ddd;
}

.center {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

.right {
    border-right: 1px solid #ddd;
}

/* Estilo para los separadores entre categorías */
hr {
    border: 0;
    border-top: 3px solid #ccc;
    margin: 10px 0;
    padding: 0;
}

/* Estilo para los enlaces y metadatos */
.category-posts {
    list-style-type: none;
    padding: 0;
}

.category-posts li {
    margin-bottom: 10px;
}

.category-posts a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 0.8em;
}

.category-posts small {
    color: #777;
}

.blog-list .blog-post {
    margin-bottom: 20px;
}

.blog-post h2 {
    margin: 0;
    font-size: 1.5em;
}

.post-meta {
    font-size: 0.9em;
    color: #666;
}
/* Limit the height of the modal body and make it scrollable */
.modal-body {
    max-height: 400px; /* Adjust this as needed */
    overflow-y: auto;
}

/* Ensure table columns do not expand beyond modal width */
.table-responsive {
    overflow-x: auto;
}

