/*
FONTS:
font-family: 'Basier Circle', 'Arial', sans-serif;

COLORS:
principal #404040
principal_alt #404041
secundari #65999D
secundari_alt #97CBCF
tercer #f1f1f1
tercer_alt #f9f9f9

HEIGHTS:
header-height 84px
responsive-header-height 60px;
footer-height 300px
*/

html,
body{
    overflow-x: hidden;
    font-family: 'Basier Circle', 'Arial', sans-serif;
    font-size: 16px;
    color: #404040;
    margin: 0;
}
.grecaptcha-badge{
    visibility: hidden;
}
a {
   outline: 0 !important;
}
a::after{
   outline: 0 !important;
}
img{
    height: auto;
    width: auto;
}
a, a:hover, a:active, a:visited, a:focus {
    text-decoration:none !important;
    color: inherit;
}
p{
    font-size: 1em;
    line-height: 1.3em;
}

#cookie-notice .cn-button{
    background: #65999D;

}

.wp-block-image img{
    height: auto;
}

h1{
    font-size: 2.5em;
    margin-top: 0;
    margin-bottom: 1em;
}
h2{
    font-size: 2.2em;
}
h3{
    font-size: 2.2em;
}

/*chevron*/
.chevron::before {
	border-style: solid;
	border-width: 0.2em 0.2em 0 0;
	content: '';
	display: inline-block;
	height: 0.45em;
	left: 0.15em;
	position: relative;
	top: -0.15em;
	transform: rotate(-45deg);
	vertical-align: middle;
    width: 0.45em;
    margin-right: .5em;
}
.chevron.right:before {
	left: 0;
	transform: rotate(45deg);
}
.chevron.bottom:before {
	top: 0;
	transform: rotate(135deg);
}
.chevron.left:before {
	left: 0.25em;
	transform: rotate(-135deg);
}
.chevron.bottom:before {
	top: 0;
	transform: rotate(135deg);
}
.chevron.left:before {
	left: 0.25em;
	transform: rotate(-135deg);
}
.chevron a{
    transition: .2s;
}
.chevron a:hover {
    padding-left: .5em;
}

/*gutenberg styles*/
.doc-styles h1{
    font-size: 2.8em;
    font-weight: 500;
    line-height: 1.3em;
    margin-top: 1em;
}
.doc-styles h2{
    font-size: 2.5em;
    font-weight: 500;
    line-height: 1.3em;
}
.doc-styles p{
    font-size: 1.2em;
    font-weight: normal;
    line-height: 1.4em;
}
.doc-styles p.has-small-font-size{
    font-size: 0.93em;
    font-weight: normal;
    line-height: 1.5em;
}
.doc-styles p.has-medium-font-size{
    font-size: 1.6em;
    font-weight: normal;
    line-height: 1.33em;
}
.doc-styles p.has-large-font-size{
    font-size: 2.25em;
    font-weight: normal;
    line-height: 1.33em;
}
.doc-styles p.has-huge-font-size{
    font-size: 3.8em;
    font-weight: normal;
    line-height: 1.15em;
}
.doc-styles p a{
    color: #65999D;
}

/* images */
.doc-styles .wp-block-image{
    margin: 0;
}
.doc-styles .max-width.wp-block-image{
    margin-left: auto;
    margin-right: auto;
}
.doc-styles .wp-block-image.full-width img{
    width: 100%;
    height: auto;
}

.wp-block-cover-image .wp-block-cover__inner-container, .wp-block-cover .wp-block-cover__inner-container{
    width: 100%;
}

/*effects*/

/*appear*/
.appear{
    overflow: hidden;
}
.appear .move{
    display: inline-block;
    position: relative;
    transition: 1s ease;
    opacity: 0;
}
.appear.off-screen .move{
    transform: translate3d(-150%,0,0);
    transition: 0s ease;
    opacity: 0;
}
.appear.left .move{
    transform: translate3d(-150%,0,0);
}
.appear.right .move{
    transform: translate3d(150%,0,0);
}
.appear.top .move{
    transform: translate3d(0,-150%,0);
}
.appear.bottom .move{
    transform: translate3d(0,150%,0);
}
.appear.on-screen .move{
    transform: translate3d(0,0,0);
    opacity: 1;
    transition: 1s ease;
}

/* decorations */
.line-left{
    padding-left: 3.8rem;
    position: relative;
    transition: .2s;
}
.line-left::before{
    content: '';
    position: absolute;
    width: 2.86rem;
    left: 0;
    top: .6em;
    height: .25rem;
    background-color: #65999D;
}
.doc-styles .line-left a{
    color: inherit;
    transition: .2s;
}
.doc-styles .line-left a:hover{
    color: #65999D;
}
.line-left a:hover{
    padding-left: .4rem;
}

.line-bottom{
    position: relative;
    padding-bottom: 1em;
}
.line-bottom::after{
    content: '';
    width: 100px;
    height: 4px;
    background: #404040;
    position: absolute;
    bottom: 0;
    left: 0;
}

.line-top{
    position: relative;
    padding-top: 1.5em;
}
.line-top::after{
    content: '';
    width: 70px;
    height: 7px;
    background: #97CBCF;
    position: absolute;
    top: 0;
    left: 0;
}

.underline {
	border-bottom: solid 1px;
	padding-bottom: .5em;
}

/* columns */
.wp-block-columns{
    margin-bottom: 0;
    width: 100%;
}
.wp-block-column:not(:first-child){
    margin-left: 5vw;
}
.wp-block-columns.vertical{
    flex-direction: column;
}
.wp-block-columns.align-items-center{
    align-items: center;
}

/* margins */
.doc-styles .no-margin{
    margin: 0;
}
.doc-styles .no-margin-left{
    margin-left: 0;
}
.doc-styles .no-margin-bottom{
    margin-bottom: 0;
}
.doc-styles .no-margin-top{
    margin-top: 0;
}

/* animations */
.bounce {
    animation-name: bounce;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: ease;
}
@keyframes bounce {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-2em); }
    100% { transform: translateY(0); }
}

/* MENUS */
ul.menu,
.menu ul{
    padding: 0;
    margin: 0;
}
ul.menu li,
.menu ul li
{
    list-style: none;
    display: block;
}
ul.menu li a,
.menu ul li a{
    font-weight: 500;
}
ul.menu li.menu-item-has-children{
    position: relative;
}
ul.menu li.menu-item-has-children .sub-menu{
    display: none;
    background: #FFFFFF;
    position: absolute;
    text-align: left;
    padding: 30px 10px 20px 10px;
    width: 200px;
    left: 0;
}
ul.menu li.menu-item-has-children:hover .sub-menu{
    display: block;
}
ul.menu li.menu-item-has-children .sub-menu li{
    display: block;
}

/* Hover canvi color*/
.hover-color ul.menu li a{
    transition: .2s;
}
.hover-color ul.menu li a:hover,
.hover-color ul.menu li.current_page_item a
{
    color: #65999D;
}

/* Hover linea */
.hover-linea ul.menu li a::after{
    content: '';
    height: 3px;
    width: 0;
    background: #404040;
    position: absolute;
    bottom: 1.5rem;
    left: 1rem;
    transition: .2s;
}
.hover-linea ul.menu li a:hover::after{
    width: calc(100% - 2rem);
}
/* Hover linea */
.doc-styles p.hover-linea a{
    position: relative;
    display: inline-block;
}

.hover-linea ul.menu li a::after,
.doc-styles p.hover-linea a::after
{
    content: '';
    height: 3px;
    width: 0;
    background: #000000;
    position: absolute;
    bottom: 1.5rem;
    left: 1rem;
    transition: .2s;
}
.hover-linea ul.menu li a:hover::after{
    width: calc(100% - 2rem);
}
.doc-styles p.hover-linea a::after{
    left: 0;
    bottom: 0;
}
.doc-styles p.hover-linea a:hover::after{
    width: 100%;
}

/*SIDE MENU*/
#side-menu{
    position: fixed;
    /* responsive-header-height */
    top: 60px;
    left: 0;
    transform: translateX(100%);
    background: #404040;
    color: #FFFFFF;
    height: calc(100vh - 48px);
    width: 100%;
    padding: 30px;
    transition: .2s;
    z-index: 9;
    box-sizing: border-box;
}
#side-menu.open{
    transform: translateX(0);
}
#side-menu ul li{
    margin-bottom: 1.5em;
}
#side-menu form.search-form{
    margin-bottom: 1em;
}
#side-menu form.search-form input[type="search"]{
    font-size: 1.3em;
    padding: .5em .5em .5em 2em;
    background: transparent;
    color: #FFFFFF;
    border: solid 1px #FFFFFF;
}
#side-menu .search-form svg{
    height: 1.4em;
    width: 1.4em;
    left: .8em;
}
#side-menu .search-form svg g{
    fill: #FFFFFF;
}
#side-menu .language{
    margin-bottom: 1em;
}
#menu-button{
    display: none;
    cursor: pointer;
    position: absolute;
    height: 100%;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    right: 0;
    top: 0;
    padding-left: 1em;
    padding-right: 1em;
}
#menu-button.open{
    background: #404040;
}
#menu-button .lineamenu{
    display: block;
    width: 30px;
    height: 4px;
    background: #404040;
    transition: .2s;
}
#menu-button.open .lineamenu{
    background: #FFFFFF;
}
#menu-button .lineamenu:not(:first-of-type){
    margin-top: .4em;
}
#menu-button.open .lineamenu:nth-child(even){
    transform: translateX(3px);
}
#menu-button.open .lineamenu:nth-child(odd){
    transform: translateX(-3px);
}

/* Style The Dropdown Button */
.dropbtn {
    padding: .9em 1.4em .95em 0em;
    font-size: 1em;
    line-height: 1em;
    border: none;
    cursor: pointer;
}
.dropbtn::after{
    content: '';
    display: inline-block;
    position: relative;
    height: 0em;
    width: 0em;
    left: 0.15em;
    top: 0.25em;
    vertical-align: top;
    margin-left: 10px;
    border-top: 0;
    border-left: .4em solid transparent;
    border-right: .4em solid transparent;
    border-top: .5em solid #404040;
}
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    width: 100%;
    z-index: 1;
    text-align: left;
}
.dropdown-content a {
    color: #404040;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}
.dropdown-content a:hover {
    background-color: #f1f1f1
}

.dropdown:hover .dropdown-content,
.dropdown.open .dropdown-content
{
    display: block;
}
.dropdown.open .dropdown-content


.dropdown.desplegable{
    border: solid 1px #404040;
    width: 340px;
}
.dropdown.desplegable .dropbtn {
    padding: .9em 1.4em .95em 1.4em;
    font-size: 1.1em;
}
.desplegable .dropbtn::after {
	position: absolute;
	right: 1em;
	left: auto;
	top: 1.2em;
}
.desplegable .dropdown-content a:hover {
    background-color: #404040;
    color: #FFFFFF;
}

/*SOCIAL MEDIA*/
.social-media a{
    display: inline-block;
}
.social-media a:not(:first-of-type){
    margin-left: 2em;
}
.social-media a img{
    height: 20px;
    width: auto;
}

/* WIDTH I PADDINGS */
#content{
    position: relative;
    /* header-height */
    padding-top: 84px;
    /* footer-height */
    min-height: calc(100vh - 405px);
}
body.home #content{
    padding-top: 0;
}
.padding-sides{
    padding-left: 3vw;
    padding-right: 3vw;
    box-sizing: border-box;
}
.max-width{
    max-width: 930px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}
.padding-sides .max-width{
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}
.padding-sides-big{
    padding-left: 15%;
    padding-right: 15%;
    box-sizing: border-box;
}

/*HEADER*/
#header{
   position: fixed;
   z-index: 5;
   width: 100%;
   background: transparent;
   transition: .2s;
   padding-top: 2rem
}
#header>.wp-block-columns{
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
#header .logo{
    flex-grow: 1;
}
#header .logo img{
    height: 55px;
    width: auto;
    transition: .2s;
    display: block;
}
#header.slim .logo img{
    height: 35px;
    width: auto;
    transition: .2s;
}
#header ul.menu li{
    display: inline-block;
}
#header ul.menu li a{
    position: relative;
    height: 100%;
    padding: 2rem 1rem;
    display: block;
    line-height: 1.2em;
    font-weight: 500;
    transition: .2s;
    font-size: 1.2em;
}
#header.slim ul.menu li a{
    padding: 1rem;
}
#header.slim  .hover-linea ul.menu li a::after{
    bottom: .5rem;
}
#header ul.menu{
    margin-right: 3rem;
}
#header .language{
    margin-right: 1.5rem;
}
#main-menu.wp-block-columns{
    width: auto;
    align-items: center;
    justify-content: space-between;
}

/* NEWSLETTER */
.newsletter{
    background-color: #404040;
    color: #FFFFFF;
    padding-top: 2em;
    padding-bottom: 2em;
    text-align: center;
}
.newsletter input{
    max-width: 450px;
    border-radius: 30px;
}
.newsletter p.has-large-font-size{
    margin-top: .5em;
    margin-bottom: .5em;
}
.newsletter div.wpcf7 .ajax-loader{
    display: none;
}

/*FOOTER*/
.footer-wrapper{
    width: 100%;
    clear: left;
}
.footer-wrapper .footer-info{
    background: #FFFFFF;
    padding-top: 3em;
    padding-bottom: 1em;
}
.footer-wrapper .bottom-bar{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    background: #404040;
    color: #FFFFFF;
    padding-top: 2em;
    padding-bottom: 2em;
}
.footer-wrapper .bottom-bar ul li{
    display: inline-block;
}
.footer-wrapper .bottom-bar ul li:not(:first-of-type){
    margin-left: 2em;
}
.footer-wrapper .footer-info ul.menu li{
    margin-bottom: 2em;
}
.footer-wrapper .company-info p:first-of-type{
    margin-top: 0;
}

#return-to-top {
	cursor: pointer;
	margin-right: 5vw;
	float: right;
	padding: 1vw;
	margin-top: 2vw;
}
#return-to-top svg g{
    fill: #404040;
}

.footer-wrapper .footer-info.alt .wp-block-column{
    flex-grow: 0;
    flex-basis: auto;
    order: 2;
}
.footer-wrapper .footer-info.alt .wp-block-column.company-info{
    flex-grow: 1;
    order: 1;
}
.footer-wrapper .footer-info.alt .wp-block-column{
    margin-left: 5vw;
    margin-right: 5vw;
}

/*Search*/
#search-button{
    cursor: pointer;
    height: 25px;
    width: auto;
}
#search-button g{
    fill: #404040;
}
#search-button svg{
    height: 100%;
    width: auto;
}
#search-button:hover svg g{
    transition: .2s;
}
#search-button:hover svg g{
    fill: #404040;
}
.search-result{
    margin-bottom: 50px;
}
#close-search svg g{
    stroke: #404040;
    stroke-width: 7;
}
#search{
    position: fixed;
    z-index: 6;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    background: #FFFFFF;

    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;

    transition: .2s;
}
#search.open{
    top: 0;
}
#search #close-search{
    cursor: pointer;
}   
#search form{
    width: calc(100% - 3em);
}
form.search-form input[type="search"]{
    width: 100%;
    font-size: 2em;
    border: none;
    border-bottom: solid 2px #404040;
    padding-left: 1.5em;
    padding-bottom: .3em;
}
#search #close-search{
    width: 2em;
    height: 2em;
    margin-left: 1em;
}
#search #close-search svg{
    height: auto;
    width: 100%;
}   

.search-form label{
    position: relative;
}
.search-form svg g{
    fill: #404040;
}
.search-form svg{
    position: absolute;
    left: 0;
    top: auto;
    bottom: 0;
    width: 2em;
    height: 2em;

}

/* SEARCH PAGE */
#search-page{
    background: #f1f1f1;
    width: 100%;
    margin-bottom: 3em;
}
#search-page input[type="submit"]:hover{
    background: #FFFFFF;
    color: #404040;
}
#search-page input{
    padding: .5em .5em .5em 1.3em;
    height: auto;
    font-size: 3em;
    width: 100%;
    border: none;
    background: transparent;
}
#search-page svg{
    height: 2.5em;
    width: 2.5em;
}

/* INPUTS BUTTONS*/
input[type="text"], 
input[type="email"],
input[type="password"],
textarea
{
    width: 100%;
    box-sizing: border-box;
    padding: .7em 1em;
    font-size: 1em;
    border: none;
    font-family: 'Basier Circle', 'Arial', sans-serif;
    border: solid 1px #404040;
    margin-top: .5em;
}
input[type="text"]:focus, 
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus
{
    border-color: #000001;
}
input[type="checkbox"]{
    display: inline-block;
    margin-top: 0;
    margin-bottom: 0;
    height: 1em;
    line-height: 1em;
    transform: scale(1.4) translateY(-2px);
    margin-right: 10px;
    vertical-align: middle;
} 
input[type="submit"],
.button,
.button-link a
{
    font-family: 'Basier Circle', 'Arial', sans-serif;
    padding: 1em 1em;
    box-sizing: border-box;
    border: solid 1px #404040;
    background: #ffffff;
    color: #404040;
    cursor: pointer;
    line-height: 1em;
    font-weight: 500;
    transition: .3s;
    font-size: 1em;
    border-radius: 0;
    display: inline-block;
    min-width: 320px;
    text-align: center;
}
input[type="submit"]:hover,
.button:hover,
.button-link a:hover
{
    background: #404040;
    border-color: #404040;
    color: #ffffff;
}
p.button-link{
    font-size: 1em;
    margin: 0;
}
.button-link a img{
    vertical-align: middle;
    margin-right: .5em;
    transform: translateY(-1px);
}

.wpcf7 .wp-block-columns .wp-block-column{
    margin-bottom: 1em;
}

.button-link.contact-page a {
    font-size: 1rem !important;
}
.wp-block-buttons .wp-block-button a{
    color: #404040;
}
.button-link.contact-page a img{
    margin-left: 0;
}


.wpcf7 label{
    width: 100%;
}
.wpcf7-form .wp-block-column:not(:first-child){
    margin-left: 2vw;
}

/* PAGINATION */
.pagination .screen-reader-text{
    display: none;
}
.pagination{
    display: block;
    margin-top: 50px;
    text-align: center;
    width: 100%;
}
.pagination .page-numbers
{
    display: inline-block;
    margin-bottom: 1em;
    padding: .5em 1em;
    border: solid 1px #f1f1f1;
    transition: .2s; 
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover
{
    background: #404040;
    color: #FFFFFF;
}

/* HOME */
.home-intro{
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
}

/* CONTACT */
.contact .contact-info p a{
    font-size: 1.2em;
    font-weight: 500;
}

/* post wrapper */
.post-wrapper .wp-block-image{
    width: 100%;
    height: 20vw;
    overflow: hidden;
}
.post-wrapper img.attachment-post-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: .2s;
}
.post-wrapper:hover img.attachment-post-thumbnail {
    transform: scale(1.05);
}

/* scroll template */
.main-scroll{
    height: 100vh;
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
}
/* image header template*/
.image-header{
    height: 25vw;
    background-position: center center;
    background-size: cover;
}
.image-header-template h1{
    margin-top: -.6em;
}

/* REUSABLE BLOCKS */

/* fullsize-blocks */
.fullsize-blocks .wp-block-columns{
    margin-bottom: 0;
}
.fullsize-blocks .wp-block-columns .wp-block-column{
    margin-left: 0;
    flex-basis: 50%;
}
.fullsize-blocks .wp-block-columns .wp-block-column .wp-block-image img{
    display: block;
    width: 100%;
}
.fullsize-blocks .wp-block-columns .wp-block-column.text-column{
    padding-left: 7vw;
    padding-right: 7vw;
    box-sizing: border-box;
}

/* page-header */
.doc-styles .page-header h1{
    margin-top: 0;
}
.page-header .wp-block-columns .wp-block-column{
    margin-left: 0;
}
.page-header .wp-block-columns .wp-block-column:first-of-type{
    position: relative;
    z-index: 2;
}
.page-header .wp-block-columns .wp-block-column .wp-block-image img{
    width: 130%;
    float: right;
    max-width: none;
}

/* SLIDER draggable */
.slider.draggable {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    cursor: grab;
}
.slider.draggable.is-grabbing {
    cursor: grabbing;
}
.slider.draggable > .wp-block-group__inner-container {
    display: flex;
    position: relative;
    top: 0;
    left: 0;
    width: 10000px;
}
.slider.draggable .wp-block-group__inner-container.shifting {
    transition: left .2s ease-out;
}
.slider.draggable .slide {
    position: relative;
    width: 100vw;
    height: 100%;
    pointer-events: none;
    transition: all 1s;
    padding-left: 2.5vw;
    padding-right: 2.5vw;
    box-sizing: border-box;
}
.slider.draggable .items-per-screen{
    display: none;
}


/*text-loop*/
.text-loop{
    position: relative;
}
.text-loop p a::after{
    content: attr(data-content);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    left: 0;
    color: #FFD100;
}
.text-loop p a:hover::after{
    opacity: 1;
}
.text-loop p a:hover{
    animation-name: text-loop;
    animation-duration: 14s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}
.text-loop p a{
    display: inline-block;
    width: 100%;
    position: relative;
    z-index: 1;
}
.text-loop .wp-block-image{
    position: absolute;
    z-index: 0;
    right: 10vw;
    top: -50%;
    transform: rotate(2deg);
    opacity: 0;
    transition: .2s;
    pointer-events: none;
}
.text-loop:hover .wp-block-image{
    transform: rotate(5deg);
    opacity: 1;
}
@keyframes text-loop {
    from {transform: translateX(0);}
    to {transform: translateX(-100%);}
}

/* sections */
.section .next-section{
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 3rem;
    width: 2rem;
    height: auto;
    background: #65999D;
    cursor: pointer;
}
.section .wp-block-columns{
    margin-bottom: 0;
}
.section .wp-block-columns .wp-block-column{
    margin-left: 0;
    flex-basis: 50%;
    padding-left: 12vw;
    padding-right: 7vw;
    box-sizing: border-box;
}
.doc-styles .section  p.has-large-font-size{
    font-size: 2.8em;
    font-weight: normal;
    line-height: 1.3em;
    margin-top: 1em;
    margin-top: 0;
    margin-bottom: 0;
}
.section .wp-block-columns .wp-block-column.main-section{
    padding-right: 0;
    padding-left: 0;
}
.section .wp-block-columns .wp-block-column.main-section h1{
    padding-left: 20vw;
    padding-right: 7vw;
    position: relative;
    font-size: 6vw;
    margin-top: 1rem;
    margin-bottom: 1rem;
    line-height: 1.2em;
}
.section .wp-block-columns .wp-block-column.main-section h1 strong{
    font-weight: inherit;
    color: #65999D;
}
.section .wp-block-columns .wp-block-column.main-section p{
    margin-left: 20vw;
    margin-right: 7vw;
    position: relative;
}
.section .wp-block-columns .wp-block-column.main-section h1::before{
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    height: 100%;
    width: 14vw;
    background: #404040;
}
.section .wp-block-columns .wp-block-column.featured-img{
    align-self: flex-end;
    padding-right: 0;
    padding-left: 0;
    padding-right: 8rem;
    height: 100%;
    padding-top: 15vh;
}
.section .wp-block-columns .wp-block-column.featured-img figure{
    width: 100%;
    height: 100%;
}
.section .wp-block-columns .wp-block-column.featured-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-sizing: border-box;
}
.section .wp-block-group__inner-container{
    height: 100%;
}
.section .wp-block-group__inner-container .wp-block-columns{
    height: 100%;
}
.section .wp-block-columns .wp-block-column .icon img{
    height: 7em;
    width: auto;
}
.section.centered-text .wp-block-group__inner-container{
    height: 100%;
	display: flex;
	flex-flow: column wrap;
	justify-content: center;
	align-items: center;
}
.section.footer-replace{
    display: flex;
    flex-flow: column wrap;
    justify-content: flex-end;
}
.section.footer-replace .wp-block-columns .wp-block-column{
    flex-basis: auto;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}
.section.footer-replace #return-to-top{
    align-self: flex-end;
}
.section.footer-replace .wp-block-group__inner-container{
    height: 100%;
    padding-top: 245px;
    box-sizing: border-box;
}
.section.footer-replace .footer-wrapper {
	margin-bottom: -28px;
	margin: 0;
	height: 100%;
	display: flex;
	flex-flow: column;
}

/* call-to-action-big */
.call-to-action-big a{
    transition: .2s;
    display: inline-block;
}
.call-to-action-big a:hover{
    transform: scale(1.1);
}

/* home-img-background */
.home-img-background{
    position: relative;
    height: 100vh;
    width: 100%;
}
.home-img-background .wp-block-group__inner-container,
.home-img-background .wp-block-columns,
.doc-styles .home-img-background .wp-block-image
{
    width: 100%;
    height: 100%;
}
.home-img-background .background-image{
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.home-img-background .background-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-img-background .text-column{
    position: relative;
    z-index: 1;
    margin-left: 55%;
}
.home-img-background .wp-block-columns{
    align-items: center;
}
.doc-styles .home-img-background .wp-block-image.scroll-down{
    height: 60px;
    width: 60px;
    right: 4em;
    bottom: 4em;
    position: absolute;
    z-index: 1;
    cursor: pointer;
}
.doc-styles .home-img-background .wp-block-image.scroll-down img{
    object-fit: contain;
    object-position: center;
}

/* link-img-block */
.link-img-block{
    position: relative;
    overflow: hidden;
}
.link-img-block img{
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .2s;
}
.link-img-block:hover img{
    transform: scale(1.05);
}
.link-img-block p{
    color: #ffffff;
}
.link-img-block p strong{
    font-weight: 500;
}
.link-img-block .link-text{
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    height: 22em;
    background-color: rgba(0,0,0,.42);
    padding-bottom: 3em;
    padding-left: 10%;
    padding-right: 10%;
    pointer-events: none;
    transition: .2s;
}
.link-img-block:hover .link-text{
    background-color: rgba(0,0,0,.6);
}
.link-img-block .link-text .wp-block-group__inner-container{
    transition: .2s;
}
.link-img-block:hover .link-text .wp-block-group__inner-container{
    transform: translateY(-1em);
}

/* hover-ampliacio */
.hover-ampliacio{
    overflow: hidden;
    display: block;
}
.hover-ampliacio img{
    transition: .2s;
    display: block;
}
.hover-ampliacio:hover img{
    transform: scale(1.05);
}

/* svg animations */
.svg-animation{
    margin: 0;
}
.svg-animation svg{
    width: 100%;
    height: auto;
}

/* PLUGINS */

/* wpcf7 form */
.wpcf7-form-control-wrap {
	position: relative;
	margin-bottom: 1em;
	display: block;
}
.accept-politcy .wpcf7-form-control-wrap{
    display: inline-block;
    margin: 0;
}

/* Store locator*/
#wpsl-search-wrap .wpsl-input, #wpsl-search-wrap .wpsl-select-wrap, #wpsl-search-wrap #wpsl-radius, #wpsl-search-btn, #wpsl-search-wrap #wpsl-radius, #wpsl-search-wrap #wpsl-results, #wpsl-search-wrap .wpsl-input input, #wpsl-search-wrap .wpsl-input label{
    display: flex;
    align-items: center;
}
.wpsl-search{
    background: none;
    padding: 0;
}
.wpsl-input label, #wpsl-radius label, #wpsl-category label{
    width: auto !important;
}
#wpsl-search-btn, #wpsl-search-wrap input[type="submit"]{
    width: 100%;
    box-sizing: border-box;
    padding: .7em 1em;
    font-size: 1em;
    border: none;
    font-family: 'Basier Circle', 'Arial', sans-serif;
    border: solid 1px #404040;
    background: #FFFFFF;
    color: #404040;
    margin-top: .5em;
}
#wpsl-search-btn:hover, #wpsl-search-wrap input[type="submit"]:hover{
    color: #FFFFFF;
    background: #404040;
}
#wpsl-search-btn, #wpsl-search-wrap input{
    border-radius: 0;
}
#wpsl-search-wrap form{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
}
#wpsl-search-wrap form>div{
    margin-bottom: 20px;
}
.wpsl-dropdown{
    border-radius: 0px;
}
a.wpsl-directions{
    display: block;
    font-weight: bold;
    font-size:1em;
    margin-top: 20px;
}
a#wpsl-direction-start{
    display: block;
    font-weight: bold;
    font-size:1em;
    margin-top: 20px;
}
#wpsl-search-btn, #wpsl-search-wrap div{
    margin: 0;
}
#wpsl-wrap #wpsl-result-list li{
    padding: 20px 0;
    margin-bottom: 50px;
}
#wpsl-search-wrap #wpsl-radius{
    margin-right: 30px;
}
#wpsl-search-input{
    margin-left: 8px;
}


/* FAQs */
.rank-math-list-item{
    overflow: hidden;
    border: solid 1px #404040;
    padding: 1em;
}
.rank-math-list-item:not(:first-of-type){
    border-top: 0;
}
.rank-math-answer{
    height: 1px;
    transition: .2s;
    opacity: 0;
}
.open .rank-math-answer{
    height: 100%;
    opacity: 1;
}

@media (max-height: 750px) { 

    /* REUSABLE BLOCKS */

    /* fullsize-blocks */
    .section .wp-block-columns .wp-block-column .icon{
        display: none;
    }
    .section .wp-block-columns .wp-block-column{
        align-self: flex-end !important;
    }
}

/* BREAKPOINTS */
@media (max-width: 1036px) {
    .padding-sides,
    .max-width
    {
        padding-left: 5vw;
        padding-right: 5vw;
    }

    /* header */
    #header{
        /* responsive-header-height */
        height: 60px;
    }
    #menu-button{
        display: flex;
    }
    #header #main-menu{
        display: none;
    }
    #header .logo img,
    #header.slim .logo img
    {
        height: 35px;
        width: auto;
        transition: .2s;
    }

    #content{
        padding-top: 60px;
    }

    /* SEARCH */
    #search-page input{
        padding: .5em .5em .5em 1.3em;
        font-size: 1.5em;
    }
    #search-page svg{
        height: 1.3em;
        width: 1.3em;
    }

    /* FOOTER */
    .footer-wrapper .bottom-bar{
        flex-flow: column wrap;
        align-items: flex-start;
    }
    .footer-wrapper .bottom-bar .social-media{
        margin-top: 1em;
    }

    /* slider draggable */
    .slider.draggable .slide{
        padding-left: 5vw;
        padding-right: 5vw;
    }
}

@media (max-width: 781px) { 
    .wp-block-column{
        flex-basis: 100% !important;
    }
    .wp-block-column:not(:first-child) {
        margin-left: 0;
    }

    /* FOOTER */
    .footer-wrapper .menu-footer{
        display: none;
    }

    /* ESTILS DOC */
    .doc-styles h1{
        font-size: 1.6em;
    }
    
    /* REUSABLE BLOCKS */
    /* page-header */
    .doc-styles .page-header h1{
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    /* fullsize-blocks */
    .section .wp-block-columns .wp-block-column{
        align-self: center !important;
    }
    .section .wp-block-columns .wp-block-column.main-section{
        position: relative;
        z-index: 2;
        flex-basis: 100%;
    }
    .section .wp-block-columns .wp-block-column.text-column{
        position: relative;
        z-index: 2;
    }
    .section .wp-block-columns .wp-block-column.featured-img{
        position: absolute;
        top: 50%;
        right: 0;
        transform: translate(50%, -50%);
    }
    .section .wp-block-columns .wp-block-column.featured-img img{
        padding: 0;
        opacity: .17;
    }
    .section .next-section,
    .section .wp-block-columns .wp-block-column .icon
    {
        display: none;
    }
    .section.footer-replace{
        justify-content: flex-start;
        overflow: scroll;
    }
    .section .wp-block-columns .wp-block-column.main-section h1{
        padding-left: 20vw;
        padding-right: 10vw;
        font-size: 4em;
    }
    .doc-styles .section  p.has-large-font-size{
        font-size: 1.8em;
    }

    /* .home-img-background */
    .home-img-background{
        height: auto;
    }
    .home-img-background .text-column{
        padding: 15vh 10vw 10vw 10vw;
    }
    .home-img-background .background-image{
        position: relative;
    }
    .doc-styles .home-img-background .wp-block-image.scroll-down{
        display: none;
    }
    .doc-styles .home-img-background .wp-block-image{
        display: none;
    }

    /* home intro */
    .home-intro{
        height: auto;
        padding-top: 8em;
        padding-bottom: 5em;
    }

    /* text loop */
    .text-loop{
        margin-bottom: 1em;
    }

    /* slider draggable */
    .slider.draggable .slide{
        padding-left: 10vw;
        padding-right: 10vw;
    }

    .wpcf7-form .wp-block-column:not(:first-child){
        margin-left: 0;
    }
}

@media (max-width: 543px) { 
    .padding-sides,
    .max-width{
        padding-left: 10vw;
        padding-right: 10vw;
    }

    input[type="submit"],
    .button,
    .button-link a{
        min-width: 250px;
    }

    .hide-mobile{
        display: none;
    }
}