/*
Theme Name: Centro Médico OSI
Theme URI: 
Author: Andree Sabas
Author URI: https://www.andreesabas.me/
Description: Este tema pertenece al Centro Médico OSI
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 5.7
Version: 1.0.24
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfour
Text Domain: centro-medico-osi
Tags: blog, news, portfolio, one-column, wide-blocks, accessibility-ready, block-patterns, block-styles, custom-colors, custom-logo, custom-menu, editor-style, featured-images, full-site-editing, rtl-language-support, sticky-post, style-variations, threaded-comments, translation-ready, 
*/

a {
    text-decoration: none;
}

.entry-content {
    margin-top: 0;
}

.site__logo {
    min-width: 115px;
}

.site__header {
    position: relative;
    padding-top: 16px !important;
    padding-bottom: 16px !important;
}

:where(.wp-site-blocks *:focus) {
    outline-color: var(--wp--preset--color--blue-1);
}

header.wp-block-template-part {
    box-shadow: 0px 5px 5px rgba(185, 185, 185, 0.25);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 99999999;
}

.logged-in header.wp-block-template-part {
    top: 32px;
}

@media only screen and ( max-width: 1024px ) {
    .logged-in header.wp-block-template-part {
        top: 0;
    }
}


main.wp-block-group {
    margin-block-start: 0;
    padding-top: 64px !important;
}

.logos__carousel .slick-track {
    display: flex;
    align-items: center;
}

.logos__carousel img {
    filter: grayscale(1);
}

.logos__carousel img:hover {
    filter: none;
}


.wp-block-cb-carousel.testimonial__carousel .slick-slide {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}


.card__testimonial {
    position: relative;
    margin-top: 70px;
}

.card__testimonial-figure {
    position: absolute;
    top: -70px;
    margin: 0 auto;
    left: auto;
    right: auto;
    display: block;
    width: 100%;
}

.card__testimonial-content {
    padding-top: calc(32px + 50px) !important;
}

.card__tratamiento:hover {
    background-color: var(--wp--preset--color--skyblue);
}

.sedes__buttons.uagb-buttons__outer-wrap .uagb-buttons__wrap .wp-block-button {
    width: calc(50% - 20px);
}

.sedes__buttons.uagb-buttons__outer-wrap .uagb-buttons__wrap .wp-block-button__link {
    justify-content: left;
    gap: 14px;
}

.sedes__buttons.uagb-buttons__outer-wrap .uagb-buttons__wrap .wp-block-button__link:before {
    content: '';
    display: block;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='currentColor' class='size-6'><path stroke-linecap='round' stroke-linejoin='round' d='M15 10.5a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z' /><path stroke-linecap='round' stroke-linejoin='round' d='M19.5 10.5c0 7.142-7.5 11.25-7.5 11.25S4.5 17.642 4.5 10.5a7.5 7.5 0 1 1 15 0Z' /></svg>");
    background-repeat: no-repeat;
    height: 24px;
    width: 24px;
    filter: brightness(0) saturate(100%) invert(21%) sepia(91%) saturate(2046%) hue-rotate(197deg) brightness(95%) contrast(101%);
}

.sedes__buttons.wp-block-uagb-buttons .uagb-buttons-repeater .uagb-button__icon-position-before {
    margin-bottom: 3px;
}

.sedes__carousel .slick-dots {
    display: flex;
    justify-content: center;
    bottom: 0;
    gap: 10px;
}

.sedes__carousel .slick-dots li button:before {
    content: '';
    background-color: #ffffff;
    border-radius: 4px;
    opacity: 1;
    padding: 0;
    width: 26px;
    height: 8px;
    border: none;
}
.sedes__carousel .slick-dots li.slick-active button:before {
    background-color: var(--wp--preset--color--blue-1);
}


.menu__icons .wp-block-navigation-item__content {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.menu__icons .wp-block-navigation-item__content:before {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    background-size: cover;
    filter: brightness(0) saturate(100%) invert(12%) sepia(15%) saturate(7500%) hue-rotate(189deg) brightness(102%) contrast(104%);
}



.menu__icons .ico-shield .wp-block-navigation-item__content:before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-6" width="14" height="14"><path stroke-linecap="round" stroke-linejoin="round" d="M9 12.75 11.25 15 15 9.75m-3-7.036A11.959 11.959 0 0 1 3.598 6 11.99 11.99 0 0 0 3 9.749c0 5.592 3.824 10.29 9 11.623 5.176-1.332 9-6.03 9-11.622 0-1.31-.21-2.571-.598-3.751h-.152c-3.196 0-6.1-1.248-8.25-3.285Z" /></svg>');
}

.menu__icons .ico-letter .wp-block-navigation-item__content:before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-6" width="14" height="14"><path stroke-linecap="round" stroke-linejoin="round" d="M21.75 9v.906a2.25 2.25 0 0 1-1.183 1.981l-6.478 3.488M2.25 9v.906a2.25 2.25 0 0 0 1.183 1.981l6.478 3.488m8.839 2.51-4.66-2.51m0 0-1.023-.55a2.25 2.25 0 0 0-2.134 0l-1.022.55m0 0-4.661 2.51m16.5 1.615a2.25 2.25 0 0 1-2.25 2.25h-15a2.25 2.25 0 0 1-2.25-2.25V8.844a2.25 2.25 0 0 1 1.183-1.981l7.5-4.039a2.25 2.25 0 0 1 2.134 0l7.5 4.039a2.25 2.25 0 0 1 1.183 1.98V19.5Z" /></svg>');
}

.menu__icons .ico-book .wp-block-navigation-item__content:before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-6" width="14" height="14"><path stroke-linecap="round" stroke-linejoin="round" d="M12 6.042A8.967 8.967 0 0 0 6 3.75c-1.052 0-2.062.18-3 .512v14.25A8.987 8.987 0 0 1 6 18c2.305 0 4.408.867 6 2.292m0-14.25a8.966 8.966 0 0 1 6-2.292c1.052 0 2.062.18 3 .512v14.25A8.987 8.987 0 0 0 18 18a8.967 8.967 0 0 0-6 2.292m0-14.25v14.25" /></svg>');
}

.menu__icons .ico-document .wp-block-navigation-item__content:before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-6" width="14" height="14"> <path stroke-linecap="round" stroke-linejoin="round" d="M11.35 3.836c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75 2.25 2.25 0 0 0-.1-.664m-5.8 0A2.251 2.251 0 0 1 13.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m8.9-4.414c.376.023.75.05 1.124.08 1.131.094 1.976 1.057 1.976 2.192V16.5A2.25 2.25 0 0 1 18 18.75h-2.25m-7.5-10.5H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V18.75m-7.5-10.5h6.375c.621 0 1.125.504 1.125 1.125v9.375m-8.25-3 1.5 1.5 3-3.75" /></svg>');
}

.menu__icons .ico-instagram .wp-block-navigation-item__content:before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14px" height="14px" viewBox="0 0 14 14"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="M10.333 3.644a.25.25 0 1 1 0-.5m0 .5a.25.25 0 1 0 0-.5"/><path d="M.858 3.431A2.573 2.573 0 0 1 3.431.858h6.862a2.573 2.573 0 0 1 2.573 2.573v6.862a2.573 2.573 0 0 1-2.573 2.573H3.43a2.573 2.573 0 0 1-2.573-2.573V3.43Z"/><path d="M4.312 6.862a2.55 2.55 0 1 0 5.1 0a2.55 2.55 0 1 0-5.1 0"/></g></svg>');
}

.menu__icons .ico-facebook .wp-block-navigation-item__content:before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14px" height="14px" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"><path d="M21 8v8a5 5 0 0 1-5 5H8a5 5 0 0 1-5-5V8a5 5 0 0 1 5-5h8a5 5 0 0 1 5 5"/><path d="M11 21v-9c0-2.187.5-4 4-4m-6 5h6"/></g></svg>');
}

.menu__icons .ico-youtube .wp-block-navigation-item__content:before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14px" height="14px" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.5"><path fill="currentColor" stroke-linecap="round" stroke-linejoin="round" d="m14 12l-3.5 2v-4z"/><path d="M2 12.708v-1.416c0-2.895 0-4.343.905-5.274c.906-.932 2.332-.972 5.183-1.053C9.438 4.927 10.818 4.9 12 4.9s2.561.027 3.912.065c2.851.081 4.277.121 5.182 1.053S22 8.398 22 11.292v1.415c0 2.896 0 4.343-.905 5.275c-.906.931-2.331.972-5.183 1.052c-1.35.039-2.73.066-3.912.066s-2.561-.027-3.912-.066c-2.851-.08-4.277-.12-5.183-1.052S2 15.602 2 12.708Z"/></g></svg>');
}

.menu__icons .wp-block-navigation-item__content .wp-block-navigation-item__label {
    width: calc(100% - 24px);
}

.wp-block-outermost-icon-block {
    align-items: center;
}

.overlay__menu-button-close {
    display: none;
}

.overlay__menu-button:after {
    content: '';
    display: inline-block;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"></path></svg>');
    background-size: cover;
    width: 24px;
    height: 24px;
    filter: brightness(0) saturate(100%) invert(24%) sepia(92%) saturate(1904%) hue-rotate(197deg) brightness(89%) contrast(101%);
}

.wp-block-quote {
    padding: 0;
    font-style: normal;
}

footer.wp-block-template-part {
    margin-top: 0;
}

@media only screen and ( max-width: 768px ) {

    .site__logo img {
        max-height: 32px;
        max-width: 90px;
    }

    .card__especialidad {
        position: relative;
        display: flex;
        align-items: flex-start;
        min-height: 158px !important;
        gap: 16px !important;
    }
    
    .card__especialidad > * {
        margin-block-start: 0 !important;
    }

    .card__especialidad > .card__especialidad-title {
        font-size: 16px;
    }

    .card__especialidad > .card__especialidad-image {
        margin-right: 0 !important;  
        max-width: 126px;
    }

    .card__especialidad > .card__especialidad-button {
        position: absolute;
        bottom: 16px;
    }

    footer.wp-block-template-part .section__copyright {
        flex-direction: column;
    }

    footer.wp-block-template-part .section__copyright p {
        text-align: center;
    }

    .wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid {
        grid-template-columns: 1fr;
    }

    .mobile__fisioterapia {
        display: flex;
        gap: 1rem;
        align-items: center;  
        
    }

    .mobile__fisioterapia:last-child{
        border-bottom: 0
    }

    .mobile__fisioterapia-imagen {
        padding: 1.5rem 1rem;
    }
    
    .mobile__fisioterapia-imagen img {
        min-width: 72px;
    }

    .mobile__fisioterapia-contenido {
        margin-top: 0;
    }

    .mobile__fisioterapia-titulo.has-regular-font-size {
        font-size: 18px !important;
    }    

    .mobile__fisioterapia-texto {
        margin-top: 1rem;
    }

    .mobile__fisioterapia-wrapper > .wp-block-column .mobile__fisioterapia {
        border-bottom: 1px solid var(--wp--preset--color--gray) !important;
    }
    
    .mobile__fisioterapia-wrapper > .wp-block-column:last-child .mobile__fisioterapia {
        border-bottom: 0 !important;
    }

    .block-mobile-inverso > .wp-block-column:first-child {
        order: 2;
    }
    
    .block-mobile-inverso > .wp-block-column:last-child {
        order: 1;
    }
}

.card_staff .wp-block-details {
    font-weight: 700;
}

.card_staff .wp-block-details summary {
    position: relative;
}

.card_staff .wp-block-details summary:focus {
    outline: none;
}

.card_staff .wp-block-details[open] {
    border: 0;
}

.card_staff .wp-block-details summary + * {
    color: var(--wp--preset--color--blue-6);
    font-weight: 400;
}

.main__banner .wp-block-columns > .wp-block-column:empty {
    display: none;
}


.wp-block-columns.columns__especialidades {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}
  
 @media (max-width: 768px) {
    .wp-block-columns.columns__especialidades {
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
    }
}

@media only screen and (max-width: 1024px) {    

    ul.menu__main-navigation {
        gap: 0;
    }

    nav.menu__main-navigation .wp-block-navigation-item {
        width: 100%;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }    

    nav.menu__main-navigation .wp-block-navigation-item.has-child > a {
        width: calc(100% - 64px);
    }

    nav.menu__main-navigation .wp-block-navigation-item.has-child>button {
        padding-right: 30px;
        width: 64px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 60px;
        margin-left: 0;
        border-top: 1px solid #e3e3e3;
    }

    nav.menu__main-navigation .wp-block-navigation-item.has-child>button svg {
        width: 24px;
        height: 24px;
    }

    nav.menu__main-navigation .wp-block-navigation-item > a {        
        box-sizing: border-box;
        width: 100%;
        padding: 20px 30px;
        font-size: 12px;
        font-weight: 400;
        border-top: 1px solid #e3e3e3;
        min-height: 60px;
    }

    nav.menu__main-navigation .has-child .wp-block-navigation__submenu-container {
        position: relative;
        height: unset;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
    }    

    nav.menu__main-navigation .has-child .wp-block-navigation__submenu-container.is__active {
        opacity: 1;
        overflow: unset;
        width: 100%;
        top: unset;
        visibility: unset;
        border: 0;
    }

    .wp-block-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded=true]~.wp-block-navigation__submenu-container, 
    .wp-block-navigation .has-child:not(.open-on-click):hover>.wp-block-navigation__submenu-container, 
    .wp-block-navigation .has-child:not(.open-on-click):not(.open-on-hover-click):focus-within>.wp-block-navigation__submenu-container {
        height: unset;
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
    }

    .menu__main-navigation .has-child .wp-block-navigation__submenu-container {
        width: 100% !important;
    }

    .menu__main-navigation .has-child .wp-block-navigation__submenu-container > .wp-block-navigation-item > a {
        padding-left: 42px;
    }

    .menu__main-navigation .has-child > .wp-block-navigation-submenu__toggle > svg {
        transition: transform .5s ease;
    }

    .menu__main-navigation .has-child.is__active > .wp-block-navigation-submenu__toggle > svg{
        transform: rotate(-180deg);
    }


    .menu__main-navigation .has-child .wp-block-navigation-submenu.is__active {
        border-top: 0;
        border-bottom: 0;
        max-height: fit-content;
        height: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
        overflow: auto !important;
    }

    footer.wp-block-template-part .wp-block-columns.columns__menus {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        grid-template-areas: 
        "item1 item2"
        "item1 item3";
    }
    
    
    footer.wp-block-template-part .wp-block-columns.columns__menus > .wp-block-column:first-child {
         grid-area: item1;
    }

    footer.wp-block-template-part .wp-block-columns.columns__menus > .wp-block-column:nth-child(2) {
        grid-area: item2;
    }

    footer.wp-block-template-part .wp-block-columns.columns__menus > .wp-block-column:nth-child(4) {
        grid-area: item3;
    }

    .mobile__menu-background {
        position: fixed;
        background-color: rgba(0,0,0,.3);
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transition: opacity .3s ease-in-out;
    }
    
    .mobile__menu-background.is__active {
        opacity: 1;
        visibility: visible;
        max-height: unset;
        overflow: unset;
    }
}

@media only screen and ( max-width: 480px ) {

    .main__banner {
        min-height: 435px !important;
    }

    .internal-banner {
        min-height: 280px !important;
    }

    .internal-banner .wp-block-cover__image-background{
        object-position: 50% 50%;
    }

    .main__banner .wp-block-columns,
    .internal-banner .wp-block-columns {
        max-width: 230px;
        margin-left: 0 !important;
    } 

    .block-testimonio {
        position: relative;
    }

    .block-testimonio .wp-block-outermost-icon-block {
        position: absolute;
        top: -10px;
    }

    .block-testimonio p {
        padding-left: 35px;
        padding-right: 35px;
        text-align: center;
    }

    body .is-layout-flow .mobile__negative-margin,
    .single .wp-block-image {
        margin-left: -1rem !important;
        margin-right: -1rem !important;
    }

    .block__social {
        display: block !important;
        text-align: center;
        padding-bottom: 40px !important;
    }

    .block__social  .wp-block-uagb-social-share {
        margin-top: 20px;
    }

    .seccion__mapas {
        padding-right: 0 !important;
    }
}

@media only screen and ( min-width: 769px ) {
    .text__copyright br {
        display: none;
    }
    
    .text__copyright mark {
        border-right: 1px solid var(--wp--preset--color--blue-6);
        padding-right: 5px;
    }
}

.menu__overlay:not(ul) {
    background-color: #ffffff;
    position: absolute;
    width: 100vw;
    top: 62px;
    left: -16px;
    z-index: 999999;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.menu__overlay:not(ul).is__active {
    max-height: 100vh;
    opacity: 1;
    visibility: visible;
    overflow: unset;
}

.wp-block-navigation a:hover {
    text-decoration: none;
}

@media only screen and (  min-width: 1025px ) {

    .site__header {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .menu__main-navigation > .wp-block-navigation__container > .wp-block-navigation-item > a {
        padding-top: 24px;
        padding-bottom: 24px;
        border-bottom: 2px solid transparent;
    }

    .menu__main-navigation > .wp-block-navigation__container > .wp-block-navigation-item:hover > a{
        border-color: currentColor;
    }

    .menu__main-navigation > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation__submenu-icon {
        width: 1rem;
        height: 1rem;
        margin-bottom: 3px
    }
    
    .menu__main-navigation > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation__submenu-icon svg {
        width: 16px;
        height: 16px;
    }

    .menu__main-navigation .wp-block-navigation__submenu-container > .wp-block-navigation-item > a {
        padding: 16px 30px;
        font-weight: 400;
        border-bottom: 1px solid var(--wp--preset--color--gray);
    }

    .menu__main-navigation .wp-block-navigation__submenu-container > .wp-block-navigation-item:hover > a {
        background-color: var(--wp--preset--color--skyblue);
    }
    
    nav.menu__main-navigation.menu__overlay {
        opacity: 1;
        max-height: unset;
        visibility: visible;
        overflow: unset;
        position: relative;
        top: unset;
        left: unset;
        width: auto;
    }

    .menu__overlay:not(ul):not(nav.menu__main-navigation) {
        top: 58px;
        left: unset;
        max-width: 414px;
        right: -16px;
    }
}

.button__user-toggle {
    cursor: pointer;
}

.menu__appointments .wp-block-button,
.menu__user .wp-block-button {
    width: 100% !important;

}

.menu__appointments .wp-block-button__link,
.menu__user .wp-block-button__link {
    justify-content: space-between;
    width: 100%;
    text-align: left;
}

.menu__appointments .wp-block-button__link:focus,
.menu__user .wp-block-button__link:focus {
    outline: none;
}

.mobile.dropdown__sedes-wrapper.wp-block-group {
    margin-left: -1rem !important;
    margin-right: -1rem !important;
}

.dropdown__sedes-button {
    cursor: pointer;
}

.dropdown__sedes-button.is__active > .wp-block-outermost-icon-block {
    transform: rotate(-180deg);
}


.dropdown__sedes-options {
    max-height: 0;
    visibility: hidden;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.dropdown__sedes-options.is__active {
    max-height: 400px;
    visibility: visible;
    opacity: 1;
    overflow: unset;
}

.dropdown__sedes-options .wp-block-navigation__container,
.dropdown__sedes-options .wp-block-navigation-item {
    width: 100%
}

.dropdown__sedes-options .wp-block-navigation-item__content {
    border-top: 1px solid var(--wp--preset--color--gray);
    padding: 8px 30px;
    width: 100%;
}

@media only screen and ( min-width: 769px ) {
    .wp-block-columns.columns__especialidades.only-mobile {
        display: flex;
    } 
 }
 

@media only screen and ( min-width: 800px ) {
    .seccion__mapas {
        max-height: 857px;
        overflow-y: scroll;
    }
}

.block__tags .wp-block-post-terms {
    font-size: 12px;
}

.block__tags .wp-block-post-terms a {
    border: 0;
    padding: 4px 8px;
    border-radius: 8px;
    background-color: #EEF9FF;
    margin-bottom: 8px;
}

.block__tags .wp-block-post-terms a:hover {
    text-decoration: none
}

.wpcf7-form {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 24px;
}

.form__control:not(input[type=checkbox]):not(input[type=radio]) {
    display: block;
    width: 100%;
    border-radius: 16px;
    background-color: white;
    padding: 8px 16px;
    border: 1px solid #e3e3e3;
    font-size: 12px;
    line-height: 18px;
    box-sizing: border-box;
    font-family: inherit;
}

.wpcf7-radio .wpcf7-list-item,
.wpcf7-checkbox .wpcf7-list-item,
.wpcf7-acceptance .wpcf7-list-item {
    margin-left: 0;
    position: relative;
    margin-bottom: 10px;
}

.wpcf7-radio .wpcf7-list-item input + .wpcf7-list-item-label:before,
.wpcf7-checkbox .wpcf7-list-item input + .wpcf7-list-item-label:before,
.wpcf7-acceptance .wpcf7-list-item input + .wpcf7-list-item-label:before {
    width: 24px;
    height: 24px;
    display: block;
    background: white;
    border: 1px solid var(--wp--preset--color--blue-6);
    position: absolute;
    left: 0;
    top: -3px;
    border-radius: 8px;
}

.wpcf7-radio  .wpcf7-list-item input:checked + .wpcf7-list-item-label:after,
.wpcf7-checkbox  .wpcf7-list-item input:checked + .wpcf7-list-item-label:after,
.wpcf7-acceptance  .wpcf7-list-item input:checked + .wpcf7-list-item-label:after {
    content: '';
    display: block;
    width: 26px;
    height: 26px;
    position: absolute;
    left: 1px;
    top: -2px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14px" height="14px" viewBox="0 0 24 24"><path fill="currentColor" d="m9.55 18l-5.7-5.7l1.425-1.425L9.55 15.15l9.175-9.175L20.15 7.4z"/></svg>');
    background-size: cover;
    filter: brightness(0) saturate(100%) invert(38%) sepia(63%) saturate(1947%) hue-rotate(119deg) brightness(97%) contrast(101%);  
}

.wpcf7-acceptance .wpcf7-list-item input + .wpcf7-list-item-label:before {
    top: -5px
}

.wpcf7-acceptance  .wpcf7-list-item input:checked + .wpcf7-list-item-label:after {
    top: -4px;
}

.wpcf7-radio .wpcf7-list-item > label,
.wpcf7-checkbox .wpcf7-list-item > label,
.wpcf7-acceptance .wpcf7-list-item > label {
    display: flex;
    gap: 16px;
    align-items: center;
    font-size: 14px;
    font-weight: 400;
}

.wpcf7-radio .wpcf7-list-item > label > input,
.wpcf7-checkbox .wpcf7-list-item > label > input,
.wpcf7-acceptance .wpcf7-list-item > label > input {
    margin-top: 0;
    opacity: 0;
}

.wpcf7-acceptance .wpcf7-list-item > label {
    font-size: 12px;
}

.wpcf7-acceptance .wpcf7-list-item > label a {
    color: var(--wp--preset--color--blue-6);
    font-weight: 700;
}

.form__submit {
    width: 100%;
    color: white;
    appearance: none;
    background-color:  var(--wp--preset--color--blue-1);
    border: 1px solid var(--wp--preset--color--blue-1);
    padding: 8px 10px;
    border-radius: 16px;
    font-family: inherit;
    font-weight: 600;
    font-size: 12px;
    line-height: 18px;
    cursor: pointer;
}

.form__submit:hover,
.form__submit:focus {
    background-color: white;
    color: var(--wp--preset--color--blue-1);
}

.form__width-auto {
    width: auto;
    min-width: 105px;
}


.wpcf7-form .red {
    color: red;
}

.wpcf7-form label {
    font-size: 12px;
    font-weight: 600;
}

.wpcf7-form p {
    margin-top: 0;
}

.wpcf7-form .form__paragraph {
    font-weight: 600
}

.wpcf7-form .obligatorio {
    font-size: 12px;
}

.wpcf7-form .form__radio,
.wpcf7-form .form__control-checkbox {
    display: flex;
    justify-content: space-between;
}

.wpcf7-form .form__columns {
    display: flex;
    gap: 24px;
}

.wpcf7-form .form__columns > .form__column {
    flex-basis: 0;
    flex-grow: 1;
}

@media only screen and ( max-width: 400px ) {
    .wpcf7-acceptance .wpcf7-list-item input + .wpcf7-list-item-label:before {
        top: 0;
    }

    .wpcf7-acceptance  .wpcf7-list-item input:checked + .wpcf7-list-item-label:after {
        top: 0px;
    }
}

@media only screen and ( max-width: 480px ) {
    .wpcf7-form .form__radio, 
    .wpcf7-form .form__control-checkbox {
        flex-wrap: wrap;
        row-gap: 16px;
    }

    .wpcf7-form .form__radio .wpcf7-list-item, 
    .wpcf7-form .form__control-checkbox .wpcf7-list-item {
        flex-basis: 50%;
        margin-bottom: 0;
    }
}

@media only screen and ( max-width: 768px ) {

    .wpcf7-form .form__columns {
        flex-wrap: wrap;
    }
    
    .wpcf7-form .form__columns > .form__column {
        flex-basis: 100%;
        width: 100%;
        flex-grow: unset;
    }
}

.has__image-absolute {
    position: relative;
    overflow-x: hidden;
}

.has__image-absolute > h2,
.has__image-absolute > p {
    padding-right: 120px;
}

.has__image-absolute .uagb-buttons__wrap{
    justify-content: flex-start !important;
}

.has__image-absolute > *:not(.image__blog-absolute) {
    position: relative;
    z-index: 2;
}

.image__blog-absolute img {
    z-index: 1;
    position: absolute;
    bottom: 0px;
    right: -60px;
    width: 75%;
}

.image__blog-absolute .wp-block-image {
    margin-block-start: 0 !important;
}

@media only screen and ( min-width: 480px ) {

    .has__image-absolute {
        overflow-x: unset;
    }
    
    .image__blog-absolute img {
        right: 0;
        width: 60%;
        max-width: 363px;
    }
}

@media only screen and ( min-width: 768px ) {

    .has__image-absolute {
        overflow-x: unset;
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }
    
    .image__blog-absolute img {
        right: 0;
        width: 100%;
        max-width: 363px;
    }

    .has__image-absolute > *:not(.image__blog-absolute) {
        max-width: 50%;
        margin-left:0 !important;
    }
    
}

@media only screen and ( min-width: 1366px ) {

    .has__image-absolute {
        padding-top: 49px !important;
        padding-bottom: 48px !important;
    }
    
}

@media (min-width: 1025px) {
    body .uag-hide-desktop.uagb-google-map__wrap,body .uag-hide-desktop {
        display:none !important
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    body .uag-hide-tab.uagb-google-map__wrap,body .uag-hide-tab {
        display:none !important
    }
}

@media (max-width: 767px) {
    body .uag-hide-mob.uagb-google-map__wrap,body .uag-hide-mob {
        display:none !important
    }
}

input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
    -webkit-appearance: none;
}

select { 
    appearance: none;
    -moz-appearance: none; 
    -webkit-appearance: none; 
} 

span:has(.form__control) {
    position: relative;
}

span:has(.form__control):after {
    content: '';
    display: block;
    position: absolute;
    right: 16px;
    top: 34px;
    width: 16px;
    height: 16px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    filter: brightness(0) saturate(100%) invert(9%) sepia(35%) saturate(5286%) hue-rotate(197deg) brightness(102%) contrast(99%);
}

span:has(.form__date):after {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="15px" height="15px" viewBox="0 0 24 24"><g fill="none"><rect width="18" height="15" x="3" y="6" stroke="currentColor" stroke-width="2" rx="2"/><path fill="currentColor" d="M3 10c0-1.886 0-2.828.586-3.414C4.172 6 5.114 6 7 6h10c1.886 0 2.828 0 3.414.586C21 7.172 21 8.114 21 10z"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M7 3v3m10-3v3"/></g></svg>')
}

span:has(.form__phone):after {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="15px" height="15px" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-width="2" d="m17.707 13.707l2.648 2.648a.912.912 0 0 1 0 1.29a5.471 5.471 0 0 1-7.151.508l-1.575-1.182a22.996 22.996 0 0 1-4.6-4.6l-1.182-1.575a5.471 5.471 0 0 1 .508-7.151a.912.912 0 0 1 1.29 0l2.648 2.648a1 1 0 0 1 0 1.414L9.272 8.728a.533.533 0 0 0-.1.616a12.262 12.262 0 0 0 5.484 5.484a.533.533 0 0 0 .616-.1l1.02-1.02a1 1 0 0 1 1.415 0Z"/></svg>');
}

span:has(.form__cell):after {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="15px" height="15px" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M5 1.5h6a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V2a.5.5 0 0 1 .5-.5M3 2a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2zm5 11a1 1 0 1 0 0-2a1 1 0 0 0 0 2" clip-rule="evenodd"/></svg>')
}

span:has(.form__email):after {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="15px" height="15px" viewBox="0 0 24 24"><path fill="currentColor" d="M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2zm-2 0l-8 5l-8-5zm0 12H4V8l8 5l8-5z"/></svg>')
}

span:has(.form__select):after {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="15px" height="15px" viewBox="0 0 512 512"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="48" d="m112 184l144 144l144-144"/></svg>')
}

.bubble {
    position: fixed;
    z-index: 9999999;
    right: 5vw;
    bottom: 5vh;
}

.bubble__button {
    appearance: none;
    border: none;
    background-color: var(--wp--preset--color--green-1);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: box-shadow .3s linear, transform .3s linear;
}

.bubble__menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.bubble__menu-item {
    margin: 0 0 16px 0;
    text-align: right;
}

.bubble__menu-item a {
    font-size: 12px;
    font-weight: 600;
    color: white;
    background-color: var(--wp--preset--color--green-1);
    padding: 8px;
    border-radius: 8px;
}

.bubble__menu-item a svg {
    margin-bottom: -3px;
}

svg {
    display: inline-block;
}

.bubble__content {    
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    height: 0;
    transition: opacity 0.3s linear;
}

.bubble__content.is__active {
    opacity:1;
    visibility: visible;
    overflow: unset;
    height: auto;
}

.bubble__trigger {
    display: flex;
    justify-content: flex-end;
}

.bubble__trigger.is__active .bubble__button {
    box-shadow: none;
    transform: rotate(45deg);
}

.staff__accordion-button {
    cursor: pointer;
}

.staff__accordion-button .icon-container {
    transition: transform .3s ease;
}

.staff__accordion-button.is__active .icon-container {
    transform: rotate(-180deg);
}

.staff__accordion-content {
    max-height: 1px;
    visibility: hidden;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    border-bottom: 1px solid var(--wp--preset--color--blue-1);
}

.staff__accordion-content.is__active {
    max-height: 500px; 
    overflow: unset;
    opacity: 1;
    visibility: visible;
}

.wp-block-post-excerpt__more-link {
    font-size: 18px;
    font-weight: 600;
    line-height: 27px;
    border-bottom: 1px solid currentColor;
}

.wp-block-post-excerpt__more-link:after {
    content: '';
    display: inline-block;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="13px" height="13px" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m19 12l-6-6m6 6l-6 6m6-6H5"/></svg>');
    margin-left: 10px;
    background-repeat: no-repeat;
    background-size: contain;
    width: 24px;
    height: 24px;
    vertical-align: middle;
    filter: brightness(0) saturate(100%) invert(40%) sepia(88%) saturate(1672%) hue-rotate(117deg) brightness(94%) contrast(103%);
}

.limit__characters {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2; /* Limita a dos líneas */
  line-height: 18px; /* Ajusta según la altura de línea de tu texto */
  max-height: 36px;
}

.map__buttons .wp-block-outermost-icon-block {
    border: 1px solid var(--wp--preset--color--blue-1);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post__sticky {
    float: right;
    top: 120px !important;
}