.container-header .navbar-brand {
    font-size: 3rem !important;
    font-weight: bold;
}

/* .navbar-brand img, .navbar-brand svg {
/*     width: 150px; /* Ajusta el ancho */
/*     height: auto;
/*     margin: 0 auto; /* Centra */
/* }


/* Estilos para el modal de video */
/* #videoModal .modal-dialog {
/*      max-width: 800px; /* Ancho máximo del modal */
/* }

/* #videoModal .modal-content {
/*      border-radius: 10px; /* Bordes redondeados */
/* }
/* 
/* #videoModal .modal-header {
/*      background-color: #f8f9fa; /* Fondo claro */
/*      border-bottom: 1px solid #dee2e6;
/* }
/* 
/* #videoModal .ratio {
/*      margin-bottom: 0; /* Sin márgenes inferiores */
/* }


/* Importar Google Fonts para tipografía moderna */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/* Estilos generales */
body {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    background-color: #f8f9fa;
}

/* Header */
.container-header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Sombra sutil */
    padding: 10px 0;
}

.navbar-brand {
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar-brand img, .navbar-brand svg {
    width: 200px; /* Ajusta el tamaño del rsVecinal */
    height: auto;
}


/* Asegurar que el header sea dinámico en PC */
@media (min-width: 992px) {
    .container-header {
        position: static !important; /* Dinámico, se desplaza con la página */
        top: auto !important; /* Elimina cualquier offset fijo */
        width: 100%;
        z-index: auto !important; /* Evita superposiciones */
    }

    /* Ajustar el contenido para que no se solape */
    .container-main {
        margin-top: 0 !important; /* Elimina márgenes extras */
    }
}


/* Mantener el header fijo en móviles (reduce mucho la pantalla del cel)
/* @media (max-width: 991px) {
/*     .container-header {
/*         position: fixed !important; /* Fijo en móviles */
/*         top: 0;
/*         width: 100%;
/*         z-index: 1000; /* Asegura que esté encima del contenido */
/*         background-color: #ffffff; /* Fondo blanco para consistencia */
/*         box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Sombra sutil */
/*     }

/*     /* Añadir margen superior al contenido para evitar solapamiento */
/*     .container-main {
/*         margin-top: 80px; /* Ajusta según la altura del header */
/*     }
/* }   


/* Menú de navegación */
.navbar-nav .nav-link {
    color: #003087;
    font-weight: 500;
    padding: 8px 15px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #007bff;
    background-color: #f1f3f5;
    border-radius: 5px;
}

/* Contenido principal */
.container {
    max-width: 1200px; /* Ancho máximo para pantallas grandes */
    margin: 0 auto;
    padding: 20px;
}

.moduletable, .article {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

/* Encabezados */
h1, h2, h3 {
    font-weight: 700;
    color: #003087;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 1.8rem;
}

h3 {
    font-size: 1.4rem;
}

/* Botones */
.btn, .button {
    background-color: #007bff;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover, .button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* Footer */
.site-footer {
    background-color: #003087;
    color: #ffffff;
    padding: 20px 0;
    text-align: center;
}

.site-footer a {
    color: #f8f9fa;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: #007bff;
}

/* Alinear los módulos del Footer */
.site-footer .moduletable {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}


/* Ajustar el menú principal */
.navbar-nav {
    display: flex;
    gap: 15px; /* Espacio entre elementos */
}

.navbar-nav .nav-link {
    font-size: 1.1rem;
    font-weight: 500;
    color: #003087;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background-color: #007bff;
    color: #ffffff;
}


////* Estilos para el modal de video */
/* Estilos para el modal de video */
#videoModal .modal-dialog {
    max-width: 800px;
    margin: 1.75rem auto;
}

#videoModal .modal-content {
    border-radius: 10px;
}

#videoModal .modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    color: #003087;
}

#videoModal .modal-title {
    font-weight: 700;
}

#videoModal .ratio {
    margin-bottom: 0;
}

/* Estilos para el botón "Ver Video" */
#viewVideoBtn {
    background-color: #007bff;
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#viewVideoBtn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* Estilos para el botón de reinicio */
#resetVisitCountBtn {
    background-color: #ffc107;
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#resetVisitCountBtn:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
}

/* Ajustar los botones en móviles */
@media (max-width: 767px) {
    #viewVideoBtn {
        padding: 10px 15px;
        font-size: 0.9rem;
        bottom: 15px;
        right: 15px;
    }

    #resetVisitCountBtn {
        padding: 10px 15px;
        font-size: 0.9rem;
        bottom: 15px;
        left: 15px;
    }
}

/* Estilos personalizados para el módulo GTranslate *****/
.mod-gtranslate-mini select {
    font-size: 12px !important;
    padding: 2px 12px !important;
    height: auto !important;
    max-width: 130px;
    border-radius: 4px;
}   

/* Reducir tamaño de banderas GTranslate */
.gtranslate_wrapper img {
    width: 20px !important;
    height: auto !important;
    margin-right: 4px;
} 

/* Reducir tamaño del texto del selector de idioma de GTranslate */
.gtranslate_wrapper a, 
.gtranslate_wrapper select {
    font-size: 16px !important;
    line-height: 1.2 !important;
}
