/*
 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
*/
 
/* =Theme customization starts here
------------------------------------------------------- */
/*--Generales--*/
sup{
    font-size: 0.6rem;
}
/*----- BANNER COOKIES -----*/
html.show--consent .btnpref,
html.show--preferences .btnpref {
    display: none;
}
#menu-menu-principal .sub-menu, #menu-menu-principal .sub-menu li, #menu-menu-principal .sub-menu li a {
    width: max-content;
    display: block;
}
#menu-menu-principal .sub-menu li a{
    font-size: 16px !important;
    line-height: 1.3em !important;
}
#menu-menu-principal .sub-menu{
    list-style: none;
}
/*Header*/
@media (min-width:981px) {
    .cabecera-web .et_pb_blurb_container{
        padding-left: 0px !important;
    }
    .cabecera-web .et_pb_main_blurb_image{
        max-width: 20px !important;
    }
    .cabecera-web .et_pb_blurb_container{
        padding-left: 5px !important;
    }
    .vermovil{
        display: none !important;
    }
    .et-l--header > .et_builder_inner_content .et_pb_section.et_pb_section_0_tb_header.et-fixed-header {
        position: fixed;
        width: 100%;
        background-color: #ffffff !important;
        box-shadow: 2px 2px 0.35rem rgba(0,0,0,0.25);
    }
    body.logged-in .et-l--header > .et_builder_inner_content .et_pb_section.et_pb_section_0_tb_header.et-fixed-header {
        top: 32px;
    }
    .cabecera-web.et-fixed-header .et_pb_column{
        --vertical-gap: 0px;
    }
    .cabecera-web.et-fixed-header .et_pb_group{
        --vertical-gap: 2.5px;
    }
    .cabecera-web.et-fixed-header .et_pb_column img{
            max-height: 60px;
            width: auto;
    }
    body #page-container .et_pb_section.cabecera-web.et-fixed-header .et_pb_button, .cabecera-web.et-fixed-header .et-pb-icon, .cabecera-web.et-fixed-header .et_pb_blurb_description, .cabecera-web.et-fixed-header .et_pb_text_inner, .cabecera-web.et-fixed-header .et_pb_link_inner{
        font-size: 14px !important;
    }
    body #page-container .et_pb_section.cabecera-web.et-fixed-header .et_pb_button{
        padding: 2.5px 10px !important;
    }
    .cabecera-web.et-fixed-header{
        --vertical-gap: 5px;
    }
}
.btnpref {
    position: fixed;
    z-index: 99999999999;
    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;
        }
    }
}
/*--BLOG--*/

/*--Página de inicio--*/
.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 .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);
}
.destacadoh .et_pb_row:first-child {
  position: relative;
}
/*Propductos*/
.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;
}
/*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;
}
/*--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:1360px){
    @media(min-width:981px){
        .cabecera-web .et_pb_blurb_description{
            
        }
        .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){
    .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{
        display: 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);       
    }
    .cabecera-web .mobile_nav{
        display: flex;
        border: 1px solid #001953;
        border-radius: 12px;360
    }
    .cabecera-web .mobile_nav::before {
        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;
    }
    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;
    }
}
@media(max-width: 767px){
    .heroh .et_pb_slider .et_pb_slider_container_inner {
        vertical-align: bottom;
        padding-top: 0px;
        padding-bottom: 1em;
    }
    .btnpref {
        bottom: 35px !important;
    }
    .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;
    }
    .topterapia.et-fixed-header{
        top: 60px;
    }
    .topinfoayuda.et-fixed-header{
        top: 80px;
        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;
    }
}
/*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{
        font-size: 12px !important;
    }
}