/*
 Theme Name: Divi Acuabit
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Divi Child Theme, enriquezido por Acuabit
 Author: Acuabit
 Author URI: https://www.acuabit.es 
 Template: Divi
 Version: 1.0.0
*/

/*--Generales--*/
sup{
    font-size: 0.6rem !important;
}
.wc-block-components-drawer__screen-overlay.wc-block-components-drawer__screen-overlay--with-slide-out.wc-block-components-drawer__screen-overlay--with-slide-in{
    z-index: 99999999999999999999999 !important;
}
 .et_pb_wc_cart_notice .woocommerce-notices-wrapper a{
    color: #FFFFFF !important;
}
.wp-block-woocommerce-empty-mini-cart-contents-block .wc-block-components-button:not(.is-link) {
    display: none !important;
}
.checkout.woocommerce-checkout label{
    display: block !important;
    float: none !important;
    clear: both;
}
/*Header*/
/* Cabecera visible inmediatamente, sin animaciones de entrada */
.cabecera-sin-animacion,
.cabecera-sin-animacion .et_pb_row,
.cabecera-sin-animacion .et_pb_column,
.cabecera-sin-animacion .et_pb_module,
.cabecera-sin-animacion .et_animated,
.cabecera-sin-animacion .et-waypoint {
    animation: none !important;
    transition-property: none !important;
    animation-delay: 0s !important;
    animation-duration: 0s !important;
    opacity: 1 !important;
    visibility: visible !important;
}
.cabecera-sin-animacion .et_animated,
.cabecera-sin-animacion .et-waypoint {
    transform: none !important;
}
#main-header .container{
    width: 100% !important;
    max-width: 100% !important;
}
#main-header .cab-superior, #main-header .cab-superior .elementos-cabecera{
    display: flex;
    align-items: center;
}
#main-header .cab-superior{
    justify-content: center;
    gap: 30px;
    padding-left: 2em;
    padding-right: 2em;
    align-items: anchor-center;
}
#main-header #et-top-navigation{
    padding: 0.5em 2em !important;
}
#main-header #et-top-navigation,  #main-header #et-top-navigation #top-menu-nav{
    float: none
}
#main-header .cab-superior .elementos-cabecera{
    gap: 30px;
}
#main-header .cab-superior .elementos-cabecera .columna{
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#main-header .cab-superior .elementos-cabecera .columna div{
    text-align: left;
}
#main-header .cab-superior .elementos-cabecera .columna.botones{
    gap: 10px;
}
#main-header .cab-superior .elementos-cabecera .columna.botones .elemento.btn a{
    background: #0081AB;
    color: #FFFFFF;
    font-weight: 600;
    padding: 2.5px 15px;
    border-radius: 15px;
}
#main-header #et-top-navigation .sub-menu {
    border-color: #0081AB !important;
    flex-direction: column;
}
#main-header .cab-superior .elementos-cabecera .columna.botones a:hover{
    text-decoration: underline;
}
.cab-superior .elementos-cabecera .titular{
    font-size: 20px;
    padding-bottom: 0.25em;
}
.cab-superior .elementos-cabecera .elemento.telf{
    font-size: 18px;
}
.cab-superior .elementos-cabecera .elemento.correo{
    font-size: 14px;
}
.cab-superior .fila-enlaces{
    display: flex;
    gap: 20px;
}
.cab-superior .fila-enlaces .boton a{
    background: #001953;
    color: #FFFFFF;
    font-weight: 600;
    padding: 2.5px 15px;
    border-radius: 15px;
}
#main-header #et-top-navigation, #main-header #et-top-navigation .sub-menu{
    background: #001953;
    display: flex;
    justify-content: center;
}
#top-menu li a{
    color: #FFFFFF;
    font-size: 18px !important;
    padding-bottom: 0px !important;
    line-height: 1.7em !important;
}
#top-menu li {
    padding-left: 10px !important;
    padding-right: 10px !important;
}
#main-header.et-fixed-header #top-menu li a{
    color: #FFFFFF !important;
}
@media (min-width: 981px) {
    .cab-superior .logo_container {
        position: relative !important;
        height: max-content;
        width: max-content !important;
    }
    .logo_container {
        transition: none;
    }
    .vermovil{
        display: none !important;
    }
    #top-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        row-gap: 0;
        column-gap: 0;
        max-width: 1280px;
    }
    #main-header {
        height: 180px !important;
        min-height: 180px !important;
        max-height: 180px;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }
    #main-header.et-fixed-header {
        height: auto !important;
        min-height: auto !important;
        max-height: auto;
    }
    #main-header .container.et_menu_container {
        height: 180px;
        min-height: 180px;
    }
    #main-header.et-fixed-header #et-top-navigation{
        padding-top: 0.75em;
    }
    #main-header.et-fixed-header .container.et_menu_container {
        height: auto;
        min-height: auto;
    }
    #main-header .cab-superior {
        height: 100px;
        min-height: 100px;
    }
    .et_header_style_centered #main-header.et-fixed-header .logo_container {
        height: 100px !important;
    }
    #main-header #et-top-navigation {
        transition: none !important;
    }
    #main-header #et-top-navigation .sub-menu, #main-header #et-top-navigation .sub-menu li, #main-header #et-top-navigation .sub-menu li a{
        width: max-content;
    }
    #main-header #et-top-navigation .sub-menu li{
        display: block;
    }
    #page-container {
        padding-top: 180px !important;
    }
    body.admin-bar #main-header {
        top: 32px !important;
    }
    .elementos-cabecera .titular,
    .elementos-cabecera .elemento {
        line-height: 1.3;
    }
    .elementos-cabecera .correo {
        white-space: nowrap;
    }
    .elementos-cabecera img {
        width: 14px;
        height: auto;
        flex: 0 0 14px;
    }
    @media(max-width:1500px){
        #main-header .cab-superior {
            gap: 5px;
            padding-left: 0em;
            padding-right: 1em;
        }
        .cab-superior .elementos-cabecera .elemento.correo {
            font-size: 12px;
        }
        .columna.botones a{
            font-size: 16px;
        }
        .cab-superior .elementos-cabecera .titular {
            font-size: 16px;
        }
        #main-header .cab-superior .elementos-cabecera .columna.botones .elemento.btn a, .cab-superior .fila-enlaces .boton a {
            padding: 2.5px 10px;
        }
        #main-header .cab-superior .elementos-cabecera {
            gap: 15px;
        }
        #main-header #et-top-navigation {
            padding: 0.5em 0em !important;
        }
        #top-menu li a {
            font-size: 16px;
        }
        #top-menu .sub-menu{
            right: 0px;
        }
        #top-menu .menu-item-10816 .sub-menu{
            left: 0px;
        }
        #top-menu li a {
            font-size: 16px !important;
        }
        #main-header .logo_container{
            display: flex;
        }
        #top-menu li {
            padding-left: 8px !important;
            padding-right: 8px !important;
        }
        #main-header .logo_container a{
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        #page-container {
            padding-top: 173px !important;
        }
        #main-header {
            height: 173px !important;
            min-height: 173px !important;
        }
    }
    @media(max-width: 1279px){
        .et_header_style_centered #main-header .logo_container {
            height: 60px;
        }
        #main-header .cab-superior .elementos-cabecera {
            gap: 5px;
        }
        #main-header .cab-superior .elementos-cabecera .columna {
            overflow: hidden;
        }
        .cab-superior .elementos-cabecera .elemento.telf, .cab-superior .elementos-cabecera .titular {
            font-size: 16px;
        }
        #main-header .cab-superior {
            height: 60px;
            min-height: 60px;
        }
        .et_header_style_centered #main-header.et-fixed-header .logo_container {
            height: 60px !important;
        }
        .cab-superior .elementos-cabecera .titular {
            padding-bottom: 0;
        }
        .columna.botones a {
            font-size: 14px;
        }
        .cab-superior .fila-enlaces {
            gap: 5px;
        }
        #main-header .cab-superior {
            padding-right: 5px;
        }
        #top-menu li a {
            font-size: 14px !important;
        }
        #main-header .container.et_menu_container {
            height: 100px;
            min-height: 100px;
        }
        #page-container {
            padding-top: 125px !important;
        }
         #main-header {
            height: 125px !important;
            min-height: 125px !important;
            max-height: 125px;
        }
        #main-header .cab-superior .elementos-cabecera .columna.botones {
            gap: 5px;
        }
        .et_header_style_centered #logo {
            max-height: 42px !important;
        }
        #main-header .logo_container a{
            max-width: 160px !important;
        }
    }
}
html.show--consent .btnpref,
html.show--preferences .btnpref {
    display: none;
}
/*----- BANNER COOKIES -----*/
html.show--consent .btnpref,
html.show--preferences .btnpref {
    display: none;
}

.btnpref {
    position: fixed;
    z-index: 999;
    bottom: 15px;
    left: 15px;
    max-width: 72px;
    font-size: 14px;
    padding: 5px;
    border-radius: 8px;
    background-color: white;
    box-shadow: 1px -1px 1px 0px rgba(0, 0, 0, 0.3);
    border: 1px solid black;
}

.btnpref img {
    max-width: 40px;
    transition: transform 0.3s ease-in-out;
}

.btnpref img:hover {
    transform: scale(1.1);
    animation: bounce 0.5s ease;
}
.wp-pagenavi{
    margin-top: 2rem !important;
}
/*animacion efecto rebote*/
@keyframes bounce {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.2);
    }

    50% {
        transform: scale(1);
    }

    70% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.btnpref:hover {
    cursor: pointer;
}
#firma{
  background: #001953;
  color: #ffffff;
  font-size: 10px;
  text-align: center;
}
#firma a{
  color: #ffffff;
}
@media(max-width: 980px){
     .btnpref {
        bottom: 62px !important;
        left: 0px;
        max-width: 180px;
        border: none !important;
        border-radius: 0px 8px 0px 0px !important;
        border-bottom-left-radius: 0px !important;
        border-bottom-right-radius: 0px !important;
    }

    .btnpref img {
        max-width: 14px !important;
    }
}
/*--Cabecera--*/
@media(min-width:981px){
    .cabecera-web .et_pb_menu .et_pb_menu__logo-wrap{
        display: none !important;
    }
}
@media(max-width:1500px){
    @media(min-width:981px){
        .cabecera-web .et_pb_row_0_tb_header{
            max-width: 100% !important;
        }
        .cabecera-web .et_flex_column_6_24 {
            width: calc(20% - var(--horizontal-gap-parent, 5.5%)*0.75) !important;
        }
        .cabecera-web .et_flex_column_12_24 {
            width: calc(60% - var(--horizontal-gap-parent, 5.5%)*0.5) !important;
        }
        .columna-flotante{
            --horizontal-gap: 0px !important;
        }
    }
}
@media(max-width:1376px){
    @media(min-width:981px){
         .sec-elementos-mv {
            background: #001953;
        }
        .sec-elementos-mv, .sec-elementos-mv a{
            color: #FFFFFF;
        }
        .sec-elementos-mv .fila{
            text-align: center;
            padding: 0.25em 0px;
            border-bottom: 1px dotted #FFFFFF;
        }
         .fila.botones-aurelio .elementos.botones{
            display: flex;
            justify-content: space-around;
        }
        .fila.botones-aurelio{
            background: #001953;
            padding: 0.25em 0px;
        }
        .fila.botones-aurelio .elementos.botones a{
            padding: 0px 25px;
            line-height: 2em;
            border-radius: 6px;
            background: #0081AB !important;
            color: #FFFFFF;
        }
        .elementomv.blog{
            position: absolute;
            top: 25px;
            right: 30px;
        }
    }
}
/*--BLOG--*/
@media(min-width:981px){
    .listado-blog{
        padding-top: 150px;
        margin-top: -150px;
    }
}
/*--Página de inicio--*/
@media(min-width:981px){
    .heroh .et_pb_slider .et_pb_slider_container_inner{
        vertical-align: top;
        padding-top: 1rem;
    }
}
.heroh .et_pb_slider .et_pb_slider_container_inner .et_pb_slide_content{
    /* fallback */
  text-shadow:
    1px 1px 0 #000000,
   -1px 1px 0 #000000,
    1px -1px 0 #000000,
   -1px -1px 0 #000000;
}
.heroh .et_pb_slide_description{
    padding: 0px !important;
}
.texto-destacado span {
  position: relative;
  display: inline-block;
  text-decoration: none !important;
}
.texto-destacado span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 6px;
  background-color: #0081AB;
  transform: rotate(-4deg);
  transform-origin: left center;
  border-radius: 12px;
}
.cabecerap{
    z-index: 1;
}
.cabecerap .texto-destacado span::after, .blogh .texto-destacado span::after, .destacadoh .texto-destacado span::after, .psocialesh .texto-destacado span::after, .donacionesh .texto-destacado span::after, .galeria-home .texto-destacado span::after, .equipoh .texto-destacado span::after, .terapiah .texto-destacado span::after, .testimonioh .texto-destacado span::after{
    bottom: -10px;
    height: 4px;
    transform: rotate(-2deg);
}
body.single .et_pb_video{
    max-width: 680px;
    aspect-ratio: 16 / 9;
}
.et_pb_video .et_pb_video_overlay, .et_pb_video iframe{
    width: 100%;
    max-height: 388.2px;
}
.stestimonios.et_pb_video .et_pb_video_overlay, .stestimonios .et_pb_video iframe{
    max-height: 276.4px;
}
.psocialesh .et_pb_video_overlay, .psocialesh iframe{
    max-height: 187.5px !important;
    
}
.destacadoh .et_pb_row:first-child {
  position: relative;
}
/*Propductos*/
.formdonacion form.cart{
    display: flex !important;
    justify-content: center !important;
    gap: 5px;
}
.formdonacion .nyp{
    margin-bottom: 0px !important;
}
.formdonacion .nyp{
    display: flex;
    justify-content: center;
    align-items: center;
}

.formdonacion .nyp label{
    margin-right: 5px !important;
}
.formdonacion .quantity{
    display: none !important;
}
.carrito-productos{
    padding-right: 0px !important;
    justify-content: center;
    width: 80px !important;
    z-index: 9999999999 !important;
    right: 15px !important;
}
.carrito-productos .et_pb_widget{
    width: 100% !important;
}
.carrito-productos .wp-block-woocommerce-mini-cart{
    height: 80px;
    width: 80px;
    border: 2px solid #001953;
    border-radius: 100px;
    background: #ffffff;
}
.carrito-productos .wc-block-mini-cart__button{
    justify-content: center;
}
.carrito-productos .wc-block-mini-cart__button .wc-block-mini-cart__icon {
  height: 100%;
  margin: auto;
  width: 100%;
}
.carrito-productos .wc-block-mini-cart__button .wc-block-mini-cart__badge{
    background: #0081AB !important;
    color: #ffffff !important;
}
.et_pb_section_1_tb_footer .et_pb_icon_list_text{
    color: #ffffff !important;
}
#billing_phone_field .optional {
  display: none !important;
}
#billing_phone_field label::after {
  content: " *";
  color: #a00;
}
/*Producto donaciones*/
.pdonacion .nyp, .pdonacion .cart{
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 0px !important;
}
.pdonacion .cart{
    gap: 0px;
}
.pdonacion .cart .single_add_to_cart_button360{
    background: #001953 !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    padding: 0.2rem 0.5rem !important;
    opacity: 1;
    font-size: 16px !important;
}
.pdonacion .nyp input{
    border: 1px solid #001953;
    padding: 0.5rem 1rem;
    border-radius: 12px;
}
.pdonacion .nyp label{ 
    font-size: 16px;
    font-weight: 500;
}

/*-Formulario-*/
.gform_button{
    font-size: 18px;
    line-height: 1.2em;
    padding: 0.2rem 2rem;
    font-weight: 500;
    background: #001953;
    color: #ffffff;
    border-radius: 25px;
    border: none;
}
.gform_button:hover{    
    cursor: pointer;
    text-decoration: underline;
}
.ancla-offset {
  position: relative;
  top: -160px;
  height: 0;
  display: block;
  visibility: hidden;
}
.wp-pagenavi span.current{
    font-weight: 900 !important;
    font-size: 1.05em !important;
}
/*Hazte socio*/
.gchoice.gchoice_1_24_3 br{
    display: none !important;
}
.gchoice.gchoice_1_24_3 input{
    margin-top: 0px !important;
    margin-left: 5px;
}
#field_1_24{
    grid-column: span 12;
}
#field_1_6, #field_1_25{
    grid-column: span 6;
}
.gfield_consent_label{
    font-size: 16px !important;
}
.gfield_consent_label a{
    text-decoration: underline;
}
.gform_wrapper.gravity-theme .ginput_container_address span {
  flex: 0 0 100% !important;
}
#wc-guest-checkout-notice{
    display: none !important;
}
#input_1_24_other{
    width: 210px !important;
}
/*--Medias--*/
@media(min-width:981px){
    .destacadoh .et_pb_row:first-child::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 1px;
        transform: translateX(-50%);
        background: #001953;
    }
    
}
@media(max-width: 1500px){
    .cabecera-web .et_pb_row{
        --horizontal-gap-parent: 60px;
    }
    .destacadoh .texto-destacado span::after, .psocialesh .texto-destacado span::after, .donacionesh .texto-destacado span::after, .galeria-home .texto-destacado span::after, .equipoh .texto-destacado span::after, .terapiah .texto-destacado span::after, .testimonioh .texto-destacado span::after {
        bottom: -3px;
        transform: rotate(-1deg);
    }
    .cabecera-web .et-last-child{
        --horizontal-gap-parent: 5px !important;
        --vertical-gap: 5px;
    }
    body #page-container .et_pb_section.cabecera-web .et-last-child .et_pb_button_module_wrapper .et_pb_button {
        font-size: 14px !important;
    }
}
@media(max-width:1439px){
    @media(min-width:981px){
        .heroh.hero .texto-destacado .et_pb_text_inner h1{
            font-size: 32px !important;
        }
    }
}
@media(max-width:1360px){
    @media(min-width:981px){
        .cabecera-web .et_pb_main_blurb_image {
            max-width: 16px !important;
        }
        .cabecera-web .et_pb_group .et_pb_blurb:last-child .et_pb_blurb_content .et_pb_main_blurb_image{
            display: none;
        }
        .terapiah .preset--module--divi-button--default_wrapper .preset--module--divi-button--default{
            padding-left: 15px !important;
            padding-right: 15px !important;
        }

    }
}
@media(max-width:980px){
    .colaboradores-pie .et_pb_row:last-child .et_grid_column{
        align-self: center !important;
        --column-count: 6;
        grid-template-columns: repeat(auto-fit, minmax(calc((100% - (var(--column-count) - 1) * var(--horizontal-gap, 0px)) / var(--column-count)), 1fr));
        grid-template-rows: none;
        grid-auto-rows: auto;
        grid-auto-flow: row;
        align-items: center;
        justify-content: center;
    }
    body{
        padding-bottom: 35px;
    }
    .piefijomovil{
        position: fixed !important;
        bottom: 0px !important;
        left: 0px !important;
        width: 100% !important;
        background: #0081AB !important;
        z-index: 99;
        text-align: center;
        line-height: 1.95em;
    }
    .piefijomovil a{
        color: #FFFFFF !important;
        text-transform: uppercase;
        display: block;
        font-size: 16px;
    }
	.cab-superior .logo_container {
        top: 0px !important;
    }
    #main-header .et_mobile_menu {
        background-color: #FFFFFF !important;
        padding-top: 5px !important;
    }
    #main-header #et-top-navigation, #main-header #et-top-navigation .sub-menu {
        background: transparent;
        justify-content: end;
        gap: 30px;
    }
    .mobile_nav .select_page {
        display: flex !important;
        line-height: 1em;
        align-items: center;
        color: #001953;
    }
    .mobile_nav .mobile_menu_bar::before, .et_mobile_menu li a{
        color: #001953 !important;
    }
    .et_mobile_menu li a{
        font-size: 14px !important;
        line-height: 1.3em !important;
    }
    .mobile_menu_bar.mobile_menu_bar_toggle{
        padding: 0.05em 0.5em;
        border: 1px solid #001953;
        border-radius: 12px;
    }
    #logo{
        max-height: 90% !important;
    }
    #main-header.fijar-header {
        position: fixed !important;
        top: 0px !important;
        left: 0px !important;
    }
    body.logged-in.admin-bar #main-header.fijar-header {
        top: 32px !important;
    }
    #page-container{
        padding-top: 54px !important;
        margin-top: 0px !important;
    }
    #main-header #et-top-navigation {
        padding: 0.5em 1em !important;
    }
    .sec-elementos-mv{
        background: #001953;
    }
    .sec-elementos-mv, .sec-elementos-mv a{
        color: #FFFFFF;
        font-size: 14px;
    }
    body.logged-in.admin-bar .sec-elementos-mv {
        top: 85px;
    }
    .sec-elementos-mv .fila{
        text-align: center;
        padding: 0.25em 0px;
        border-bottom: 1px dotted #FFFFFF;
    }
    
    .fila.botones-aurelio .elementos.botones{
        display: flex;
        justify-content: space-around;
    }
    .fila.botones-aurelio{
        background: #001953;
        padding: 0.25em 0px;
        margin-top: 91px;
    }
    .fila.botones-aurelio .elementos.botones a{
        padding: 0px 25px;
        line-height: 2em;
        border-radius: 6px;
        background: #0081AB !important;
        font-size: 14px;
        color: #FFFFFF;
    }
     #main-header {
        position: fixed !important;
    }
    .sec-elementos-mv{
        position: fixed;
        width: 100%;
        z-index: 9;
        top: 53px;
    }
    .elementomv.blog{
        z-index: 99;
    }
    .elementomv.blog a{
        line-height: 32px;
    }
    #et_mobile_nav_menu .mobile_nav .mobile_menu_bar.mobile_menu_bar_toggle{
        display: flex;
        flex-direction: row-reverse;
    }
    .mobile_menu_bar.mobile_menu_bar_toggle{
        padding-bottom: 0px !important;
    }
    .pieflotante > .et-pb-icon{
        display: block !important;
    }
    .ocultomovil{
        display: none;
    }
    .cabecera-web .et_pb_main_blurb_image{
        max-width: max-content !important;
        vertical-align: middle;
    }
    .cabecera-web .et_pb_main_blurb_image .et-pb-icon{
        padding: 0px !important;
    }
    .columna-flotante .et_pb_blurb_container{
        padding: 0px !important;
    }
    .cabecera-web .columna-flotante .et_pb_main_blurb_image, .cabecera-web .columna-flotante .email-cab .et-pb-icon{
        display: none !important;
    }
    .cabecera-web .columna-flotante .email-cab {
        background-color: none !important;
    }
    .cabecera-web .columna-flotante .et_pb_group{
        padding-top: 0.1rem !important;
        padding-bottom: 0.1rem !important;
    }
    .donacionesh p{
        padding-bottom: 0px !important;
    }
    .columna-flotante{
        box-shadow: 1px -1px 1px 0px rgba(0, 0, 0, 0.3);       
    }
    .cabeceramovil .mobile_nav .mobile_menu_bar{
        display: flex;
        flex-direction: row-reverse;
        border: 1px solid #001953;
        border-radius: 12px;
    }
    .cabeceramovil .mobile_nav .mobile_menu_bar::after {
        content: 'Menú';
        display: block;
        line-height: 32px;
        padding-left: 0.4rem !important;
        color: #001953;
        font-weight: 500;
    }
    .cabecera-web .et_pb_row--with-menu{
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    }
    .cabecera-web .et-fixed-header{
        position: fixed !important;
        top: 0px;
        left: 0px;
        background-color: hsl(193.2, 51.9%, 84.5%) !important;
    }
    .et_pb_menu ul li a {
        font-size: 16px !important;
        padding: 5px 0px !important;
    }
    .et_pb_menu .et_mobile_menu {
        padding: 10px 5%;
    }
    body .et_pb_section .et_pb_menu_0_tb_header.et_pb_menu .nav li ul.sub-menu a,
    body .et_pb_section .et_pb_menu_0_tb_h360eader.et_pb_menu ul li.current-menu-ancestor > a,
    body .et_pb_section .et_pb_menu_0_tb_header.et_pb_menu .nav li ul.sub-menu li.current-menu-item > a {
        color: #001953 !important;
    }
    /* Proper Collapsable Mobile Menu */
    /* Style the icon's placeholder */
    ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
    ul.et_mobile_menu li.page_item_has_children .mobile-toggle,
    .et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
    .et-db #et-boc .et-l ul.et_mobile_menu li.page_item_has_children .mobile-toggle {
        width: 44px;
        height: 100%;
        padding: 0px !important;
        max-height: 44px;
        position: absolute;
        right: 0px;
        top: 0px;
        z-index: 999;
        background-color: transparent;
        border-bottom: 0;
        text-align: center;
    }
    ul.et_mobile_menu > li.menu-item-has-children,
    ul.et_mobile_menu > li.page_item_has_children,
    ul.et_mobile_menu > li.menu-item-has-children .sub-menu li.menu-item-has-children,
    .et-db #et-boc .et-l ul.et_mobile_menu > li.menu-item-has-children,
    .et-db #et-boc .et-l ul.et_mobile_menu > li.page_item_has_children,
    .et-db #et-boc .et-l ul.et_mobile_menu > li.menu-item-has-children .sub-menu li.menu-item-has-children {
        position: relative;
    }
    .et_mobile_menu .menu-item-has-children > a,
    .et-db #et-boc .et-l .et_mobile_menu .menu-item-has-children > a {
        background-color: transparent;
    }
    /* Hide the Sub-menu */
    ul.et_mobile_menu .menu-item-has-children .sub-menu,
    #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu,
    .et-db #et-boc .et-l ul.et_mobile_menu .menu-item-has-children .sub-menu,
    .et-db #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu {
        display: none !important;
        visibility: hidden !important;
    }
    /* Show the sub-menu when the + icon is clicked */
    ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
    #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
    .et-db #et-boc .et-l ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
    .et-db #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu.visible {
        display: block !important;
        visibility: visible !important;
    }
    /* Create the opening/closing icon using the SVG Icons */
    ul.et_mobile_menu li.menu-item-has-children .mobile-toggle .dt-icons,
    .et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle .dt-icons {
        top: 10px;
        position: relative;
    }
    /* Hide the closing icon if the sub-menu is not open */
    ul.et_mobile_menu li.menu-item-has-children:not(.dt-open) .mobile-toggle .dt-close-icon,
    .et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children:not(.dt-open) .mobile-toggle .dt-close-icon {
        display: none;
    }
    /* Hide the opening icon if the sub-menu is open */
    ul.et_mobile_menu li.menu-item-has-children.dt-open > .mobile-toggle .dt-open-icon,
    .et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children.dt-open > .mobile-toggle .dt-open-icon {
        display: none;
    } 
    body.blog .et_pb_blog .et_pb_post:nth-child(odd) {
        background-color: #f5f5f5;
    }
     
    #mobile_menu1 li.current-menu-ancestor > a{
        color: #001953 !important;
    }
    .mobile-toggle.no-smooth-scroll{
        width: 100% !important;
        text-align: right !important;
    }
    #proyectos-sociales {
        scroll-margin-top: 160px;
    }
    .emenumv{
        position: absolute;
        right: 30%;
        top: 20%;
    }
    .emenumv .et-pb-icon{
        margin-right: 5px !important;
    }
    .cabeceramovil.et-fixed-header{
        position: fixed;
        top: 0px !important;
    }
   
    .formdonacion .nyp{
        display: block;
        justify-content: center;
        align-items: center !important;
    }
    .formdonacion form.cart {
        display: block !important;
        justify-content: center !important;
        gap: 5px;
    }
    .pfdonativos{
        align-items: center !important;
    }
    .pfdonativos .single_add_to_cart_button{
        margin-top: 1rem !important;
    }
      .listado-blog{
        padding-top: 85px;
        margin-top: -85px;
    }
    .piepaginaazul{
        background: #001953 !important;
    }
    .piepaginaazul .et-pb-icon {
        font-size: 18px !important;
        color: #FFFFFF !important;
    }
    .piepaginaazul .et_pb_row{
        flex-direction: column !important;
        --vertical-gap: 10px;
    }
    .piepaginaazul a, .piepaginaazul .et_pb_link_text{
        color: #FFFFFF !important;
    }
    .piepaginaazul .et_pb_row .et_pb_column{
        align-self: center !important;
        max-width: 415px;
    }
    .piepaginaazul.legal .et_pb_row .et_pb_column{
        max-width: 100%;
        --vertical-gap: 10px;
    }
}
@media(max-width: 767px){
    .colaboradores-pie .et_pb_row:last-child .et_grid_column{
        --column-count: 4;
    }
    .table-responsive{
        overflow-x: scroll;
    }
    .migaspan{
        display: none !important;
    }
    .et_pb_module.et_pb_video{
        display:  block !important;
    }
    .et_pb_video_3.et_pb_module.et_pb_video.ocultomovil{
        display: none !important;
    }
    .heroh .et_pb_slider .et_pb_slider_container_inner {
        vertical-align: bottom;
        padding-top: 0px;
        padding-bottom: 1em;
        opacity: 0;
    }
    .heroh .et_pb_slider .et-pb-active-slide .et_pb_slider_container_inner{
        opacity: 1;
    }
    .btnpref {
        bottom: 35px !important;
        display: flex;
    }
    .btnpref img{
        margin-right: 5px;
    }
    .cabecerap .texto-destacado span::after, .blogh .texto-destacado span::after, .destacadoh .texto-destacado span::after, .psocialesh .texto-destacado span::after, .donacionesh .texto-destacado span::after, .galeria-home .texto-destacado span::after, .equipoh .texto-destacado span::after, .terapiah .texto-destacado span::after, .testimonioh .texto-destacado span::after {
        bottom: 0px;
    }
    .rank-math-breadcrumb{
        font-size: 12px !important;
    }

    .et_pb_text_inner p span{
        color: #000000 !important;
    }
    .et_pb_text_inner a, .et_pb_text_inner a span{
        color: #0081AB !important;
    }
    .topterapia.et-fixed-header, .topinfoayuda.et-fixed-header{
        position: fixed;
        z-index: 9999999;
        width: 100%;
        background: #001953 !important;
    }
      .et-db #et-boc .et-l .et_pb_group_0_tb_header.topterapia, .et-db #et-boc .et-l .topinfoayuda.et_pb_group_2_tb_header{
        padding-top: 0rem !important;
        padding-bottom: 0rem !important;
    }
    .topterapia.et-fixed-header{
        top: 53px;
    }
    .topinfoayuda.et-fixed-header{
        top: 103px;
        border-top: 1px dotted #ffffff;
    }
    .carrito-productos .wp-block-woocommerce-mini-cart{
        height: 40px;
        width: 40px;
    }
    .carrito-productos .et_pb_widget {
        width: max-content !important;
        margin-bottom: 0px !important;
    }
    .carrito-productos {
        width: 40px !important;
    }
    .wc-block-mini-cart__button {
        padding: 0.2em !important;
    }
    .pdonacion .nyp{
        margin-bottom: 15px !important;
    }
    .et_pb_section_0_tb_header .et_pb_row_1_tb_header.et_pb_row{
        padding-top: 5px !important;
    }
    .et_pb_row_1_tb_header.et_pb_row.et-fixed-header {
        padding-top: 5px !important;
        padding-bottom: 2px !important;
    }
      .cabecera-web .columna-flotante .et_pb_group {
        padding-top: 0rem !important;
        padding-bottom: 0rem !important;
    }
    .et_flex_column>.et_pb_video, .et_pb_video.et_flex_module .et_pb_video_box, .et_pb_video.et_flex_module .et_pb_video_box iframe{
        max-height: 200px !important;
    }
    .et_pb_video, .et_pb_gallery_item{
        z-index: 1 !important;
    }
    
    .cabeceramovil .et_pb_menu__logo img{
        max-width: 160px !important;
    }

    .et_pb_column {
        z-index: 1;
    }
    body.logged-in.admin-bar .sec-elementos-mv {
        top: 99px;
    }
    body.logged-in.admin-bar .sec-elementos-mv.fijar-header {
        top: 53px;
    }
    body.logged-in.admin-bar #main-header.fijar-header {
        top: 0px !important;
    }
}
@media(max-width: 480px){
    .et_pb_module.et_pb_video{
        position: relative !important;
        max-width: 370px !important;
        max-height: 208px !important;
    }
    .psocialesh .et_pb_video_overlay, .psocialesh iframe{
        max-height: 200px !important;
    }
    .et_pb_video .et_pb_video_overlay, .et_pb_video iframe{
        max-height: 182.5;
    }
}
/*Movil estrecho*/
@media(max-width: 380px){
    .cabecera-web .columna-flotante .et_pb_text_inner, .cabecera-web .columna-flotante .et_pb_blurb_description{
        font-size: 12px !important;
    }
    .cabecera-web .columna-flotante .et_pb_text_inner, .cabecera-web .columna-flotante .et_pb_blurb_description , .cabecera-web .columna-flotante .et_pb_link_text{
        font-size: 12px !important;
    }
}

/************************************************************
 CHECKOUT CLÁSICO WOOCOMMERCE - AJUSTE LIMPIO Y MODERNO
 Mantiene la estructura actual, solo mejora campos y acabados
************************************************************/

/* Contenedor general */
body.woocommerce-checkout .woocommerce {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0px 20px;
}

/* Título principal de la página */
body.woocommerce-checkout h1,
body.woocommerce-checkout .entry-title {
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 45px;
    color: #111827;
}

/* Títulos de secciones */
body.woocommerce-checkout h3,
body.woocommerce-checkout #order_review_heading {
    font-size: 22px;
    line-height: 1.25;
    font-weight: 700;
    margin-bottom: 22px;
    color: #111827;
}

/************************************************************
 FORMULARIO DE FACTURACIÓN
************************************************************/

/* Separación de campos */
body.woocommerce-checkout .woocommerce form .form-row {
    margin-bottom: 18px;
    padding: 0;
}

/* Etiquetas más pequeñas y alineadas */
body.woocommerce-checkout .woocommerce form .form-row label {
    display: block !important;
    width: 100%;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 7px;
    letter-spacing: 0;
}

/* Asterisco obligatorio */
body.woocommerce-checkout abbr.required {
    color: #d62828;
    text-decoration: none;
    font-size: 13px;
}

/* Wrapper del input */
body.woocommerce-checkout .woocommerce-input-wrapper {
    display: block;
    width: 100%;
}

/* Campos de texto */
body.woocommerce-checkout .woocommerce input.input-text,
body.woocommerce-checkout .woocommerce textarea,
body.woocommerce-checkout .woocommerce select,
body.woocommerce-checkout .select2-container .select2-selection--single,
#order_comments {
    width: 100%;
    min-height: 46px;
    background: #f5f5f5 !important;
    border: 1px solid #001953 !important;
    border-radius: 8px !important;
    padding: 11px 14px !important;
    font-size: 14px !important;
    line-height: 1.4;
    color: #111827;
    box-shadow: none !important;
    transition: all 0.2s ease;
}

/* Placeholder */
body.woocommerce-checkout .woocommerce input.input-text::placeholder,
body.woocommerce-checkout .woocommerce textarea::placeholder,
#order_comments::placeholder {
    color: #000000;
    font-size: 14px;
}

/* Focus */
body.woocommerce-checkout .woocommerce input.input-text:focus,
body.woocommerce-checkout .woocommerce textarea:focus,
body.woocommerce-checkout .woocommerce select:focus,
body.woocommerce-checkout .select2-container--default .select2-selection--single:focus {
    background: #ffffff !important;
    border-color: #001953 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0, 137, 184, 0.12) !important;
}

/* Textarea de comentarios */
body.woocommerce-checkout .woocommerce textarea {
    min-height: 78px;
    resize: vertical;
}

/* Select2 país/región */
body.woocommerce-checkout .select2-container--default .select2-selection--single {
    display: flex;
    align-items: center;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 0;
    padding-right: 28px;
    font-size: 14px;
    color: #001953;
    line-height: normal;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    right: 10px;
}

/* Mejor alineación de campos en dos columnas */
body.woocommerce-checkout .form-row-first {
    width: calc(50% - 12px);
    margin-right: 24px;
}

body.woocommerce-checkout .form-row-last {
    width: calc(50% - 12px);
}

/************************************************************
 TABLA TU PEDIDO
************************************************************/

body.woocommerce-checkout table.shop_table {
    border: 1px solid #e5e7eb !important;
    border-radius: 10px;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
}

/* Cabecera tabla */
body.woocommerce-checkout table.shop_table thead th {
    background: #f8fafc;
    font-size: 14px;
    font-weight: 700;
    color: #000000;
    padding: 14px 16px;
    border-bottom: 1px solid #e5e7eb;
}

/* Celdas */
body.woocommerce-checkout table.shop_table td,
body.woocommerce-checkout table.shop_table th {
    padding: 14px 16px !important;
    font-size: 14px;
    line-height: 1.45;
    color: #000000;
    border-color: #e5e7eb !important;
}

/* Nombre del producto */
body.woocommerce-checkout table.shop_table .product-name {
    font-weight: 600;
}

/* Total */
body.woocommerce-checkout table.shop_table .order-total th,
body.woocommerce-checkout table.shop_table .order-total td {
    font-size: 16px;
    font-weight: 700;
    color: #000000;
}

/************************************************************
 INFORMACIÓN ADICIONAL
************************************************************/

body.woocommerce-checkout .woocommerce-additional-fields {
    margin-top: 28px;
}

body.woocommerce-checkout .woocommerce-additional-fields h3 {
    margin-bottom: 15px;
}

/************************************************************
 MÉTODOS DE PAGO Y BOTÓN
************************************************************/

body.woocommerce-checkout #payment {
    background: #f5f5f5 !important;
    border: none;
    border-radius: 10px;
    padding: 18px;
    margin-top: 22px;
}

body.woocommerce-checkout #payment ul.payment_methods {
    padding: 0 0 14px;
    border-bottom: 1px solid #e5e7eb;
}

body.woocommerce-checkout #payment ul.payment_methods li {
    font-size: 16px !important;
    line-height: 1.75em !important;
}
.woocommerce ul.order_details {
  margin: 0px !important;
}
/* Caja explicativa del método de pago */
body.woocommerce-checkout #payment div.payment_box {
    background: #ffffff !important;
    border-radius: 8px;
    color: #4b5563;
    font-size: 13px;
    line-height: 1.5;
    padding: 14px;
}

body.woocommerce-checkout #payment div.payment_box::before {
    display: none;
}

/* Texto legal */
.et_pb_wc_checkout_payment_info form  #payment .form-row {
    margin-top: 0px !important;
    font-size: 14px !important;
}
body.woocommerce-checkout .woocommerce-privacy-policy-text {
    font-size: 12.5px;
    line-height: 1.55;
    color: #6b7280;
}

/* Botón finalizar compra */
body.woocommerce-checkout #place_order {
    width: max-content;
    min-height: 48px;
    background: #001953 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 32px !important;
    padding: 10px 35px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.2;
    text-transform: none;
    letter-spacing: 0;
    transition: all 0.2s ease;
    float: none !important;
    margin-top: 1rem;
}
body.woocommerce-order-received .ocultofcompra{
    display: none !important;
}
body.woocommerce-checkout #place_order:hover {
    background: #001953 !important;
    transform: translateY(-1px);
}
body.woocommerce-order-received .et_pb_post_title_3{
    margin-bottom: 0px !important;
}
body.woocommerce-order-received .et_pb_row_11{
    padding-top: 0px !important;
}
body.woocommerce-order-received .et_pb_section_3{
    padding-bottom: 0px !important;
}
body.woocommerce-checkout h3, body.woocommerce-checkout #order_review_heading {
  margin-bottom: 0px !important;
}
.wc-block-cart-item__image img{
    display: none;
}
.wc-block-cart-item__image a img{
    display: block;
}
/************************************************************
 MENSAJES WOOCOMMERCE
************************************************************/

body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-message,
body.woocommerce-checkout .woocommerce-error {
    border: none;
    border-radius: 10px;
    padding: 15px 18px 15px 45px;
    font-size: 14px !important;
    line-height: 1.45em !important;
    
}
body.woocommerce-checkout .woocommerce-message .et_pb_custom_button_icon{
    background: #0081AB !important;
}
.woocommerce-form__label.woocommerce-form__label-for-checkbox.checkbox a{
    text-decoration: underline !important;
}
body.woocommerce-checkout .woocommerce-error a{
    color: #ffffff !important;
}
.acuabit-proteccion-datos-checkout{
    padding: 1rem 30px !important;
    max-width: 800px;
}
.acuabit-proteccion-datos-checkout p{
    padding-bottom: 0px;
    font-size: 12px !important;
    line-height: 1.7em;
    font-weight: normal;
}
/************************************************************
 RESPONSIVE
************************************************************/

@media (max-width: 980px) {

    body.woocommerce-checkout .form-row-first,
    body.woocommerce-checkout .form-row-last {
        width: 100%;
        margin-right: 0;
        float: none;
    }

    body.woocommerce-checkout h1,
    body.woocommerce-checkout .entry-title {
        font-size: 26px;
        margin-bottom: 30px;
    }

    body.woocommerce-checkout h3,
    body.woocommerce-checkout #order_review_heading {
        font-size: 20px;
    }
}

@media (max-width: 600px) {
    body.woocommerce-checkout .woocommerce {
        padding: 25px 15px;
    }
    body.woocommerce-checkout .woocommerce input.input-text,
    body.woocommerce-checkout .woocommerce textarea,
    body.woocommerce-checkout .woocommerce select,
    body.woocommerce-checkout .select2-container .select2-selection--single {
        min-height: 44px;
        font-size: 14px !important;
    }
    body.woocommerce-checkout table.shop_table td,
    body.woocommerce-checkout table.shop_table th {
        padding: 12px !important;
        font-size: 13px;
    }
    .cabeceramovil .et_pb_menu__logo img {
        max-width: 180px !important;
    }
    .topinfoayuda .et_pb_text_inner, .topinfoayuda .et_pb_link span{
        font-size: 12px !important;
    }
    .wp-pagenavi, .wp-pagenavi span, .wp-pagenavi a {
        font-size: 12px !important;
    }
    .wp-pagenavi a{
        padding: 3px 3px !important;
    }
}
@media(max-width:1279px){
    @media (min-width:981px) {
        .cabecera-web .et_flex_column_3_5 .topterapia, .cabecera-web .et_flex_column_3_5 .topinfoayuda, .cabecera-web .et_flex_column_3_5 .toprecepcion{
            max-width: 33.3%;
            overflow: hidden;
        }
        .cabecera-web .et_pb_image_wrap img{
            min-height: auto !important; 
        }
        .cabecera-web .email-cab .et-pb-icon{
            display: none;
        }  
        .cabecera-web .email-cab .et_pb_link_text{
            font-size: 12px !important;
        }
        .cabecera-web .et_pb_text p{
            font-size: 16px !important;
        } 
        .cabecera-web .et_pb_group .et_pb_group .et_pb_link .et_pb_link_text{
            font-size: 16px !important;
        }
        .cabecera-web .et_pb_group{
            --vertical-gap: 0px !important;
        }
        body #page-container .et_pb_section.cabecera-web .et-last-child .et_pb_button_module_wrapper .et_pb_button {
            font-size: 13px !important;
        }
        .cabecera-web .et-pb-icon {
            max-width: 14px;
            min-height: 14px;
            max-height: 14px;
            font-size: 14px !important;
        }
        .cabecera-web .et_pb_link_6_tb_header .et_pb_link_text{
            font-size: 14px !important;
        }
        .cabecera-web .et_pb_column_3_tb_header, .cabecera-web .et_pb_column_3_tb_header .et_pb_menu{
            width: 100% !important;
        }
        #menu-menu-principal li a{
            font-size: 14px !important;
        }
        #menu-menu-principal li {
            padding-left: 5px !important;
            padding-right: 5px !important;
        }
        .et-menu .menu-item-has-children > a:first-child {
            padding-right: 15px;
        }
    }
}
@media(max-width: 400px){
    #main-header #et-top-navigation {
        padding: 0.5em 5px !important;
        gap: 10px;
    }
}