/* ESTILOS GENERALES CSNET */

:root {
    --principal: #0085AE;
    --secundario: #006D8F;
    --dark-blue: #003F52;
    --light-blue: #00ACE0;
    --blanco: #fefefe;
    --negro: #111;
    --gris: #ebebeb;
    --gris-oscuro: #777;
}

@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: "Figtree";
    src: url("/fuentes/Figtree/Figtree-VariableFont_wght.ttf")
        format("truetype");
    font-weight: 200 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Figtree";
    src: url("/fuentes/Figtree/Figtree-Italic-VariableFont_wght.ttf")
        format("truetype");
    font-weight: 300 900;
    font-style: italic;
    font-display: swap;
}

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

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

.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: "Figtree", sans-serif;
    background-color: white;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-size: 1rem;
}

main {
    flex-grow: 1;
}

.menu-navegacion {
    padding: 1rem 80px;
    height: 140px;
}

.menu-navegacion .nav-link {
    color: var(--negro) !important;
    font-weight: 600 !important;
    font-size: 1.3rem !important;
    padding: 0 !important;
    margin: 0 1rem !important;
    transition: 0.3s;
}

.menu-navegacion .nav-link:hover {
    color: var(--secundario) !important;
}

.menu-navegacion .nav-link.active {
    border-bottom: 3px solid var(--principal);
    color: var(--secundario) !important;
}

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

.boton-contacto-navbar {
    border-radius: 8px;
    background: var(--principal);
    padding: 12px 18px;
    align-items: center;

    color: var(--blanco);
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-decoration: none;
    transition: 0.3s;
}

.boton-contacto-navbar:hover{
    background-color: var(--secundario);
    color: var(--blanco);
}

.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 {
    background-color: var(--principal);
}


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

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

.pie-down{
    border-top: 2px solid var(--blanco);
    color: var(--blanco);
    padding-top: 1rem;
}

.pie-down a{
    color: var(--blanco);

}

.pie-logo img{
    width: 250px;
}

.pie-down a:hover{
    text-decoration: underline;
    color: var(--blanco);
}

/* FIN DE ESTILOS GENERALES CSNET */

.banner-pagina {
    height: 180px;
    width: 100%;
    background-image: url("/imagenes/paginas/banner-fondo.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: start;
    text-align: left;
    color: white;
    font-size: 64px;
    font-weight: bold;
}

/* FORMULARIO */

.section-formulario {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 56px;
    border-radius: 8px;
    gap: 48px;
}

.formulario {
    width: 100%;
    padding: 16px;
}

.formulario form {
    width: 100%;
}

.formulario label {
    color: #000;
    text-align: left;
    font-family: Figtree;
    font-size: 24px;
    font-weight: 500;
    line-height: normal;
}

.formulario input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: none;
    border-bottom: 2px solid var(--negro);
}

.titulo-presupuesto {
    color: #000;
    text-align: center;
    font-size: 54px;
    font-style: italic;
    font-weight: 600;
    line-height: normal;
}

.contenedor-boton-formulario{
    justify-content: end;
}

.btn-formulario {
    display: flex;
    padding: 12px 36px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 1000px;
    border: 2px solid var(--negro);
    background-color: var(--blanco);
    color: var(--negro);
    text-align: center;
    font-family: Figtree;
    font-size: 24px;
    font-weight: 500;
    line-height: normal;
    transition: 0.3s;
}

.btn-formulario:hover {
    border: 2px solid var(--principal);
    background-color: var(--principal);
    color: var(--blanco);
}

@media (max-width: 992px) {
    .menu-navegacion{
        height: auto;
        padding: 1rem auto;
    }

    .menu-colapsable{
        height: auto !important;
        padding: 2rem 0;
    }

    .menu-colapsable .nav-item{
        justify-content: center;
        text-align: center;
    }

    .navegacion-secundaria {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .navegacion-secundaria .nav-item {
        width: 100%;
        text-align: center;
    }

    .boton-contacto-navbar {
        display: block;

        text-align: center;
    }

    .navbar-brand{
        max-width: 120px;
    }

    .menu-navegacion{
        padding: 1rem 1rem;
    }

    .navbar-brand img{
        width: 100%;
        height: auto;
    }

    .banner-pagina {
        font-size: 36px;
    }

    .pie-logo img{
        width: 150px;
        height: auto;
    }

    .section-formulario {
        padding: 24px;
    }

    .titulo-presupuesto{
        font-size: 2.5rem;
    }

    .contenedor-boton-formulario{
        justify-content: center;
    }

    .btn-formulario {
        padding: 8px 24px;
        font-size: 18px;
    }


}
