/* ESTILOS GENERALES CSNET */

:root {
    --principal: #98aec9;
    --secundario: #edf0f5;
    --blanco: #fff;
    --negro: #1c1c1c;
    --gris: #f5f5f5;
    --dark-blue: #384f6b;
}

@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: "DMSans";
    src: url("/fuentes/DMSans/DMSans-Medium.ttf");
    font-style: normal;
    font-weight: 500;
}

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

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

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

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

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

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

.fondo-dark-65{
    background-color: rgba(56, 79, 107, 65%)
}

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

.color-dark {
    color: var(--dark-blue);
}

.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: "DMSans", 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);
}

.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 a {
    color: var(--negro);
    text-decoration: none;
    transition: all 0.2s;
}

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

/* FIN DE ESTILOS GENERALES CSNET */

.pie {
    background-color: var(--dark-blue);
    font-weight: 300;
}

/* MENU */
.navbar-brand {
    width: auto;
}

.navbar-brand svg {
    height: 100px;
    padding: 0.25rem;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-blue) !important;
    position: relative;
    display: inline-block;
    padding: 0.25rem 1.5rem !important;
}

.link-productos{
    padding-right: 4px !important;
}

.productos-drop{
    background: none;
    border: none;
}

.productos-drop:hover{
    color: var(--principal);
}

.dropdown-item:focus, .dropdown-item:hover{
    background-color: var(--principal);
}

.dropdown-toggle{
    color: var(--dark-blue);
    cursor: pointer;
}

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

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

/* TITULOS */

.section-title{
    width: 100%;
    display: flex;
    text-align: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.section-title span{
    padding: 0.5rem 1rem;
    border-top: 3px solid var(--dark-blue);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-blue);
}

@media screen and (max-width: 991.5px) {
    .pie svg {
        height: 120px;
    }

    .pie .pie-contacto{
        display: flex;
        max-width: 400px;
        flex-direction: column;
        align-items: center !important;
    }
}

@media screen and (max-width: 767.5px) {
    .pie svg {
        height: 120px;
    }

    .pie .pie-contacto{
        display: flex;
        flex-direction: column;
        align-items: center !important;
    }
}
