body {
    /* genium */
    --genium--font--principal: 'Manrope', sans-serif;
    --genium--font--secundaria: var(--genium--font--principal);

    --genium--color--blanc: #ffffff;
    --genium--color--negre: #000000;
    --genium--color--text: #5E7361;
    --genium--color--principal: #5E7361;
    --genium--color--secundari: #737A85;
    --genium--color--terciari: #FFD040;
    --genium--color--error: #FF0033;
    --genium--color--background--clar: #F3F3F3;

    --genium--maxwidth: 1270px;
    --genium--maxwidth--narrow: 780px;
    --genium--maxwidth--wide: 1530px;

    --genium--padding--sides: 3%;
    --genium--padding--sides-big: 10%;
    --genium--padding--bottom: 0px;

    --genium--columns--margin: 45px;

    --genium--sidebar--width: 260px;

    --genium--logo--height: 82px;
    --genium--logo--height--slim: 35px;
    --genium--logo--width: auto;

    --genium--height--header: 100px;
    --genium--height--footer: 400px;

    --genium--fonts--h1: 2.75rem;
    --genium--fonts--h1--weight: 500;
    --genium--fonts--h1--height: 1.3em;

    --genium--fonts--h2: 2.5rem;
    --genium--fonts--h2--weight: 500;
    --genium--fonts--h2--height: 1.3em;

    --genium--fonts--h3: 1.7rem;
    --genium--fonts--h3--weight: normal;
    --genium--fonts--h3--height: 1.3em;

    --genium--fonts--p: 1.15rem;
    --genium--fonts--p--weight: normal;
    --genium--fonts--p--height: 1.4em;

    --genium--fonts--p--small: 0.93rem;
    --genium--fonts--p--small--height: 1.5em;

    --genium--fonts--p--medium: 1.6rem;
    --genium--fonts--p--medium--height: 1.4em;

    --genium--fonts--p--large: 2.15rem;
    --genium--fonts--p--large--height: 1.33em;

    --genium--fonts--p--xlarge: 3.2rem;
    --genium--fonts--p--xlarge--height: 1.15em;

    --genium--fonts--margins: 1.2rem;

    /* wp */
    --wp--preset--font-size--small: 13px;
    --wp--preset--font-size--medium: 19px;
    --wp--preset--font-size--large: 26px;
    --wp--preset--font-size--x-large: 36px;
}

#header{
    padding-top: 20px;
}

#header .logo img{
    transform: translateY(-8px);
}

.legalfooter{
    text-align: center;
}
.legalfooter ul li a{
    font-size: 1rem !important;
    font-weight: 400;
}
#footer .legalfooter ul.menu{
    justify-content: center;
}

ul.menu li, .menu ul li{
    display: inline-block;
}
ul.menu li a, .menu ul li a{
    color: var(--genium--color--principal);
    font-weight: 700 !important;
}
ul.menu li:not(:last-child), .menu ul li:not(:last-child){
    margin-right: 10px;
}

.has-invesjel-color{
    color: #5E7361;
}

#footer,
.footer-wrapper .bottom-bar{
    background-color: var(--genium--color--background--clar);
    color: var(--genium--color--principal);
    padding-top: 30px;
    padding-bottom: 30px;
}

.footer-wrapper .bottom-bar .image{
    display: block;
    width: 100%;
    text-align: right;
    margin-top: 50px;
}
.footer-wrapper .bottom-bar .image img{
    width: 250px;
}
.footer-wrapper .bottom-bar ul li a{
    font-weight: 600 !important;
    font-size: var(--genium--fonts--p) !important;
}
.footer-wrapper .bottom-bar ul li{
    width: 160px;
}

.hover-linea ul.menu li a::after, .genium-styles p.hover-linea a::after {
	height: 2px;
	bottom: -4px;
}

.home-img-background{
    background-color: #000000;
    color: #ffffff;
}
.home-img-background .background-image{
    opacity: 0;
    transition: .2s;
}
.home-img-background .background-image.visible{
    opacity: .8;
}

#content.transparent-header{
    padding-top: 0;
}
.page-template-template-transparent-header #header{
    background-color: transparent;
}
.page-template-template-transparent-header #header.slim{
    background-color: #ffffff;
}
.page-template-template-transparent-header #header ul.menu li a,
.page-template-template-transparent-header #header #language-select a
{
    color: #ffffff;
}
.page-template-template-transparent-header #header .logo img{
    filter: brightness(0) invert(1);
}


.page-template-template-transparent-header #header #menu-button .lineamenu{
    background: #ffffff;
}
.page-template-template-transparent-header #header.slim #menu-button .lineamenu{
    background: var(--genium--color--principal);
}


.page-template-template-transparent-header #header.slim ul.menu li a,
.page-template-template-transparent-header #header.slim #language-select a
{
    color: var(--genium--color--principal);
}
.page-template-template-transparent-header #header.slim .logo img{
    filter: none;
}
.page-template-template-transparent-header .hover-background ul.menu li a:hover {
	color: var(--genium--color--principal) !important;
	background-color: #ffffff !important;
}
.page-template-template-transparent-header .slim .hover-background ul.menu li a:hover {
	background-color: var(--genium--color--principal) !important;
	color: #ffffff !important;
}
.page-template-template-transparent-header #header a.areaclients,
.page-template-template-transparent-header #header .menutop .dropbtn
{
    color: #ffffff;
}
.page-template-template-transparent-header #header .dropbtn::after {
	border-top: .5em solid #ffffff;
}
.page-template-template-transparent-header #header.slim a.areaclients,
.page-template-template-transparent-header #header.slim .menutop .dropbtn
{
	color: var(--genium--color--principal) !important;
}
.page-template-template-transparent-header #header.slim  .dropbtn::after {
	border-top: .5em solid var(--genium--color--principal);
}
.page-template-template-transparent-header #header a.areaclients img{
    filter: brightness(0) invert(1);
}
.page-template-template-transparent-header #header.slim a.areaclients img{
	filter: none;
}

.dropbtn{
    padding-top: 10px;
    padding-bottom: 10px;
}


#header ul.menu li.menu-item-has-children:hover a{
	background-color: var(--genium--color--principal) !important;
	color: #ffffff !important;
}
#header ul.sub-menu li a{
    color: #ffffff !important;
}

.page-template-template-transparent-header #header ul.menu li.menu-item-has-children:hover a{
	color: var(--genium--color--principal) !important;
	background-color: #ffffff !important;
}
.page-template-template-transparent-header #header ul.sub-menu li a{
    color: var(--genium--color--principal);
}
.page-template-template-transparent-header #header.slim ul.menu li.menu-item-has-children:hover a{
	background-color: var(--genium--color--principal) !important;
	color: #ffffff !important;
}
.page-template-template-transparent-header #header.slim ul.sub-menu li a{
    color: #ffffff !important;
}

.home-img-background .content-block {
    height: 100%;
	padding-bottom: 10vh;
}

.hover-background ul.menu li a{
    padding: 15px 20px !important;
}
.hover-background ul.menu li a:hover{
    background-color: var(--genium--color--principal);
    color: #ffffff !important;
}

.page-template-template-transparent-header ul.menu li.menu-item-has-children .sub-menu{
    background-color: #ffffff;
}
ul.menu li.menu-item-has-children .sub-menu{
    background-color: var(--genium--color--principal);
}
#side-menu ul.menu li.menu-item-has-children .sub-menu{
    background-color: #ffffff !important;
}
#side-menu ul.menu li.menu-item-has-children .sub-menu li a::before {
	filter: none;
}
.slim ul.menu li.menu-item-has-children .sub-menu{
    background-color: var(--genium--color--principal);
}

ul.menu li.menu-item-has-children .sub-menu li a{
    font-weight: normal !important;
}
ul.menu li.menu-item-has-children .sub-menu li a::before{
    content: '';
    width: 30px;
    height: 30px;
    display: inline-block;
    position: relative;
    background-image: url('https://invesjel.es/wp-content/uploads/2023/07/arrowbig.png');
    background-repeat: no-repeat;
    background-size: 30px auto;
    background-position: left center;
    margin-right: 15px;
    transform: translateY(7px);
    transition: .2s;
}
ul.menu li.menu-item-has-children .sub-menu li a:hover::before{
    transform: translate(10px, 7px);
}
ul.menu li.menu-item-has-children .sub-menu {
	width: 260px;
}


.page-template-template-transparent-header ul.menu li.menu-item-has-children .sub-menu li a::before{
    filter: brightness(1) invert(0);
}
ul.menu li.menu-item-has-children .sub-menu li a::before{
    filter: brightness(0) invert(1);
}
.slim ul.menu li.menu-item-has-children .sub-menu li a::before{
    filter: brightness(0) invert(1);
}


.images-home-escala figure:nth-child(1){
    width: 25%;
}
.images-home-escala figure:nth-child(2){
    margin-left: 25%;
    width: 40%;
}

.no-margin-top
{
    margin-top: 0 !important;
}

.logosfooter {
	margin-top: 5px;
	margin-bottom: 60px;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
}
.logosfooter img {
	max-width: 800px;
    width: 100%;
	display: block;
}

.genium-styles p img{
    transform: none;
}
.link-arrow img {
	padding-bottom: 2px;
    height: 16px !important; 
}
.link-arrow a{
    font-weight: 500 !important;
    border: solid 1px var(--genium--color--principal);
    padding: .8em 2.5em;
    border-radius: 35px;
    text-align: center;
    box-sizing: border-box;
}
.link-arrow.border-white a{
    border-color: #ffffff !important;
}

.link-arrow.button-link{
    border: none;
}

.block-background-image{
    position: relative;
    overflow: hidden;
}
.block-background-image .image{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.block-background-image .image{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.block-background-image .wp-block-columns{
    margin: 0 !important;
    padding: 100px;
}

.text-narrow{
    max-width: 390px;
}

.column-images img{
    width: 100%;
    object-fit: cover;
}

.button-wrap{
    position: absolute;
    bottom: 55px;
    right: 0;
}
.button-wrap a{
    padding: 55px 80px;
    background-color: var(--genium--color--principal);
}

.link-arrow:hover img {
	transform: translateX(7px);
}

.post-wrapper{
    padding: 40px;
    border: solid 1px var(--genium--color--principal);
}
.post-wrapper{
    height: auto;
}
.post-wrapper p.link-arrow{
    margin-top: 70px;
    text-align: right;
}

.sidebar-posts .post-wrapper{
    padding: 15px;
}
.sidebar-posts .post-wrapper p.link-arrow{
    margin-top: 20px;
    text-align: right;
}

#content {
	padding-top: calc(var(--genium--height--header) + 30px);
}

.content-with-sidebar-wrapper .content {
	width: calc(100% - var(--genium--sidebar--width) - (var(--genium--columns--margin) *2));
}
.content-with-sidebar-wrapper {
	gap: calc(var(--genium--columns--margin) * 2);
}

p.icon img{
    height: 25px;
    width: auto !important;
    padding-bottom: 3px;
}

.wpcf7 label.accept-policy{
    text-align: right;
}
.wpcf7 label.accept-policy a{
    text-decoration: underline !important;
}

input[type="submit"]{
    background-color: transparent !important;
    padding: 0 !important;
    color: var(--genium--color--principal) !important;
    font-size: 2.8rem !important;
    font-weight: 500;
    float: right;
    border: none !important;
    text-align: right;
    min-width: 0 !important;
}
input[type="submit"]{
    background-image: url('https://invesjel.es/wp-content/uploads/2023/07/arrowbig.png') !important;
    padding-left: 60px !important;
    background-size: 40px auto;
    background-position: left center;
    background-repeat: no-repeat;
}
input[type="submit"]:hover{
    background-color: transparent !important;
    background-image: url('https://invesjel.es/wp-content/uploads/2023/07/arrowbig.png') !important;
    background-size: 40px auto;
    background-position: 10px center;
    background-repeat: no-repeat;
    border: none !important;
}

.single-treball .wpcf7-form{
    margin-top: 60px;
}

.single-treball  #content{
    padding-bottom: 80px;
}


/* .wp-block-image img{
    width: 100%;
} */
.slider-wrapper.arrows .slider-container {
    position: relative;
	overflow: hidden;
	width: 70%;
	margin-left: 15%;
}

.home-img-background .wp-block-group__inner-container{
    justify-content: flex-end;
    padding-bottom: 50px;
}
.home-img-background .scroll-down {
	bottom: 40px;
}
.home-img-background .scroll-down img{
    height: 30px;
    width: auto !important;
}

.line-bottom::after {
	width: 100%;
	height: 1px;
}
.line-bottom {
	position: relative;
	padding-bottom: .5em;
}

.slider-wrapper.arrows .navigation {
	background-color: transparent;
}

.slider-wrapper.arrows .navigation.next {
	right: 0;
}
.slider-wrapper.arrows .navigation.prev {
	left: 0;
}


input[type="submit"]:hover, .button:hover, .genium-styles p.button-link a:hover, p.button-link a:hover, .wp-block-button a:hover, .comment-reply-link:hover, .woocommerce-message a.button:hover, .woocommerce .cart .button:hover, .woocommerce a.button:hover {
	background: var(--genium--color--principal);
	border-color: var(--genium--color--principal);
	color: var(--genium--color--blanc);
}


.tab-selector-wrapper{
    width: 100%;
    border-bottom: solid 3px var(--genium--color--principal);
    padding-bottom: 8px;
    margin-bottom: 80px;
}
.tab-selector-wrapper .tab-selector{
    display: inline-block;
    font-size: var(--genium--fonts--p--medium);
    opacity: .5;
    cursor: pointer;
}
.tab-selector-wrapper .tab-selector:hover{
    opacity: 1;
}
.tab-selector-wrapper .tab-selector.active{
    opacity: 1;
}
.tab-selector-wrapper .tab-selector:not(:last-child)::after{
    content: ' / ';
    margin-left: 10px;
    margin-right: 10px;
}
.tabs .tab{
    display: none;
}
.tabs .tab.active{
    display: block;
}

#side-menu{
    padding: 50px 30px;
}
#side-menu ul li a{
    font-size: 1.4rem !important;
}

.block-background-image img{
    height: 100%;
    object-fit: cover;
}

.cols-3 .wp-block-column{
    margin-bottom: 0 !important;
}

.genium-styles .full-width.padding-sides {
	padding-left: var(--genium--padding--sides) !important;
	padding-right: var(--genium--padding--sides) !important;
}
.genium-styles .full-width.padding-sides-big {
	padding-left: calc(var(--genium--padding--sides) * 2) !important;
	padding-right: calc(var(--genium--padding--sides) * 2) !important;
}

#footer{
    margin-top: 0;
}

.footer-wrapper .bottom-bar ul li:not(:first-of-type){
    margin-left: 0 !important;
    margin-right: 0 !important;
}
#footer ul.menu{
    display: flex;
    flex-flow: row wrap;
    gap: 60px;
}
#footer ul.menu li.menu-item-has-children .sub-menu{
    display: block !important;
    background-color: transparent !important;
    padding-left: 0;
    position: relative;
    width: auto;
}
#footer ul.menu li.menu-item-has-children .sub-menu li{
    padding-left: 0;
    margin-left: 0;
    margin-bottom: 1em;
}
#footer ul.menu li.menu-item-has-children .sub-menu li a::before{
    display: none !important;
}

.columna-historia{
    margin-bottom: 0;
}
.columna-historia .borde img{
    width: auto;
    padding: 12px;
    background-color: #ffffff;
}
.columna-historia .padding-sides{
    padding-left: 50px;
    padding-right: 50px;
}

#main-menu.wp-block-columns{
    display: flex;
    flex-flow: column wrap;
    flex-wrap: wrap;
    gap: 5px !important;
    justify-content: flex-end;
    align-items: flex-end !important;
    padding-bottom: 20px;
}

#main-menu.wp-block-columns a.areaclients{
    padding-right: 20px;
    font-weight: 500 !important;
}
#main-menu.wp-block-columns a.areaclients img{
    height: 20px;
    width: auto;
    margin-right: 6px;
    transform: translateY(2px);
}

.footer-wrapper .bottom-bar .menu{
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

a.areaclients{
    font-weight: 500 !important;
}

a.areaclients img{
    height: 20px;
    width: auto;
    margin-right: 6px;
    transform: translateY(2px);
}

.alternate-images .wp-block-columns .wp-block-column.text-column p{
    padding-left: 15%;
    padding-right: 15%;
}

.colaboracions .wp-block-image img{
    max-width: 120px !important;
    height: auto;
    text-align: center;
    filter: grayscale(1) contrast(0) brightness(0);
    opacity: .25;
    transition: .2s;
}
.colaboracions .wp-block-image a:hover img{
    filter: grayscale(0) contrast(1) brightness(1);
    opacity: 1;
}
.colaboracions .wp-block-image{
    text-align: center;
}

#header .menutop{
    display: flex;
    flex-flow: row wrap;
    align-items: center;
}

#footer .social-media{
    text-align: right;
}
#footer .social-media img{
    transition: .2s;
    filter: brightness(0) saturate(0);
    opacity: .3;
}
#footer .social-media img:hover{
    opacity: 1;
    filter: brightness(1) saturate(1);
}

#header .menutop .dropdown{
    margin: 0;
    text-align: center;
    /* margin-right: 30px; */
}
#header .menutop .dropbtn{
    border: none !important;
}
#header .menutop  .dropdown-content {
	text-align: center;
	min-width: 120px;
    min-width: 140px;
}

.wp-block-image a{
    display: block;
    overflow: hidden;
}
.wp-block-image a img{
    transition: .2s;
}
.wp-block-image a:hover img{
    transform: scale(1.05);
}

input[type="submit"]:hover {
	background-color: transparent !important;
	background-image: url('https://invesjel.es/wp-content/uploads/2023/07/arrowbig.png') !important;
	background-size: 40px auto;
	background-position: 10px center;
	background-repeat: no-repeat;
	border: none !important;
}

.galleries-wrapper .wp-block-group__inner-container{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}
.galeries-item .wp-block-gallery{
    display: none;
}

.galeries-item p.link-arrow{
    margin-top: 0;
}

.lightbox{
    height: 100%;

    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
}
.lb-dataContainer{
    padding-top: 0;
    display: none !important;
}

#language-select a{
    margin-right: 15px;
}

.lightbox{
    position: fixed !important;
    top: 0 !important;
}

#side-menu .idioma{
    display: flex;
    flex-flow: row wrap;
    gap: 24px;
    margin-bottom: 20px;
}


.menu-open #header{
    background-color: #ffffff !important;
}
.menu-open.page-template-template-transparent-header #header .logo img{
    filter: none !important;
}
.menu-open.page-template-template-transparent-header #header #menu-button .lineamenu {
	background: var(--genium--color--principal);
}

.areaclients{
    display: none;
}

#side-menu .menu-item-has-children > a::after {
	top: -.15em;
    border-width: 0.1em 0.1em 0 0;
}

.link-arrow img {
	margin-left: -10px;
}

.ficha h1{
    font-size: 2.5rem !important;
    font-weight: bold;
    margin-bottom: 70px;
    margin-top: 30px;
}
.ficha h2{
    font-size: 2rem !important;
    font-weight: bold;
    margin-bottom: 30px;
}

.ficha ul{
    padding-left: 20px;
}

.ficha.genium-styles p img{
    transform: translateY(-3px);
}

.imgllogat{
    position: relative;
    overflow: hidden;
}
.llogat-barra{
    background-color: var(--genium--color--principal);
    color: #ffffff;
    font-size: 1.5rem !important;
    text-align: center;
    position: absolute;
    top: 25px;
    right: -80px;
    width: 300px;
    padding: 5px;
    transform: rotate(35deg);
}

/* BREAKPOINTS */
@media (max-height: 750px) { 

}

@media (max-width: 1200px) {

    body{
        --genium--logo--height: 50px;
    }
    #header .logo img {
        transform: translateY(0);
    }


    #header .areaclients{
        display: none;
    }

    #side-menu ul.menu li, #side-menu .menu ul li{
        display: block;
    }

    #header .menutop{
        display: none;
    }

}

@media (max-width: 781px) { 
    body{
        --genium--logo--height: 36px;
        --genium--height--header: 60px;

        --genium--fonts--h1: 2rem;
        --genium--fonts--h2: 1.7rem;
        --genium--fonts--h3: 1.4rem;
        --genium--fonts--h4: 1.15rem;
        --genium--fonts--p: 1.1rem;
        --genium--fonts--p--small: 0.93rem;
        --genium--fonts--p--medium: 1.25rem;
        --genium--fonts--p--large: 1.5rem;
        --genium--fonts--p--xlarge: 2rem;

        --genium--padding--sides: 5%;
    }
    #header {
        padding-top: 13px;
    }
    #header .logo img {
        transform: translateY(0);
    }


    #footer.footer-wrapper .bottom-bar ul.menu li{
        display: block;
        margin-bottom: 1em;
        margin-left: 0;
    }

    ul.menu li, .menu ul li{
        display: block;
    }

    .home-img-background .background-image.visible{
        opacity: .6;
    }

    .home-img-background{
        height: auto;
        padding-top: 100px;
        padding-bottom: 50px;
    }
    .home .home-img-background{
        padding-top: 150px;
        padding-bottom: 0;
    }
    .home-img-background .content-block,
    .home-img-background .wp-block-group__inner-container
    {
        padding-bottom: 0;
    }

    .genium-styles > .wp-block-group, .genium-styles > p, .genium-styles > h1, .genium-styles > h2, .genium-styles > h3, .genium-styles > h4, .genium-styles > h5, .genium-styles > h6, .genium-styles > ul, .genium-styles > ol, .genium-styles > .wp-block-columns, .genium-styles > .wp-block-image, .genium-styles > .wp-block-gallery, .genium-styles > .lwptoc, .genium-styles > .wp-block-video, .genium-styles > .wp-block-table, .genium-styles > .wpcf7,
    .padding-sides 
    {
        padding-left: calc(var(--genium--padding--sides) * 2) !important;
        padding-right: calc(var(--genium--padding--sides) * 2) !important;
    }

    .block-background-image .wp-block-columns{
        padding: 30px;
    }

    .block-background-image .wp-block-columns {
        padding: 29px 0px;
    }


    .images-home-escala figure:nth-child(1),
    .images-home-escala figure:nth-child(2)
    {
        width: 100%;
        margin: 0;
    }

    .content-with-sidebar-wrapper .content{
        width: 100%;
    }

    #sidebar .post-wrapper{
        margin-bottom: 0;
    }

    .wp-block-columns{
        margin-top: 0 !important;
    }
    
    .button-wrap{
        position: relative;
        margin-top: 70px !important;
    }
    .button-wrap a {
        padding: 25px 40px;
    }
    .home-img-background .scroll-down{
        display: none;
    }
    .alternate-images .wp-block-columns .wp-block-column.text-column p{
        padding-left: 0;
        padding-right: 0;
    }

    #header .language{
        display: none;
    }

    #footer ul.menu{
        gap: 20px !important;
        margin-bottom: 30px;
    }
    #footer.footer-wrapper .bottom-bar ul.menu li{
        width: 100%;
    }
    .footer-wrapper .bottom-bar .image{
        text-align: center;
    }

    #footer.footer-wrapper .bottom-bar ul.menu{
        display: flex;
        flex-flow: row wrap;
    }
    #footer.footer-wrapper .bottom-bar ul.menu > li {
        width: 40%;
    }

/* 
    .galleries-wrapper .wp-block-group__inner-container {
        display: flex;
        flex-flow: row wrap;
        justify-content: center;
        gap: 10px;
    }
    .galleries-wrapper .wp-block-group__inner-container .wp-block-group{
        flex-basis: calc(50% - 5px);
    }
    .galleries-wrapper .wp-block-group__inner-container .wp-block-group .link-arrow {
        width: 100%;
        margin: 0;
    } */
    .galeries-item,
    .link-arrow,
    .link-arrow a
    {
        width: 100%;
    }
    .link-arrow a{
        display: block;
    }
    
    #footer .social-media {
        width: 100%;
        text-align: center;
    }

    .footer-wrapper .bottom-bar .image img{
        display: none;
    }

    .logosfooter {
        flex-flow: row wrap-reverse;
        gap: 40px;
    }

    .genium-styles > .full-width{
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .wp-block-columns.reverse-mobile{
        flex-wrap: wrap-reverse !important;
    }
    .no-margin-bottom.wp-block-columns{
        margin-bottom: 0 !important;
    }

    .genium-styles > .wp-block-columns.columna-historia{
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .genium-styles > .wp-block-columns.columna-historia .wp-block-column:nth-child(2){
        padding-left: var(--genium--padding--sides-big) !important;
        padding-right: var(--genium--padding--sides-big) !important;
    }

    .page-template-template-mobile-header-verd #header{
        background-color: var(--genium--color--principal);
    }
    .page-template-template-mobile-header-verd #content {
        padding-top: calc(var(--genium--height--header));
    }
    .page-template-template-mobile-header-verd #header .logo img{
        filter: brightness(0) invert(1);
    } 
    .page-template-template-mobile-header-verd #header #menu-button .lineamenu {
        background: #ffffff;
    }
    .page-template-template-mobile-header-verd #header.slim .logo img,
    .page-template-template-mobile-header-verd.menu-open #header .logo img
    {
        filter: none;
    } 
    .page-template-template-mobile-header-verd #header.slim #menu-button .lineamenu,
    .page-template-template-mobile-header-verd.menu-open #header #menu-button .lineamenu
    {
        background: var(--genium--color--principal);
    }
    .page-template-template-mobile-header-verd #header.slim,
    .page-template-template-mobile-header-verd.menu-open #header
    {
        background-color: #ffffff;
    }

    #content.ficha.padding-sides{
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    #content.ficha .wp-block-spacer{
        display: none !important;
    }
    #content.ficha .estancia{
        flex-flow: column-reverse wrap !important;
    }
    .ficha h1 {
        font-size: 2rem !important;
        margin-bottom: 30px;
        margin-top: 0;
    }
    .ficha .wp-block-column h2:first-child{
        margin-top: 1em;
    }
    #content.ficha .wp-block-columns{
        margin-bottom: 0 !important;
    }
}

@media (max-width: 543px) { 
    .images-home-escala img{
        width: 100%;
        margin-top: var(--genium--columns--margin);
    }
}




.slider-vertical {
    display: flex;
    justify-content: center;
    overflow: hidden;
    position: relative;
    height: 80vh;
}
.slider-vertical .wp-block-group__inner-container {
    position: relative;
    overflow: hidden;
    width: 80%;
    height: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.slider-vertical .wp-block-group__inner-container .wp-block-image {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
}
.slider-vertical .wp-block-group__inner-container .wp-block-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: top;
}
.slider-vertical .wp-block-group__inner-container .wp-block-image.active {
    z-index: 3;
    -webkit-animation: slide 1s 1;
}
.slider-vertical .wp-block-group__inner-container .wp-block-image:not(.active) {
    -webkit-animation: hidden 1s 1;
}
.slider-vertical .thumbnails{
    width: 20%;
    /* height: 80vh; */
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: flex;
    flex-direction: column;
}
.slider-vertical .thumbnails .wp-block-image {
    flex-grow: 1;
    flex-basis: 10px;
    height: 10px;
}
.slider-vertical .thumbnails .wp-block-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    cursor: pointer;
}
@keyframes slide {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(0%);
    }
}
@keyframes hidden {
    0% {
        z-index: 2;
    }
    100% {
        z-index: 2;
    }
}


@media (max-width: 768px) { 
    .slider-vertical {
        height: 30vh;
    }
}
