/* ESTILOS GENERALES CSNET */

:root {
    --principal: #1F5670;
    --principal-light: #276582;
    --principal-light2: #326e8a;
    --secundario: #4FA7CF;
    --secundario-light: #6cbfe5;
    --secundario-light2: #77c2e4;
    --detalles: #FF2F1D;
    --gris: #5B5F73;
    --light: #f3f3f3;
    --negro: #131313;
    --blanco: #fff;
}

@font-face {
    font-family: "Roboto";
    src: url("/fuentes/Roboto/Roboto-Light.ttf");
    font-style: normal;
    font-weight: 300;
}

@font-face {
    font-family: "Roboto";
    src: url("/fuentes/Roboto/Roboto-Regular.ttf");
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: "Roboto";
    src: url("/fuentes/Roboto/Roboto-Bold.ttf");
    font-style: normal;
    font-weight: 700;
}

@font-face {
    font-family: "Libre Baskerville";
    src: url("/fuentes/Libre_Baskerville/LibreBaskerville-Regular.ttf");
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: "Poppins";
    src: url("/fuentes/Poppins/Poppins-Italic.ttf");
    font-style: italic;
    font-weight: 500;
}

/* Poppins */
@font-face {
    font-family: "Poppins";
    src: url("/fuentes/Poppins/Poppins-Medium.ttf");
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: "Poppins";
    src: url("/fuentes/Poppins/Poppins-Regular.ttf");
    font-style: normal;
    font-weight: 500;
}

@font-face {
    font-family: "Poppins";
    src: url("/fuentes/Poppins/Poppins-Bold.ttf");
    font-style: normal;
    font-weight: 700;
}

.fondo-principal {
    background-color: var(--principal);
}

.fondo-principal2 {
    background-color: var(--principal-light);
}

.fondo-principal-light {
    background-color: var(--principal-light2);
}

.fondo-secundario-light2 {
    background-color: var(--secundario-light2);
}

.fondo-secundario {
    background-color: var(--secundario);
}

.fondo-gris{
    background-color: var(--light);
}

.fondo-secundario-light {
    background-color: var(--secundario-light);
}

.color-principal {
    color: var(--principal);
}

.color-secundario {
    color: var(--secundario);
}

.boton-principal {
    color: white;
    background-color: var(--principal);
    border: 1px solid var(--principal);
}

.boton-principal:hover {
    color: white;
    background-color: var(--secundario);
    border: 1px solid var(--secundario);
}

.boton-outline-principal {
    color: var(--principal);
    border: 1px solid var(--principal);
}

.boton-outline-principal:hover {
    color: white;
    background-color: var(--principal);
}

body {
    font-family: "Poppins", sans-serif;
    background-color: white;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-size: 1rem;
}

main {
    flex-grow: 1;
}

.boton-clausula {
    width: fit-content;
    border: 1px solid rgb(190, 190, 190);
}

.cursor-pointer{
    cursor: pointer;
}

.boton-clausula:focus:not(:focus-visible),
.boton-clausula:not(.collapsed) {
    color: var(--negro);
    box-shadow: none;
    background-color: transparent;
    border: 1px solid rgb(190, 190, 190);
}

.boton-clausula:not(.collapsed)::after {
    background-image: url("/imagenes/iconos/chevron-down.svg"),
        url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230c63e4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.card-noticia {
    text-decoration: none;
    color: var(--negro);
    transition: all 0.2s;
}

.card-noticia:hover {
    color: var(--negro);
    opacity: 0.7;
}

.noticia a {
    color: var(--principal);
    text-decoration: none;
    transition: all 0.2s;
}

.noticia a:hover {
    opacity: 0.7;
}

ul.pagination {
    justify-content: center;
    margin-bottom: 3em;
}

.pagination .page-item.active .page-link {
    background-color: var(--verde1);
    border-color: var(--verde1);
}

.pagination .page-link {
    color: var(--verde1);
}

.pagination .page-link:focus {
    box-shadow: none;
}

.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    border-radius: 0;
}

/* PIE */
footer {
    background-color: var(--principal);
    box-sizing: border-box;
}

.pie a {
    color: var(--negro);
    text-decoration: none;
    transition: all 0.2s;
}

.pie a:hover {
    color: var(--principal);
}

.pie {
    font-size: 0.8rem;
    font-weight: 300;
}

.pie-top {
    padding: 3rem 0;
    gap: 5rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 0 !important;
}

.pie-contactanos {
    max-width: 270px;
}

.pie-info{
    display: flex;
    flex-direction: row;
    /* align-items: ; */
    gap: 0.5rem;
}

.pie-icon svg{
    fill: var(--blanco);
    max-height: 1rem;
    min-height: 1rem;
}

.pie-logo {
    max-height: 110px;
    max-width: 600px;
}

.pie-logo img {
    width: 100%;
    box-sizing: border-box;
}

.pie-down {
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: var(--light);
    border-top: 2px solid var(--secundario);
    padding: 1rem;
}

.pie-down p {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 300;
}

.pie-down a:hover {
    color: var(--secundario);
}

.pie .red-container {
    background-color: var(--blanco);
    color: var(--principal-light);
}

/* MENU SUPERIOR */

.menu {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 3rem;
    padding: 1rem 4rem;
}

.imagen-logo{
    width: 300px;
}

.navbar-collapse {
    width: fit-content !important;
    flex-grow: 0 !important;
}

.navbar-nav {
    gap: 2rem;
}

.nav-link {
    position: relative;
    color: var(--principal) !important;
    text-decoration: none;
    padding: 1px 2px;
    font-size: 0.9rem;
}

.nav-link.active {
    text-decoration: underline;
    color: var(--secundario);
}

.nav-link::before {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: 0;
    background-color: var(--secundario);
    transition: width 0.3s ease-out;
}

.nav-link:hover::before {
    width: 100%;
}

.telefono span {
    font-size: 0.8rem;
}

.rrss {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    color: var(--blanco);
}

.rrss span {
    color: var(--principal);
}

.red-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    padding: 2px;
    background-color: var(--principal);
    color: var(--blanco);
}

.red-container i {
    font-size: 18px;
}

.red-container svg {
    fill: var(--blanco);
    max-height: 18px;
    height: 100%;
    width: auto;
}

.red-container:hover {
    font-size: 18px;
    background-color: var(--secundario);
    color: var(--principal);
    fill: var(--principal);
    cursor: pointer;
}

.dropdown-menu {
    background-color: var(--secundario-light);
    border: 1px solid var(--secundario);
}

.dropdown-item {
    background-color: var(--secundario-light);
    color: var(--principal);
}

.dropdown-item:hover {
    background-color: var(--secundario);
}


.row{
    margin: 0 !important;
}
/* SECCIONES */

.section-title {
    margin-bottom: 2rem;
    font-size: 2.2rem;
}

@media screen and (max-width: 1599.5px) {
    .header-rrss {
        display: none;
    }
}

@media screen and (max-width: 1199.5px) {
    .pie-top {
        padding: 2rem 0;
        gap: 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .pie-logo{
        max-height: 110px;
        max-width: 600px;
    }

    /* .pie-contactanos,
    .pie-siguenos {
        width: 400px;
        text-align: left;
    }

    .pie-siguenos {
        text-align: left;
        align-items: center;
        align-items: center;
        justify-content: center;
    }

    .pie-siguenos .rrss{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    } */
}

@media screen and (max-width: 991.5px) {
    .nav-link{
        font-size: 0.8rem;
        text-align: center;
    }

    .navbar-nav {
        gap: 0.8rem;
    }
}


@media (max-width: 767.5px) {
    .pie-logo,
    .pie-contactanos,
    .pie-siguenos {
        text-align: center;
    }

    .pie-logo{
        max-height: 110px;
        max-width: 500px;
    }


    .menu{
        text-align: center;
    }

    .header-colapsado{
        display: flex;
        justify-content: space-between;
        flex-direction: row;
        align-items: center;
    }

    .nav-link{
        font-size: 0.8rem;
    }

    .navbar-nav {
        gap: 0.8rem;
    }

    .imagen-logo{
    width: 200px;
}

}

@media screen and (max-width: 575.5px) {
    .pie-logo{
        max-height: 110px;
        max-width: 270px;
    }


}
