html, body{
	scroll-padding-top: 110px;
}
.lwptoc{
	margin-bottom: 70px !important;
}
.color-genium,
.has-genium-color
{
    color: var(--genium--color--principal);
}

.genium-styles p.has-large-font-size{
    font-weight: 500;
}

body.page-template-template-home{
    background-color: var(--genium--color--principal);
    transition: .8s;
}
body.page-template-template-home:not(.canvi-background) #header{
    background: #2f36cb;
    color: var(--genium--color--blanc);
}
body.page-template-template-home:not(.canvi-background) #header .logo img{
    filter: brightness(0) invert(1);
}
body.page-template-template-home.menu-open:not(.canvi-background) #header .logo img{
    filter: none;
}
body.page-template-template-home:not(.canvi-background) #search-button g {
	fill: var(--genium--color--blanc);
}

body.page-template-template-home.canvi-background,
body.page-template-template-home.canvi-background #header{
    background-color: #f4f4f4;
}

body.page-template-template-home.canvi-background #menu-button .lineamenu{
    background-color: var(--genium--color--principal);
}

.home-genium{
    position: relative;
    width: 100%;
    height: 95vh;
    margin-bottom: 5vh;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: url('icona-play-ok.svg'), pointer;
}
.home-genium.playing{
    cursor: url('icona-play-small.svg'), pointer;
}
.home-genium.playing.stopped{
    cursor: url('icona-play-ok.svg'), pointer;
}
.home-genium.finished{
    cursor: default !important;
}

.home-genium h1{
    font-size: 4.2vw !important;
    line-height: 1.1em !important;
    color: var(--genium--color--blanc);
    margin: 0 !important;
}
.home-genium h1 .fila1{
    animation: 1s appear-genium;
    animation-fill-mode: backwards;
    display: block;
}
.home-genium h1 .fila2{
    animation: 1s appear-genium;
    animation-delay: .25s;
    animation-fill-mode: backwards;
    display: block;
}

.same-height .wp-block-column{
    display: flex;
    flex-flow: column wrap;
}
.flex-grow{
    flex-grow: 1;
}

.open-contact{
    cursor: pointer;
}

.lletra-petita{
    font-size: 15px !important;
}

.proxima{
    font-family: 'Proxima Nova';
}

body.page-template-template-home .home-genium h2{
    color: var(--genium--color--blanc);
    animation: 1s appear-genium;
    animation-delay: .7s;
    animation-fill-mode: backwards;
    font-size: 2vw !important;
}
body.page-template-template-home .home-genium p a{
    color: var(--genium--color--blanc) !important;
}
body.page-template-template-home #content{
    padding: 0;
    margin: 0;
    /* height: 100vh; */
}
/* body.page-template-template-home #header ul.menu li a:hover {
	color: var(--genium--color--secundari);
} */
 .hover-color ul.menu li a:hover, .hover-color ul.menu li.current_page_item a {
	color: inherit;
}

#side-menu{
    background-color: #F4F4F3 !important;
    top: 0;
    padding-top: 100px;
    z-index: 4;
    height: 100vh;
}

body.menu-open #menu-button .lineamenu:nth-child(1) {
	background-color: var(--genium--color--principal);
}
body.menu-open #menu-button .lineamenu:nth-child(3) {
	background-color: var(--genium--color--principal);
}
#side-menu form.search-form{
    margin-bottom: 30px;
}
#side-menu form.search-form input[type="search"]{
    background-color: var(--genium--color--blanc);
    border: none !important;
    border-radius: 20px;
}
#side-menu ul li {
	margin-bottom: .5em;
    font-size: 1.7rem !important;
    color: var(--genium--color--principal);
}
#side-menu .social-media{
    margin-top: 40px;
}

/*backgrounds*/
.background-gray,
.page-id-8,
.page-id-8 #header,
.page-id-8 #header.slim,
.blog #header,
.blog #header.slim,
body.blog,
body.archive.category,
.page-id-711,
.page-id-711 #header,
.page-id-713,
.page-id-713 #header,
body.post-type-archive-caso-de-exito,
body.post-type-archive-caso-de-exito #header
{
    background-color: #F4F4F3 !important;
}

/* WIDTH I PADDINGS */
#content {
    padding-top: calc(var(--genium--height--header) + 40px);
}

/*HEADER*/
#header{
    background: transparent;
    padding-top: 30px;
    padding-bottom: 27px;
}
#header.slim{
    background: var(--genium--color--blanc);
}
#header .logo{
    flex-grow: 0;
    z-index: 2;
}
#main-menu > ul.menu{
	flex-grow: 1;
}
#main-menu.wp-block-columns{
    flex-grow: 1;
}
#header ul.menu li a{
    font-weight: normal;
    font-family: 'Proxima Nova';
    font-weight: normal;
    /* transform: translateY(4px); */
    font-size: 1.1em;
    height: auto;
    z-index: 2;
}
#search-button{
    height: 35px;
}

#header #main-menu ul.menu > li > a::after{
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background-color: var(--genium--color--text);
    transition: .2s;
}
#header #main-menu ul.menu > li > a:hover::after{
    width: 100%;
}
.home #header #main-menu ul.menu > li > a::after{
    background-color: #ffffff;
}

#header.inverted{
    color: #ffffff;
}
#header.inverted .logo,
#header.inverted svg
{
    filter: brightness(0) invert(1);
}
#header.inverted #main-menu ul.menu > li > a::after {
	background-color: #ffffff;
}
#header.inverted .dropbtn::after {
	border-top: .5em solid #ffffff;
}

/*FOOTER*/
.footer-wrapper .footer-info {
	background: var(--genium--color--principal);
    color: var(--genium--color--blanc);
    gap: 0 !important;
}
.footer-wrapper .footer-info p{
    max-width: 400px;
}
.footer-wrapper .bottom-bar{
    justify-content: flex-start;
}
.footer-contacte a{
    font-size: 2rem;
}
.footer-wrapper .footer-info.footer-2{
    padding-top: 50px;
    padding-bottom: 50px;
}
#footer .footer-info .wp-block-column.col-big{
    flex-basis: 40%;
}

.font-weight-medium{
    font-weight: 500 !important;
}

.footer-wrapper .bottom-bar{
    padding-bottom: 3em;
}


.section-home,
.section-home p,
.section-home a
{
    color: var(--genium--color--blanc) !important;
}
.section-home .text-lateral{
    font-size: 5rem !important;
    line-height: 1.1em !important;
    transform: translateY(14px);
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
}

/*modals home*/
.small-gap,
.blog-content .wp-block-columns.small-gap
{
    gap: 15px !important;
}

.modal{
    background-color: #FCFBF7;
    padding: 50px 70px !important;
}
.contacte-modal{
    position: fixed;
    right: 0;
    top: 0;
    transform: translateX(0);
    z-index: 9;
    height: 100vh;
    display: flex;
    flex-flow: column wrap;
    justify-content: space-between;
    max-width: 500px;
    width: 100%;
    padding: 100px 70px !important;
    transition: .5s cubic-bezier(.19,1,.22,1);
}
.contacte-modal.closed{
    transform: translateX(100%);
}
.contacte-modal p{
    margin-top: .5em;
    margin-bottom: .5em;
}
.contacte-modal p.no-margin-bottom{
    margin-bottom: 0;
}
.contacte-modal p.no-margin-top{
    margin-top: 0;
}
.contacte-modal p.whatsapp a{
    color: var(--genium--color--principal);
    transition: .2s;
}
.contacte-modal p.whatsapp a:hover{
    color: #34a854 !important;
}
.contacte-modal p.whatsapp a svg g{
    fill: var(--genium--color--principal) !important;
    transition: .2s;
}
.contacte-modal p.whatsapp a:hover svg g{
    fill: #34a854 !important;
}
.contacte-modal .wp-block-image{
    margin-bottom: 0;
}
.contacte-hover{
    transition: .3s;
}
.contacte-hover:hover{
    transform: translateX(7px);
}
.contacte-hover p.color-text a{
    color: var(--genium--color--text) !important;
}

/* modal */
#modal-popup{
    position: fixed;
    bottom: 0;
    right: 5%;
    animation: popup-appear .5s;
    animation-delay: 3s;
    animation-fill-mode: backwards;
    transition: .5s;
    z-index: 2;
    cursor: pointer;
}
#modal-popup.closed,
.closed #modal-popup
{
    transform: translateY(80%);
    animation: none;
    padding-top: 20px !important;
}

#modal-popup.closed .close-modal,
.closed #modal-popup .close-modal{
    display: none;
}

@keyframes popup-appear{
    0%{
        transform: translateY(100%);
    }
    100%{
        transform: translateY(0);
    }
}
#click-modal{
    cursor: pointer;
}
#modal-popup .image {
    border-radius: 50%;
    box-shadow: inset 0 0 0 4px transparent;
    width: 150px;
    height: 150px;
    transition: .5s;
}
#modal-popup .image:hover{
    box-shadow: inset 0 0 0 4px var(--genium--color--principal);
}
#modal-popup .image img{
    border: solid 4px transparent;
    box-sizing: border-box;
    width: 150px;
    height: 150px;
    transition: .5s;
    transform: scale(1);
    /* border-radius: 50%; */
    position: relative;
    z-index: -1;
}
#modal-popup:hover .image img{
    /* border: solid 4px var(--genium--color--principal); */
    transform: scale(1.05);
}
.close-modal{
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    transition: .2s;
}
.close-modal:hover{
    transform: scale(1.1);
}

.single-post-sidebar .lwptoc {
    position: sticky;
    top: 20px;   /* distance from the top of the screen */
    z-index: 100; /* make sure it stays above background elements */
}

.wp-block-separator {
	border-top: 1px solid;
	border-bottom: none;
    border-color: #dfdfdf;
    margin-top: 35px;
    margin-bottom: 35px;
}
p.with-icon{
    padding-left: 2em;
}
p.with-icon svg, p.with-icon img {
	width: 1.5em !important;
    top: -.1em;
}
.overlay-background{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,.2);
    max-width: 100% !important;
    z-index: 5;
    opacity: 0;
    pointer-events: none;
    transition: .5s cubic-bezier(.19,1,.22,1);
}
.overlay-background.opened{
    opacity: 1;
}

.is-bottom{
    padding: 50px;
    box-sizing: border-box;
}

/* social media */
.social-media a{
    display: block;
}
.social-media a img{
    width: 30px;
    height: auto;
}
.social-media a:not(:first-of-type) {
	margin-left: 0;
}
.social-media .icon-text{
    margin-bottom: 30px;
}

.animacio1-overlay{
    margin-top: -290px;
}


/* blog content */
.blog-content p,
.blog-content ul,
.blog-content ul li,
.blog-content ol,
.blog-content ol li,
.blog-content table
{
    font-family: 'Proxima Nova';
    font-weight: 400;
    font-size: 1.3rem !important;
    line-height: 1.42em;
}
.blog-content a {
	font-weight: 600 !important;
}
.blog-content h1{
    margin-top: 0;
}

.blog-content h2{
    color: var(--genium--color--principal);
}


.caso-de-exito-template-default #header{
    color: #ffffff;
}
.caso-de-exito-template-default #header .logo,
.caso-de-exito-template-default #header svg
{
    filter: brightness(0) invert(1);
}
.caso-de-exito-template-default #header #main-menu ul.menu > li > a::after {
	background-color: #ffffff;
}
.caso-de-exito-template-default  #header .dropbtn::after {
	border-top: .5em solid #ffffff;
}
.caso-de-exito-template-default #header #menu-button .lineamenu {
	background: #ffffff;
}

.caso-de-exito-template-default #content{
    padding-top: 0;
}
.caso-exito-header{
    padding-top: 150px;
}
.caso-de-exito-template-default .blog-content h2{
    color: var(--genium--color--text);
}
.caso-de-exito-template-default .blog-content .wp-block-columns {
	gap: calc(var(--genium--columns--margin)*3) !important;
}
.caso-de-exito-template-default .blog-content .wp-block-columns .wp-block-columns {
	gap: calc(var(--genium--columns--margin)*1) !important;
}
.caso-de-exito-template-default .blog-content .wp-block-columns.small-gap{
    gap: 25px !important;
}
.caso-exito-header figure.wp-block-image{
    margin-bottom: 20% !important;
    margin-top: 0;
}
.caso-exito-header figure.wp-block-image img{
    margin-bottom: -20% !important;
}
.caso-exito-header p:not(.has-text-color) a {
	color: inherit;
}
.caso-exito-header p{
    max-width: 850px;
}
.caso-de-exito-template-default .blog-content .wp-block-image.image-overflow-top{
    transform: translateY(-300px);
    margin-bottom: -300px;
}
.caso-de-exito-template-default .blog-content .wp-block-image img{
    margin-top: 20px;
    margin-bottom: 20px;
}

/* .postid-820 #header{
    background-color: #000000;
}
.postid-2491 #header{
    background-color: #006ea4;
}
.postid-2513 #header{
    background-color: #e5003d;
}
.postid-2440 #header{
    background-color: #39453a;
} */

.list-links p.list-title{
    font-size: 1em !important;
    font-family: 'Aventa';
    opacity: .65;
    margin-bottom: 15px;
}
.list-links p{
    margin-top: 0;
    margin-bottom: 8px;
}
.list-links a{
    margin-bottom: 0;
    font-weight: normal !important;
}

.single-post .blog-content h2{
    /*margin-top: calc(-120px + 1em) !important;*/
    position: relative;
}
.single-post .blog-content h2 span{
    scroll-margin-top: 120px;
}
/*.single-post .blog-content h2 span{
    padding-top: 120px;
    display: block;
    position: relative;
}*/

.blog-content h3{
    margin-top: 1.5em;
    margin-bottom: 0;
    color: var(--genium--color--principal);

}
.blog-content ul,
.blog-content ol{
    margin-top: 2em;
    margin-bottom: 2em;
    padding-left: 20px;
    position: relative;
}
.blog-content ul li,
.blog-content ol li
{
    padding-left: 30px;
    margin-bottom: 1em;
    padding-bottom: 1em;
    border-bottom: solid 1px #D9D9D9;
}
.blog-content ul li:last-of-type,
.blog-content ol li:last-of-type{
    border-bottom: 0;
}
.blog-content ul li{
    list-style: none;
}
.blog-content ul li::before{
    content: '\2022';
    font-size: 2rem;
    color: var(--genium--color--principal);
    position: absolute;
    left: 20px;
    line-height: 1.7rem;
}


.blog-content .wp-block-image img{
    width: 100%;
    height: auto;
    margin-top: 80px;
    margin-bottom: 80px;
}

.single-post .blog-content .wp-block-image img{
    transform: translateX(-60px);
    width: calc(100% + 30px);
    max-width: calc(100% + 30px);
}
.single-post .blog-content .wp-block-image{
    position: relative;
    margin-top: 80px;
    margin-bottom: 80px;
}
.single-post .blog-content .wp-block-image::after{
    content: '';
    position: absolute;
    display: block;
    right: 0;
    top: -30px;
    height: calc(100% + 60px);
    width: 45%;
    background-color: #F4F4F3;
    z-index: -1;
}
.single-post  #content{
    padding-bottom: 0;
}
.single-post .index-page{
    padding-top: 50px;
    padding-bottom: 100px;
}

.blog-content .wp-block-quote{
    font-style: italic;
    font-weight: 500;
    font-size: .9rem !important;
    color: var(--genium--color--principal);
}
.blog-content .wp-block-columns{
    gap: calc(var(--genium--columns--margin)*2) !important;
}

.lwptoc-light .lwptoc_i .lwptoc_item_label {
    font-size: 1.4em;
    font-weight: 500;
}

.compartir{
    display: flex;
    align-items: center;
}

/* table of contents */
.lwptoc-light .lwptoc_i {
	padding: 0;
	background: none !important;
	border: none;
}
.lwptoc_header,
.lwptoc_item_number
{
	display: none;
}
.lwptoc_itemWrap .lwptoc_item:not(:last-of-type){
    margin-bottom: 1em;
    padding-bottom: 1em;
    border-bottom: solid 1px #D9D9D9;
}
.lwptoc_itemWrap .lwptoc_item .lwptoc_item_label::before{
    content: '';
    display: inline-block;
    position: relative;
    width: 0;
    height: 1em;
    top: .17em;
    margin-right: 0px;
    background-image: url('https://geniumdigital.com/wp-content/uploads/2022/06/arrow-blue.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-size: 1em auto;
    background-position: left center;
    opacity: 0;
    transition: width .5s cubic-bezier(.19,1,.22,1), opacity .5s cubic-bezier(.19,1,.22,1), transform .5s cubic-bezier(.19,1,.22,1), margin-right .5s cubic-bezier(.19,1,.22,1);
    transform: translateX(-200%);
}
.lwptoc_itemWrap .lwptoc_item .lwptoc_item_label:hover::before{
    width: 1.25em;
    opacity: 1;
    transform: translateX(0);
    margin-right: 10px;
}

.sidebar-content{
    padding: 10px;
    box-sizing: border-box;
    width: var(--genium--sidebar--width);
}

/*Casos de exito*/
.caso-de-exito-wrapper > .wp-block-columns,
.caso-de-exito-wrapper > p,
.caso-de-exito-wrapper > h1,
.caso-de-exito-wrapper > h2,
.caso-de-exito-wrapper > h3,
.caso-de-exito-wrapper > h4
{
    padding-left: 6% !important;
}

.post-wrapper.exito .wp-block-image{
    padding-bottom: 100%;
}

/*blog*/
.post-wrapper .wp-block-image {
	margin-bottom: 0;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    opacity: .2;
}
.post-wrapper .wp-block-image img{
    filter: saturate(0%);
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    /* transition-delay: .3s; */
}
.post-type-archive-caso-de-exito .post-wrapper .wp-block-image {
    opacity: 1;
}
.post-type-archive-caso-de-exito .post-wrapper .wp-block-image img{
    filter: saturate(100%);
}
.post-wrapper:hover .wp-block-image img{ 
    filter: saturate(100%);
}
.post-wrapper:hover .wp-block-image{ 
    opacity: 1;
}
.post-wrapper .block-text{
    background-color: var(--genium--color--blanc);
    padding: var(--genium--columns--margin);
    transition: .1s;
    flex-grow: 1;
    display: flex;
    flex-flow: column wrap;
    transform: translateY(-2px);
}
.post-wrapper:hover .block-text{
    background-color: var(--genium--color--principal);
    color: var(--genium--color--blanc);
}
.post-wrapper .block-text .excerpt{
    flex-grow: 1;
    margin: 0;
}

/* flex rows */
.flex-rows{
    display: flex;
    flex-flow: row wrap;
    gap: var(--genium--columns--margin);
}
.flex-rows.cols-3 .col{
    flex-basis: calc(100% / 3 - (var(--genium--columns--margin) * 2/3) );
    flex-grow: 0;
}
.flex-rows.cols-4 .col{
    flex-basis: calc(100% / 4 - (var(--genium--columns--margin) * 3/4) );
    flex-grow: 0;
}


.llegir-mes{
    text-align: right;
}
.post-wrapper:hover .llegir-mes svg g{
    fill: var(--genium--color--terciari);
}

.categories-wrapper ul{
    padding: 0;
    margin: 0;
}
.categories-wrapper li{
    list-style: none;
    display: inline-block;
}
.categories-wrapper ul li:not(:first-of-type){
    margin-left: 10px;
}
.post-wrapper .post-title{
    margin-bottom: 35px;
    transition: 0s;
}
.post-wrapper .excerpt{
    width: 65%;
    font-family: 'Proxima Nova';
}



input[type="submit"], .button, .genium-styles p.button-link a, .wp-block-button a, .comment-reply-link, .woocommerce-message a.button, .woocommerce .cart .button, .woocommerce a.button {
	border-radius: 50px;
    padding: 1rem 1.5rem;
    border: none;
    font-family: 'Proxima Nova';
}

.genium-styles p.button-link.alt a {
	background-color: var(--genium--color--blanc);
    color: var(--genium--color--text);
}
.genium-styles p.button-link.alt a:hover,
.genium-styles .current-item p.button-link.alt a
{
	background-color: var(--genium--color--principal);
    color: var(--genium--color--blanc);
}

/*cookies*/
.cmplz-cookiebanner .cmplz-links.cmplz-documents,
.cmplz-cookiebanner .cmplz-header,
.cmplz-cookiebanner .cmplz-divider
{
    display: none !important;
}
.cmplz-cookiebanner{
    align-items: center;
    border-radius: 50px !important;
    padding: 8px !important;
    box-shadow: none !important;
}
.cmplz-categories-visible{
    flex-flow: column wrap;
    align-items: flex-end;
}

.cmplz-cookiebanner.cmplz-show{
    display: flex !important;
    left: var(--genium--padding--sides);
    bottom: 6%;
}
.cmplz-cookiebanner .cmplz-buttons{
    flex-flow: row-reverse;
    gap: 5px !important;
}
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn{
    font-family: 'Proxima Nova';
    font-size: 21px !important;
    min-width: 130px !important;
}
.cmplz-categories-visible.cmplz-cookiebanner .cmplz-buttons{
    margin-right: 20px;
    margin-bottom: 10px;
    }
.cmplz-cookiebanner .cmplz-body{
    min-width: 225px !important;
    width: 225px !important;
    padding-left: 20px;
}
.cmplz-categories-visible .cmplz-body{
    width: auto !important;
    padding: 20px;
    padding-bottom: 0;
}

.cmplz-categories-visible .cmplz-buttons .cmplz-btn.cmplz-deny,
.cmplz-categories-visible .cmplz-buttons .cmplz-btn.cmplz-accept
{
    display: none;
}
.cmplz-cookiebanner .cmplz-message{
    margin-bottom: 0 !important;
    font-family: 'Proxima Nova';
    font-size: 21px !important;
}
.cmplz-categories-visible .cmplz-message{
    margin-bottom: 15px !important;
}
.cmplz-cookiebanner .cmplz-message a{
    text-decoration: underline !important;
}
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-view-preferences{
    border: none !important;
    text-decoration: underline;
    min-width: 0 !important;
    padding: 0 !important;
    padding-right: 15px !important;
}
#cmplz-manage-consent{
    display: none;
}
.cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-description{
    font-family: 'Proxima Nova';
    padding-top: 0 !important;
    line-height: 1.15em;
    padding-right: 12% !important;
    box-sizing: border-box;
}
.cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-always-active{
    display: none;
}
.cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-category-title{
    color: var(--genium--color--principal) !important;
}
.cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-icon.cmplz-open{
    fill: var(--genium--color--principal);
}
.cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-banner-checkbox .cmplz-label::before {
	background-color: var(--genium--color--error) !important;
}
.cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-banner-checkbox input.cmplz-consent-checkbox:checked + .cmplz-label::before {
    background-color: var(--genium--color--principal) !important;
}
.cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-banner-checkbox input.cmplz-consent-checkbox {
	width: 25px !important;
}
.cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-banner-checkbox input.cmplz-consent-checkbox:focus + .cmplz-label::before {
	/* -webkit-box-shadow: 0 0 0 2px var(--genium--color--principal) !important; */
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}


/* CONTINGUT */
.animacio-petita{
    max-width: 600px;
    margin: 0 auto;
}

.wp-block-columns.block-equip{
    gap: calc(var(--genium--columns--margin) *4) !important;
}

.hover-fletxa-block .arrow-hover::before{
    content: '';
    display: inline-block;
    position: relative;
    width: 0;
    height: 1em;
    top: .17em;
    margin-right: 0px;
    background-image: url('https://geniumdigital.com/wp-content/uploads/2022/06/arrow-blue.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-size: 1em auto;
    background-position: left center;
    opacity: 0;
    transition: width .5s cubic-bezier(.19,1,.22,1), opacity .5s cubic-bezier(.19,1,.22,1), transform .5s cubic-bezier(.19,1,.22,1), margin-right .5s cubic-bezier(.19,1,.22,1);
    transform: translateX(-200%);
}
.hover-fletxa-block .arrow-hover.white::before{
    filter: brightness(0) grayscale(1) invert(1);
}
.hover-fletxa-block:hover .arrow-hover::before{
    width: 1.25em;
    opacity: 1;
    transform: translateX(0);
    margin-right: 10px;
}

.arrow-hover.white a::before{
    filter: brightness(0) grayscale(1) invert(1);
}

/* addtoany */
.addtoany_list.a2a_kit_size_32 a:not(.addtoany_special_service) > span{
    background-color: transparent !important;
}
.addtoany_list.a2a_kit_size_32 a:not(.addtoany_special_service) > span svg path{
    fill: var(--genium--color--principal) !important;
}


/* formularis */
.formulari-contacte{
    max-width: 700px !important;
    margin: 0 auto;
}
.wpcf7-form-control-wrap {
	margin-bottom: 1rem;
}
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], textarea,
select,
input[type="date"]
{
    background-color: transparent;
    border: solid 1px #979797;
    width: 100%;
    padding: .5em 1em;
    font-size: 1em;
    font-family: 'Proxima Nova';
    -webkit-appearance: none;
    margin-top: .5rem;
}
.wpcf7 p{
    margin-top: .5rem;
}
input[type="date"]{
    max-height: 19px !important;
}
select{
    -webkit-appearance: none;
}
.wpcf7 label.accept-policy a{
    color: var(--genium--color--principal) !important;
}
.align-center{
    text-align: center;
}
.wpcf7 form.sent .wpcf7-response-output{
    text-align: center;
    font-size: 1.5rem;
    line-height: 1.4em;
}
.font-medium{
    font-weight: 500 !important;
}


body.page-template-template-home #menu-button .lineamenu {
	background: var(--genium--color--blanc);
}

.content-with-sidebar-wrapper #sidebar{
    padding-top: 65px;
}

.page-id-1815 .sidebar-content p:nth-child(1) a{
    opacity: .3;
}
.page-id-764 .sidebar-content p:nth-child(2) a{
    opacity: .3;
}
.page-id-773 .sidebar-content p:nth-child(3) a{
    opacity: .3;
}
.page-id-887 .sidebar-content p:nth-child(4) a{
    opacity: .3;
}
.page-id-899 .sidebar-content p:nth-child(5) a{
    opacity: .3;
}
.page-id-897 .sidebar-content p:nth-child(6) a{
    opacity: .3;
}
.page-id-895 .sidebar-content p:nth-child(7) a{
    opacity: .3;
}


#mc_embed_signup{
    margin: 0 auto;
}
#mc_embed_signup .brandingLogo,
#mc_embed_signup .indicates-required
{
    display: none !important;
}

#mc_embed_signup .button {
    font-family: var(--genium--font--principal) !important;
    padding: 1.2rem 2rem !important;
    box-sizing: border-box !important;
    border: solid 1px var(--genium--color--principal) !important;
    background: var(--genium--color--principal) !important;
    color: var(--genium--color--blanc) !important;
    cursor: pointer !important;
    line-height: 1em !important;
    transition: .3s !important;
    font-size: var(--genium--fonts--p) !important;
    border-radius: 0 !important;
    display: inline-block !important;
    min-width: 220px !important;
    text-align: center !important;
    border-radius: 50px !important;
    padding: 1rem 1.5rem !important;
    border: none !important;
    font-family: 'Proxima Nova' !important;
    height: auto !important;
    margin: 0 auto !important;
    display: block !important;
}
#mc_embed_signup .button:hover {
    background: var(--genium--color--blanc) !important;
    color: var(--genium--color--principal) !important;
}
#mc_embed_signup .foot {
	display: block !important;
}

#search-page {
	background: var(--genium--color--blanc);
}

.blog-content{
    padding-bottom: 80px;
}

#mc_embed_signup #mce-success-response,
#mc_embed_signup div.response
{
    color: var(--genium--color--principal) !important;
    text-align: center !important;
    width: 90% !important;
    font-size: 1.3rem !important;
}

.text-lateral-1{
    opacity: 0;
    animation: .5s disappear-text-genium;
}
.text-lateral-1.show{
    opacity: 1;
    animation: .5s appear-text-genium;
    animation-fill-mode: backwards;
}
.text-lateral-2{
    opacity: 0;
    animation: .5s disappear-text-genium;
}
.text-lateral-2.show{
    opacity: 1;
    animation: .5s appear-text-genium;
    animation-fill-mode: backwards;
}
.text-lateral-3{
    opacity: 0;
    animation: .5s disappear-text-genium;
}
.text-lateral-3.show{
    opacity: 1;
    animation: .5s appear-text-genium;
    animation-fill-mode: backwards;
}

@keyframes appear-text-genium{
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes disappear-text-genium{
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}


.blog-content .block-equip .wp-block-image img{
	margin-bottom: 10px !important;
	margin-top: 0 !important;
}
.icon-social img{
	margin-right: 10px;
	height: 20px;
	width: auto !important;
}

.language .dropdown-content a:hover {
	background-color: #d8d8d8;
}
.page-template-template-home .language  .dropbtn::after {
	border-top: .5em solid #ffffff;
}



.selector-loop {
    margin-bottom: 20px;
}
.selector-loop .wp-block-group {
    gap: 30px;
}
.selector-loop .wp-block-group p a{
    font-size: 1.9rem !important;
    border: solid 2px #ffffff;
    padding-left: 50px;
    padding-right: 50px;
    opacity: .8;
    font-family: var(--genium--font--principal) !important;
    font-weight: 300 !important;
}
.selector-loop .wp-block-group p a:hover{
    opacity: 1;
}
.selector-loop > div{
    white-space: nowrap;
}
.selector-loop .first{
    display: inline-block;
    padding-left: 30px;
    animation: text-loop 90s linear infinite;
}
.selector-loop .second{
    display: inline-block;
    padding-left: 30px;
    animation: text-loop 90s linear infinite;
}
.selector-loop .third{
    display: inline-block;
    padding-left: 30px;
    animation: text-loop 90s linear infinite;
}
.selector-loop.reverse .first{
    animation: text-loop 90s linear infinite reverse;
}
.selector-loop.reverse .second{
    animation: text-loop 90s linear infinite reverse;
}
.selector-loop.reverse .third{
    animation: text-loop 90s linear infinite reverse;
}
@keyframes text-loop {
    0% {transform: translateX(-50%); }
      100% {transform: translateX(-150%); }
}

.columna-home p{
    max-width: 300px;
}
.columna-home a{
    display: block;
}
.columna-home a .wp-block-image{
    overflow: hidden;
}
.columna-home a .wp-block-image img{
    transition: .3s;
}
.columna-home a:hover .wp-block-image img{
    transform: scale(1.06);
}

/* arrows hover */
.columna-home a .arrow-hover::before{
    content: '';
    display: inline-block;
    position: relative;
    width: 0;
    height: 1em;
    top: .17em;
    margin-right: 0px;
    background-image: url('https://geniumdigital.com/wp-content/uploads/2022/06/arrow-blue.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-size: 1em auto;
    background-position: left center;
    opacity: 0;
    transition: width .5s cubic-bezier(.19,1,.22,1), opacity .5s cubic-bezier(.19,1,.22,1), transform .5s cubic-bezier(.19,1,.22,1), margin-right .5s cubic-bezier(.19,1,.22,1);
    transform: translateX(-200%);
}
.columna-home a:hover .arrow-hover::before{
    width: 1.25em;
    opacity: 1;
    transform: translateX(0);
    margin-right: 10px;
}
.columna-home a .arrow-hover.blau::before{
    background-image: url('https://geniumdigital.com/wp-content/uploads/2022/06/arrow-blue.png');
}
.columna-home a .arrow-hover.taronja::before{
    background-image: url('https://geniumdigital.com/wp-content/uploads/2022/06/arrow.png');
}


#videohome,
#videohome2
{
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none;
    opacity: 0;
    transition: .2s;
    width: 100%;
    height: 100vh;
}
#videohome video{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#videohome2 video
{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.playing #videohome{
    opacity: 1;
}
.postvideo{
    display: none;
}
.postvideo p{
    color: #ffffff !important;
}



/* Nadal 24 */
.page-template-template-nadal24 {
    background-color: #000000;
}
.page-template-template-nadal24 #fullpage{
    color: #ffffff !important;
}
.page-template-template-nadal24 #fullpage h1{
    margin-top: 0;
}
.page-template-template-nadal24 #fullpage h1,
.page-template-template-nadal24 #fullpage h2,
.page-template-template-nadal24 #fullpage h3,
.page-template-template-nadal24 #fullpage p,
.page-template-template-nadal24 #fullpage .a
{
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-template-template-nadal24 #header ul.menu li a{
    color: #ffffff;
}
.page-template-template-nadal24 #header img,
.page-template-template-nadal24 #header svg
{
    filter: brightness(0) invert(1);
}
.page-template-template-nadal24 .dropbtn{
    color: #ffffff;
}
.page-template-template-nadal24 .dropbtn::after {
	border-top: .5em solid #ffffff;
}
.page-template-template-nadal24 #nextSlide{
    position: absolute;
    z-index: 1;
    bottom: 40px;
    left: 50%;
    height: 40px;
    width: 40px;
    opacity: 0;
    cursor: pointer;
    transform: translateX(-50%);
    pointer-events: none;
}
.page-template-template-nadal24 #nextSlide.show{
    opacity: 1;
    pointer-events: all;
}
.page-template-template-nadal24 p.text-centered{
    max-width: 630px;
    margin: 0 auto;
    font-size: 24px !important;
}
.page-template-template-nadal24 #mute{
    position: absolute;
    z-index: 1;
    bottom: 40px;
    left: 40px;
    height: 40px;
    width: 40px;
    opacity: 0;
    cursor: pointer;
    pointer-events: none;
}
.page-template-template-nadal24 #mute.show{
    opacity: .5;
    pointer-events: all;
}
.page-template-template-nadal24 #mute.show.muted{
    opacity: 1;
}
.page-template-template-nadal24 #mute.show:hover
{
    opacity: .8;
}
.page-template-template-nadal24 #mute svg{
    height: 100%;
    width: 100%;
    fill: #ffffff;
}
.page-template-template-nadal24 #cmplz-cookiebanner-container{
    display: none;
}

.page-template-template-nadal24 #fullpage .background-image{
    position: absolute;
    z-index: 0;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    opacity: 1;
}
.page-template-template-nadal24 #fullpage .background-image img{
    object-position: center;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.page-template-template-nadal24 .background-text{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%);
    z-index: 1;
    opacity: .9;
}
.page-template-template-nadal24 .playvideo{
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    gap: 13px;
    margin-top: 40px;
    z-index: 2;
    position: relative;
    cursor: pointer;
}
.page-template-template-nadal24 .playvideo svg{
    transition: .2s;
}
.page-template-template-nadal24 .playvideo:hover svg{
    transform: scale(1.1);
}
.page-template-template-nadal24 #menu-button .lineamenu {
	background: #ffffff;
}
body.page-template-template-nadal24  #side-menu{
    background-color: #000000 !important;
}
body.page-template-template-nadal24  #side-menu a{
    color: #ffffff !important;
}
body.menu-open #menu-button .lineamenu:nth-child(1) {
	background-color: #ffffff !important;
}
body.menu-open #menu-button .lineamenu:nth-child(3) {
	background-color: #ffffff !important;
}
.page-template-template-nadal24 .modal-video video{
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    position: relative;
}
.bounceSpace{
    animation: bounceSpace 2s infinite;
}

@keyframes fadein {
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}
@keyframes content-appear {
    0% {
        height: 0;
    }
    100% {
        height: 200px;
    }
}
@keyframes content-appear2 {
    0% {
        height: 0;
    }
    100% {
        height: 33px;
    }
}
@keyframes background-space {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(2);
    }
}
@keyframes bounceSpace {
    0% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, -2em);
    }

    100% {
        transform: translate(-50%, 0);
    }
}

/* Section 0 */
.page-template-template-nadal24 #fullpage #section0 .background-image{
    height: 0%;
    opacity: 0;
    transition: opacity 1s, height 3s;
}
.page-template-template-nadal24 #fullpage #section0.start .background-image{
    height: 100%;
    opacity: 1;
}
.page-template-template-nadal24 #fullpage #section0.start .background-image img{
    animation: background-space 150s linear;
}
.page-template-template-nadal24 #fullpage #section0 .intro-text{
    opacity: 0;
    transition: 2s;
    transition-delay: 1s;
    font-size: 28px !important;
}
.page-template-template-nadal24 #fullpage #section0 .intro-text .little-text{
    font-size: 1.1rem;
    max-width: 580px;
    display: block;
    margin: 0 auto;
    line-height: 1.5em;
    margin-top: 30px;
}
.page-template-template-nadal24  #section0 #button-start{
    display: block;
    margin: 0 auto;
    color: #ffffff;
    z-index: 3;
    position: relative;
    background-color: transparent;
    border: none;
    opacity: 1;
    transition: .3s;
    cursor: pointer;
    font-size: var(--genium--fonts--h1);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.page-template-template-nadal24  #section0 #button-start:hover{
    transform: translate(-50%, -50%) scale(1.1);
}
.page-template-template-nadal24 #fullpage #section0.start .intro-text{
    opacity: 1;
}
.page-template-template-nadal24 #section0.start #button-start{
    opacity: 0;
    pointer-events: none;
}
.page-template-template-nadal24 .modal-video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color:#000000;
    z-index: 6;
    display: none;
}
.page-template-template-nadal24 .modal-video.open{
    display: block;
}
.page-template-template-nadal24 .modal-video #close-modal-1,
.page-template-template-nadal24 .modal-video #close-modal-2
{
    position: absolute;
    z-index: 3;
    top: 40px;
    right: 40px;
    height: 40px;
    width: 40px;
    cursor: pointer;
    transition: .3s;
}
.page-template-template-nadal24 .modal-video #close-modal-1:hover,
.page-template-template-nadal24 .modal-video #close-modal-2:hover
{
    transform: scale(1.1);
}
.page-template-template-nadal24 #header.videoplay{
    z-index: -1;
}

/* Section 1 */
.page-template-template-nadal24 #fullpage #section1 .background-image{
    height: 80%;
    opacity: 0;
}
.page-template-template-nadal24 #fullpage #section1.active-slide .background-image{
    animation: fadein 2s;
    animation-delay: 1.3s;
    animation-fill-mode: forwards;
}
.page-template-template-nadal24 #fullpage #section1 .background-image img{
    object-position: left;
    object-fit: contain;
    width: 100%;
    height: 100%;
}
.page-template-template-nadal24 #section1 .background-text{
    opacity: 0;
}
.page-template-template-nadal24 #section1 .text-centered{
    height: 0;
    overflow: hidden;
}
.page-template-template-nadal24 #section1.active-slide .text-centered{
    animation: content-appear 2s;
    animation-delay: .5s;
    animation-fill-mode: forwards;
}

.page-template-template-nadal24 #section1 .persones{
    flex-basis: calc((100% - 620px) / 2);
    opacity: 0;
    text-align: center;
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}
.page-template-template-nadal24 #section1 .persones a{
    display: block;
    margin-bottom: 30px;
}
.page-template-template-nadal24 #section1.active-slide .persones{
    animation: fadein 2s;
    animation-delay: 2s;
    animation-fill-mode: forwards;
}
.page-template-template-nadal24 #section1 .persones a img{
    display: block;
    margin: 0 auto;
    max-width: 320px;
    transition: .3s;
}
.page-template-template-nadal24 #section1 .persones a .image{
    overflow: hidden;
    margin-bottom: 15px;
}
.page-template-template-nadal24 #section1 .persones a:hover img{
    transform: scale(1.1);
}

/* Section 2 */
.page-template-template-nadal24 #section2 .text-centered{
    height: 0;
    overflow: hidden;
}
.page-template-template-nadal24 #section2.active-slide .text-centered{
    animation: content-appear 2s;
    animation-delay: .5s;
    animation-fill-mode: forwards;
}
.page-template-template-nadal24 #fullpage #section2 .background-image{
    opacity: 0;
}
.page-template-template-nadal24 #fullpage #section2.active-slide .background-image{
    animation: fadein 2s;
    animation-delay: 1.3s;
    animation-fill-mode: forwards;
}
.page-template-template-nadal24 #fullpage #section2 .playvideo{
    opacity: 0;
}
.page-template-template-nadal24 #fullpage #section2.active-slide .playvideo{
    animation: fadein 2s;
    animation-delay: 1.1s;
    animation-fill-mode: forwards;
    text-align: center;
    line-height: 1.5em;
}

/* Section 3 */
.page-template-template-nadal24 #section3 .text-centered{
    height: 0;
    overflow: hidden;
}
.page-template-template-nadal24 #section3.active-slide .text-centered{
    animation: content-appear 2s;
    animation-delay: .5s;
    animation-fill-mode: forwards;
}
.page-template-template-nadal24 #fullpage #section3 .background-image{
    opacity: 0;
}
.page-template-template-nadal24 #fullpage #section3.active-slide .background-image{
    animation: fadein 2s;
    animation-delay: 1.3s;
    animation-fill-mode: forwards;
}
.page-template-template-nadal24 #fullpage #section3 .playvideo{
    opacity: 0;
}
.page-template-template-nadal24 #fullpage #section3.active-slide .playvideo{
    animation: fadein 2s;
    animation-delay: 1.1s;
    animation-fill-mode: forwards;
    text-align: center;
    line-height: 1.5em;
}

/* Section 4 */
.page-template-template-nadal24 #section4 .text-centered{
    height: 0;
    overflow: hidden;
}
.page-template-template-nadal24 #section4.active-slide .text-centered{
    animation: content-appear 2s;
    animation-delay: .5s;
    animation-fill-mode: forwards;
}
.page-template-template-nadal24 #fullpage #section4 .background-image{
    opacity: 0;
}
.page-template-template-nadal24 #fullpage #section4.active-slide .background-image{
    animation: fadein 2s;
    animation-delay: 1.3s;
    animation-fill-mode: forwards;
}

/* Section 5 */
.page-template-template-nadal24 #fullpage #section5 .background-image{
    top: auto;
    z-index: 0;
    overflow: hidden;
    height: 65%;
    transform: none;
    opacity: 0;
}
.page-template-template-nadal24 #fullpage #section5 h1{
    margin-bottom: 20px;
}
.page-template-template-nadal24 #fullpage #section5.active-slide .background-image{
    animation: fadein 2s;
    animation-delay: 0.7s;
    animation-fill-mode: forwards;
}
.page-template-template-nadal24 #section5 .text-centered{
    height: 0;
    overflow: hidden;
}
.page-template-template-nadal24 #section5.active-slide .text-centered{
    animation: content-appear2 1s;
    animation-delay: .5s;
    animation-fill-mode: forwards;
}
.page-template-template-nadal24 #section5 .background-text{
    opacity: 0;
}

@media (min-width: 1800px) { 
    .page-template-template-nadal24 #section1 .persones{
        right: 7%;
    }
}
@media (min-width: 2000px) { 
    .page-template-template-nadal24 #section1 .persones{
        right: 12%;
    }
}
@media (max-width: 1400px) { 
    .page-template-template-nadal24 #section1.active-slide .persones{
        display: none !important;
    }
}
@media (max-width: 768px) { 
    body:not(.fp-responsive) .fp-overflow{
        padding-left: 10%;
        padding-right: 10%;
        box-sizing: border-box;
    }
    .page-template-template-nadal24 #fullpage #section0 .intro-text {
        font-size: 22px !important;
    }
    .page-template-template-nadal24 #fullpage h1{
        font-size: 40px !important;
    }
    .page-template-template-nadal24 p.text-centered {
        font-size: 20px !important;
    }
    .page-template-template-nadal24 #section5 .background-text{
        opacity: .5;
    }
    .page-template-template-nadal24 #section1 .background-text{
        opacity: .5;
    }

    .page-template-template-nadal24 #section5 .fp-overflow {
        margin-top: -25%;
    }

    .page-template-template-nadal24 .modal-video video{
        object-fit: contain;
    }

    .page-template-template-nadal24 #fullpage #section0 .intro-text .little-text{
        margin-top: 0;
    }

    .page-template-template-nadal24 #fullpage #section1 .background-image {
        top: -150px;
        width: 90%;
        height: 100%;
        transform: none;
    }

    .page-template-template-nadal24 #fullpage #section1 .background-image,
    .page-template-template-nadal24 #fullpage #section2 .background-image,
    .page-template-template-nadal24 #fullpage #section3 .background-image,
    .page-template-template-nadal24 #fullpage #section4 .background-image,
    .page-template-template-nadal24 #fullpage #section5 .background-image
    {
        animation: none !important;
        opacity: 1 !important;
    }


    @keyframes content-appear {
        0% {
            height: 0;
        }
        100% {
            height: 280px;
        }
    }
}
.fp-watermark{
    display: none !important;
}


/* NOU BLOG */
.single-post-wrapper{
    border: solid 1px #C9C9C9;
    /* max-width: 1500px;
    margin: 0 auto; */
    position: relative;
    display: block;
    margin-bottom: 70px;
}
.single-post-wrapper .single-post-header{
    display: flex;
    flex-flow: row wrap;
    border-bottom: solid 1px #C9C9C9;
    position: relative;
}
.single-post-wrapper .single-post-header .single-post-header-col1{
    flex-basis: 50%;
    padding: 30px 0px 30px 60px;
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-flow: column wrap;
}
.single-post-wrapper .single-post-header .single-post-header-col1 .single-post-header-title{
    flex-grow: 1;
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
}
.single-post-wrapper .single-post-header .single-post-header-col1 p{
    font-size: var(--genium--fonts--p) !important;
}
.single-post-wrapper .single-post-header .single-post-header-col1 .compartir{
    flex-grow: 0;
}
.single-post-wrapper .single-post-header .single-post-header-col1 h1{
    margin-top: 0;
    margin-bottom: 0;
}
.single-post-wrapper .single-post-header .single-post-header-col2{
    flex-basis: 50%;
    padding: 20px;
    box-sizing: border-box;
}
.single-post-content-wrapper{
    display: flex;
    flex-flow: row wrap;
}
.single-post-content-wrapper .single-post-sidebar{
    flex-basis: 40%;
    padding: 50px;
    box-sizing: border-box;
    border-right: solid 1px #C9C9C9;
}
.single-post-content-wrapper .single-post-content{
    flex-basis: 60%;
    padding: 50px;
    box-sizing: border-box;
}

.single-post-content-max-width{
    max-width: 600px;
    margin: 0 auto;
    display: block;
}
.single-post-content-max-width h1,
.single-post-content-max-width h2,
.single-post-content-max-width h3{
    color: var(--genium--color--principal);
}

.lwptoc {
	margin-bottom: 0px !important;
}

.menu-gran{
    display: none;
    padding-bottom: 50px;
}

#header ul.menu li:hover .menu-gran{
    display: block;
}
#header ul.menu li .menu-gran a{
    padding-left: 0;
}

.serveis-menu p:first-of-type{
    margin-top: 0;
}

#header ul.menu li .menu-gran .has-large-font-size a{
    font-family: 'Aventa';
    font-weight: 600;
    font-size: 1em !important;
}

.menu-gran .wp-block-column a .has-large-font-size{
    margin-bottom: 0;
    font-family: 'Aventa';
}

.menu-gran .arrow-hover.white a::before{
    filter: brightness(0) grayscale(1) invert(1);
}

.menu-gran .menu-big-links{
    max-width: 400px;
}
.menu-gran .menu-big-links{
    transition: .2s;
}
.menu-gran .menu-big-links:hover{
    transform: translateX(10px);
}

.menu-gran >.wp-block-columns > .wp-block-column:first-of-type{
    max-width: 250px;
}
.menu-gran .arrow-hover-menu::before {
	content: '';
    display: inline-block;
    position: relative;
    width: 0;
    height: 1em;
    top: .17em;
    margin-right: 0px;
    background-image: url('https://geniumdigital.com/wp-content/uploads/2022/06/arrow-blue.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-size: 1em auto;
    background-position: left center;
    opacity: 0;
    transition: width .5s cubic-bezier(.19,1,.22,1), opacity .5s cubic-bezier(.19,1,.22,1), transform .5s cubic-bezier(.19,1,.22,1), margin-right .5s cubic-bezier(.19,1,.22,1);
    transform: translateX(-200%);
}
.menu-gran .arrow-hover-menu a{
    display: inline-block !important;
}
.menu-gran .arrow-hover-menu:hover::before {
    width: 1.25em;
    opacity: 1;
    transform: translateX(0);
    margin-right: 10px;
}
.menu-gran .arrow-hover-menu.white::before{
    filter: brightness(0) grayscale(1) invert(1);
}

.menu-gran .as-a{
    position: relative;
    line-height: 1.15em;
    transition: .2s;
    font-family: 'Proxima Nova';
    font-weight: normal;
    font-size: 1.1em !important;
    height: auto;
    z-index: 2;
}


.menu-explora{
    background-color: #2f36cb;
    width: 100%;
    position: fixed;
    left: 0;
    top: 0px;
    padding-top: 120px;
    padding-left: var(--genium--padding--sides);
    padding-right: var(--genium--padding--sides);
    box-sizing: border-box;
    color: #ffffff;
}
.menu-explora > .wp-block-columns{
    gap: 0 !important;
}
.menu-explora > .wp-block-columns > .wp-block-column{
    border: solid 1px #ffffff;
    padding: 40px 40px 40px 50px;
}
.menu-explora > .wp-block-columns > .wp-block-column:first-of-type{
    border-right: none;
}
.menu-explora > .wp-block-columns > .wp-block-column:last-of-type{
    border-left: none;
    position: relative;
}
.menu-explora > .wp-block-columns > .wp-block-column:last-of-type::before {
    content: "";
    position: absolute;
    inset: 0;              /* cover the entire div */
    background: #ffffff;   /* copy parent’s background */
    opacity: 0.1;          /* make only background transparent */
    z-index: -1;           /* keep it behind text */
}
.menu-explora .wp-block-separator{
    border-color: #dfdfdf;
    transform: translateX(-50px);
    width: calc(100% + 90px);
}
.menu-explora a{
    color: #ffffff !important;
    display: block;
}
.menu-explora .test-titol{
    opacity: .7;
    margin-bottom: 40px;
    margin-top: 0;
}
.menu-explora .test-titol-gran{
    font-size: 2rem !important;
    margin-top: 0;
}
.menu-explora .has-small-font-size{
    font-size: 16px !important;
}
.menu-explora a strong{
    font-weight: 600 !important;
}

.latest-two-posts .arrow-after{
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: solid 1px rgba(255,255,255,.46);
}

.latest-two-posts p.has-medium-font-size{
    font-size: 21px !important;
}

.arrow-after{
    display: flex;
    align-items: center;
}
.arrow-after::after {
	content: '';
	display: inline-block;
	position: relative;
	width: 1.6em;
	height: 1.6em;
	top: 0;
	margin-right: 0px;
	background-image: url('https://geniumdigital.com/wp-content/uploads/2022/06/arrow-blue.png');
	background-size: contain;
	background-repeat: no-repeat;
	background-size: 100% auto;
	background-position: left center;
	opacity: 1;
    filter: brightness(0) invert(1);
    transition: .2s;
}
.arrow-after:hover::after{
    transform: translateX(10px);
}


/* BREAKPOINTS */
@media (max-height: 900px) { 
    .contacte-modal{
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }
}
@media (max-height: 840px) { 
    .contacte-modal{
        display: block;
        overflow-y: scroll;
    }
    .videoconferencia{
        margin-top: 40px;
    }
}
@media (max-width: 1799px) {
    .flex-rows.cols-4 .col{
        flex-basis: calc(100% / 3 - (var(--genium--columns--margin) * 2/3) );
        flex-grow: 0;
    }
}
@media (max-width: 1336px) {
    .flex-rows.cols-3 .col {
        flex-basis: calc(100% / 2 - (var(--genium--columns--margin) * 1/2) );
    }

    .animacio1-overlay {
        margin-top: 0;
    }


    .flex-rows.cols-4 .col{
        flex-basis: calc(100% / 2 - (var(--genium--columns--margin) * 1/2) );
        flex-grow: 0;
    }
    
    #main-menu > ul.menu{
        display: none;
    }
}

@media (max-width: 781px) { 
    body {
        --genium--padding--sides: 5%;
        --genium--fonts--h2: 1.4rem !important;
        --genium--fonts--h1: 2rem !important;
    }
    h1, .genium-styles h1{
        margin-top: 0;
    }
    .home-genium h1 {
        font-size: 2rem !important;
    }
    body.page-template-template-home .home-genium h2{
        font-size: 1.3rem !important;
    }
    .genium-styles p.has-giant-font-size {
        font-size: 2.5rem !important;
    }
    .has-x-large-font-size {
        font-size: 1.7rem !important;
    }

    #header {
        padding-top: 10px;
    }
	
	#main-menu .language{
		display: none;
	}

    /* .flex-rows{
        gap: 0 !important;
    } */
    .flex-rows.cols-3 .col {
        flex-basis: 100%;
    }

    .post-wrapper .block-text {
        padding: 20px;
    }
    .post-wrapper .excerpt{
        width: 100%;
    }
    .post-wrapper .post-title{
        margin-bottom: 20px;
    }
    /* .categories-wrapper{
        display: none;
    } */

    .wp-block-columns.block-equip {
        gap: 40px !important;
    }

    .hover-fletxa-block p span{
        display: block;
        line-height: 1.3em !important;
        margin-top: 20px;
    }

    .space-mobile{
        height: 30px !important;
    }

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

    .flex-rows.cols-4 .col{
        flex-basis: 100%;
    }


    .appear.genium.on-screen,
    .home-genium h1 .fila1,
    .home-genium h1 .fila2,
    body.page-template-template-home .home-genium h2{
        animation: none;
    }
    .appear.off-screen .move,
    .appear.genium.off-screen{
        opacity: 1;
    }

    .wp-block-columns.no-gap-mobile{
        gap: 0 !important
    }

    .post-wrapper .wp-block-image img {
        filter: none;
    }
    .post-wrapper .wp-block-image{
        opacity: 1;
    }

    .llegir-mes {
        padding-top: 35px;
    }

    #mc_embed_signup .mc-field-group{
        margin-bottom: 1em !important;
    }
    
    .hover-fletxa-block .has-x-large-font-size{
        font-size: 1.3rem !important;
    }

    .section-home .text-lateral{
        transform: translateY(0);
        position: relative;
        top: auto;
        transform: translateY(0);
    }

    
    #videohome video,
    #videohome2 video
    {
        object-fit: contain;
    }
    .playing #videohome2{
        opacity: 1;
    }
    .selector-loop .wp-block-group {
        gap: 15px;
    }
    .selector-loop .wp-block-group p a {
        font-size: 1.2rem !important;
        padding-left: 25px;
        padding-right: 25px;
        min-width: 120px;
    }
    .selector-loop .second,
    .selector-loop .third{
        padding-left: 15px;
    }

    .home-genium.finished{
        cursor: default !important;
    }
    .home-genium{
        cursor: default !important;
    }

    .appear .move{
        opacity: 1;
        transform: none !important;
    }


    .single-post-wrapper .single-post-header {
        flex-flow: row wrap-reverse;
    }
    .single-post-wrapper .single-post-header .single-post-header-col1 {
        flex-basis: 100%;
        padding: 20px;
    }
    .single-post-wrapper .single-post-header .single-post-header-col2 {
        flex-basis: 100%;
        padding: 0px;
    }
    .single-post-content-wrapper .single-post-sidebar {
        flex-basis: 100%;
        padding: 20px;
        border-right: none;
    }
    .single-post-content-wrapper .single-post-content {
        flex-basis: 100%;
        padding: 20px;
        box-sizing: border-box;
    }

    .caso-exito-header{
        padding-top: 110px;
    }
    .caso-de-exito-template-default .blog-content .wp-block-columns {
        gap: 20px !important;
    }

}

@media (max-width: 543px) { 
    .cmplz-cookiebanner.cmplz-show {
        flex-flow: row wrap;
        left: 5px !important;
        border-radius: 0 !important;
        width: calc(100% - 10px) !important;
    }
    
    .cmplz-cookiebanner .cmplz-body {
        flex-basis: 100% !important;
        text-align: left;
    }
    .cmplz-cookiebanner .cmplz-buttons {
        flex-basis: 100% !important;
        flex-flow: row !important;
    }
/* 
    .home-genium > .wp-block-group__inner-container{
        transform: translateY(-60%);
    } */

    #contacta-menu .wp-block-image img {
        max-height: 50px;
        max-width: 50px;
    }

    .columna-serveis-top{
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .columna-serveis-top h1,
    .columna-serveis-top p{
        padding-left: var(--genium--padding--sides);
        padding-right: var(--genium--padding--sides);
    }

    .categories-wrapper.mobile{
        /* text-align: center; */
        margin-bottom: 20px;
    }
    .categories-wrapper.mobile .dropdown{
        width: 100%;
        background-color: var(--genium--color--principal);
        color: var(--genium--color--blanc);
        border-radius: 30px;
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 6px;
        padding-bottom: 6px;
        box-sizing: border-box;
    }
    .categories-wrapper.mobile .dropbtn::after {
        border-top: .5em solid var(--genium--color--blanc);
        right: 1em;
        left: auto;
        position: absolute;
        top: 24px;
    }
    .categories-wrapper.mobile .dropdown:hover .dropdown-content, .categories-wrapper.mobile .dropdown.open .dropdown-content {
        margin-top: 6px;
    }
    .categories-wrapper.mobile .dropdown-content {
        width: 90%;
    }
    .categories-wrapper.mobile .dropdown-content a:hover {
        background-color: #d8d8d8;
    }
    /* .categories-wrapper.mobile .dropdown-content a{
        text-align: center;
    } */

    body.archive #content, body.blog #content {
        padding-top: calc(var(--genium--height--header) + 30px);
    }

    .blog-content .wp-block-columns {
        gap: 0 !important;
    }
    .blog-content .wp-block-image img{
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .image-small-mobile{
        width: 200px;
        height: auto;
        margin: 0 auto;
        display: block;
    }
    .image-small-mobile img{
        margin-bottom: 0 !important;
    }

    .wpcf7 .wp-block-columns{
        gap: 0 !important;
    }
    input[type="date"]{
        max-height: none !important;
        max-width: 100%;
        box-sizing: border-box;
        min-height: 40px;
    }
    input[type="submit"]{
        min-height: 50px !important;
    }
    #mc_embed_signup{
        width: 100% !important;
    }
    #mc_embed_signup .mc-field-group{
        margin-bottom: 1em !important;
    }
    #mc_embed_signup .button{
        min-height: 53px !important;
    }

    .section-home .text-lateral {
        font-size: 3.5rem !important;
        transform: translateY(0);
    }

}






/* NADAL */
body.page-template-template-nadal {
    --genium--color--principal: #FFF4D1;
    background-color: #005151;
    color: #FFF4D1;
}
body.page-template-template-nadal .footer-wrapper .footer-info,
body.page-template-template-nadal .footer-wrapper .bottom-bar,
body.page-template-template-nadal #header.slim,
body.page-template-template-nadal #side-menu
{
    background-color: #005151 !important;
}
body.page-template-template-nadal .footer-wrapper .footer-info,
body.page-template-template-nadal #footer p:not(.has-text-color) a,
body.page-template-template-nadal #footer.footer-wrapper .bottom-bar ul.menu li a
{
    color: #FFF4D1;
}
body.page-template-template-nadal .col2 {
    flex-basis: 1080px !important;
    flex-grow: 0 !important;
}
body.page-template-template-nadal .col2.breakpointdesktop{
    display: block;
}
body.page-template-template-nadal .col2 p{
    max-width: 540px;
}
body.page-template-template-nadal .col3 {
    align-self: flex-start !important;
    padding-top: 15px;
}
body.page-template-template-nadal .col-grafica{
    gap: 0px !important;
}
body.page-template-template-nadal .col-grafica{
    padding-top: 0;
    padding-bottom: 85px;
    border-top: solid 1px #FFF4D1;
}

body.page-template-template-nadal .cmplz-cookiebanner.cmplz-show,
body.page-template-template-nadal .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-view-preferences,
body.page-template-template-nadal .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-deny
{
    background-color: #FFF4D1 !important;
    color: #005151 !important;
    border-color: #005151 !important;
}
body.page-template-template-nadal .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-accept{
    background-color: #005151 !important;
    color: #FFF4D1 !important;
    border-color: #005151 !important;
}
body.page-template-template-nadal .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-view-preferences{
    color: #005151 !important;
}
body.page-template-template-nadal .dropdown-content{
    background-color: #005151 !important;
}
body.page-template-template-nadal .language .dropdown-content a:hover {
	background-color: #084040;
}
@media (max-width: 991px) { 
    body.page-template-template-nadal .col2 p{
        margin-bottom: 0;
    }
    body.page-template-template-nadal .col3 {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}