﻿
@font-face {
    font-family: 'Praxis';
    src: url('fonts/praxis_lt_light-webfont.woff2') format('woff2'), url('fonts/praxis_lt_light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Praxis Regular';
    src: url('fonts/praxis_lt_regular-webfont.woff2') format('woff2'), url('fonts/praxis_lt_regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Praxis Bold';
    src: url('fonts/praxis_lt_bold-webfont.woff2') format('woff2'), url('fonts/praxis_lt_bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
body {
    font-family: 'Praxis';
}
/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Praxis', Arial, sans-serif;
}

/* Franja superior azul */
.top-bar {
    background: #1b458f;
    color: white;
    font-size: 12px;
}

    /* Lista horizontal */
    .top-bar ul {
        list-style: none;
        display: flex;
        justify-content: flex-start;
        margin-bottom: 0px;
	padding: 0;

        /* alineado a la derecha */
    }

    .top-bar li {
        position: relative;
    }

        .top-bar li.active {
            position: relative;
            background: white;
        }

            .top-bar li.active a {
                color: #1b458f;
            }

        .top-bar li:hover {
            position: relative;
            background: white;
        }

            .top-bar li:hover a {
                color: #1b458f;
            }

    /* Links */
    .top-bar a {
        color: white;
        text-decoration: none;
        display: inline-block;
        padding: 15px 10px 15px 10px;
    }




    /* Separador con línea vertical entre items */
    .top-bar li:not(:last-child)::after {
        align-self: center;
        border-color: #ffffff;
        border-left-style: solid;
        border-left-width: 2px;
        content: "";
        height: 35%;
    }


/* Cabecera principal */
.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    border-bottom: 1px solid #ddd;
    padding-left: 30px;
}

/* Logo */
.logo img {
    width: 165px;
}

.main-boxed {
    display: flex;
    align-items: center;
    align-self: auto;
    flex-basis: auto;
    flex-grow: 1;
    flex-shrink: 1;
    flex-wrap: initial;
    justify-content: flex-end;
    flex-direction: row;
    gap: 0px 0px;
    height: 100%;
    margin: 0 auto;
    max-width: min(100%, 1140px);
    padding-inline-end: 0;
    padding-inline-start: 0;
    width: 100%;
}


.main-nav {
    display: flex;
    flex-direction: column;
    margin: 0px 50px 0px 0px;
}

    /* Menú */
    .main-nav ul {
        list-style: none;
        display: flex;
        gap: 25px;
    }

    .main-nav a {
        text-decoration: none;
        color: #1b458f;
        font-weight: bold;
        font-size: 14px;
        text-transform: uppercase;
        font-family: 'Praxis bold', Arial, sans-serif;
    }

        .main-nav a:hover {
            border-bottom: 2px solid #1b458f;
        }

/* Botón donación */
.donation-btn {
    border: 1px solid #1b458f;
    color: #1b458f;
    text-decoration: none;
    border-radius: 0px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0px 15px 0px 0px;
    padding: 7px 7px 7px 7px;
    font-family: "Praxis", Sans-serif;
    font-size: 12px;
    font-weight: 600;
}


/* Ícono lupa en naranja */
.search-icon {
    background: #f7941d;
    color: white;
    font-size: 18px;
    border-radius: 0 0 0 0;
    /* cuadrado */
    cursor: pointer;
}

.search-img {
    display: inline-block;
    vertical-align: middle;
}

.btn-pay {
    border-radius: 10px;
    font-family: 'Praxis bold', Arial, sans-serif;
    font-weight:600;
    color: #ffffff;
    font-size: 16px;
    background: #ff9500;
    padding: 10px 20px 10px 20px;
    text-decoration: none;
    cursor:pointer;
}

    .btn-pay:hover {
        color: #ffffff;
        background: #1B458F;
        text-decoration: none;
        transition: all .4s;
    }

/* ======================= */
/* TABLET (pantallas medianas) */
/* ======================= */
@media (max-width: 1024px) {
    .nav-links ul {
        gap: 10px;
        font-size: 14px;
    }

    .donacion a {
        padding: 6px 10px;
        font-size: 14px;
    }

    .search-btn a {
        padding: 8px 10px;
    }
}

/* ======================= */
/* CELULAR (pantallas chicas) */
/* ======================= */


.bar-responsive {
    display: none;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-bottom: 1px solid #ddd;
}

.bar-responsive {
    flex-wrap: wrap;
    justify-content: space-between;
}

.menu-toggle {
    display: block;
    color: #1b458f;
    align-items: center;
    display: flex;
}

    .menu-toggle a {
        border-radius: 3px;
        color: #1b458f;
        display: inline-block;
        font-size: 15px;
        line-height: 1;
        padding: 12px 24px;
        fill: #1b458f;
        text-align: center;
        transition: all .3s;
    }

        .menu-toggle a svg {
            width: 1em;
            height: 1em;
        }

.logo-responsive {
    flex: 1;
    text-align: center;
}

    .logo-responsive a img {
        width: 164px;
    }

.search-btn-responsive img {
    width: 47px;
    height: 49px;
}

.nav-links ul {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
}

    .nav-links ul li a {
        text-decoration: none;
        color: #1b458f;
        font-weight: bold;
        padding: 6px 10px;
    }

/* ======================= */
/* MENU SOLO MOVIL */


.widget-content {
	z-index: 10;
    position: absolute;
    left: -100%;
    /* escondido fuera de la pantalla */
    animation-duration: 0.7s;
    transition: left 0.3s ease;
    /* animación */
    background-color: #1B458F;
    box-shadow: 2px 8px 23px 3px rgba(0, 0, 0, 0.2);
}

    .widget-content.active {
        left: 0;
        /* aparece desde la izquierda */
    }

.dialog-close-button {
    display: flex;
    color: var(--e-a-color-txt);
    cursor: pointer;
    font-size: 20px;
    inset-inline-end: 15px;
    line-height: 1;
    margin-block-start: 20px;
    position: absolute;
    transition: var(--e-a-transition-hover);
}

    .dialog-close-button svg {
        fill: #FFFFFF;
        height: 1em;
        width: 1em;
    }

.dialog-message {
    width: 400px;
    height: 100vh;
    align-items: flex-start;
    display: flex;
    max-height: 100vh;
    max-width: 100vw;
    overflow: auto;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.5;
}

.dialog-poppup {
    width: 100%;
}

.e-parent {
    max-width: min(100%, 100%);
    align-items: normal;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: normal;
    gap: initial;
    text-align: initial;
    padding-left: 10px;
    padding-right: 10px;
}

    .e-parent .e-con-inner {
        align-items: initial;
        align-self: auto;
        flex-basis: auto;
        flex-grow: 1;
        flex-shrink: 1;
        flex-wrap: initial;
        justify-content: initial;
        flex-direction: column;
        gap: 20px 20px;
        height: 100%;
        margin: 0 auto;
        max-width: min(100%, 1140px);
        padding-inline-end: 0;
        padding-inline-start: 0;
        width: 100%;
        display: flex;
        padding-block-end: 10px;
        padding-block-start: 10px;
        text-align: initial;
    }

.widget-container {
    padding: 15px 15px 15px 15px;
    height: 100%;
}

    .widget-container .heading-title {
        font-family: 'Praxis bold', Sans-serif;
        font-size: 32px;
        font-weight: 700;
        text-transform: uppercase;
        color: #FE8901;
        line-height: 1;
        margin: 0;
        padding: 0;
    }

.box-poppup {
    align-items: normal;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: normal;
}

.nav-menu {
    display: block;
    line-height: normal;
    list-style: none;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    position: relative;
    z-index: 2;
}

    .nav-menu ul {
        background: transparent;
        border: 0;
        font-size: 100%;
        margin-block-end: 0;
        margin-block-start: 0;
        outline: 0;
        vertical-align: baseline;
    }

    .nav-menu li {
        border-width: 0;
        position: relative;
        display: block;
        line-height: normal;
        list-style: none;
        margin: 0;
        padding: 0;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    }

#menu-1 .item {
    color: #FFFFFF;
    fill: #FFFFFF;
    font-family: "Praxis Regular", Sans-serif;
    font-size: 18px;
    font-weight: 400;
    padding: 13px 20px;
    transition: .4s;
    line-height: 20px;
    align-items: center;
    display: flex;
    box-shadow: none;
    text-decoration: none;
    position: relative;
}

.divider-separator {
    border-block-start: 1px solid #FE8901;
    width: 100%;
    direction: ltr;
    display: flex;
    margin: 0;
}

.widget-container-subtitle {
    padding: 30px 0px 15px 9px;
    height: 100%;
}

.heading-subtitle {
    font-family: "Praxis bold", Sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #FE8901;
    line-height: 1;
    margin: 0;
    padding: 0;
}



.element-footer {
    align-items: normal;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: normal;
    background-color: #1B458F;
}

    .element-footer .e-con-inner {
        align-items: initial;
        align-self: auto;
        flex-basis: auto;
        flex-grow: 1;
        flex-shrink: 1;
        flex-wrap: initial;
        justify-content: initial;
        flex-direction: row;
        gap: 0px 0px;
        height: 100%;
        margin: 0 auto;
        max-width: min(100%, 1140px);
        padding-inline-end: 0;
        padding-inline-start: 0;
        width: 100%;
        display: flex;
        padding-block-end: 0px;
        padding-block-start: 100px;
        text-align: initial;
    }

    .element-footer .e-con-inner2 {
        align-items: initial;
        align-self: auto;
        flex-basis: auto;
        flex-grow: 1;
        flex-shrink: 1;
        flex-wrap: initial;
        justify-content: initial;
        flex-direction: row;
        gap: 0px 0px;
        height: 100%;
        margin: 0 auto;
        max-width: min(100%, 1140px);
        padding-inline-end: 0;
        padding-inline-start: 0;
        width: 100%;
        display: flex;
        padding-block-end: 30px;
        padding-block-start: 30px;
        text-align: initial;
    }







footer {
    background-color: #1b458f;
    color: #fff;
    width: 100%;
}

.footer-container {
    font-family: "Praxis", Sans-serif;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    border-bottom: 1px solid #fff;
}

.footer-col h4 {
    font-weight: bold;
    margin-bottom: 12px;
}

.footer-border-right {
    border-right: 1px solid #fff;
}

.footer-border-botton {
    padding-bottom: 100px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-col ul li {
        margin-bottom: 15px;
    }

        .footer-col ul li a {
            color: #fff;
            text-decoration: none;
            font-size: 14px;
        }

            .footer-col ul li a:hover {
                text-decoration: underline;
            }

/* --- Estilos acordeón --- */
.accordion-header {
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 10px;
    position: relative;
    padding-right: 18px;
}

    .accordion-header::before {
        content: "-";
        font-size: 14px;
        margin-right: 5px;
        transition: transform 1s ease;
    }


    .accordion-header.active::before {
        transform: rotate(180deg);
        content: "+";
        font-size: 14px;
        margin-right: 5px;
    }

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 1s ease;
}

    .accordion-content.open {
        max-height: 500px;
        /* suficiente para el contenido */
    }

/* Contacto */
.footer-contact p,
.footer-contact a {
    font-size: 14px;
    margin: 15px 0;
    color: #fff;
    text-decoration: none;
    display: flex;
}

/* Redes sociales */
.social-icons {
    display: flex;
    gap: 15px;
    margin: 10px 0;
}

    .social-icons a {
        color: #fff;
        font-size: 18px;
        text-decoration: none;
    }

.libro-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 12px;
    border: 1px solid #fff;
    border-radius: 3px;
    font-size: 14px;
    text-decoration: none;
    color: #fff;
}

    .libro-btn:hover {
        background-color: #fff;
        color: #1b458f;
    }

.footer-bottom {
    text-align: center;
    font-size: 13px;
    color: #fff;
    font-family: "Praxis", Sans-serif;
}

.libro-btn svg {
    height: 1em;
    width: 1em;
    fill: #ddd;
}

.div-donacion {
    display: flex;
    width: 100%;
    margin: 10px;
    background-color: #F5F5F5;
}

.btn-donacion {
    font-family: "Praxis Bold", Sans-serif;
    text-align: center;
    width: 100%;
    background-color: #143B88;
    padding: 5px 12px 7px 12px;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #1B458F;
    border-radius: 8px 8px 8px 8px;
    color: #ddd;
    font-size: 13px;
    text-decoration: none;
}

    .btn-donacion svg {
        fill: #F2F2F3;
        transition: fill 0.3s;
        height: 1.3em;
        width: 1.3em;
        margin-right: 8px;
    }

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .main-header {
        display: none;
    }

    .bar-responsive {
        display: flex;
    }

    /* Navegación escondida en móvil */
    .nav-links {
        display: none;
        width: 100%;
        margin-top: 10px;
    }

    .nav-links ul {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    /* Mostrar menú cuando se activa con JS */
    .nav-links.active {
        display: block;
    }

    .footer-container {
        padding-bottom: 30px;
    }

    .element-footer {
        padding-left: 30px;
        padding-right: 30px;
    }

    .footer-border-botton {
        padding-bottom: 0px;
    }

    .footer-border-right {
        border-right: none;
    }
}
