/*
Theme Name: Hueman Proconsumidor
Description: Tema hijo seguro para Proconsumidor - Estructura Full Width y Responsive Integrada.
Author: Equipo Proconsumidor
Template: hueman
Version: 1.3.8
*/

/* ==========================================================================
   1. NUEVA CABECERA PROFESIONAL (INTEGRACIÓN 2026)
   ========================================================================== */

/* Contenedor principal del header */
body #header {
    background: white !important;
    border-bottom: 3px solid #81BB47 !important;
    padding-bottom: 0px !important; 
}

/* Alineación de Logo y Escudo mediante Flexbox */
body .header-content-inner {
    max-width: 1380px;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 20px 15px !important;
    background: transparent !important;
}

/* Área del Logo */
body .logo-area .main-logo {
    max-height: 100px;
    width: auto;
    display: block;
}

/* Área del Escudo y Enlaces de Contacto */
body .escudo-area {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* CONTENEDOR BUSCADOR Y ESCUDO (NUEVO) */
body .search-escudo-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

/* Estilos para el formulario de búsqueda */
body .custom-search-form .search-form {
    display: flex;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
}

body .custom-search-form .search-field {
    border: none !important;
    padding: 8px 12px !important;
    outline: none;
    width: 200px !important;
    height: auto !important;
    margin: 0 !important;
}

body .custom-search-form .search-submit {
    background-color: #104274 !important;
    color: white !important;
    border: none !important;
    padding: 8px 15px !important;
    cursor: pointer;
    font-weight: 600;
}

/* Enlaces superiores: INICIO | MAPA | CONTACTO */
body #iniciocontacto {
    font-size: 12px;
    color: #104274;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

body #iniciocontacto a {
    color: #104274 !important;
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: "Titillium", Arial, sans-serif;
    font-size: xx-small;
}

body #iniciocontacto a:hover {
    color: #81BB47 !important;
}

/* Imagen del Escudo Dominicano */
body #escudotop { 
    max-height: 60px !important; 
    width: auto !important; 
    margin: 0 !important; 
    padding: 0 !important; 
}

/* ==========================================================================
   2. CAMBIOS RESCATADOS (MANTENIDOS ÍNTEGROS)
   ========================================================================== */

.imagenfb img { }

.printfriendly.pf-alignleft {
    float: left;
    width: 100%;
}

.footer-widget-1 { background:#eee; }

#response, #response2 {
    clear: both;
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

/*----------- Botones de servicios y formularios ------------*/
.portadaservicios { background: #dddde0; padding: 20px; border-radius: 5px; display: inline-block; width:96%; text-align: center; }	
.botonservicios {
    width: 32%;
    background: #337ab7;
    margin: 5px !important;
    padding: 20px;
    color: #fff;
    border-radius: 5px !important;
    font-weight: 400;
    text-align: left;
    float: left;
    height: 140px;
}
.menubotonservicios { width: 48%; background: #104274; margin: 2px !important; padding: 10px; color: #fff; border-radius: 5px !important; font-weight: 400; text-align: left; }
.menubotonservicios2 { width: 100%; background: #104274; padding: 10px; color: #fff; border-radius: 5px !important; font-weight: 400; text-align: left; }

.botonservicios:hover { background: #fff; color:black; border-radius: 5px; }
.menubotonservicios:hover { background: #6c757d; color:#fff; border-radius: 5px; }	
.menubotonservicios2:hover { background: #6c757d; color:#fff; border-radius: 5px; }	

/* ==========================================================================
   3. ESTRUCTURA FULL WIDTH (CORRECCIÓN DE CONTENEDORES)
   ========================================================================== */

html, body { overflow-x: hidden; width: 100%; margin: 0; padding: 0; }

#wrapper, 
.container, 
.container-fluid, 
.main, 
.main-inner, 
#page, 
#footer {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
    display: block !important;
}

#nav-topbar, #nav-header {
    background-color: #104274 !important;
}

/* ==========================================================================
   4. INTEGRACIÓN RESPONSIVE Y ANIMACIONES DE BANNERS
   ========================================================================== */

.home article.page, 
.home .hu-pad, 
.home .entry.themeform {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

#principalcontenido {
    text-align: center;
    width: 100% !important;
    background: #104274 !important;
    padding: 50px 10px !important;
    display: block !important;
    box-sizing: border-box;
}

#serviciosprincipal {
    display: flex !important;
    flex-wrap: wrap !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: flex-start !important;
    max-width: 1380px !important;
    margin: 0 auto !important;
    gap: 15px !important;
}

#serviciosprincipal a {
    display: block !important;
    flex: 0 1 200px !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: transform 0.4s ease, filter 0.4s ease, box-shadow 0.4s ease;
}

#serviciosprincipal a:hover {
    transform: translateY(-12px);
    filter: brightness(1.1);
}

#serviciosprincipal img.banercit {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    border-radius: 8px;
}

#losbanners {
    background: #F3F3F4 !important;
    padding: 40px 10px !important;
}

#losbanners2 {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 15px !important;
    max-width: 1380px !important;
    margin: 0 auto !important;
}

#losbanners2 a {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#losbanners2 a:hover {
    transform: scale(1.1);
    z-index: 10;
}

img.enlacesbanners {
    width: 180px !important;
    height: auto !important;
}

#tituloredes { 
    background-color: #104274 !important; 
    padding: 40px 10px !important;
}

#pararedes {
    display: flex !important;
    flex-direction: row !important; 
    justify-content: center !important;
    align-items: center !important;
    gap: 20px !important;
}

#pararedes a {
    transition: all 0.3s ease;
}

#pararedes a:hover {
    transform: rotate(5deg) scale(1.15);
    filter: drop-shadow(0px 0px 10px rgba(255,255,255,0.5));
}

.imagenfb img {
    width: 180px !important; 
    height: auto !important;
    display: block !important;
}

/* ==========================================================================
   5. PIE DE PÁGINA (FOOTER) - DISEÑO CENTRALIZADO
   ========================================================================== */

#footer-bottom {
    background-color: #104274 !important;
    color: #ffffff !important;
    padding: 40px 20px !important;
    text-align: center !important;
}

.footer-proconsumidor-wrap {
    max-width: 1380px;
    margin: 0 auto;
    position: relative;
}

.footer-content-flex {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 20px;
}
@media (max-width:768px){.stamps-grid-container{display:none!important}}
@media (min-width:768px){#norticmovil-text{display:none!important}}

.footer-spacer-left {
    flex: 1 !important;
    display: block;
}

.footer-info-column {
    flex: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
}

#rev_slider_18_1_wrapper .hesperiden_copy52 .tp-tab-title {
    color: white!important;
}
#rev_slider_18_1_wrapper .hesperiden_copy52 .tp-tab.rs-touchhover, #rev_slider_18_1_wrapper .hesperiden_copy52 .tp-tab.selected {
    background: #104274!important;
}
.custom-search-form .search-form {
        border: 1px solid #ccc !important;    
}
.footer-logos-centered {
    display: flex;
    align-items: center;
    justify-content: center;
}

#footer-escudo-repdom {
    max-height: 70px;
    width: auto;
}

#footer-logo {
    max-height: 50px;
    width: auto;
}
#nav-header .nav ul {
    background-color: #104274!important;
}

.footer-inst-name {
    font-size: 1em;
    font-weight: 600;
}

.footer-links-row a {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 0.9em;
}

.footer-address p {
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.9);
}

#copyright {
    margin-top: 15px;
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.7);
}

.footer-stamps-column {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
}

.stamps-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 100px);
    gap: 10px;
    justify-content: end;
}

.footer-social-area {
    margin-top: 15px;
}

/* ==========================================================================
   6. ENLACES GUBERNAMENTALES (GRID RESPONSIVE)
   ========================================================================== */

#seccion-gobierno {
    background-color: #f8f8f8 !important;
    padding: 60px 20px !important;
    width: 100% !important;
    display: block !important;
}

.gob-full-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
}

.gob-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1380px;
    margin: 0 auto;
}

.gob-item {
    text-align: center;
    font-size: 14px;
    color: #717272;
}

.gob-item a { 
    color: #104274 !important; 
    font-weight: 600; 
    text-decoration: none; 
}

/* ==========================================================================
   7. AJUSTES MÓVILES FINALES Y CORRECCIÓN DE MENÚ (FIX)
   ========================================================================== */

@media (max-width: 1024px) {
    #serviciosprincipal a {
        flex: 0 1 30% !important;
    }
}

@media (max-width: 768px) {
    
    /* REFUERZO DE ESPECIFICIDAD PARA EL MENÚ */
    body #header .nav-container .nav { 
        display: none !important; 
    }

    body.expand #header .nav-container .nav {
        display: block !important;
        height: auto !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    body .nav-toggle {
        display: block !important;
        cursor: pointer !important;
        z-index: 9999 !important;
    }

    .header-content-inner {
        flex-direction: column !important;
        padding: 15px !important;
    }

    .escudo-area {
        align-items: center;
        margin-top: 15px;
    }
    
    .search-escudo-wrap {
        flex-direction: column;
        gap: 10px;
    }

    #iniciocontacto {
        display: none !important;
    }

    #serviciosprincipal a {
        flex: 1 1 100% !important;
        max-width: 100% !important;
    }
    
    img.enlacesbanners {
        max-width: 200px !important;
        width: 100% !important;
    }

    #pararedes {
        flex-direction: column !important;
        gap: 20px !important;
    }

    #pararedes a {
        width: 90% !important;
        max-width: 350px !important;
    }

    .imagenfb img {
        width: 100% !important; 
        max-width: 100% !important;
    }

    .gob-full-row {
        flex-direction: column;
        gap: 20px;
    }

    .gob-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Footer en móvil: todo centralizado */
    .footer-content-flex {
        flex-direction: column !important;
        text-align: center !important;
        align-items: center !important;
    }
    
    .footer-spacer-left { display: none; }
    
    .footer-stamps-column {
        align-items: center !important;
        margin-top: 30px;
    }
}

body .uwy.userway_p5 .userway_buttons_wrapper {
    bottom: 300px!important;
    left: 13px;
    right: auto;
    -ms-flex-pack: end;
    justify-content: end;
}

div#escuditico-wrap {
    margin: auto;
}

.footer-info-column {
    font-size: .88em;
    padding-top: .5em;
}

.custom-search-form {
    text-align: center;
}

@media (max-width: 480px) {
    #serviciosprincipal a {
        flex: 1 1 100%!important;
    }
    body .col-2cl .sidebar.s1 {
        display:none!important;
    }
    body .sidebar-top.group {
        display: none!important;
    }
    body .sidebar-content {
        display: none!important;
    }
    body .sidebar.s1.collapsed.sticky {
        display: none!important;
    }
    body .sidebar.s1:hover {
        z-index: 98;
        display: none!important;
    }
    body .main .sidebar.sticky {display: none!important;}
    .breadcrumb-container {
        font-size: 14px!important;
        padding: 10px;
        margin: 0!important;
    }
    .page-title h1 {
        font-size: 26px!important;
    }
    .gob-grid {
        grid-template-columns: 1fr;
    }
}

body a#slider-18-slide-139978-layer-5 {
    background-color:#104274!important;
}

/* PEGUE AQUÍ CUALQUIER OTRA REGLA DEL PADRE USANDO EL PREFIJO 'body' */
/*
Theme Name: Hueman Proconsumidor
Description: Tema hijo seguro para Proconsumidor - Estructura Full Width y Responsive Integrada.
Author: Equipo Proconsumidor
Template: hueman
Version: 1.3.8
*/

/* ==========================================================================
   1. REGLAS RESCATADAS DEL PADRE (ESPECIFICIDAD AUMENTADA)
   ========================================================================== */

body .col-2cl .sidebar.s1 {
    display: none !important;
}

body .sidebar-top.group {
    display: none !important;
}

body .sidebar-content {
    display: none !important;
}

body .sidebar.s1.collapsed.sticky {
    display: none !important;
}

body .sidebar.s1:hover {
    z-index: 98;
    display: none !important;
}

body .main .sidebar.sticky {
    display: none !important;
}

body .page-title h1 {
    font-size: 35px !important;
}

body .entry {
    font-size: 1.125em;
    line-height: 1.6em;
    text-align: justify !important;
}

/* ==========================================================================
   2. NUEVA CABECERA PROFESIONAL (INTEGRACIÓN 2026)
   ========================================================================== */

#header {
    background: white !important;
    border-bottom: 3px solid #81BB47 !important;
    padding-bottom: 0px !important; 
}

.header-content-inner {
    max-width: 1380px;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 20px 15px !important;
    background: transparent !important;
}

.logo-area .main-logo {
    max-height: 100px;
    width: auto;
    display: block;
}

.escudo-area {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.search-escudo-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.custom-search-form .search-form {
    display: flex;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
}

.custom-search-form .search-field {
    border: none !important;
    padding: 8px 12px !important;
    outline: none;
    width: 200px !important;
    height: auto !important;
    margin: 0 !important;
}

.custom-search-form .search-submit {
    background-color: #104274 !important;
    color: white !important;
    border: none !important;
    padding: 8px 15px !important;
    cursor: pointer;
    font-weight: 600;
}

#iniciocontacto {
    font-size: 12px;
    color: #104274;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#iniciocontacto a {
    color: #104274 !important;
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: sans-serif;
    font-size: xx-small;
}

#iniciocontacto a:hover {
    color: #81BB47 !important;
}

#escudotop { 
    max-height: 60px !important; 
    width: auto !important; 
    margin: 0 !important; 
    padding: 0 !important; 
}

/* ==========================================================================
   3. CAMBIOS RESCATADOS (MANTENIDOS ÍNTEGROS)
   ========================================================================== */

.imagenfb img { }
.printfriendly.pf-alignleft { float: left; width: 100%; }
.footer-widget-1 { background:#eee; }
#response, #response2 { clear: both; display: flex; flex-wrap: wrap; margin-right: -15px; margin-left: -15px; }

.portadaservicios { background: #dddde0; padding: 20px; border-radius: 5px; display: inline-block; width:96%; text-align: center; }	
.botonservicios {
    width: 32%; background: #337ab7; margin: 5px !important; padding: 20px; color: #fff;
    border-radius: 5px !important; font-weight: 400; text-align: left; float: left; height: 140px;
}
.menubotonservicios { width: 48%; background: #104274; margin: 2px !important; padding: 10px; color: #fff; border-radius: 5px !important; font-weight: 400; text-align: left; }
.menubotonservicios2 { width: 100%; background: #104274; padding: 10px; color: #fff; border-radius: 5px !important; font-weight: 400; text-align: left; }

.botonservicios:hover { background: #fff; color:black; border-radius: 5px; }
.menubotonservicios:hover { background: #6c757d; color:#fff; border-radius: 5px; }	
.menubotonservicios2:hover { background: #6c757d; color:#fff; border-radius: 5px; }	

/* ==========================================================================
   4. ESTRUCTURA FULL WIDTH
   ========================================================================== */

html, body { overflow-x: hidden; width: 100%; margin: 0; padding: 0; }
#wrapper, .container, .container-fluid, .main, .main-inner, #page, #footer {
    width: 100% !important; max-width: 100% !important; min-width: 100% !important;
    padding: 0 !important; margin: 0 !important; float: none !important; display: block !important;
}
#nav-topbar, #nav-header { background-color: #104274 !important; }

/* ==========================================================================
   5. INTEGRACIÓN RESPONSIVE Y ANIMACIONES
   ========================================================================== */

.home article.page, .home .hu-pad, .home .entry.themeform { max-width: 100% !important; width: 100% !important; margin: 0 !important; padding: 0 !important; }
#principalcontenido { text-align: center; width: 100% !important; background: #104274 !important; padding: 50px 10px !important; display: block !important; box-sizing: border-box; }
#serviciosprincipal { display: flex !important; flex-wrap: wrap !important; justify-content: center; align-items: flex-start !important; max-width: 1380px !important; margin: 0 auto !important; gap: 15px !important; }
#serviciosprincipal a { display: block !important; flex: 0 1 200px !important; margin: 0 !important; padding: 0 !important; transition: transform 0.4s ease, filter 0.4s ease, box-shadow 0.4s ease; }
#serviciosprincipal a:hover { transform: translateY(-12px); filter: brightness(1.1); }
#serviciosprincipal img.banercit { width: 100% !important; max-width: 100% !important; height: auto !important; display: block !important; border-radius: 8px; }

#losbanners2 { display: flex !important; flex-wrap: wrap !important; justify-content: center !important; gap: 15px !important; max-width: 1380px !important; margin: 0 auto !important; }
#losbanners2 a { transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); }
#losbanners2 a:hover { transform: scale(1.1); z-index: 10; }

#pararedes { display: flex !important; justify-content: center !important; align-items: center !important; gap: 20px !important; }
#pararedes a { transition: all 0.3s ease; }
#pararedes a:hover { transform: rotate(5deg) scale(1.15); filter: drop-shadow(0px 0px 10px rgba(255,255,255,0.5)); }

/* ==========================================================================
   6. PIE DE PÁGINA (FOOTER) - DISEÑO CENTRALIZADO
   ========================================================================== */

#footer-bottom { background-color: #104274 !important; color: #ffffff !important; padding: 40px 20px !important; text-align: center !important; }
.footer-proconsumidor-wrap { max-width: 1380px; margin: 0 auto; position: relative; }
.footer-content-flex { display: flex !important; justify-content: space-between !important; align-items: flex-start !important; gap: 20px; }
@media (max-width:768px){.stamps-grid-container{display:none!important}}
@media (min-width:768px){#norticmovil-text{display:none!important}}
.footer-spacer-left { flex: 1 !important; display: block; }
.footer-info-column { flex: 2 !important; display: flex !important; flex-direction: column !important; align-items: center !important; text-align: center !important; }
.footer-logos-centered { display: flex; align-items: center; justify-content: center; }
#footer-escudo-repdom { max-height: 70px; width: auto; }
#footer-logo { max-height: 50px; width: auto; }
#nav-header .nav ul { background-color: #104274!important; }
.footer-inst-name { font-size: 1em; font-weight: 600; }
.footer-links-row a { color: #ffffff !important; text-decoration: none; font-size: 0.9em; }
.footer-address p { font-size: 0.85em; color: rgba(255, 255, 255, 0.9); }
#copyright { margin-top: 15px; font-size: 0.8em; color: rgba(255, 255, 255, 0.7); }
.footer-stamps-column { flex: 1 !important; display: flex !important; flex-direction: column !important; align-items: flex-end !important; }
.stamps-grid-container { display: grid; grid-template-columns: repeat(2, 100px); gap: 10px; justify-content: end; }
.footer-social-area { margin-top: 15px; }

/* ==========================================================================
   7. AJUSTES MÓVILES FINALES Y FIX MENÚ
   ========================================================================== */

@media (max-width: 768px) {
    #header .nav-container .nav { display: none !important; }
    .expand #header .nav-container .nav { display: block !important; height: auto !important; visibility: visible !important; opacity: 1 !important; }
    .nav-toggle { display: block !important; cursor: pointer; }
    .header-content-inner { flex-direction: column !important; padding: 15px !important; }
    .footer-content-flex { flex-direction: column !important; text-align: center !important; align-items: center !important; }
    .footer-spacer-left { display: none; }
    .footer-stamps-column { align-items: center !important; margin-top: 30px; }
}

body .uwy.userway_p5 .userway_buttons_wrapper { bottom: 300px!important; left: 13px; right: auto; justify-content: end; }
div#escuditico-wrap { margin: auto; }
.footer-info-column { font-size: .88em; padding-top: .5em; }
.custom-search-form { text-align: center; }

@media (max-width: 480px) {
    #serviciosprincipal a { flex: 1 1 100%!important; }
    body .col-2cl .sidebar.s1, body .sidebar-top.group, body .sidebar-content, 
    body .sidebar.s1.collapsed.sticky, body .main .sidebar.sticky { display: none !important; }
}

a#slider-18-slide-139978-layer-5 { background-color:#104274!important; }