/* Estilos generales */
body,
.primary-menu a {
    font-family: "Montserrat", sans-serif;
}
section{
    padding: 40px 0px;
}
p {
    letter-spacing: .5px;
    color: white;
    text-align: justify;
}

/* Estilos del cuerpo */
body {
    background-image: linear-gradient(to bottom, #00203f, #002244, #00498f);
    background-attachment: fixed;
    background-size: cover;
    min-height: 100vh;
    /* padding: 50px 5px 0px; */
}

/* Estilos de texto */
.justifica {
    text-align: justify;
}

.derecha {
    text-align: right;
}

/* Estilos de imagen */
.centra {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.titulo{
    text-transform: uppercase !important;
    text-align: center;
    margin-bottom: 30px;
    color: white;
    
}

.img_ancho {
    width: -webkit-fill-available;
    padding: inherit;
}

/* Estilos del menú */
.primary-menu {
    background-color: #0c3055;
    color: white;
}

.primary-menu .nav-link {
    color: white !important;
    font-size: 1rem;
}

.primary-menu .nav-link:hover,
.primary-menu .nav-link:focus {
    color: yellow !important;
}

/* Estilos para submenús */
.dropdown-menu {
    background-color: #002244;
}

.dropdown-menu a {
    color: white;
}

.dropdown-menu a:hover {
    background-color: #001830;
    color: rgb(235, 205, 35) !important;
}

/* Estilos sticky */
.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* Estilo del logo */
.logo {
    padding: 10px;
    text-align: center;
    background-color: white;
}

.nav-link,
.dropdown-item {
    font-size: 22px;
    letter-spacing: 1px;
}

/* Centrar el menú de navegación en pantallas grandes */
.navbar-nav {
    margin-left: auto;
    margin-right: auto;
}

/* Borde derecho en los nav-item, excepto en el último */
@media (min-width: 992px) {
    .nav-item {
        border-right: 1px solid rgba(255, 255, 255, 0.384);
    }

    .nav-item:last-child {
        border-right: none;
        /* Excluir el último elemento nav-item del borde */
    }
}

/* Estilo para la flecha hacia arriba */
#scrollUpBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-size: 24px;
    background-color: #002244;
    color: white;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
}

#scrollUpBtn:hover {
    background-color: #285e8e;
}

/* Estilo para los submenús */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}

.radio{
    border-radius: 5px;
}

.claro{background-color: white;
}
.claro p, .claro h1{
    color: rgb(20, 20, 20);
    text-align: justify;
}

.accordion-button:not(.collapsed) {
    color: rgb(255, 255, 255);
    background-color: #002243;
    box-shadow: inset 0 calc(-1* var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
}
.accordion-button {
    font-weight: bold;
    color: #001830b0;
}
.accordion-button:not(.collapsed)::after {
    background-image: url(../img/acordeon.svg);
}

#presentacion, #curriculum, #presentaciones, #documentos, #prensa {
    scroll-margin-top: 50px;
}

.contact-section {
    background-color: #e0e0e0;
    padding: 60px 0;
}
.contact-section h2 {
    /* font-family: 'Merriweather', serif; */
    /* font-weight: 700; */
    color: #1b263b;
    margin-bottom: 40px;
}

.boton{
    background: #001830;
    color: white;
    padding: 7px 11px;
    border-radius: 7px;
    text-decoration: none;
}
.boton:hover{
    background: rgb(235, 205, 35) !important;
    color: rgb(41, 39, 39);
}

#logo-text {
    font-family: 'Bona Nova SC', serif;
    font-size: 24px;
    color: white;
    text-align: center;
}

.sticky .navbar-brand {
    display: block;
}

/* SLIDER */
.carousel {
    width: 75%;
    margin: 0 auto;
    margin-top: -29px;
}

.carousel-dark .carousel-control-next-icon, .carousel-dark .carousel-control-prev-icon {
    filter: none;
}

.carousel-item {
    position: relative;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white; /* Ajusta el color según lo que necesites */
}

.carousel-dark .carousel-caption {
    width: 80%;
}
.carousel-caption h5 {
    font-family: "Eagle Lake", serif;
    color: white;
    font-size: 2.5rem;
    text-shadow: 3px -1px 4px black;
    line-height: 4.5rem;
}
.carousel-caption p{
    /* font-family: 'Bona Nova SC', serif; */
    color: white;
    font-size: 2rem;
    text-shadow: 3px -1px 4px black;
}

.carousel-item {
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.carousel-caption {
    z-index: 2; /* Asegura que el texto esté por encima del overlay */
}

.carousel-dark .carousel-indicators [data-bs-target] {
    background-color: #fff;
}

@media (orientation: portrait) {
    .carousel {
        width: 100%;
    }
    .carousel-caption h5 {
        font-size: 1rem;
        line-height: 1.5rem;
    }
    .carousel-caption p {
        font-size: 1rem;
    }
}

.card-img-top {
    height: 14em !important;
}

/* body .titulo {
    font-weight: bold;
    font-size: 2em;
    margin-bottom: 20px;
} */

/* body .texto-articulo {
    font-size: 1.1em;
    line-height: 1.6;
} */

body aside h2 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: white;
}

body aside ul li {
    display: flex;
    align-items: center;
}

body aside ul li img {
    border-radius: 5px;
}

aside a{
    color: white;
    text-decoration: none;
}
aside a:hover{
    color: rgb(239, 255, 91);
}

.texto-articulo{
    text-align: justify;
}

.img_articulo{
    border-radius: 5px;
}
.img-thumbnail {
    padding: 0px;
}

.card {
    position: relative; /* Establece el contexto de posicionamiento para .flota */
    overflow: hidden; /* Esto puede ayudar si .flota parece estar fuera de los límites */
}

.flota {
    /* padding: 8px; */
    position: absolute;
    top: 40%;
    right: 15px;
    transform: translateY(-50%);
    background-color: #f2f2f3;
    height: 85px;
    width: 90px;
    z-index: 1;
    text-align: center;
    border-radius: 7px;
    color: #56587d;
}
.flota b{
    font-size: 2em;
}
.dia{
    font-size: bold;
}

.card-text{
    color: #7b7b7be0;
}

.fecha {
    background-color: #0914399e;
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block;
    text-align: right;
    letter-spacing: 1px;
    font-style: italic;
}

.divisor {
    border: none; /* Elimina cualquier borde predefinido */
    border-top: 1px solid white; /* Línea superior blanca y delgada */
    margin: 15px 0; /* Margen opcional arriba y abajo */
    opacity: 0.2; /* Ajusta la opacidad si quieres que sea más sutil */
}
.divisor2 {
    border: none; /* Elimina cualquier borde predefinido */
    border-top: 1px solid white; /* Línea superior blanca y delgada */
    margin: 15px 0; /* Margen opcional arriba y abajo */
    opacity: 0.1; /* Ajusta la opacidad si quieres que sea más sutil */
}

.asideblog {
    padding: 35px;
    background: #ffffff08;
    border-radius: 10px;
}

@media (orientation: portrait) {
    .asideblog {
        padding: 30px 2px;
    }
}

.publications-section {
    padding: 60px 0;
}
.publications-section h2 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    color: #1b263b;
    margin-bottom: 40px;
    text-align: center;
}

/* #footer p {
    color: black;
} */

/* Estilos para el enlace */
#footer a {
    /* color: #000b16; */
    text-decoration: none;
    transition: color 0.3s ease, margin-left 0.3s ease;
}

.widget_title{
    color: white;
}

.widget_content{
    color: white;
}
/* Estilos para el hover en el li */
#footer li:hover > a {
    color: #eaff4b;
    margin-left: 10px;
}


#footer ul {
    list-style-type: none;
    padding: 0;
}

#footer li a {
    color: #c0defb;
}

.links_list span {
    font-weight: bold;
}

.fdo_azul{
    background-color: #000b16;
}

.fdo_blanco{
    background-color: white;
}

.marca{
    text-align: center;
}

.marca_enlace{
    color: #eaff4b !important;
}
.marca_enlace:hover{
    color: white !important;
}

.slick-arrow{
    z-index: 9999;
}
.slick-next{
    right: 15px !important;
}
.slick-prev{
    left: 15px !important;
}
.img-libros {
    padding: 0px 9px 5px 0px;
}

.slick-slide {
    box-shadow: inset 2px -7px 20px 0px #305e6752;
    border-radius: 0px 8px 8px 8px;
}



.image-container {
    position: relative;
}

.image-text {
    position: absolute;
    top: 70%;
    left: 30%;
    transform: translate(-20%, -50%);
    z-index: 1;
    color: white;
    background: #00000080;
    text-align: center;
    letter-spacing: .1rem;
}

.libro-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.libro-item img {
    margin-right: 10px;
}

.download-link {
    color: yellow;
    text-decoration: none;
}

.download-link:hover {
    color: #ffd700;
}

.blur{
    filter: blur(2px) !important;
}

.autor{
    margin-left: 20px;
    color: #b3bcc5;
    font-style: italic;
}