/*
	Theme Name: Digitalia
	Theme URI: https://www.mz-lab.it/
	Description: 
	Version: 1.6.8
	Author: Jacopo Zane
	Author URI: https://www.digitalia.srl
	Tags: PHP, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-smooth: antialiased;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	text-rendering:optimizeLegibility;
	margin: 0;
	padding: 0;
}

/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	overflow-y: scroll;
}
body.navmenu_open {
	overflow-y: hidden;
}
section {
	overflow: hidden;
}
/* clear */
.clear:before,
.clear:after {
    display:table;
}

aside {
	max-width: 100%;
}

.clear::after {
    clear:both;
}
.clear {
    zoom:1;
}
.grecaptcha-badge {
	display: none;
}
img {
	max-width:100%;
	width: 100%;
	height: auto;
}
picture {
	display: grid;
}
.parallax {
	background: linear-gradient(rgba(34,34,34,0.5), rgba(34,34,34,0.5)),
                url('img/home/benessere_mzlab.jpg') no-repeat center center;
    background-attachment: fixed;
    background-size: cover;
	aspect-ratio: 4 / 1;
	width: 100%;
	max-height: 500px;
	min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.ios .parallax {
	background-attachment: scroll !important;
}
a {
	color:#000;
	text-decoration:none;
	cursor: pointer;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
}
ul {
	list-style-type: none;
}
h1,h2,h3,h4,h5,h6,p {
    padding: 0;
    margin: 0;
    font-weight: normal;
}
h1 {
    font-weight: normal;
    -webkit-text-stroke: 2px var(--primary);
    letter-spacing: 0.03em;
	font-size: 15rem;
	line-height: 15rem;
}
h2 {
    font-weight: normal;
	font-size: 4rem;
	line-height: 6rem;
}
h3 {
    font-weight: normal;
	font-size: 6rem;
}
h4 {
    font-weight: normal;
    letter-spacing: 0.03em;
	font-size: 3.2rem;
	line-height: 3.5rem;
}
h5 {
    font-weight: normal;
    letter-spacing: 0.03em;
}
h6 {
    font-weight: normal;
}
p {
    letter-spacing: 0.03em;
	font-size: 1.8rem;
	line-height: 3rem;
}
span {
	font-size: 1.8rem;
	line-height: 3rem;	
}
strong, b {
    font-weight: bold;
}
.divider {
    padding: 25px 0;
}
.pulsante {
    padding: unset;
}
.pulsante:hover {
    padding: unset;
}
.load_more {
	background-color: #E20019;
	color: #fff;
	border-radius: 20px;
	border: none;
	padding: 5px 15px;
}
.pagination {
	text-align: center;
}
.blocco {
	position: relative;
	overflow: hidden;
	display: flex;
}
.text {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	height: 100%;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

.ancora {
scroll-margin-top: 50px;
}

/* go up button */
.up-button {
	position: fixed;
	bottom: 2%;
	right: 1%;
	display: none;
	z-index: 2;
	background-color: transparent;
	color: #fff;
	padding: 5px 10px;
	border: none;
}
.up-button img {
	max-width: 30px;
}
.scroll .up-button {
	display: block;
}

/* bottone filtro */
.btn-filtro {
	display: inline-block;
	margin-right: 5px;
	font-size: 1.8rem;
	padding: 10px 5px;
	background-color: #fff;
	border: 1px solid #999;
	cursor: pointer;
	user-select: none;
}
.btn-filtro.active {
	background-color: #999;
}

/* spinner */
spinner {
	display: inline-block;
	width: 80px;
	height: 80px;
}
spinner::after {
	content: " ";
	display: block;
	width: 64px;
	height: 64px;
	margin: 8px;
	border-radius: 50%;
	border: 6px solid #fff;
	border-color: #fd175b transparent #fff transparent;
	animation: dg_loader_animation 1.2s linear infinite;
}


/*------------------------------------*\
    ELEMENTI
\*------------------------------------*/

/* SLIDE */

.slick-dots {
	position: absolute;
    right: 0;
    bottom: 5%;
    z-index: 1;
    width: 100%;
    text-align: center;
}
.slick-dots .slick-active {
    background-color: #fff;
}
.slick-dots li {
    display: none !important;
    width: 8px;
    height: 8px;
    overflow: hidden;
    background-color: transparent;
    border-radius: 50%;
    margin: 20px 5px 0;
    border: 1px solid #fff;
}
.slick-dots button {
	color: transparent;
	background-color: transparent;
	display: contents;
}

.slick-prev {
	background-image: url(img/header/left.svg);
	background-repeat: no-repeat;
	background-color: transparent;
	border: none;
	color: transparent;
	position: absolute;
	top: 45%;
	left: 0;
	z-index: 1;
	outline: none;
	width: 20px;
	height: 30px;
	top: auto;
	bottom: 0;
	left: 50%;
  	transform: translateX(-150%);
}
.slick-next {
	background-image: url(img/header/right.svg);
	background-repeat: no-repeat;
	background-color: transparent;
	border: none;
	color: transparent;
	position: absolute;
	top: 45%;
	right: 0;
	z-index: 1;
	outline: none;
	width: 20px;
	height: 30px;
	top: auto;
	bottom: 0;
	left: 50%;
  	transform: translateX(50%);
}

.slide-contatore .slick-dots li {
	border: none;
	width: auto;
	height: auto;
	display: none;
}
.slide-contatore .slick-dots .slick-active {
	background-color: transparent;
	color: #fff;
	display: block;
    width: fit-content;
}
.slide-contatore .slick-dots a {
	color: #fff;
	font-size: 14px;
}
.variable .slick-slide img {
	padding: 0 5px;
	height: clamp(220px, 33.854vw, 650px);
	width: auto;
}
.variable .slick-slide {
	float: left;
	height: 100%;
	min-height: 1px;
	padding-left:8px;
	padding-right: 8px;
} 

/*prova slider alessia*/

.slider {
  position: relative;
  padding-bottom: 70px; 
}

.slide-custom {
  max-width: clamp(450px, 3vw, 650px);
  width: 100%;
  flex-shrink: 0;
  margin-right: clamp(30px, 3vw, 60px);
  margin-left: clamp(30px, 3vw, 60px);
  align-content: center;
  box-sizing: border-box;
  border: 1px solid var(--primary);
  border-radius: 30px;
  padding: 20px;
}

.slide-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 3.4rem;
  text-align: center;
}

.fucsia {
	color: var(--primary);
	font-family: 'Anton-Regular';
	font-size: 3rem;
}

.slide-custom p {
  width: 100%;
  padding-top: 15px;
  text-align: center;
}

.slick-track {
    display: flex !important;
}
.slick-slide {
    height: auto !important;
}

/* FORM */
label {
	font-size: inherit;
}
input,
textarea {
	outline: none;
	padding-left: 10px;
	color: var(--secondary);
	height: 45px;
	margin-top: 10px;
	margin-bottom: 30px;
	background-color: rgba(255, 255, 255, 0.7);
	border: 1px solid var(--secondary);
	border-radius: 5px;
	width: 100%;
}
::placeholder {
	color: #000;
}
.wpcf7-form .wpcf7-acceptance input {
	height: auto;
	/* appearance: none;
	-webkit-appearance: none; 
	-moz-appearance: none;*/
	accent-color: var(--primary);
	border: 1px solid var(--secondary);
	background-color: var(--light);
	padding: 8px;
	margin-top: 0px;
	margin-bottom: 0;
	max-width: 20px;
}

.wpcf7-form a {
	font-family: 'OpenSans-regular';
	color: var(--secondary);
	text-decoration: none;
	font-size: 1.8rem;
}
span.wpcf7-list-item {
	margin: 0;
}

.cf7-submit {
	display: flex;
	align-items: center;
	justify-content: center;
}

.wpcf7-submit {
	margin-top: 50px;
	border: 2px solid var(--secondary);
	border-radius: 30px;
	background-color: transparent;
	color: var(--secondary);
	padding: 0 40px;
    height: 50px;
    line-height: 3.5rem;
    margin-bottom: 0;
    max-width: 220px;
	display: flex;
	align-items: center;
	justify-content: center;
    font-family: 'Anton-Regular';
	letter-spacing: 0.03em;
	font-size: 2rem;
}
.wpcf7-submit:hover {
	background-color: var(--secondary);
	color: var(--light);
	border: 2px solid var(--light);
}
div.wpcf7-response-output {
	padding: 0;
}
.wpcf7 form.invalid .wpcf7-response-output, 
.wpcf7 form.unaccepted .wpcf7-response-output, 
.wpcf7 form.payment-required .wpcf7-response-output,
.wpcf7 form.sent .wpcf7-response-output {
	border: none;
	color: #000;
}

#contattami {
  width: 100%;
  background: linear-gradient(rgba(34, 34, 34, .5), rgba(34, 34, 34, .5)), url(img/home/contattami_background_mzalb.jpg) no-repeat center center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

.small-content {
    width: 100%;
    max-width: clamp(680px, 80%, 1185px);
	border: 1px solid var(--secondary);
	border-radius: 30px;
	background-color: rgba(219, 147, 171, 0.3);
	display: flex;
	flex-direction: column;
	padding: clamp(30px, 5vw, 70px);
	margin: 0 auto;
}

.small-content h3 {
	color: var(--secondary);
	font-size: 5rem;
	padding-bottom: 50px;
	text-align: center;
}

.small-content p {
	color: var(--light);
	font-size: 1.8rem;
	line-height: 2.2rem;
}

.wpcf7-form .cf7-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(20px, 4vw, 40px);
    flex-wrap: wrap;
	justify-content: space-between;
}

.wpcf7-textarea {
    min-height: 230px;
	padding-top: 10px;
}

.wpcf7-not-valid-tip {
    margin-top: -20px;
}

/** TABS **/

.tabulator {
    position: relative;
    margin: 10px 0px;
}
.tabulator header,
.tabulator content {
    position: relative;
}

.tabulator header {
    background: unset;
    padding: 0;
    margin: 0;
}
.tabulator button {
    background-color: white;
    border: 2px solid grey;
    color: grey;
    border-radius: 5px 5px 0px 0px;
    border-bottom: 0px;
    position: relative;
    top: 2px;
    margin-right: 1px;
}

.tabulator tab {
    width: 100%;
    display: block;
    background-color: white;
    border: 2px solid black;
    display: none;
    padding: 10px;
}

.tabulator tab.active {
    display: block;
}
.tabulator button.active {
    z-index: 2;
    font-weight: 750;
    border-color: black;
    color: black;
}
/* Style the buttons that are used to open and close the accordion panel */
.accordions {
	margin-top: 30px;
}
.accordion {
	background-color: transparent;
	cursor: pointer;
	width: 100%;
	text-align: left;
	border: none;
	outline: none;
	border-bottom: 1px solid #666;
    transition: all 0.4s ease;
}
.accordion .accordion-header {
    background-color: transparent;
    width: 100%;
    border: unset;
	padding: 20px 10px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.accordion-header::after {
	content: "+";
	color: #fff;
	font-size: 30px;
	font-weight: 200;
	width: 20%;
	text-align: right;
}
.accordion-header h3 {
	display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.accordion.active .accordion-header{
	background-color: rgb(226,0,25,0.5);
	border-radius: 10px 10px 0 0;
} 
.accordion-header:hover {
	background-color: rgb(226,0,25,0.25);
}
.accordion .accordion-header::after {
	content: "-";
}

/* Style the accordion panel. Note: hidden by default */
.accordion .panel {
	padding: 0 20px;
	max-height: 0;
	overflow: hidden;
	transition: 0.44s max-height ease-out, 0.8s opacity ease;
	color: #fff;
	text-align: left;
	border-radius: 0 0 10px 10px;
}
.accordion.active .panel {
    max-height: 600px;
	background-color: rgb(226,0,25,0.5);
}
.accordion .panel p {
	margin: 30px auto;
}
/*------------------------------------*\
	LIGHTBOX
\*------------------------------------*/

.lightbox-wrapper {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    opacity: 0;
}
.lightbox-wrapper[aria-visible="true"] {
    display: flex;
}
.lightbox-wrapper img {
    max-width: 100%;
}
.lightbox-wrapper .lightbox-background {
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.72);
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: -1;
}
.lightbox-wrapper.striped .lightbox-background {
    background: repeating-linear-gradient(
        45deg,
        rgba(0,0,0,0.66),
        rgba(0,0,0,0.66) 10px,
        rgba(0,0,0,0.64) 10px,
        rgba(0,0,0,0.64) 20px
    );
}
.lightbox-wrapper .lightbox-container {
    width: calc(100% - 40px);
    height: auto;
    z-index: 10;
    position: relative;
    color: white;
    user-select: none;
    pointer-events: none;
}
.lightbox-wrapper .lightbox-content {
    width: 80%;
    height: auto;
    z-index: 10;
    margin: 0 auto;
}
.lightbox-wrapper .lightbox-content * {
    margin: 0;
    padding: 0;
}
.lightbox-arrows {
    position: absolute;
    top: 0px;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0px 10px;
}
.lightbox-arrows.left {
    left: 0px;
}
.lightbox-arrows.right {
    right: 0px;
}
.lightbox-wrapper .lightbox-header {
    text-align: right;
}
.lightbox-wrapper .lightbox-header .close {
	max-width: 25px;
}
.lightbox-wrapper .close {
	cursor: pointer;
}
.lightbox-wrapper .lightbox-body {
    margin: 10px 0px;
    overflow: hidden;
    color: #fff;
    height: auto;
}
.lightbox-wrapper i.fa {
    cursor: pointer;
    position: relative;
}
.lightbox-wrapper .lightbox-popup {
    padding: 15px;
}
.lightbox-wrapper .lightbox-footer {
    display: none;
}
.lightbox-wrapper .lightbox-footer-sx {
    width: calc(100% - 90px);
    font-size: 1.2em;
}
.lightbox-wrapper .lightbox-footer-dx {
    width: 90px;
    text-align: right;
}
.lightbox-wrapper .lightbox-footer h6 {
    font-weight: 400;
    font-size: 14px;
}
.lightbox-wrapper .lightbox-footer h5 {
	color: #fff;
	font-size: 16px;
}
.lightbox-wrapper .lightbox-footer-dx h5{
    font-weight: 200;
    font-size: 1.4px;
    color: #fff;
}
.lightbox-wrapper .lightbox-container h5,
.lightbox-wrapper .lightbox-container h3,
.lightbox-wrapper .lightbox-container h6,
.lightbox-wrapper .lightbox-container img,
.lightbox-wrapper .lightbox-container i.fa {
    pointer-events: initial;
    color: #fff;
}	
.lightbox-wrapper .lightbox-container img {
	display: block;
    margin: 0 auto;
    cursor: pointer;
}
.lightbox-wrapper .lightbox-container .lightbox-body img {
    width: unset;
    height: 100%;
	display: block;
    object-fit: cover;
}
.lightbox-wrapper.singolo .lightbox-arrows,
.lightbox-wrapper.singolo .lightbox-footer-dx h5 {
    display: none;
}
.lightbox-wrapper .lightbox-container a {
    color: inherit;
    text-decoration: none;
}
.lightbox-wrapper .lightbox-container .hover {
	padding: 10px;
}
.lightbox-wrapper .close {
	cursor: pointer;
}
.lightbox-wrapper .next, 
.lightbox-wrapper .prev {
	width: 20px;
	cursor: pointer;
}

/*------------------------------------*\
	ANIMAZIONI
\*------------------------------------*/

.zoom {
	transition-duration: 1s;
	-webkit-transition-duration: 1s;
	-o-transition-duration: 1s;
	-moz-transition-duration: 1s;
	-ms-transition-duration: 1s;
	transform: scale(1,1);
	-webkit-transform: scale(1,1);
	-o-transform: scale(1,1);
	-ms-transform: scale(1,1);
	-moz-transform: scale(1,1);
}
.zoom:hover {
	transition-duration: 2s;
	-webkit-transition-duration: 2s;
	-o-transition-duration: 2s;
	-moz-transition-duration: 2s;
	-ms-transition-duration: 2s;
	transform: scale(1.1,1.1);
	-webkit-transform: scale(1.1,1.1);
	-o-transform: scale(1.1,1.1);
	-ms-transform: scale(1.1,1.1);
	-moz-transform: scale(1.1,1.1);
}
.szoom {
	transition-duration: 1s;
	-webkit-transition-duration: 1s;
	-o-transition-duration: 1s;
	-moz-transition-duration: 1s;
	-ms-transition-duration: 1s;
	transform: scale(1,1);
	-webkit-transform: scale(1,1);
	-o-transform: scale(1,1);
	-ms-transform: scale(1,1);
	-moz-transform: scale(1,1);
}
.szoom:hover {
	transition-duration: 1s;
	-webkit-transition-duration: 1s;
	-o-transition-duration: 1s;
	-moz-transition-duration: 1s;
	-ms-transition-duration: 1s;
	transform: scale(0.9,0.9);
	-webkit-transform: scale(0.9,0.9);
	-o-transform: scale(0.9,0.9);
	-ms-transform: scale(0.9,0.9);
	-moz-transform: scale(0.9,0.9);
}

.rotation {
	transform: rotateZ(0deg);
	-moz-transform: rotateZ(0deg);
	-webkit-transform: rotateZ(0deg);
	-ms-transform: rotateZ(0deg);
	-o-transform: rotateZ(0deg);
	transition-duration: 0.8s;
	-webkit-transition-duration: 0.8s;
	-moz-transition-duration: 0.8s;
	-ms-transition-duration: 0.8;
	-o-transition-duration: 0.8s;
}
.rotation:hover {
	transform: rotateZ(360deg);
	-moz-transform: rotateZ(360deg);
	-webkit-transform: rotateZ(360deg);
	-ms-transform: rotateZ(360deg);
	-o-transform: rotateZ(360deg);
	transition-duration: 0.8s;
	-webkit-transition-duration: 0.8s;
	-moz-transition-duration: 0.8s;
	-ms-transition-duration: 0.8;
	-o-transition-duration: 0.8s;
}
.rotation-inverse {
	animation-name: rotation-inverse;
	-ms-animation-name: rotation-inverse;
	-moz-animation-name: rotation-inverse;
	animation-timing-function: linear;
	-webkit-animation-timing-function: linear;
	-ms-animation-timing-function: linear;
	-moz-animation-timing-function: linear;
	animation-iteration-count: infinite;
	-webkit-animation-iteration-count: infinite;
	-ms-animation-iteration-count: infinite;
	-moz-animation-iteration-count: infinite;
	animation-duration: 6s;
	-webkit-animation-duration: 6s;
	-ms-animation-duration: 6s;
	-moz-animation-duration: 6s;
}
.lampeggio {
	position: fixed;
	max-width: 50px;
	bottom: 2%;
	right: 2%;
	opacity: 0;
	animation-name: lampeggio;
	-ms-animation-name: lampeggio;
	-moz-animation-name: lampeggio;
	animation-timing-function: linear;
	-webkit-animation-timing-function: linear;
	-ms-animation-timing-function: linear;
	-moz-animation-timing-function: linear;
	animation-iteration-count: infinite;
	-webkit-animation-iteration-count: infinite;
	-ms-animation-iteration-count: infinite;
	-moz-animation-iteration-count: infinite;
	animation-duration: 3s;
	-webkit-animation-duration: 3s;
	-ms-animation-duration: 3s;
	-moz-animation-duration: 3s;
}
.pulsazione {
	animation-name: pulsazione;
	-ms-animation-name: pulsazione;
	-moz-animation-name: pulsazione;
	animation-timing-function: linear;
	-webkit-animation-timing-function: linear;
	-ms-animation-timing-function: linear;
	-moz-animation-timing-function: linear;
	animation-iteration-count: infinite;
	-webkit-animation-iteration-count: infinite;
	-ms-animation-iteration-count: infinite;
	-moz-animation-iteration-count: infinite;
	animation-duration: 5s;
	-webkit-animation-duration: 5s;
	-ms-animation-duration: 5s;
	-moz-animation-duration: 5s;
}

@keyframes rotation-inverse {
	0% {transform: rotateZ(0);}
	25% {transform: rotateZ(-90deg);}
	50% {transform: rotateZ(-180deg);}
	75% {transform: rotateZ(-270deg);}
	100% {transform: rotateZ(-360deg);}
}

@keyframes lampeggio {
	0% {opacity:0;}
	25% {opacity:0.5;}
	50% {opacity:1;}
	75% {opacity:0.5;}
	100% {opacity:0;}
}

@keyframes pulsazione {
	0% {transform: scale(0.5,0.5);}
	25% {transform: scale(0.65,0.65);}
	50% {transform: scale(0.75,0.75);}
	75% {transform: scale(0.65,0.65);}
	100% {transform: scale(0.5,0.5);}
}

@keyframes dg_loader_animation {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}
/* Animations */

/* Fade */
.fade {
    opacity: 0;
    transition: 1.7s all cubic-bezier(0.445, 0.05, 0.55, 0.95);
}
.fade.in-page {
    opacity: 1;
}
.fade-in {
    transform: translateY(50px);
    opacity: 0;
    transition: 1s all cubic-bezier(0.53, 0.03, 0.01, 0.46);
}
.fade-in.delay-200 {
	transition-delay: 200ms;
}
.fade-in.delay-300 {
	transition-delay: 300ms;
}
.fade-in.delay-400 {
	transition-delay: 400ms;
}
.fade-in.delay-500 {
	transition-delay: 500ms;
}
.fade-in.delay-600 {
	transition-delay: 600ms;
}
.fade.delay-200 {
	transition-delay: 200ms;
}
.fade.delay-300 {
	transition-delay: 400ms;
}
.fade.delay-400 {
	transition-delay: 400ms;
}
.fade.delay-500 {
	transition-delay: 500ms;
}
.fade.delay-600 {
	transition-delay: 600ms;
}
.fade-in.in-page {
    transform: translateY(0);
    opacity: 1;
}

.reveal-from-left img, .reveal-from-left .overlay, .reveal-all.reveal-from-left * {
    clip-path: polygon(0 0, 0% 0, 0% 100%, 0 100%);
    transition: 1.7s all cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal-from-left.in-page img, .reveal-from-left.in-page .overlay, .reveal-all.reveal-from-left.in-page * {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.reveal-from-right img, .reveal-from-right .overlay {
    clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
    transition: 1.7s all cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal-from-right.in-page img, .reveal-from-right.in-page .overlay {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.fade-left {
    transform: translateX(-50px);
    opacity: 0;
    transition: 1s all cubic-bezier(0.53, 0.03, 0.01, 0.46);
}
.fade-left.in-page {
    transform: translateX(0);
    opacity: 1;
}

.fade-right {
    transform: translateX(50px);
    opacity: 0;
    transition: 1s all cubic-bezier(0.53, 0.03, 0.01, 0.46);
}
.fade-right.in-page {
    transform: translateX(0);
    opacity: 1;
}

.fade-in-top {
    transform: translateY(-50px);
    opacity: 0;
    transition: 1s all cubic-bezier(0.53, 0.03, 0.01, 0.46);
}
.fade-in-top.in-page {
    transform: translateY(0);
    opacity: 1;
}
/* --------------------- MASONRY ------------------------------ */
.masonry_gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.masonry_gallery > .masonry-item {
    display: block;
    width: 32.23333%;
    padding: 10px;
}
/* --------------------- POPUP INFORMATIVO ------------------------------ */
.popup-info {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    padding: 10px;
    justify-content: center;
    align-items: center;
}
.popup-info .overlay {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: -1;
    background-color: rgba(0, 0, 0, 0.5);
}
.popup-info .popup {
    width: 100%;
    max-width: 400px;
    display: block;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    height: fit-content;
}
.popup-info .popup h2 {
    margin-top: 0;
}
.popup-info .popup button {
    display: block;
    margin: 10px auto;
    padding: 10px 20px;
    background-color: red;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
/*--------------POPUP------------------*/
.popup-content {
	display: none;
	justify-content: center;
	align-items: center;
	position: fixed;
	z-index: 100;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0.40);
}
.popup-content .sfondo {
	background-color: var(--primary);
	width: 80%;
	height: auto;
	max-width: 800px;
	text-align: left;
	position: relative;
}
.popup-content .sfondo .testo {
	padding: 30px;
}
.popup-content .sfondo p {
	color: #fff;
	font-size: 1.4rem;
}
.popup-content .sfondo h5 {
	color: #fff;
	padding-bottom: 10px;
}
.popup-content .sfondo h4 {
	text-align: right;
	font-size: 30px;
}
.popup-content .sfondo .close {
	cursor: pointer;
	position: absolute;
	top: 0;
	right: 0;
	margin-top: -40px;
	color: #fff;
}

/*--------------BLOG------------------*/
.pagina-del-blog {
	display: flex;
}
.pagina-del-blog > main {
	width: 70%;
}
.pagina-del-blog > aside.sidebar {
	width: 30%;
}
/*--------------GDPR------------------*/

.page-template-template-gdpr .header {
	background-color: var(--primary);
	border-bottom: 1px solid var(--primary);
}


#cmplz-document h2,
#cmplz-document h5 {
    color: var(--dark);
	margin: 0 auto;
}

.page-template-template-gdpr section h2 {
	padding-bottom: 10px;
	padding-top: 40px;
	color: var(--dark);
}

.page-id-10 main,
.page-id-11 main {
    padding-top: 60px; /* regola in base all'altezza reale dell'header */
}


.page-template-template-gdpr section p {
	max-width: 1600px;
}
#cmplz-document, 
.editor-styles-wrapper .cmplz-unlinked-mode {
	max-width: 100% !important;
}
#cmplz-cookies-overview .cmplz-dropdown summary div, 
#cmplz-document .cmplz-dropdown summary div,
#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header {
	display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
}
#cmplz-cookies-overview .cmplz-dropdown summary div input[data-category="functional"], #cmplz-document .cmplz-dropdown summary div input[data-category="functional"], .editor-styles-wrapper .cmplz-unlinked-mode .cmplz-dropdown summary div input[data-category="functional"] {
	width: 5% !important;
}
.page-template-template-gdpr input[type=checkbox], .page-template-template-gdpr input[type=radio] {
	height: auto;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	border: 1px solid #000;
	background-color: transparent;
	padding: 6px;
	margin: 0;
	max-width: 6px;
	margin-right: 10px;
}
.page-template-template-gdpr input[type=checkbox]:checked, .page-template-template-gdpr input[type=radio]:checked {
	background-color: #000;
}
.page-template-template-gdpr label {
	padding: 0;
	width: 25%;
	text-align: left;
}
#cmplz-cookies-overview .cmplz-dropdown summary div h3, #cmplz-document .cmplz-dropdown summary div h3, .editor-styles-wrapper .cmplz-unlinked-mode .cmplz-dropdown summary div h3 {
	width: 50%;
}
#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary div p, #cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary div p, .editor-styles-wrapper .cmplz-unlinked-mode .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary div p {
	width: 15%;
	text-align: left;
}
.cmplz-category-title{
	width: 80%;
}

/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------

@font-face {
	font-family:'Heebo-Light';
	src:url('fonts/Heebo-Light/Heebo-Light.eot');
	src:url('fonts/Heebo-Light/Heebo-Light.eot?#iefix') format('embedded-opentype'),
		url('fonts/Heebo-Light/Heebo-Light.woff') format('woff'),
		url('fonts/Heebo-Light/Heebo-Light.ttf') format('truetype'),
		url('fonts/Heebo-Light/Heebo-Light.svg#Heebo-Light') format('svg');
    font-weight:normal;
    font-style:normal;
}*/


/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/
/* page loader*/
loader {
	position: fixed;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.2);
	display: flex;
	justify-content: center;
	align-items: center;
	top: 0px;
	left: 0px;
	z-index: 999;
	user-select: none;
	pointer-events: none;
}
.pagina_caricata loader {
	display: none;
}

/*codice alessia base*/
:root {
  --primary: #A6065E;
  --secondary: #DB93AB;
  --light: #ffffff;
  --dark: #303030;
  --bg: rgba(219, 147, 171, 0.2);
}

.col-1,
.col-2,
.col-3,
.col-4,
.col-6,
.col-8,
.col-10 {
    width: 100%;
}

.spacer {
    padding: 120px 0;
}

.center {
    text-align: center;
}

.bg {
  background: var(--bg);
}

/* main */
main {
	min-height: 640px;
}
/* wrapper */
.wrapper {
	width:100%;
	margin: 0 auto;
	max-width: 100vw;
	overflow: hidden;
	overflow-y: auto;
	opacity: 0.0;
	transition: opacity 0.46s ease;
}
.pagina_caricata .wrapper {
	opacity: 1;
}
.content {
	max-width:1600px;
	width:90%;
	margin:0 auto;
	position:relative;
}

/* header */
.header {
	transition: all 1s linear;
    background-color: none;
    border-bottom: 1px solid #fff;
}

.scroll .header {
	background-color: var(--primary);
	border-bottom: 1px solid var(--primary);
}

.header-widget-area {
	position: absolute;
	top: 0;
	right: 5%;
	z-index: 2;
}

.header .header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.wpml-ls-legacy-list-horizontal {
	padding: 0;
}
.wpml-ls-legacy-list-horizontal a {
	padding: 10px 0 0;
}
.wpml-ls-current-language {
	padding-right: 5px !important;
}
/*logo*/

.logo img {
	width: 100px;
	transition: all 0.3s ease;
}

/* nav */
.nav {
	user-select: none;
	pointer-events: none;
	background-color: var(--primary);
	display: flex;
	color: #fff;
	width: 100%;
	height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10;
	justify-content: center;
	align-items: center;
	background-image: url(img/header/favicon.svg);
	background-size: 20% auto;
	background-repeat: no-repeat;
	background-position: right bottom;
	background-position-x: 95%;
	background-position-y: 95%;
	transition: opacity 0.7s linear;
	opacity: 0;
}
.navmenu_open .nav {
	user-select: none;
	pointer-events: unset;
	opacity: 1.0;
}
.mobile .navmenu_close .nav { 
	opacity: 0.0;  
} 
.nav a {
	color: var(--light);

}
.nav a:hover {
	color: var(--secondary);
}/*
.nav .current_page_item a {
	color: var(--secondary);
	font-weight: bold;
}*/
.nav ul {
	list-style-type: none;
	width: 100%;
	height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.nav ul li {
	padding: 15px 0;
	line-height: 1;
}
/* closebutton */
.openclose {
	position: absolute;
	top: 35%;
	right: 5%;
	z-index: 90;
	cursor: pointer;
	display: block;
}
.navmenu_open .openclose {
	display: flex;
}
.openclose .iconbar {
	height: 2px;
	width: 20px;
	background-color: #fff;
	display: block;
	margin: 5px 0;
	transition-duration: 1s;
	-webkit-transition-duration: 1s;
	-o-transition-duration: 1s;
	-moz-transition-duration: 1s;
	-ms-transition-duration: 1s;
}
.openclose img {
	max-width: 20px;
}
.openclose .uno {
	width: 15px;
}
.openclose .tre {
	width: 12px;
}
.openclose:hover .uno {
	width: 20px;
}
.openclose:hover .tre {
	width: 20px;
}
/** MEGA MENU **/

.nav .sub-menu {
	display: none;
	padding: 10px 0 0;
}
.nav .sub-menu li {
	padding: 5px 0;
}

nav.nav ul .mega-menu {
    width: 100%;
    position: absolute;
    left: 0px;
    top: 100%;
    display: flex;
    background-color: #141414;
    color: white;
    padding: 20px;
    opacity: 0.0;
    transition: opacity 0.68s ease, color 0.68s ease;
    pointer-events: none;
}
.pagina-mobile nav.nav ul .mega-menu {
    top: 0;
    height: 100vh;
    flex-direction: column;
    padding-top: 150px;
}
nav .mega-left picture {
    display: block;
}
nav.nav.show-mega ul .mega-menu picture img {
    width: 100%;
    display: block;
    max-width: unset;
    margin: 0;
}
nav.show-mega ul .mega-menu.open {
    display: flex;
    opacity: 1.0;
    z-index: 1;
    pointer-events: initial;
}

nav ul .mega-menu .mega-left {
    width: 40%;
    padding: 20px;
}
nav ul .mega-menu .mega-right {
    width: 60%;
    padding: 20px;
}
.pagina-mobile nav ul .mega-menu .mega-left {
    width: 100%;
    position: relative;
    transition: left 0.68s ease;
    left: 100vw;
}
.pagina-mobile nav ul .mega-menu .mega-right {
    width: 100%;
    transition: left 0.68s ease;
    left: 100vw;
}
.pagina-mobile nav ul .mega-menu.open .mega-left {
    left: 0vw;
    display: none;
}
.pagina-mobile nav ul .mega-menu.open .mega-right {
    left: 0vw;
}
.nav ul .mega-menu ul.sub-menu {
    display: grid;
    grid-template-columns: 1fr;
}
.nav ul .mega-menu.open ul.sub-menu {
    display: grid;
}


/*main*/

#menu-item-44 {
    background-color: transparent;
    border-radius: 0px;
    border: none;
    padding: 15px 0;
}

#menu-item-44:hover > a {
    color: var(--secondary);
}

.hero {
  width: 100%;
  height: 100vh;
  background: linear-gradient(rgba(34, 34, 34, .5), rgba(34, 34, 34, .5)), url(img/home/hero_mzlab.jpg) no-repeat center center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main {
	display: flex;
	flex-direction: column; 
	align-items: center;    
	text-align: center;  
	gap: 30px;
	padding-top: 120px;
}

.cta {
  display: inline-block;
  text-decoration: none;
  font-size: 2.8rem;
  color: var(--light);
  letter-spacing: 0.03em;
  text-align: center;
  transition: all 0.3s;
  background-color: var(--primary);
  border: 2px solid var(--light) ;
  border-radius: 40px;
  padding: 15px 40px;
  margin-top: clamp(50px, 5vw, 200px);
}

.cta:hover {
  background-color: var(--light);
  color: var(--primary);
  border: 2px solid var(--primary);
}


.flex {
  display: flex;
  gap: clamp(25px, 4vw, 50px);
  align-items: center;
}

.title-wrapper {
  position: relative;
  display: inline-flex;
  justify-content: center;
  left: 50%;
  transform: translateX(-50%); 
}


.title-background {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: transparent;
  -webkit-text-stroke: 1px rgba(166, 6, 94, 0.5);
  z-index: 1;
  white-space: nowrap;
  text-align: center;
  top: -30px;
}

.title-foreground {
  position: relative;
  z-index: 2;
  white-space: nowrap;
  text-align: center;
  padding-bottom: 50px;
}

.border-img {
  border-radius: 30px;
}

.about-img {
  width: 560px;
  height: 700px;
  object-fit: cover;
}

.mb-50 {
  margin-bottom: 50px;
}

.pb-25 {
  padding-bottom: 25px;
}

.pt-25 {
  padding-top: 25px;
}

.pt-50 {
  padding-top: 50px;
}

.vertical-line-text {
  display: flex;
  align-items: stretch; /* forza i figli a coprire tutta l’altezza */
}

.vertical-line-text .line-vertical {
  display: inline-block; /* o block, serve per rispettare height */
  width: 2px;            
  background-color: var(--primary);
  margin-right: 25px;
}

.vertical-line-text .special-text {
  flex: 1;               /* occupa lo spazio rimanente */
}

.align-items {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    gap: clamp(25px, 4vw, 50px);
}

.card {
  width: 100%;
  max-width: clamp(420px, 45vw, 580px);
  min-height: 400px;
  background: #ffffff;
  border: 1px solid var(--secondary);
  border-radius: 30px;
  padding: clamp(25px, 3vw, 45px) 20px;
  box-sizing: border-box;
  margin-bottom: 50px;
}

.card-header {
  display: flex;
  align-items: center;
  gap: clamp(15px, 2vw, 25px);
  max-width: 500px;
  margin: 0 auto 25px auto;
}

.icon {
  width: clamp(40px, 5vw, 70px);
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  background-color: var(--primary);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  display: flex;
}

.icon-img {
  width: clamp(30px, 70%, 50px);
  height: auto;
}

.card-title  {
  display: flex;
  flex-direction: column;
  max-width: 400px;
}

.card-title span {
  font-size: 1.8rem;
  color: var(--dark);
  margin-top: 5px;
}

.line-service {
  max-width: 500px;
  height: 1px;
  background-color: var(--secondary);
  margin: 0 auto 25px auto;
}

.card p {
  margin: 0 auto;
  text-align: center;
}

#metodo .flex {
    display: flex;
	justify-content: center;
	align-items: stretch;
    column-gap: clamp(30px, 3vw, 80px);
    row-gap: 40px;
}

.card-metodo {
  width: 100%;
  max-width: 500px;
  height: 100%;
  border-radius: 30px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  text-align: center;
  padding: clamp(10px, 1vw, 15px);
}

.card-metodo-color1 {
      background: linear-gradient(
    to bottom,
    rgba(219, 147, 171, 0.2) 90%,   
    rgba(160, 6, 94, 0.2) 100%      
    );
}

.card-metodo-color2 {
      background: linear-gradient(
    to bottom,
    rgba(219, 147, 171, 0.25) 50%,   
    rgba(160, 6, 94, 0.25) 100%      
    );
}

.card-metodo-color3 {
      background: linear-gradient(
    to bottom,
    rgba(219, 147, 171, 0.3) 10%,   
    rgba(160, 6, 94, 0.3) 100%      
    );
}

.card-metodo-img {
  margin-bottom: 30px;
  border-radius: 30px;
  object-fit: cover;
}

.line-metodo {
  width: 90%;
  max-width: 300px;
  height: 1px;
  background-color: var(--primary);
  margin: 15px auto 0 auto;
}

.card-metodo p {
    flex: 1;            
    display: flex;
    align-items: center;  
    justify-content: center; 
    text-align: center;
	padding-top: clamp(10px, 4vw, 90px);
	padding-bottom: clamp(10px, 4vw, 90px);
	padding-left: 10px;
	padding-right: 10px;
}

.parallax-text h4 {
    color: var(--light);
    font-size: 5rem;
    padding-bottom: 20px;
}

.parallax-text p {
    color: var(--light);
    font-size: 3.2rem;
}

.benefici-img {
  width: 560px;
  height: 700px;
  object-fit: cover;
}

.card-benefici {
  display: flex;
  align-items: flex-start;
  gap: clamp(15px, 2vw, 25px);
  padding-bottom: 50px;
}

.card-benefici .card-title {
  display: flex;
  flex-direction: column;
  max-width: none;
}

.card-benefici:last-child {
	padding-bottom: 0px;
}


.pb-10 {
	padding-bottom: 10px;
}

.anton-white {
	color: var(--light);
    font-size: 3rem;
    font-family: 'Anton-Regular';
	padding: 0 auto;
}

.button {
  display: inline-block;
  text-decoration: none;
  font-size: 2rem;
  color: var(--primary);
  letter-spacing: 0.03em;
  text-align: center;
  transition: all 0.3s;
  border: 2px solid var(--primary) ;
  border-radius: 30px;
  padding: 10px 60px;
  margin-top: 20px;
}

.button:hover {
  background-color: var(--primary);
  color: var(--light);
  border: 2px solid var(--light) ;
}

/* footer */
.footer {
	text-align: left;
	background-color: var(--primary);
}
.footer > .content {
	padding: 30px 0;
}
.footer-widget-area {
	display: flex;             
    justify-content: space-around; 
    flex-wrap: wrap; 
	margin: 50px 0;
}
.footer-bottom {
	display: flex;
    justify-content: space-between; 
    align-items: center;
    flex-wrap: wrap;
	margin: auto 20px;
}
.footer h3 {
	color: var(--light);
	font-size: 1.6rem;
	padding-bottom: 15px;
}
.footer p {
	font-family: 'OpenSans-Regular', sans-serif;
	color: var(--light);
	font-size: 1.6rem;
	line-height: 2.8rem;
}
.footer a {
	font-size: 1.6rem;
	color: var(--light);
}
footer a:hover {
	text-decoration: underline;
}
.widget_media_image {
	max-width: 130px;
}
.line-footer {
	width: 100%;
	height: 1px;
	background-color: var(--light);
	margin: 20px 0;
}
.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.icon-fb, .icon-ig {
    width: 25px;
    height: 25px;
    fill: var(--light);
    transition: 0.3s ease;
}

.footer-menu {
    display: flex;
    align-items: center;
}

.footer-menu ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    display: flex;
    align-items: center;
	font-size: 1.8rem;
	font-family: 'OpenSans-Regular';
}

.footer-menu li:after {
    content: "|";
    margin: 0 10px;
    color: var(--light);
}

.whatsapp {
  position: fixed;
  bottom: clamp(20px, 3vw, 30px);
  right: clamp(20px, 3vw, 30px);
  z-index: 1000;
  cursor: pointer;
  padding: 0 auto;
}

.whatsapp img {
  max-width: 50px;
  height: auto;
  display: block;
}

.animated-text .word {
  white-space: nowrap;
  display: inline-block;
}

/* Forza i tag span a ereditare lo stile dell'H1/H2 */
.animated-text .word,
.animated-text .letter {
  font-size: inherit !important;
  font-family: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  color: inherit;
}

.animated-text .letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
}
/*------------------------------------*\
    PAGES
\*------------------------------------*/

/*--------------HOME------------------*/






/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width:768px) {
	.touch .parallax {
		background-attachment: scroll !important;
	}
	.wpcf7-form label {
		font-size: inherit;
	}
	.wpcf7-form .flex {
		display: flex;
	    flex-direction: row;
	    flex-wrap: wrap;
	    justify-content: space-between;
	    align-items: flex-start;
	    align-content: center;
	}
	.wpcf7-form .flex div {
		width: 48%;
	}
	.nav ul li {
		padding: 15px 0;
	}
	.nav a {
		font-size: 2.5rem;
	}
}
@media only screen and (min-width:1024px) {
	.touch .parallax {
		background-attachment: scroll !important;
	}
	.lightbox-wrapper .next, .lightbox-wrapper .prev {
	    width: 20px;
	}	
	.lightbox-wrapper .lightbox-header .close {
	    max-width: 30px;
	}
	.lightbox-wrapper .lightbox-body {
	    height: 100%;
	    max-height: 800px;
	}
	.col-1 { 
		width: 8.33333%; }
	.col-2 { 
		width: 16.66666%; }
	.col-3 { 
		width: 25%; }
	.col-4 { 
		width: 33.33333%; }
	.col-6 { 
		width: 50%; }
	.col-8 { 
		width: 66.66666%; }
	.col-10 { 
		width: 83.33333%; }
/*--------------HOME------------------*/



}
@media only screen and (min-width:1280px) {
	.parallax {
		background-attachment: fixed !important;
	}
	.logo img {
	    max-width: 100px;
	}

	.popup-content .sfondo {
	    max-width: 1100px;
    }
	/*------------------------------------*\
		RESPONSIVE - layout desktop
	\*------------------------------------*/

	/* header */
	.header {
		display: flex !important;
		justify-content: space-between;
		align-items: center;
	}
	/* nav */
	.pagina-desktop .nav {
		display: block;
		background-color: transparent;
		height: auto;
		position: relative;
		background-image: none;
		opacity: 1.0;
		pointer-events: unset;
		user-select: unset;
		left: auto;
	}
	.pagina-desktop .nav ul {
		margin-top: 0;
		text-align: end;
		display: inline-block;
	}
	.pagina-desktop .nav ul li {
		padding: 0 0 0 0px;
		display: inline-block;
		text-transform: none;
		margin-left: 55px;
	}
	.pagina-desktop .nav ul li a { 
		line-height: 3rem;
		font-size: 2.2rem;
		letter-spacing: 1px;
	}
	.pagina-desktop .openclose {
		display: none;
	}
	.pagina-desktop .logo {
		max-width: 100px;
		width: 100%;
		position: relative;
	}
	.wpml-ls-legacy-list-horizontal a {
		padding: 0;
	}
	.header-widget-area {
		top: 35%;
	}
	aside {
		max-width: 30%;
	}
	.nav .sottomenu .sub-menu {
		width: 220px;
		margin-top: 74px;
	}
	.nav .sub-menu {
		padding: 0;
	}
	.nav .sub-menu li {
		width: 100%;
	}
	.nav .sub-menu li a {
		height: 40px;
		line-height: 4rem;
	}
	.nav .sottomenu {
		position: relative;
		cursor: pointer;
	}
	.nav .sottomenu .sub-menu {
		flex-direction: column;
		justify-content: flex-start;
		background-color: #F3F8F0;
		position: absolute;
		top: 0;
		left: 0;
		text-align: left;
		width: 220px;
		margin-top: 50px;
		z-index: 2;
		padding: 20px 0;
	}

	#menu-item-44 {
		background-color: var(--secondary);
		border-radius: 40px;
		border: 2px solid var(--secondary);
		padding: 8px 30px;
		transition: all 0.3s ease;
	}

	#menu-item-44 > a {
		color: var(--light);
		transition: color 0.3s ease;
	}

	#menu-item-44:hover {
		background-color: transparent;
		cursor: pointer;
	}

	#menu-item-44:hover > a {
		color: var(--secondary);
	}


	

}

.logo-menu-mobile {
	display: none !important;	
	width: 100px;
}

/* 1280px max */
@media (max-width: 1279px) {

	.nav {
		flex-direction: column;
	}
	.nav ul {
		height: auto !important;
	}
	.logo-menu-mobile {
		display: block !important;	
	}
  	html { font-size: 56.25%; } 

  	.benefici-img {
        width: 100%;
        aspect-ratio: 1 / 1;
        height: auto;
        object-fit: cover;
    }
}


/* 1024px max */
@media (max-width: 1024px) {

	.scroll .logo img {
		width: 60px;
	}

	.content.flex {
        flex-direction: column;
        gap: 30px;
    }

    .col-6 {
        width: 100%;
        max-width: 100%;
    }

    #about .content.flex:nth-of-type(2) {
        flex-direction: column-reverse;
		margin-top: 70px;
    }

	.title-foreground {
  		padding-bottom: 30px;
	}

	.about-img,
	.benefici-img {
        width: 100%;
        max-width: 80%;
        aspect-ratio: 1 / 1;
        height: auto;
        object-fit: cover;
    }

	#servizi .flex {
		display: flex;
		flex-direction: column;
		gap: 0;
	}

	.card {
		margin-bottom: 40px;
	}

	.col-4 {
		width: 100%;
	}

	#metodo .flex {
    	display: grid;
	}

	.card-metodo {
		padding: 15px;
	}

	#cosaotterrai .flex {
		display: flex;
        flex-direction: column-reverse;
	}

	.benefici-img {
		margin-bottom: 40px;
    }

	.card.animate.fade-in,
  	.card.animate.fade-in-top {
    	transform: translateY(50px) !important;  
    	opacity: 0 !important;
  	}

  	.card.animate.fade-in.in-page,
  	.card.animate.fade-in-top.in-page {
    	transform: translateY(0) !important;
    	opacity: 1 !important;
  	}
}

/* Mobile 768px max*/
@media (max-width: 768px) {

	.logo img {
		width: 80px;
	}

	.about-img,
	.benefici-img {
        max-width: 100%;
    }

	.parallax-text p {
		font-size: 2.5rem;
	}

	.wpcf7-form .cf7-row {
		display: block;
}

	.small-content {
		margin: 20px;
		padding: 20px;
	}

	.footer-widget-area {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
		margin: 30px 0;
	}

	.footer h3 {
		padding-top: 20px;
		padding-bottom: 10px;
	}

	.footer-bottom {
    display: flex;
	flex-direction: column;
	text-align: center;
    align-items: center;
	}

	.footer-menu {
		display: block;
	}

	.footer-menu ul {
		display: block;
	}

	.footer-menu li {
		display: block;
	}

	.footer-menu li:after {
		content: none;
		margin: 0;
	}

	.title-background {
		top: -20px;
	}

	.title-background,
	.title-foreground {
		font-size: 4.3rem;
	}

	.spacer {
		padding: 60px 0;
	}
}

@media (max-width: 385px) {
	h2 {
		font-size: 3rem;
	}

	.cta {
    font-size: 2.2rem;
    color: var(--light);
    border-radius: 40px;
    padding: 10px 30px;
    margin-top: 20px;
	}
}
