/*
Theme Name: Hello Graphica - Grupo Francis
Template: hello-elementor
Author: Graphica Digital Projects
Description: Theme for Elementor page builder
Tags: flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.1
Updated: 06-12-23 16:12:00
*/

/* Scrollbar */
:root {
    --scrollbar-width: 6px;
    --scrollbar-track-color: #dbdbdb;
    --scrollbar-thumb-color: #0f40bd;
    --scrollbar-thumb-color-hover: #0066ff;
}

.gr-ods__content,
.gr-fundacion__accordion{
    --scrollbar-thumb-color: #CDCDCD;
}

/* Estilo del contenedor que contendrá el scroll */
* {
    scrollbar-width: var(--scrollbar-width);
}

/* Estilo de la barra de desplazamiento */
*::-webkit-scrollbar {
    width: var(--scrollbar-width);
}

/* Estilo del riel de la barra de desplazamiento */
*::-webkit-scrollbar-track {
    background-color: var(--scrollbar-track-color);
}

/* Estilo del pulgar de la barra de desplazamiento */
*::-webkit-scrollbar-thumb {
    background-color: var(--scrollbar-thumb-color);
}

/* Estilo del pulgar de la barra de desplazamiento cuando se pasa el ratón por encima */
*::-webkit-scrollbar-thumb:hover {
    background-color: var(--scrollbar-thumb-color-hover);
}


.form-corto {
    --color-label: white !important;
    --color-label-activo: white !important;
    --warning-border-field: rgba(255,255,255,.5) !important;
    --color-input: white !important;
    --color-border-input-activo: white !important;
    --color-drop-icon-campos: white !important;
    --border-checkbox-activo: 3px solid white !important;
    --border-checkbox: 3px solid rgba(255,255,255,.5) !important;
    --color-border-input-focus: white !important;
}

.form-corto .e-form__buttons {
    display: block;
    position: absolute !important;
    right: 0 !important;
    width: max-content !important;
    top: -4px !important;
    padding: 0;
}

html .form-corto .elementor-field-group {
    margin: 0 !important;
}

html .form-corto .e-form__buttons .elementor-button {
    border: none;
    padding: 0;
    background: none !important;
    padding: 20px;
    height: 50px !important;
    width: 50px !important;
    padding: 0 !important;
}

.form-corto .e-form__buttons .elementor-button:hover {
    background: none !important;
}

html,
body {
    overflow-x: hidden;
}

/* Corner decoration */
* {
    --bg-decor-color: #f2f4f8;
}

.gr-bg-green-left:before {
    background-size: auto 101%;
}

.gr-bg-corner-1:before {
    left: -100px !important;
}

.gr-bg-corner-1:after {
    content: "";
    width: 2000px !important;
    height: 100% !important;
    position: absolute !important;
    background-size: contain !important;
    background-color: var(--bg-decor-color);
    right: 100px;
    left: auto;
    z-index: -1;
}

.gr-bg-corner-3:before {
    left: -150px !important;
}

.gr-bg-cover.left:before {
    width: 3000px !important;
    right: 100% !important;
    left: inherit !important;
}

.gr-bg-cover.right:before {
    width: 3000px !important;
    left: 100% !important;
    right: inherit !important;
}

@media(min-width: 2300px){
    .gr-bg-cover.right:before,
    .gr-bg-cover.left:before {
        width: 100px !important;
    }
} 

.gr-bg-cover:after {
    content: "";
    height: calc(100% + 60px);
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 1px;
    background-color: var(--e-global-color-primary);
}

.gr-bg-cover.right:after {
    left: auto !important;
    right: 0 !important;
}

.gr-bg-cover.custom-color:after {
    background-color: var(--custom-color) !important;
}

.gr-bg-cover.red:after {
    background-color: var(--e-global-color-secondary) !important;
}

html body .elementor-button:focus {
    color: inherit !important;
}


.gr-bg-corner-2:before {
    width: 2000px !important;
    height: 100% !important;
    position: absolute !important;
    background-size: contain !important;
    background-color: var(--bg-decor-color);
    background-position: -2px center;
}

.gr-bg-corner-4:after {
    content: "";
    width: 2000px !important;
    height: 100% !important;
    position: absolute !important;
    background-size: contain !important;
    background-color: var(--bg-decor-color);
    left: 0;
    right: auto;
    z-index: -1;
}

/* Text animations */
body:not(.elementor-editor-active) .separate-in-spans {
    opacity: 0;
}

.text-animation-span {
    margin: 0 7px;
}

[class*=anim__slide] {
    transition: 0s !important;
}


/* Generales */
.g-aspect-ratio-1,
.g-aspect-ratio-img img {
    aspect-ratio: 1 !important;
}

.g-path-fill-inherit path {
    fill: inherit !important;
}

.g-aspect-ratio-img img {
    object-fit: cover;
}

.g-bg-blur-50 {
    backdrop-filter: blur(50px)
}

.g-pointer-events-none {
    pointer-events: none !important;
}

.g-prevent-p-margin p {
    margin: 0 !important;
}

.g-fix-video-black .elementor-background-video-container {
    transform: scale(1.6);
}

.g-cursor-pointer {
    cursor: pointer !important;
}

.g-transition-0 {
    transition: 0s !important;
}
.g-opacity-0 {
    opacity: 0;
}

.g-center-icon .elementor-button-icon,
.g-center-icon .elementor-icon-wrapper{
    display: flex;
    align-items: center;
}

/* Botones hover */
.g-anim-button-hover .elementor-button {
    background-image: linear-gradient(to right, var( --e-global-color-d4eb531 ) 50%, transparent 50%);
    background-size: 200% 100% !important;
    background-position: 100%;
    background-repeat: no-repeat;
    transition: .3s;
}

.g-anim-button-hover .elementor-button:hover {
    background-position: 0%;
}

/* Corner decoration */
.gr-decoration-corner-1:after {
    content: "";
    background: transparent;
    width: 0;
    height: 0;
    position: absolute;
    left: -1px;
    top: -1px;
    border-left: 60px solid #be4338;
    border-bottom: 60px solid transparent;
    pointer-events: none;
}

.gr-decoration-corner-1.white:after {
    border-left: 60px solid white;
    border-bottom: 60px solid transparent;
}

.gr-decoration-corner-1.gray:after {
    border-left: 60px solid var(--e-global-color-4ff524f);
    border-bottom: 60px solid transparent;
}

.gr-decoration-corner-2:after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    top: -1px;
    right: -1px;
    border-bottom: 60px solid transparent;
    border-right: 60px solid white;
    background: transparent;
}

.gr-decoration-corner-2.white:after {
    border-right: 60px solid white;
}

.gr-decoration-corner-2.gray:after {
    border-right: 60px solid var(--e-global-color-4ff524f);
}

.gr-decoration-corner-2.orange:after {
    border-right: 60px solid var(--e-global-color-primary);
}

.gr-decoration-corner-2.red-noise:after {
    background: url(../../../gr/wp-content/uploads/sites/2/2024/01/bg-noise.html) !important;
    clip-path: polygon(0 0, 100% 100%, 100% 0);
    z-index: 10;
    right: -2px;
    border: none;
    width: 60px;
    height: 60px;
}

.gr-decoration-corner-3:after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    bottom: -1px;
    right: -1px;
    border-top: 60px solid transparent;
    border-right: 60px solid white;
    background: transparent;
}

.gr-decoration-corner-3.gray:after {
    border-right: 60px solid var(--e-global-color-4ff524f);
}

.gr-decoration-corner-4:after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    bottom: -1px;
    left: -1px;
    border-top: 60px solid transparent;
    border-left: 60px solid white;
    background: transparent;
}

/* Header */
.header-logo__text {
    /*display: none;*/
    opacity: 0;
    scale: 0;
}

.header-logo__menu-icon .elementor-icon-box-title {
    margin: 0;
}

.header-logo__menu-icon:not(.no-hover) .elementor-icon svg path {
    transition: .05s !important;
    will-change: transform;
}

.header-logo__menu-icon:not(.no-hover) .elementor-icon svg path:nth-child(2) {
    transform: translateY(-10px)
}

.header-logo__menu-icon:not(.no-hover) .elementor-icon svg path:nth-child(3) {
    transform: translateY(4px);
    opacity: 0;
}

.header-logo__menu-icon:not(.no-hover):hover .elementor-icon svg path:nth-child(2),
.header-logo__menu-icon:not(.no-hover):hover .elementor-icon svg path:nth-child(3) {
    transform: translateY(0px);
    opacity: 1 !important;
}

.header-logo__menu-icon:not(.no-hover) .elementor-icon-box-description {
    display: none !important;
}

.gr-icon__scroll svg path:last-child {
    animation: 2s scrollLine infinite;
}

.scroll-section {
    cursor: pointer;
}

.gr-header__section-title {
    white-space: nowrap;
}

.gr-header__section-title {
    --gr-section-color: #FFFFFF;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.gr-header__section-title .elementor-widget-container {
    height: fit-content !important;
    width: fit-content !important;
}

/*.gr-header__section-title .elementor-widget-container:before {*/
/*    content: "";*/
/*    position: absolute;*/
/*    height: 4px;*/
/*    width: 100%;*/
/*    display: block;*/
/*    background: red;*/
/*    top: 0;*/
/*    opacity: .30;*/
/*}*/

.gr-header__section-title .elementor-heading-title {
    transition: .7s !important;
}

/* Search */
:is(.gr-search, .gr-search-style) .elementor-search-form__icon {
    display: none !important;
}

:is(.gr-search, .gr-search-style) .elementor-search-form__input {
    border-bottom: 1px solid #040421 !important;
    border-radius: 0;
    width: 350px;
}


:is(.gr-search, .gr-search-style) .elementor-search-form__container {
    position: relative;
}

:is(.gr-search, .gr-search-style) .elementor-search-form__container:has(.elementor-search-form__input:placeholder-shown):before {
    content: var(--search-text);
    color: white;
    display: block;
    position: absolute;
    font-size: 20px;
    pointer-events: none !important;

    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: var(--e-global-typography-text-font-size);
    font-weight: var(--e-global-typography-text-font-weight);
    line-height: var(--e-global-typography-text-line-height);
    white-space: nowrap;
    opacity: .5;
    position: absolute;
    bottom: 7px;
    left: 13px;
}

:is(.gr-search, .gr-search-style) {
    outline: 0 !important;
}

:is(.gr-search, .gr-search-style) input {
    padding: 6px 0;
}

.gr-search__icon {
    cursor: pointer;
    transition: .3s;
}

.gr-search__icon.active {
    padding: 12px;
    background: var(--e-global-color-secondary);
    border-radius: 8px;
}

.header-secondary .gr-search__icon.active .elementor-icon {
    color: white !important;
}

/* Menu */
.gr-menu__container .dialog-widget-content{
    backdrop-filter: blur(4px);
}

.gr-menu__menu .sub-menu.elementor-nav-menu--dropdown {
    position: static !important;
}

.gr-menu__menu .sub-menu.elementor-nav-menu--dropdown .elementor-sub-item {
    justify-content: flex-end;
}

.gr-menu__menu .current-menu-item:after {
    content: "";
    width: 18px;
    aspect-ratio: 1 / 1;
    background-image: url(../../uploads/sites/3/2023/12/menu_selected.svg);
    display: block;
    position: absolute;
    right: -27px;
    top: 0;
    bottom: 0;
    margin: auto;
    background-repeat: no-repeat;
    background-size: contain;
}
.gr-menu__menu .sub-menu .current-menu-item:after {
    display: none !important;
}
/* Scroll to top */
.gr-sroll-top {
    cursor: pointer;
}

/* Inicio */
.page-id-2 .footer__newsletter-corto {
    display: none !important;
}

.gr-video__overlay:before {
    z-index: 2 !important;
    pointer-events: none !important;
}

.gr-video__overlay:after {
    content: "";
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    background: rgba(0,0,0,.3);
    pointer-events: none;
    z-index: 3 !important;
}

.gr-map__hide-tooltip .e-hotspot__tooltip {
    display: none !important;
}

.gr-map__hide-tooltip .e-hotspot__button {
    pointer-events: none !important;
}

.gr-map__hide-tooltip .e-hotspot--expand .e-hotspot__outer-circle {
    animation: e-hospot-expand-overrided 2s infinite !important;
    animation-timing-function: ease !important;
}

.gr-map__hide-tooltip .e-hotspot:nth-child(3n+1) .e-hotspot__outer-circle {
    animation-delay: .6s !important;
}

.gr-map__hide-tooltip .e-hotspot:nth-child(3n+2) .e-hotspot__outer-circle {
    animation-delay: 1.2s !important;
}

/* Slider */
.gr-slider__actions-container .slick-dots {
    padding: 0;
    display: flex;
}

.gr-slider__arrow {
    cursor: pointer;
}

.gr-slider__actions-container .slick-dots button {
    display: none;
}

.gr-slider__actions-container .slick-dots li {
    list-style: none;
    display: block;
    width: 100%;
    height: 2px;
    background: var(--e-global-color-50b245b);
    transition: .5s;
}

.gr-slider__actions-container .slick-dots li.slick-active {
    background: var(--e-global-color-d4eb531);
}

/* Animations */
.gr-section-parallax {
    transition: 0s !important;
}

.gr-icon__menu a, 
.gr-icon__scroll svg {
    transition: .2s !important;
}

.gr-icon__menu .elementor-icon-box-content {
    margin-top: -10px;
}

/* Nosotros */
.gr-nosotros__navigation-bar .e-n-menu-item-title {
    max-width: fit-content !important;
}

.gr-timeline__next-slide {
    animation: 2s pointLeft infinite alternate;
}

.gr-timeline__content {
    max-height: 250px;
    padding-right: 20px;
    overflow: auto;
}

.gr-nosotros__historia-content .slick-track {
    display: flex !important;
    align-items: flex-end;
}

.gr-nosotros__historia-content .slick-slide
{
    height: inherit !important;
}

@keyframes pointLeft {

}

.gr-nosotros__valores-icon .elementor-widget-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gr-nosotros__valores-grid .jet-listing-grid__items {
    justify-content: flex-end;
}

/* Fundación Francis */
.gr-programas__counter-small {
    font-size: 42px;
    font-weight: 500;
}


.grid-invert .jet-listing-grid__items .jet-listing-grid__item:nth-child(even) .gr-programa__list-content {
    --flex-direction: row-reverse !important;
}

.grid-invert .jet-listing-grid__items .jet-listing-grid__item:nth-child(even) .gr-programa__list-image {
    left: 0 !important;
    right: auto !important;
}

.grid-invert .jet-listing-grid__items .jet-listing-grid__item:nth-child(even) .gr-decoration-corner-1:after {
    right: 0;
    left: auto;
    transform: scaleX(-1);
}

.grid-invert .jet-listing-grid__items .jet-listing-grid__item:nth-child(even) .gr-bg-corner-2:before {
    transform: scaleX(-1) !important;
    left: auto !important;
    right: -140px !important;
}

.grid-invert .jet-listing-grid__items .jet-listing-grid__item:nth-child(even) .gr-bg-cover.left:before {
    left: 0 !important;
    right: auto !important;
}

.grid-invert .jet-listing-grid__items .jet-listing-grid__item:nth-child(even) .gr-bg-cover.left:after {
    right: 0 !important;
    left: auto !important;
}

.grid-invert .jet-listing-grid__items .jet-listing-grid__item:nth-child(even) .gr-decoration-corner-2:after {
    border-left: 60px solid white;
    left: -1px !important;
    border-right: none !important;
    right: auto;
}

.grid-invert .jet-listing-grid__items .jet-listing-grid__item:nth-child(even) .gr-decoration-corner-2.gray:after {
    border-left: 60px solid var(--e-global-color-4ff524f);
}

[class*=gr-decoration-corner-].small:after {
    border-width: 30px !important;
}

/* Nuestra historia */
.gr-nosotros__historia-img {
    max-height: 100vh !important;
    height: 100% !important;
}

.gr-nosotros__historia-img img {
    width: 100% !important;
    min-height: 100vh;
    object-fit: cover;
}

.gr-nosotros__historia-img .slick-slide {
    opacity: 1 !important;
}

:is(.gr-nosotros__historia-content, .gr-nosotros__historia-img, .gr-nosotros__historia-timeline) .elementor-loop-container {
    display: block !important;
}

.gr-nosotros__historia-timeline .gr-nosotros__historia-timeline-year .elementor-heading-title {
    transition: .3s;
    transform-origin: right;

}

.gr-nosotros__historia-timeline .slick-center .gr-nosotros__historia-timeline-year .elementor-heading-title {
    transform: scale(1.5);
    font-weight: bold !important;
}

.gr-nosotros__historia-timeline .e-loop-item {
    position: relative;
    cursor: pointer;
}

.gr-nosotros__historia-timeline .e-loop-item:after {
    content: "";
    position: absolute;
    left: auto;
    right: -1px;
    top: 20px;
    bottom: auto;
    margin: auto;
    width: 27px;
    height: 1px;
    background: var(--e-global-color-9834f27);
}

.gr-nosotros__historia .slick-dots li {
    background-color: rgba(255,255,255,.1);
}

.gr-nosotros__historia .slick-dots li.slick-active {
    background-color: rgba(255,255,255,1);
}

/* Move bg a litle closer to the image */
.gr-fundacion__programas-no-destacados .gr-bg-corner-2:before {
    left: -140px !important;
}


/* Change color of line and bg decoration */
.gr-fundacion__programas-no-destacados .gr-bg-cover:before,
.gr-fundacion__programas-no-destacados .gr-bg-cover:after {
    background-color: var(--e-global-color-secondary) !important;
}


.gr-fundacion__item {
    gap: 10px;
}

.gr-fundacion__item-bg {
    width: 130px;
    height: 100%;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 30px 20px;
    border-radius: 4px;
    overflow: hidden;
}

.gr-fundacion__accordion .jet-listing-dynamic-repeater__items {
    gap: 10px;
}

.gr-fundacion__item-bg:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, #000000db, #000000db), var(--overlay-color);
    opacity: .5;
    pointer-events: none;
    z-index: 0;
}

.gr-fundacion__item-bg-text {
    position: relative;
    z-index: 4;
    flex: 1;
    max-height: 250px;
    display: flex;
}

.gr-fundacion__item-bg-text h6{
    color: #FFF !important;
    writing-mode: vertical-lr;
    text-orientation: mixed;
    transform: scale(-1);
    margin: 0;

}

.gr-fundacion__item-bg-icon-img {
    /*align-self: flex-end;*/
    background: var(--overlay-color);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    mask-image: url(../../uploads/sites/3/2023/12/mask-hexagon-small.png);
    mask-repeat: no-repeat;
    mask-size: contain;
    mask-position: center;
}

.gr-fundacion__item-bg-icon {
    position: relative;
    z-index: 5;
}

.gr-fundacion__item-bg-icon:before {
    content: "";
    background: rgba(0, 0, 0, 0.15);
    position: absolute;
    z-index: 0;
    top: 0;
    left: -4px;
    bottom: 0;
    right: 0;
    width: 68px;
    height: 68px;
    margin: auto;
    mask-image: url(../../uploads/sites/3/2023/12/mask-hexagon-small.png);
    mask-repeat: no-repeat;
    mask-size: contain;
    mask-position: center;

}

/* Este es el que crece y decrece */
.gr-fundacion__content {
    width: 0;
    /*opacity: 0;*/
    overflow: hidden;
    transition: .7s;
    height: 100%;
    position: relative;
}

.gr-fundacion__content-text {
    overflow-y: auto;
}

/* Este es el que tiene width fijo */

.gr-fundacion__content-wrapper {
    height: 100%;
    min-width: var(--fundacion-accordion-width);
    background-color: var(--e-global-color-4ff524f);
    position: relative;
    padding: 40px;
    display: flex;
    gap: 25px;
}

.gr-fundacion__content-gallery {
    display: flex;
    flex: 1 0 auto;
    align-items: center;
    gap: 20px;
}


.gr-fundacion__content-gallery .jet-engine-gallery-grid {
    --columns: auto !important;
    gap: 5px;
    display: grid;
    grid-template-columns: repeat(3, minmax(min-content, 120px));
}

.gr-fundacion__content-gallery img {
    width: 120px;
    height: 120px;
}

.gr-fundacion__content-gallery .jet-engine-gallery-grid__item {
    padding: 0;
}

.gr-slider__gallery-slider .slick-track {
    display: flex;
}

.gr-fundacion__content-wrapper:before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    top: 35px;
    border-top: 24px solid transparent;
    border-bottom: 24px solid transparent;
    border-left: 24px solid white;
    background: transparent;
    left: 0;
}

.gr-fundacion__content-title {
    color: var(--overlay-color) !important;
}

/* Fundación Francis - Cifras de impacto */
.gr-programas__cifras-item .elementor-counter-number-suffix {
    margin-left: 10px;
}

.gr-programas__cifras-grid .jet-listing-grid__items {
    overflow: hidden;
}

.gr-programas__cifras-grid .jet-listing-grid__item {
    position: relative;
}


.gr-programas__cifras-grid .jet-listing-grid__item:before,
.gr-programas__cifras-grid .jet-listing-grid__item:after {
    content: "";
    background: var(--bg-decor-color);
    position: absolute;
}

.gr-programas__cifras-grid .jet-listing-grid__item:after {
    height: 1px;
    width: 100%;
    top: -1px;
    left: 0;
    right: 0;
}

.gr-programas__cifras-grid .jet-listing-grid__item:before {
    height: 70%;
    width: 1px;
    margin: auto;
    left: -1px;
    top: 0;
    bottom: 0;
}

/* PROGRAMAS DESTACADOS Y NORMALES | NUEVO */
.noDestacados .ProgrmsTitulo .elementor-heading-title {
    color: var(--e-global-color-primary) !important;
}
.noDestacados .ProgrmsSeparador .elementor-divider-separator{
    border-color: var(--e-global-color-primary) !important;
}
.noDestacados .ProgrmsDescripcion p{
    color: var(--e-global-color-d4eb531) !important;
}
.noDestacados .ProgrmsBtn .elementor-button{
    color: var(--e-global-color-d4eb531) !important;
    border-color: var(--e-global-color-714fd4b) !important;
}
.noDestacados .gr-decoration-corner-1:after{
    border-left: 60px solid var(--e-global-color-4ff524f);
}

@media(min-width: 1024px){
    .noDestacados .fondo-naranja-largo:after{
        content: "";
        position: absolute;
        width: 1px;
        height: calc(100% + 60px);
        background: var(--e-global-color-primary) !important;;
        top: -30px;
        right: 0px;
    }
    .noDestacados .jet-listing-grid__item:nth-child(even) .fondo-naranja-largo:after{
        left: inherit !important;
        right: 100% !important;
    }
    .noDestacados .jet-listing-grid__item .fondo-naranja-largo:before{
        width: 3000px !important;
        left: 100% !important;
        right: inherit !important;
    }
    .noDestacados .jet-listing-grid__item:nth-child(even) .fondo-naranja-largo:before{
        left: inherit !important;
        right: 100% !important;
    }
    .noDestacados .gr-decoration-corner-1:after{
        border-left: 60px solid white !important;
    }
}
@media(min-width: 2300px){
    .noDestacados .jet-listing-grid__item .fondo-naranja-largo:before{
        width: 100px !important;
    }
}

/* Empresas y ODS */
.gr-empresa__card-category .elementor-widget-container{
    background-color: var(--category-color) !important;
}

.gr-empresas__card-hide {
    display: none !important;
}

.jet-listing-grid__item.deactivated {
    /*display: none;*/
}

.gr-empresa__card-category .elementor-widget-container:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    border-right: 10px solid var(--category-color);
    border-bottom: 10px solid transparent;
    opacity: .8;
}

.gr-empresa__content-bg.gr-decoration-corner-4:after {
    left: -150px;
}

.gr-empresas__item {
    cursor: pointer;
}

.gr-empresas__map #map {
    height: 100vh;
}

.gr-empresas__popup, .gr-empresas__map {
    pointer-events: all !important;
}

.gr-empresa__interna-rrss .elementor-grid-item:not(:has(a[href])),
.gr-empresas__interna-rrss-container:not(:has(a[href])){
    display: none;
}

.gr-empresa__gerente-item {
    display: flex;
    gap: 20px;
    align-items: center;
}

.gr-empresa__gerente-foto img {
    border-radius: 7px !important;
    width: 72px;
    height: 72px;
    object-fit: cover;
}

.gr-empresa__gerente-foto {
    display: flex;
}

.gr-empresa__content ul {
    padding-left: 20px;
}

body .gr-empresa__gerente-data h6 {
    margin: 0;
    color: #000;
    font-family: var(--e-global-typography-text-font-family),Sans-serif;
    font-size: var(--e-global-typography-text-font-size);
    font-weight: bold;
    line-height: var(--e-global-typography-text-line-height);
}

body .gr-empresa__gerente-data span {
    color: #000;
    font-family: var(--e-global-typography-3f45484-font-family),Sans-serif;
    font-size: var(--e-global-typography-3f45484-font-size);
    font-weight: var(--e-global-typography-3f45484-font-weight);
    text-transform: var(--e-global-typography-3f45484-text-transform);
    line-height: var(--e-global-typography-3f45484-line-height);
}

.gr-empresas__item.active {
    box-shadow:inset 0px 0px 0px 2px #0066ff;
}

.gr-empresas__filter-list {
    list-style: none;
    display: flex;
    gap: 14px;
    padding: 0;
    white-space: nowrap !important;
    overflow: hidden;
    touch-action: none;
    user-select: none;
    padding-right: 30px;
    position: relative;
}

.gr-empresas__filter-wrapper:after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 30px;
    background: linear-gradient(270deg, white, transparent);
}

.gr-empresas__filter-list.no-events {
    pointer-events: none !important;
}

.gr-empresas__list .jet-listing-grid__item {
    transition: 0s;
}

.gr-empresas__filter-list .gr-empresas__filter-item .gr-empresas__filter-radio {
    display: none;
}

.gr-empresas__filter-item .gr-empresas__filter-label {
    padding: 10px;
    border-bottom: 2px solid rgba(0,0,0,.2);
    cursor: pointer;
    transition: .3s;
    color: var(--category-color);
}

.gr-empresas__filter-item:first-child .gr-empresas__filter-label {
    color: #040421 !important;
    font-weight: bold;
}

.gr-empresas__filter-label:has(input:checked) {
    border-color: var(--category-color) !important;
}

.gr-empresa__interno-enlaces a {
    display: block;
    color: var(--e-global-color-primary) !important;
    padding-bottom: 6px;
    border-bottom: 2px solid #0066ff80;
    max-width: fit-content;
}

.gr-empresa__interno-enlaces a:after {
    content: "\ee33";
    font-family: icomoon!important;
    margin-left: 6px;
    font-size: 1.1em;
    transform: translateY(3px);
    display: inline-block;
}

.gr-empresa__content-bg:before {
    left: -150px !important;
}

.gr-ods__icon .elementor-widget-container{
    mask-image: url(../../uploads/sites/3/2023/12/mask-hexagon-small.png);
    mask-repeat: no-repeat;
    mask-size: contain;
    mask-position: center;
    z-index: 10;
    position: relative;
}

.gr-ods__icon:after {
    content: "" !important;
    display: block !important;
    background: rgba(0, 0, 0, 0.15);
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    transform: scale(1.2);
    z-index: 1;
    margin: auto;
    mask-image: url(../../uploads/sites/3/2023/12/mask-hexagon-small.png);
    mask-repeat: no-repeat;
    mask-size: contain;
    mask-position: center;
}

.gr-ods__content-wrapper-arrow:after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    top: 35px;
    border-top: 24px solid transparent;
    border-bottom: 24px solid transparent;
    border-left: 24px solid white;
    background: transparent;
    left: 0;
}

.gr-ods__grid .jet-listing-grid__items {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 10px;
}

.gr-ods__item-card {
    cursor: pointer;
}

.gr-ods__content-wrapper {
    min-width: var(--ods-accordion-width, 100%) !important;
}

.gr-ods__content-data {
    max-height: 180px;
    padding-bottom: 16px;
}

.gr-ods__content-impacts .jet-listing-dynamic-terms {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gr-ods__grid .jet-listing-grid__item {
    padding: 0;
}

.gr-ods__content-impacts .jet-listing-dynamic-terms .jet-listing-dynamic-terms__link {
    padding-left: 20px;
    position: relative;
}

.gr-ods__content-impacts .jet-listing-dynamic-terms .jet-listing-dynamic-terms__link:before {
    content: "";
    left: 0;
    top: 0;
    bottom: 1px;
    margin: auto;
    width: 13px;
    height: 13px;
    background: url(../../uploads/sites/3/2023/12/menu_selected.svg);
    background-size: contain;
    background-repeaT: no-repeat;
    background-position: center;
    position: absolute;
}

.gr-ods__content-programs ul {
    list-style: none !important;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gr-ods__content-programs li {
    padding-left: 20px;
    position: relative;
}

.gr-ods__content-programs li:before {
    content: "";
    left: 0;
    top: 0;
    bottom: 1px;
    margin: auto;
    width: 13px;
    height: 13px;
    background: url(../../uploads/sites/3/2023/12/menu_selected.svg);
    background-size: contain;
    background-repeaT: no-repeat;
    background-position: center;
    position: absolute;
}

.gr-ods__interna-objetivos-galeria img {
    object-fit: contain !important;
}

/* Interna ODS */

.gr-slider__gallery-slider {
    overflow: hidden;
}

.gr-slider__gallery-slider .gallery-item img {
    width: 100% !important;
}

.bg-ods:before {
    right: -180px !important;
}

/* Noticias */
.gr-noticia__banner-bg {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.gr-noticias__destacada-item .gr-programas__counter-small {
    font-size: 15px !important;
    font-weight: 500 !important;
}

.gr-noticias__hex-date .elementor-icon-list-items {
    height: 100% !important;
}

.gr-noticias__input-search .jet-search-filter__submit {
    position: absolute;
    right: 0;
    height: 100%;
    padding: 0;
    margin: 0;
    width: 50px;
    border: none;
    margin: auto !important;
}

.gr-noticias__input-search input {
    padding: 10px 10px!important;
    padding-right: 50px !important;
    border: none;
    border-bottom: 1px solid black;
    border-radius: 0;
}

.gr-noticias__input-search .jet-search-filter__submit:focus {
    background: none !important;
}

.gr-noticias__input-search .jet-search-filter__submit .fa-search:before {
    content: "\e9f0" !important;
    font-family: icomoon!important;
}

.gr-noticia__gallery-grid .jet-listing-grid__items {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gr-noticia__galeria-wrapper .jet-listing-grid__item.hidden {
    display: none !important;
}

.gr-noticia__breadcrumb-title .elementor-heading-title {
    width: 300px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
}

.gr-noticia__gallery-grid .jet-listing-grid__item {
    width: 100%;
    max-width: 100%;
    grid-column: 1 / span 2 !important;
    max-height: 350px !important;
    padding: 0 !important;
    overflow: hidden;
}

.gr-noticia__gallery-grid .jet-listing-grid__item :is(.jet-listing-dynamic-image, .jet-listing-dynamic-image__img, .jet-listing-dynamic-image__link) {
    width: 100%;
}

.gr-noticia__gallery-grid .jet-listing-grid__item:nth-child(4n-1) + .jet-listing-grid__item {
    width: 100%;
    max-width: 100%;
    grid-column: 2 / span 3 !important;
}

.gr-noticia__gallery-grid .jet-listing-grid__item:nth-child(4n-2) {
    grid-column-start: 3 !important;
    width: 100% !important;
    max-width: 100% !important;
}

.gr-noticia__gallery-grid .jet-listing-grid__item:nth-child(4n-1) {
    grid-column: 1 / span 1 !important;
    width: 100% !important;
    max-width: 100% !important;
}

.gr-noticia__gallery-grid .jet-listing-grid__item:nth-child(4n-1) {
    grid-column: 1 / span 1 !important;
    width: 100% !important;
    max-width: 100% !important;
}

.gr-noticia__gallery-grid .jet-listing-grid__item * {
    height: 100%;
}

.gr-noticia__gallery-grid .jet-listing-grid__item .jet-listing-dynamic-image__img {
    object-fit: cover;
}

.gr-noticia__gallery-grid .jet-listing-grid__item {
    position: relative;
}

.gr-noticia__gallery-grid .jet-listing-grid__item .jet-listing-dynamic-image__link:before {
    content: "" !important;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 0;
    background: rgba(0,0,0,.2);
    pointer-events: none;
    height: 100%;
    width: 100%;
    z-index: 9;
}

.gr-noticia__gallery-grid .jet-listing-grid__item .jet-listing-dynamic-image__link:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 200px;
    width: 160px;
    background: url(../../uploads/sites/3/2024/01/play.webp);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    pointer-events: none;
    margin: auto;
    z-index: 10;
    transition: .3s;
}

@media (hover: hover) {
    .gr-noticia__gallery-grid .jet-listing-grid__item .jet-listing-dynamic-image__link:hover:after {
        transform: scale(1.2);
    }
}

@media screen and (max-width: 768px) {
    .gr-noticia__gallery-grid .jet-listing-grid__item .jet-listing-dynamic-image__link:after {
        width: 160px;
        height: 100px;
    }
}

/* Contacto */
.gr-contacto__form {
    --border-color-form: #040421;
}

.gr-contacto__form.form_style .elementor-field-label {
    left: 0 !important;
    color: #04042180 !important; 
}

.gr-contacto__form.form_style textarea {
    padding-top: 10px !important;
    --padding-input-focus: 10px 0 0 0;
}

.gr-contacto__form.form_style .elementor-field-group {
    margin-top: 20px;
    margin-bottom: 10px !important;
    --height-input: 40px !important;
}

.gr-contacto__form.form_style .elementor-field-option {
    margin: 0 !important;
}

.gr-contacto__form.form_style .elementor-field-group .elementor-message-danger {
    left: 4px !important;
    bottom: -18px !important;
}

.gr-contacto__form.form_style .elementor-field-option input + label:after {
    color: transparent !important;
}

.gr-contacto__form.form_style .elementor-field-option input:checked + label:after {
    opacity: 1 !important;
    background: #0066ff !important;
    width: 20px !important;
    height: 20px !important;
    margin: auto;
    z-index: 9;
    color: transparent;
}

.gr-contacto__form.form_style .elementor-field-option input:checked + label:before {
    border: var(--border-checkbox-activo) !important;
    z-index: 120 !important;
    border-color: #dedddd !important;
}

.gr-programa__image-container {
    transition: 0s !important;
}

html body .form_style .elementor-field-type-acceptance a {
    color: inherit !important;
    text-decoration: underline !important;
}

:is(.page-id-2, .page-id-4583) .footer__newsletter-corto {
    display: none !important;
}

@keyframes e-hospot-expand-overrided {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    60% {
        transform: scale(6);
    }
    100% {
        opacity: 0;
        transform: scale(8);
    }
}

@keyframes scrollLine {
    0%,20% {
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }
    50%, 80% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    100% {
        clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
    }
}

@media (max-width: 1366px) {
    .e-con {
        --container-max-width: 1000px !important;
    }
}

@media (max-width: 1140px) {
    .e-con {
        --container-max-width: 800px !important;
    }
}


@media (max-width: 1024px){
    /*HEADER*/
    .header-secondary{
        position: relative !important;
    }
    /*Acordeones*/
    .gr-fundacion__content-gallery {
        min-width: 100% !important;
        width: 100% !important;
    }

    /* Footer */
    .gr-footer__center-mobile .menu-item a.elementor-item{
        justify-content: center;
    }

    /* Empresas - Mapa */
    .gr-empresa__mapa {
        position: relative !important;
    }

    .gr-empresas__map  {
        position: static !important;
        width: 100% !important;
        height: 50vh ;
    }

    .gr-empresas__map #map {
        height: 100%;
    }

    .gr-empresas__mapa-popup {
        position: absolute !important;
        top: 0px;
        left: 0;
        right: 0;
    }
    /* Empresas - Accordion */
    .gr-ods__grid .jet-listing-grid__items {
        flex-direction: column;
    }

    .gr-fundacion__item-bg-text h6 {
        text-orientation: inherit !important;
        writing-mode: inherit;
        transform: none;
    }

    .gr-ods__item.active .gr-ods__content {
        height: 100% !important;
    }

    .gr-ods__grid .jet-listing-grid__item:has(.gr-ods__item.active) {
        height: 100% !important;
    }

    .gr-ods__content {
        /*height: 0 !important;*/
        transition: 0s !important;
        overflow: hidden;
        min-height: 0 !important;
    }

    .gr-ods__interna-objetivos-galeria {
        display: flex;
    }

    .gr-ods__interna-objetivos-galeria .jet-listing-grid__items {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .gr-ods__content-data {
        max-height: max-content;
    }

    /* Fundación Francis Pilares */
    .gr-fundacion__item {
        display: flex !important;
        flex-direction: column;
    }

    .gr-fundacion__item-bg {
        width: 100% !important;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        padding: 10px 40px;
    }

    .gr-fundacion__content {
        width: 100% !important;
    }

    .gr-fundacion__content-wrapper {
        flex-direction: column !important;
    }

    .gr-fundacion__item .gr-fundacion__content {
        /*overflow-y: auto !important;*/
    }

    .gr-fundacion__item .gr-fundacion__content {
        transition: 0s !important;
    }

    .gr-fundacion__content-text {
        overflow: initial;
    }

    .gr-fundacion__item-bg-icon-img {
        width: 50px;
        height: 50px;
    }

    .gr-fundacion__content-title {
        padding-right: 30px;
    }

    /* Programas Fundación */
    .gr-programa__list-image {
        position: relative !important;
    }

    .gr-programas__counter-small {
        font-size: 24px;
    }

    .gr-programas__destacados .jet-listing-grid__item {
        position: relative;
    }

    .grid-invert .jet-listing-grid__items .jet-listing-grid__item:nth-child(even) .gr-programa__list-content {
        --flex-direction: inherit !important; 
    }

    /* Nosotros - Valores */
    .gr-nosotros__valores-grid .jet-listing-grid__items {
        justify-content: flex-start;
    }
    .gr-section-valores-Mobile .gr-bg-gray-right:before{
        display: none !important;
    }

    /* Nosotros - Timeline */
    .gr-slider__timeline-img :before{
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        background: linear-gradient(0deg, rgba(0,0,0,.3), rgba(0,0,0,.1));
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 10;
    }
    .gr-nosotros__historia-img.gr-decoration-corner-2.red-noise:after{
        background: var( --e-global-color-4ff524f ) !important;
        display: none !important;
    }
    /* Nuestra historia */
    
	.gr-slider__timeline-img,
    .gr-nosotros__historia-img,
	.gr-nosotros__historia-img img{
        max-height: 350px  !important;
        min-height: 350px  !important;
        height: 350px !important;
		object-fit: cover !important;
    }
    .gr-nosotros__historia-content .slick-track{
		align-items: flex-start !important;
	}
    /*noticias*/
    .gr-noticia__gallery-grid .jet-listing-grid__items {
        display: flex !important;
        flex-direction: column;
        gap: 20px;
    }

    .gr-noticia__gallery-grid .jet-listing-grid__item {
        max-height: 200px;
    }

    .g-adjust-ios svg {
        width: fit-content;
        max-width: 60px;
    }

    .programas-ods-list .gr-decoration-corner-2.mobile-white:after {
        border-right-color: white !important;
        border-left-color: white !important;
    }
}
@media (max-width: 920px) {
    .gr-gallery__logos-empresas .gallery {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .gr-gallery__logos .gallery-item {
        padding: 0 !important;
    }

    .gr-gallery__logos-empresas .gallery-item img {
        margin: 0 !important;
    }
}

@media (min-width: 1025px) {
    .gr-ods__grid .jet-listing-grid__item {
        width: 150px;
        transition: .7s;
        padding: 0;
    }

    .gr-ods__item .gr-ods__content {
        max-height: 400px;
        transition: 0s !important;
    }

    .gr-ods__grid {
        max-height: 400px;
    }

    .gr-ods__item.active .gr-ods__content {
        width: 100% !important;
    }

    .gr-ods__grid .jet-listing-grid__item:has(.gr-ods__item.active) {
        width: 100% !important;
    }

    .gr-ods__content {
        width: 0 !important;
        transition: .7s !important;
    }

    .gr-fundacion__accordion .jet-listing-dynamic-repeater__item:has(.gr-fundacion__item.active) {
        width: 100%;
    }

    .gr-fundacion__accordion .jet-listing-dynamic-repeater__item {
        width: 150px;
        transition: .7s;
    }

    .gr-fundacion__item {
        height: 400px;
        min-height: 400px;
        max-height: 400px;
        height: 100% !important;
        width: 100%;
        gap: 10px;
        display: flex;
    }

    .gr-fundacion__item.active .gr-fundacion__content {
        height: 100%;
        /*min-width: var(--fundacion-accordion-width);*/
        flex: 1;
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .g-mobile-bg-none {
        background: none !important;
    }

    .g-mobile-bg-none:before {
        display: none !important;
    }

    .g-mobile-relative {
        position: relative !important;
    }

    .gr-gallery__logos-empresas .gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Logo */
    .gr-header-logo {
    }

    /* Corner decoration */
    .gr-bg-green-left:before {
        background-size: auto !important;
    }

    .gr-decoration-corner-2.mobile-white:after {
        border-right-color: white !important;
        border-left-color: white !important;
    }

    .gr-decoration-corner-1.mobile-white:after {
        border-left-color: white !important;
        border-right-color: white !important;
    }

    .gr-bg-corner-1:before {
        top: -30px !important;
    }

    .gr-icon-video__center-mobile .elementor-icon-box-icon {
        display: flex !important;
        align-items: center !important;
    }

    /*programas*/
    .noDestacados .jet-listing-grid__item:not(:last-child):after,
    .gr-programas__destacados .jet-listing-grid__item:not(:last-child):after {
        content: "";
        bottom: 0;
        left: 0;
        right: 0;
        width: 80%;
        margin: auto;
        height: 2px;
        background-color: rgba(255,255,255,.2);
        position: absolute;
        z-index: 12;
    }
    .noDestacados .jet-listing-grid__item{
        position: relative;
    }
    .noDestacados .jet-listing-grid__item:not(:last-child):after{
        background-color: rgb(0 0 0 / 8%);
    }

}

@media(max-width: 1024px){
    .gr-secc-bg-gris-mobile{
        background: var( --e-global-color-4ff524f ) !important;
    }
    .gr-secc-bg-white-mobile {
        background: white !important;
    }

    .elementor-997 .elementor-element.elementor-element-00ea0f1 .jet-listing-dynamic-repeater__items {
        flex-direction: column !important;
    }
}

button.jet-search-filter__submit.apply-filters__button i {
    position: relative !important;
    top: -21px !important;
}

.bannerInternas{}
.bannerInternas_video{}
.bannerInternas_ctn{}
.bannerInternas_vacio{}
.bannerInternas_txt{}

/* MENU 2025*/

body.home .header-primary{
    background: transparent !important;
    position: absolute !important;
    border: none !important;
}

body.home .header-primary *{
    color: white !important;
    border-color: white !important;
}
body.home .header-primary .logo-rojo{
    display: none !important;
}
body.home .header-primary .logo-blanco{
    display: block !important;
}
