@import url('https://fonts.googleapis.com/css2?family=Gantari:ital,wght@0,100..900;1,100..900&family=Libre+Caslon+Display&display=swap');

/*
	Theme Name: Mei Spa
	Theme URI: https://meispa.it
	Description: Mei Spa - 2025 theme
	Version: 1.4.3
	Author: Jacopo Zane
	Author URI: https://www.digitalia.srl
	Tags: HTML5, CSS3

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

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

:root {
	--white: #fff;
	--brown: #7A6047;
	--darkbrown: #504336;
	--crema: #FBF4E8;
	--borderradius: 5px;
	--gantari: "Gantari", sans-serif;
	--libre:  "Libre Caslon Display", serif;
}

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

html,body {  
	margin:0;
	padding:0;
	background-color: var(--brown);
	color:var(--white);
	font-family: var(--gantari);
	font-weight: 500;
	font-size: 16px !important;
	line-height: 1.5;
	/* overflow-y: scroll; */
	text-rendering:optimizeLegibility;
	-webkit-font-smoothing:antialiased;
	-moz-font-smoothing:antialiased;
	-o-font-smoothing:antialiased;
}

body.navmenu_open {
	overflow-y: hidden;
}

/* page loader*/

#loader .loading-before {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 997;
	background-color: var(--darkbrown);
	transition: .7s cubic-bezier(0.86, 0, 0.07, 1);
}

.loading-before.out {
	transform: translateY(-100%);
	transition-delay: .3s;
}

#loading {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 998;
	background-color: var(--brown);
	transition: .7s cubic-bezier(0.86, 0, 0.07, 1);
	transition-delay: .3s;
}

#loading::after {
	content: '';
	position: absolute;
	bottom: -30%; 
	left: 0;
	width: 100%;
	height: 30%; 
	background-color: var(--darkbrown);
	z-index: -1;
}

#loading.out {
	transform: translateY(-130%);
	transition-delay: 0s;
}

#Layer_1 {
	width: 110px;
	height: auto;
}

@media(max-width:991px){
	#Layer_1 {
		width: 90px; 
		height: auto;
	}
}

.logo-animation-container {
	overflow: hidden;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	animation: fadeInDown 1.2s ease-out forwards;
}

@keyframes fadeInDown {
	0% {
		opacity: 0;
		transform: translate(-50%, -100%);
	}
	
	100% {
		opacity: 1;
		transform: translate(-50%, -50%);
	}
}

.pagina_caricata #loader {
	pointer-events: none;
	visibility: hidden;
}

body:not(.pagina_caricata) {
    overflow: hidden;
}

/* 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 #fd175b;
	border-color: #fd175b transparent #fd175b transparent;
	animation: dg_loader_animation 1.2s linear infinite;
}

.no-scroll {
  overflow: hidden;
  height: 100vh; /* blocca anche lo scroll su mobile */
}

body.no-scroll {
  position: fixed;
  width: 100%;
}

.page-template-template-home body.navmenu_open {
	overflow-y: hidden;
}

section {
	overflow: hidden;
}

aside {
	max-width: 100%;
}

.grecaptcha-badge {
	display: none;
}
img {
	max-width:100%;
	width: 100%;
	height: auto;
	vertical-align: middle;
}
/* SCROLLBAR */

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: var(--crema);
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #111;
  padding: 3px;
  border-radius: 5px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #111;
}


.ios .parallax {
	background-attachment: scroll !important;
}
a {
	color:#3e3e3e;
	text-decoration:none;
	cursor: pointer;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
}
ul {
	list-style-type: none;
}

#mei_academy ul, #prodotti_mei ul{
	list-style-type: disc;
	list-style-position: inside;
	margin-top: 10px;
}

.normal {
	font-weight: 400;
}

h1,h2,h3,h4,h5,h6,p {
	padding: 0;
	margin: 0;
	
}
h1,.h1 {	
	font-size:2.3rem;
	line-height: 1;
	font-family: var(--gantari);
	font-weight: 300;
}
h2,.h2 {	
	font-size:2.5rem;
	line-height: 1;
	font-family: var(--libre);
	font-weight: 400;
}
h3,.h3 {	
	font-size:1.5rem;
	line-height: 1.2;
	font-family: var(--gantari);
	font-weight: 300;
}

/* effetto ombra */

.h3 strong{
	position: relative;
	display: inline-flex;
	font-weight: 300;
	z-index:3;
}

.h3 strong::after{
	content:""; 
	background-color: rgba(255,255,255,0.15);
	width:104%;
	height: 31px;
	border-radius: 2px;
	top:0;
	left: -2%;
	position: absolute;
	z-index:0;
}

h4,.h4 {
	font-size:2.4rem;
	line-height: 1;
	font-family: var(--libre);
	font-weight: 500;
}
h5 {
}
h6 {
}
strong, b {
	
}

.gantari{
	font-family: var(--gantari) !important;
}
.libre{
	font-family: var(--libre) !important;
}

/* Margini */

.m-fluid {
	margin: clamp(1rem, 3vw, 2rem);
}

.mx-fluid {
	margin-left: clamp(1rem, 3vw, 2rem);
	margin-right: clamp(1rem, 3vw, 2rem);
}

.my-fluid {
	margin-top: clamp(1rem, 3vw, 2rem);
	margin-bottom: clamp(1rem, 3vw, 2rem);
}

.mt-fluid {
	margin-top: clamp(1rem, 3vw, 2rem);
}

.mb-fluid {
	margin-bottom: clamp(1rem, 3vw, 2rem);
}

.m2-fluid {
	margin: clamp(2rem, 6vw, 4rem);
}

.mt2-fluid {
	margin-top: clamp(2rem, 6vw, 4rem);
}

.mb2-fluid {
	margin-bottom: clamp(2rem, 6vw, 4rem);
}

.mx2-fluid {
	margin-left: clamp(2rem, 6vw, 4rem);
	margin-right: clamp(2rem, 6vw, 4rem);
}

.my2-fluid {
	margin-top: clamp(2rem, 6vw, 4rem);
	margin-bottom: clamp(2rem, 6vw, 4rem);
}

/* Padding */

.p-fluid {
	padding: clamp(1rem, 3vw, 2rem);
}

.px-fluid {
	padding-left: clamp(1rem, 3vw, 2rem);
	padding-right: clamp(1rem, 3vw, 2rem);
}

.py-fluid {
	padding-top: clamp(1rem, 3vw, 2rem);
	padding-bottom: clamp(1rem, 3vw, 2rem);
}

.pt-fluid {
	padding-top: clamp(1rem, 3vw, 2rem);
}

.pb-fluid {
	padding-bottom: clamp(1rem, 3vw, 2rem);
}

.p2-fluid {
	padding: clamp(2rem, 6vw, 4rem);
}

.px2-fluid {
	padding-left: clamp(2rem, 6vw, 4rem);
	padding-right: clamp(2rem, 6vw, 4rem);
}

.py2-fluid {
	padding-top: clamp(2rem, 6vw, 4rem);
	padding-bottom: clamp(2rem, 6vw, 4rem);
}

.pt2-fluid {
	padding-top: clamp(2rem, 6vw, 4rem);
}

.pb2-fluid {
	padding-bottom: clamp(2rem, 6vw, 4rem);
}

.pb20{
	padding-bottom:20px;
}

.mb20{
	margin-bottom:20px;
}

.mb30{
	margin-bottom:30px;
}

.mb10{
	margin-bottom:10px;
}

.pt20{
	padding-top:20px;
}

.pt30{
	padding-top: 30px;
}

.pt10{
	padding-top:10px;
}

.pr10{
	padding-right:10px;
}

.pb10{
	padding-bottom:10px;
}

.ml10{
	margin-left:10px;
}

p{
	font-size: 1rem;
}
.big{
	font-size: 1.4rem;   
}

.bigger{
	font-size:2rem;
}

.superbig{
	font-size:3rem;
	font-weight: 500;
	margin-left:10px;
	margin-right:10px;
	line-height: 1;
}
.small{
	font-size: 0.8rem;	 
}

.flex-mobile {
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	display: flex;
}
.flex-mobile .left,
.flex-mobile .right {
	width: 50%;
}
.reverse-mobile {
	flex-direction: row-reverse;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	display: flex;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 30px;
	border: 1.5px solid var(--white);
	padding: 14px 35px;
	color: var(--white);
	font-size: 0.9rem;
	font-weight: 400;
	background-color: transparent;
	font-size: 1rem;
	text-transform: uppercase;
	transition: 0.4s;
}

.button.transparent{
	/* From https://css.glass */
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
}

.button.fullmobile{
	width:100%;
	margin-bottom: 10px;
}

.elenco_trattamenti .button{
	background-color: rgba(255,255,255,0.1);
}

.elenco_trattamenti .button:hover{
	color: var(--crema);
	background-color: rgba(255,255,255,0.02);
}

.button-brown {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 30px;
	border: 1.5px solid var(--darkbrown);
	padding: 14px 35px;
	color: var(--darkbrown);
	font-size: 0.9rem;
	font-weight: 400;
	background-color: transparent;
	font-size: 1rem;
	text-transform: uppercase;
	transition: 0.4s;
}

.button-transparent{
	display: block;
	margin-bottom:5px;
	align-items: center;
	justify-content: center;
	text-align: center;
	border-radius: 30px;
	padding: 17px 10px;
	color: var(--white);
	font-size: 0.9rem;
	font-weight: 400;
	background-color: rgba(255,255,255,0.15);
	font-size: 1rem;
	transition: 0.4s;
}

.elenco_plus_natura{
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: space-between;
}

.button-transparent.libre{
	font-size:20px;
}

.button-transparent.libre.w23{
	margin-bottom:10px;
	width:100%
}


.button:hover {
	color: var(--brown);
	background-color: var(--crema);
	transition: 0.4s;
}

/* container */

.container{
	width: 90%;
	margin: 0 auto;
}

.container-fluid{
	width: 95%;
	margin: 0 auto;
}

.container-left{
	width: 98%;
	margin-left: 2%;
}

/* go up button */
.up-button {
	position: fixed;
	bottom: 5%;
	right: 2%;
	display: none;
	z-index: 2;
	background-color: #333;
	color: #fff;
	font-size: 20px;
	padding: 5px 10px;
	border: none;
}
.scroll .up-button {
	display: block;
}

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



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

/* SLIDE */
.slick-dots {
	position: absolute;
    right: 0;
    bottom: 5%;
    z-index: 1;
    width: 100%;
    text-align: center;
}
.slick-dots .slick-active {
    background-color: #ff5028;
}
.slick-dots li {
    display: inline-block;
    width: 8px;
    height: 8px;
    overflow: hidden;
    background-color: transparent;
    border-radius: 50%;
    margin: 20px 5px 0;
    border: 1px solid #ff5028;
}
.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;
}
.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;
}
.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;
}

/* FORM */
label {
	
}
input,
textarea {
	outline: none;
	padding: 10px 15px;
	color: #111111;
	margin-top: 10px;
	background-color: #fff;
	border-radius: 5px;
	border: none;
	width: 100%;
	box-shadow: 0 5px 10px rgba(0,0,0,0.03);
}

input{
	height: 45px;
}

input[type=checkbox], input[type=radio]{
	width:15px;
	height: 15px;
	box-shadow: none;
	margin-right: 5px;
}

.wpcf7-list-item{
	margin:0;
	padding:0;
	margin-top: 10px;
}

.wpcf7-radio{
	display: flex;
	align-items: center;
}


::placeholder {
	color: #7c7c7c;
}


.form-half p{
	width: 100%;
}

.wpcf7-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 30px;
	border: 1.5px solid var(--brown);
	height: 45px;
	background-color: var(--brown);
	font-size: 0.9rem;
	font-weight: 400;
	width:230px;
	font-size: 1rem;
	text-transform: uppercase;
	transition: 0.4s;
	color: var(--crema);
	margin-top: 20px;
}
.wpcf7-submit:hover {
	background-color: #fff;
	color: #000;
	border: 1px solid #000;
}
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;
}

.opzioni_form{
	padding-bottom: 10px;
	margin-bottom: 10px;
}



.opzioni_form .wpcf7-form-control-wrap{
	width:49%;
}

.opzioni_form .wpcf7-form-control .wpcf7-list-item{ 
	margin-right: 35px;
}

.opzioni_form br{
	display: none;
}

/** BACKGROUNDS **/

.text-center{
	text-align: center;
}
.white{
	color: var(--white);
}
.brown{
	color: var(--darkbrown);
}
.beige-background{
	background-color: var(--crema);
	color: var(--darkbrown);
}

.relative{
	position: relative;
}

.block{
	display: block;
}

.z-index{
	position: relative;
	z-index: 4;
}

.w25{
	width:55%;
}


/** 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 */
.accordion {
	background-color: transparent;
	cursor: pointer;
	padding: 10px;
	width: 100%;
	text-align: center;
	border: none;
	outline: none;
	transition: 0.4s;
	text-transform: uppercase;
	color: #fff;
}

.accordion h3 {
	display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.accordion.active, 
.accordion:hover {
	
}
.accordions {
	margin-top: 30px;
}
.active::after {
	transform: rotateZ(90deg);
	-o-transform: rotateZ(90deg);
	-webkit-transform: rotateZ(90deg);
	-moz-transform: rotateZ(90deg);
	-ms-transform: rotateZ(90deg);
	transition-duration: 0.5s;
	-o-transition-duration: 0.5s;
	-webkit-transition-duration: 0.5s;
	-moz-transition-duration: 0.5s;
	-ms-transition-duration: 0.5s;
}

/* Style the accordion panel. Note: hidden by default */
.panel {
	padding: 0 10px;
	background-color: transparent;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.5s ease-out;
	border-radius: 20px;
	margin: 0 auto;
	color: #fff;
	text-align: center;
}
.panel p {
	margin: 10px 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: 100%;
    max-width: 550px;
    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: 30px;
}
.lightbox-wrapper .lightbox-body {
    background-color: #000;
    border-radius: 2px;
    box-shadow: 0px 0px 12px 0px rgba(0,0,0,0.67);
    margin: 10px 0px;
    overflow: hidden;
    color: #fff;
}
.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: 14px;
    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;
}
.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: 30px;
}

/*------------------------------------*\
	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;
	-webkit-animation: 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;
	-webkit-animation: 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;
	-webkit-animation: 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-400 {
	transition-delay: 400ms;
}
.fade.delay-200 {
	transition-delay: 200ms;
}
.fade.delay-400 {
	transition-delay: 400ms;
}

.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%);
}
/* --------------------- POPUP INFORMATIVO ------------------------------ */
.popup-info {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 900;
    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: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    height: fit-content;
}

.popup-info .popup p{
	color: var(--brown) !important;
}
.popup-info .popup h2 {
    margin-top: 0;
}
.popup-info .popup button {
    display: block;
    margin: 10px auto;
    padding: 10px 30px;
    background-color: var(--brown);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
}
.popup-info .popup button:hover{
	color: var(--crema) !important;
}

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


/*------------------------------------*\
	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
\*------------------------------------*/
/* 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;
	position: fixed;
	width:100%;
	margin-top:20px;
	top:0;
	left:0;
	z-index:10;
}

.header .icon-menu{
	height: 40px;
	width: 40px;
	padding:20px;
	display: flex;
	align-items:center;
	justify-content: center;
	border-radius: 50%;
	background-color: rgba(0,0,0,0.4);
	margin-left:5px;
	font-size:17px;
}

.header .icon-menu svg{
	height: 13px;
	width:auto;
}

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

.header .side-bar{
	display: none;
}
.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 {
	position: relative;
	z-index: 20;
}
.logo img {
	width: 75px;
}
/* nav */
.nav {
	user-select: none;
	pointer-events: none;
	background-color: #404040;
	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;
	flex-direction: column;
	width: 100%;
	background-color: var(--brown);
}
.navmenu_open .nav {
	user-select: none;
	pointer-events: unset;
	opacity: 1.0;
	
}

.side-bar-mobile{
	display: flex;
	flex-direction: row;
	margin-top: 15px;
}
.mobile .navmenu_close .nav { 
	opacity: 0.0;  
} 
.nav a {
	color: var(--crema);
	text-transform: uppercase;
}

.nav .current_page_item a {
	
	font-weight: bold;
}
.nav ul {
	list-style-type: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.nav ul li {
	padding: 8px 0;
	line-height: 1;
}
/* closebutton */
.openclose {
	position: absolute;
	top: 7%;
	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;
}
/* footer */
.footer {
	text-align: left;
}

.footer .footer-menu a{
	color: var(--white);
}

.footer .footer-menu .current-menu-item a{
	text-decoration: underline;
}


/*------------------------------------*\
    PAGES
\*------------------------------------*/

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


.uppercase{
	text-transform: uppercase;
}

#hero_section{
	height: 55vh;
	background-repeat: no-repeat; 
	background-position: center; 
	background-size: cover; 
	position: relative;
}

#hero_section h1{
	padding-bottom:45px;
}
#hero_section::after{
	position: absolute;
	top:0;
	left:0;
	background-color: rgba(0,0,0,0.3);
	content: "";
	width:100%;
	height: 100%;
	z-index: 0;
}


#hero_section .container{
	height: 50vh;
	display: flex;
	justify-content: center;
	align-items: end;
}

/* hero per homepage */

#home_mei #hero_section{
	height: 130vh;
	
}

#home_mei #hero_section .container{
	height: 100vh;
	
} 

#hero_section video{
	z-index:0;
	position: absolute;
	top:0;
	left:0;
	width:100%;
	object-fit: cover;
	height: 100%;
	
}

.overlay-brown{
	height:40vh;
	background: #7A6047;
	background: linear-gradient(0deg, rgba(122, 96, 71, 1) 0%, rgba(122, 96, 71, 0.5) 40%, rgba(122, 96, 71, 0) 100%);
	position: absolute;
	bottom:0;
	left:0;
	width:100%;
	z-index: 1;
}

.h90{
	height: 70vh;
	justify-content: center;
	display: flex;
	align-items: center;
	flex-direction: column;
}


.border-radius{
	border-radius: var(--borderradius);
	overflow: hidden;
}

.img-footer-rotate{
	height: 300px;
	display: flex;
	align-items: end;
	justify-content: center;
}
.img-footer-rotate img{
	position: absolute;
	top:0;
	left:50%;
	transform: translate(-50%) rotate(-5deg);	
}

.social_banner{
	height: 550px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

#assolute {
	display: flex;
	flex-direction: column-reverse;
}

.overlay{
	position: absolute;
	background-color: rgba(0,0,0,0.4);
	top:0;
	left:0;
	width:100%;
	height:100%;
}
.elenco_social{
	display: flex;
	flex-direction: row;
	margin: 0 auto;
	justify-content:start;
}

.social_banner .elenco_social{
	justify-content:center;
}
.icon-box{
	background-color: var(--crema);
	color: var(--darkbrown);
	border-radius:50%;
	height:45px;
	width: 45px;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 7px;
	transition: 0.3s;
}

.icon-box:hover{
	transform: scale(1.1);
	transition: 0.3s;
}

.icon-box i{
	font-size:23px;
	color: var(--darkbrown);
}
.flower-image{
	height:70px;
	width: auto;
}

.meigreen-image{
	height:120px;
	width: auto;
}

.pen-image{
	height:50px;
	width: auto;
}

#trattamenti-menu{
	display: none;
}
.trattamento-img{
	border-radius:200px;
	overflow:hidden;
}



.trattamento-img img{
	vertical-align: middle;
	object-fit: cover;
}

/* .page-template-template-trattamenti .curve-image{
	top:-50px;
} */

#hero_section .curve-image{
	width: 100%;
	height: auto;
	z-index: 9;
	position: relative;
	margin-top:-50px;
}

.curve-image{
	width: 100%;
	height: auto;
	z-index: 9;
	position: relative;
	margin-top:-20px;
}


.slide-trattamenti .swiper-slide {
  transition: padding-top 0.5s ease, opacity 0.5s ease, transform 0.5s ease;
  opacity: 0.6;
  padding-top: 0;
}

.slide-trattamenti .swiper-slide .container-img{
	width:100%;
	height:auto;
	overflow: hidden;
}

.slide-trattamenti .swiper-slide .container-img img{
	vertical-align: middle;
	transition:0.5s;
}

/* animazione solo per home */
#home_mei .slide-trattamenti .swiper-slide .container-img:hover img{
	transform: scale(1.06);
	transition:0.5s;
}

.slide-trattamenti .swiper-button-prev,
.slide-trattamenti .swiper-button-next {
  opacity: 0.9;
  top:46%;
  position: absolute;
  color: var(--crema);
}

.slide-trattamenti .swiper-slide-active {
  opacity: 1;
  padding-top: 100px;
}

.slide-trattamenti {
  overflow: visible; /* importante per vedere le slide laterali */
  /* height: 800px; */
  min-height: 100%;
}

.slide-trattamenti .swiper-wrapper {
  overflow: visible; /* opzionale se serve */
  
}

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

.banner_video_natura .text-start{
	text-align: left;
}



/* .slide-trattamenti {
  position: relative;
  overflow: visible;
  height: 800px; 
  display: flex;
  align-items: center; 
}

.slide-trattamenti .swiper-wrapper {
  align-items: center;
}

.slide-trattamenti .swiper-slide {
  transition: padding-top 0.5s ease, opacity 0.5s ease, transform 0.5s ease;
  opacity: 0.6;
  padding-top: 100px;
  box-sizing: border-box;
}

.slide-trattamenti .swiper-slide-active {
  opacity: 1;
  padding-top: 0; 
} */


.swiper-button-next, .swiper-button-prev{
	height: 35px;
	width:auto;
}


.gsap-divider{
	background-repeat: no-repeat; 
	background-position: center; 
	background-size: cover; 
	height:500px;
	position: relative;
	display: block;
}

.gsapimg-single{
	position: absolute;
	top:50%;
	left:50%;
	transform: translate(-50%,-50%);
	width: 100px;
	height: auto;
}

.text-shadow{
	text-shadow: 0 0 5px rgba(80, 67, 54, 0.3);
}

.box-white{
	border-radius: 10px;
	background-color: rgba(255,255,255,0.1);
	padding: 50px;
}

.box-white a:hover{
	text-decoration: underline;
}

.box-white img{
	width: 70px;
	height: auto;
	margin-bottom: 25px;
}

.negative-margin{
	margin-top: -20px;
	position: relative;
	z-index: 10;
}

/* Scrollbar personalizzata per suggestions dropdown */
.suggestions-dropdown::-webkit-scrollbar {
	width: 6px;
}

.suggestions-dropdown::-webkit-scrollbar-track {
	background: var(--white);
}

.suggestions-dropdown::-webkit-scrollbar-thumb {
	background: var(--darkbrown);
}

.suggestions-dropdown::-webkit-scrollbar-thumb:hover {
	background: var(--darkbrown);
}

/* popup dell'about */

.popup-open{
	position: fixed;
	top:0;
	left:0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.4);

	display: flex;
	align-items: center;
	justify-content: center;

	opacity: 0;
	visibility: hidden;
	transition: opacity .3s ease, visibility .3s ease;

	z-index: 9999;
	padding:20px;
}

/* stato attivo */
.popup-open.active{
	opacity: 1;
	visibility: visible;
}

/* animazione box interno */
.open-link{
	position: relative;
	width: 600px;
	width: 90%;
	max-width: 90%;
	max-height: 80vh;
	overflow-y: auto;
	padding:30px;
	color: #111;
	border-radius: 10px;
	background-color: var(--white);
	transform: scale(.95);
	transition: transform .3s ease, opacity .3s ease;
	opacity: 0;
}

/* quando popup attivo */
.popup-open.active .open-link{
	transform: scale(1);
	opacity: 1;
}

.close-popup{
	position:absolute;
	top:15px;
	right:20px;
	background:none;
	border:none;
	font-size:24px;
	cursor:pointer;
}


/* gestione ID = CONTENT */
#content.brown{
	background-color: var(--brown) !important;
	transition: background-color 0.4s ease, color 0.4s ease;
	color: var(--crema);
}

#content.brown p, #content.brown h2,#content.brown h3, #content.brown h4,#content.brown h5{
	color: var(--crema);
}

#content.brown .table_mission{
	border-color: var(--crema);
}

#content.brown .button-brown{
	border-color: var(--crema);
	color: var(--crema);
}

#content.brown .button-brown:hover{
	background-color: var(--crema);
	color: var(--darkbrown);
}

#content.brown .button{
	border-color: var(--crema);
	color: var(--crema);
}

#content.brown #trattamenti_mei .button:hover{
	color: var(--crema);
}

#content.brown .button:hover{
	color: var(--brown);
}
#content.brown #contact_form .wpcf7-list-item-label a{
	color: var(--white);
}

#content.brown .empty-text {
	-webkit-text-stroke: 0.5px var(--crema);
}

#content.brown .wpcf7-submit{
	border-color: var(--crema);
	background-color: var(--crema);
	color: var(--brown);
}

#content.beige{
	background-color: var(--crema) !important;
	transition: background-color 0.4s ease, color 0.4s ease;
	color: var(--darkbrown);
}

#content.beige p, #content.beige h2, #content.beige h3, #content.beige h4,#content.beige h5 {
	color: var(--darkbrown);
}

#content.beige .icon-size{
	background-color: rgba(122,96,71,0.6);
}

#content.beige .white{
	color: var(--darkbrown);
}

#content.beige .box-white{
	background-color: #a888692e;
}

#content.beige .button{
	border-color: var(--darkbrown);
	color: var(--darkbrown);
}

#content.beige .button:hover{
	background-color: var(--darkbrown);
	color:var(--crema) !important;
}

#content.beige .button-brown:hover{
	background-color: var(--darkbrown);
	color:var(--crema);
}
#content.beige .button-transparent{
	
	background-color: rgba(80, 67, 54, 0.3);
	color: var(--darkbrown);
}

#content.beige .text-shadow{
	text-shadow: 0 0 5px rgba(207, 184, 160, 0.2);
}

#content.beige .h3 strong::after{
	background-color: #7a604724;
}


hr.brown {
 height: 0.3px;      
  border: none;       
  background-color: rgba(80, 67, 54, 0.3); 
  margin: 5px 0;      
}

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

#content.beige hr.brown {
background-color: rgba(80, 67, 54, 0.3); ;       
}

#content.beige hr.crema {
background-color: rgba(80, 67, 54, 0.3); ;      
}

hr.crema {
 height: 0.3px;      
  border: none;         
  background-color: rgba(255, 255, 255, 0.3); 
  margin: 5px 0;   
}

#content.brown hr.crema {
background-color: rgba(255, 255, 255, 0.3);      
}


#banner_natura video{
	/* margin: 0 auto; */
	width: 40%;
	max-width: 380px;
	border-radius:180px;
	overflow: hidden;
	box-shadow: 2px 0 5px rgba(0,0,0,0.2);
}

.immagine-tonda{	
	border-radius:180px;
	overflow: hidden;
	box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}

#banner_natura{
	margin-top: -30px;
}
#breadcrumbs a{
	color: var(--crema);
	position: relative;
	z-index: 10;
}

.empty-text {
	display: block;
	color: transparent; 
	-webkit-text-stroke: 0.5px var(--brown); 
	font-size: 2.5rem;
}

.img-tonda{
	/* margin: 0 auto; */
	width: 40%;
	max-width: 380px;
	height: 100%;
	border-radius:180px;
	overflow: hidden;
	box-shadow: 2px 0 5px rgba(0,0,0,0.2);
}

#dettaglio-prodotto ul{
	list-style: disc;
	list-style-position: inside;
}

.table_mission{
	border: 0.5px solid var(--brown);
	border-radius: 30px;
}
.icon-size{
	width:80px;
	height: 80px;
	/* padding: 15px; */
	border-radius: 50%;
	margin: 0 auto;
	background-color: rgba(255,255,255,0.1);
}

.icon-size img{
	object-fit: contain;
	width: 100%;
	height: 100%;
}

#wellness_concept .immagine-tonda{
	width: 30%;
	height: auto;
	position: absolute;
	top: -5%;
	right: 10%;
	
}

.leaf-sx{
	display: none;
}

.leaf-dx{
	display: none;
}


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

@media only screen and (min-width:768px) {
	.touch .parallax {
		background-attachment: scroll !important;
	}
	
	.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: 25px;
	}
	
	.slide-trattamenti {
	  overflow: visible; /* importante per vedere le slide laterali */
	  /* height: 700px; */
	  min-height: 100%;
	}
	.superbig{
		font-size:4rem;
		font-weight: 500;
		margin-left:10px;
		margin-right:10px;
		line-height: 1;
	}
	
	.button-transparent.libre.w23{
		margin-bottom:10px;
		width:49%
	}
}


@media only screen and (min-width:1024px) {
	.touch .parallax {
		background-attachment: scroll !important;
	}
	
	h1,.h1 {	
		font-size:3.8rem;
		line-height: 1;
		font-family: var(--gantari);
		font-weight: 300;
	}
	h2,.h2 {	
		font-size:3.3rem;
		line-height: 1;
		font-family: var(--libre);
		font-weight: 300;
	}
	h3,.h3 {	
		font-size:2.6rem;
		line-height: 1.2;
		font-family: var(--gantari);
		font-weight: 300;
	}
	
	/* effetto ombra */
	
	.h3 strong{
		position: relative;
		display: inline-flex;
		font-weight: 300;
		z-index:3;
	}
	
	.h3 strong::after{
		content:""; 
		background-color: rgba(255,255,255,0.15);
		width:104%;
		height: 45px;
		border-radius: 2px;
		top:3px;
		left: -2%;
		position: absolute;
	}
	
	h4,.h4 {
		font-size:2.4rem;
		line-height: 1;
		font-family: var(--libre);
	}
	
	#hero_section{
		height: 130vh;
		background-repeat: no-repeat; 
		background-position: center; 
		background-size: cover; 
		position: relative;
	}
	
	#hero_section .container{
		height: 100vh;
		display: flex;
		justify-content: center;
		align-items: end;
	} 
	
	.side-bar-mobile
	{
		display: none;
	}
	.flex-desktop {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		flex-wrap: wrap;
		display: flex;
	}
	.flex-desktop .left {
		width: 55%;
	}
	.flex-desktop .right {
		width: 40%;
	}
	.reverse-desktop {
		align-items: center;
		justify-content: start;
		flex-wrap: wrap;
		display: flex;
		flex-direction: row-reverse;
	}
	.reverse-desktop .right {
		width: 59%;
	}
	.reverse-desktop .left {
		width: 41%;
	}
	.bigger{
		font-size:6rem;
	}
	
	/* header */
	.pagina-desktop .header {
		height: 100px;
	}
	
	#hero_section h1{
		padding-bottom:30px;
	}
	
	.header .side-bar{
		display: flex;
	}
	
	/* 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;	
		flex-direction: row;	
	}
	
	.pagina-desktop .navigazione-back{
		background: rgba(41, 41, 41, 0.1);
		border-radius: 30px;
		box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
		backdrop-filter: blur(6.5px);
		-webkit-backdrop-filter: blur(7px);
		padding:12px 30px;
		transition:0.3s;
	}
	
	.showfull .nav{
		display: block;
		background: rgba(255, 255, 255, 0.1);
		border-radius: 30px;
		box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
		backdrop-filter: blur(6.5px);
		-webkit-backdrop-filter: blur(7px);
		transition:0.3s;
		width: auto;
	}
	
	.show .nav{
		display: block;
		background: rgba(2, 2, 2, 0.3);
		border-radius: 30px;
		box-shadow: 0 4px 30px rgba(255, 255, 255, 0.1);
		backdrop-filter: blur(6.5px);
		-webkit-backdrop-filter: blur(7px);
		transition:0.3s;
	}
	.pagina-desktop .nav ul {
		margin-top: 0;
		text-align: center;
		display: inline-block;
	}
	.pagina-desktop .nav ul li {
		padding: 0 8px 0 8px;
		display: inline-block;
		text-transform: none;
	}
	.pagina-desktop .nav ul li a {
		font-family: var(--gantari);
		font-size: 14px;
		color:#fff;
	}
	
	.nav .current-menu-item a{
		position: relative;
		font-weight: inherit;
	}
	
	.nav .current-menu-item a::after{
		content:"";
		bottom: 0;
		left:0;
		width: 100%;
		height: 1px;
		background-color: rgba(255,255,255,0.5);
		position: absolute;
	}
	
	.pagina-desktop .openclose {
		display: none;
	}
	
	.wpml-ls-legacy-list-horizontal a {
		padding: 0;
	}
	.header-widget-area {
		top: 35%;
	}
	
	.empty-text {
		display: block;
		color: transparent; 
		-webkit-text-stroke: 0.5px var(--brown); 
		font-size: 3rem;
	}
	
	.elenco_trattamenti .button{
		width: 195px;
		background-color: rgba(255,255,255,0.1);
		padding: 14px 15px;
	}
	
	#elenco_aree .elenco_trattamenti .button{
		width: 180px;
	}
	
	.leaf-sx{
		width: 200px;
		position: absolute;
		top: 20px;
		left:-10px;
		height: auto;
	}
	
	.leaf-dx{
		width: 200px;
		position: absolute;
		top: 20px;
		right:-10px;
		height: auto;
	}
	
	.trattamenti-children .w40{
		width:45%;
	}
	.trattamenti-children.w50{
		width:70%;
	}
	
	.w50{
		width:50%;
	}
	.w10{
		width:10%;
	}
	.w40{
		width:40%;
	}
	
	.w45{
		width:45%;
	}
	
	.w20{
		width:20%;
	}
	
	.w23{
		width:23%;
	}
	
	.w25{
		width:25%;
	}
	
	.w30{
		width:30%;
	}
	
	.w32{
		width:32%;
	}
	
	.w35{
		width:35%;
	}
	
	.w55{
		width:55%;
	}
	
	.w60{
		width:60%;
	}
	.w70{
		width:70%;
	}
	
	.w80{
		width:80%;
	}
	
	.w90{
		width:90%;
	}
	
	.h90{
		height: 90vh;
		min-height: 900px;
		justify-content: center;
		display: flex;
		align-items: center;
		flex-direction: column;
	}
	
	.text-end{
		text-align: end;
	}
	
	.text-start{
		text-align: start;
	}
	
	.slide-trattamenti {
	  overflow: visible; /* importante per vedere le slide laterali */
	  /* height: 90vh; */
	  /* min-height: 700px; */
	  
	}
	
	.superbig{
		font-size:7rem;
		font-weight: 500;
		margin-left:10px;
		margin-right:10px;
		line-height: 1;
	}
	
	.gsap-divider{
		background-repeat: no-repeat; 
		height:800px;
		position: relative;
		display: block;
		background-attachment: fixed;
		background-size: cover;
		background-position: center center;
	}
	
	.form-half{
		display: flex;
		justify-content: space-between;
		width: 100%;
	}
	.form-half p{
		width: 49%;
	}
	
	.opzioni_form p{
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
	
	.nav {
		user-select: none;
		pointer-events: none;
		background-color: #404040;
		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;
		width: auto;
		
	}
	
	#trattamenti-menu{
		display: none;
		position: absolute;
		align-items: center;
		justify-content: center;
		height: calc(100vh - 150px);
		left:50%;
		transform: translate(-50%);
		top:100px;
		width: 95%;
		margin: 0 auto;		 
		background: rgba(255, 255, 255, 0.1);
		border-radius: 30px;
		box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
		backdrop-filter: blur(6.5px);
		
		z-index: 10000;
	}
	
	#trattamenti-menu .trattamento-link{
		display: block;
		color: var(--white);
		border-bottom:1px solid rgba(255,255,255,0.3);
		text-transform: uppercase;
		padding-top:15px;
		padding-bottom: 10px;
		display: flex;
		align-items: center;
		transition: 0.3s;
	}
	
	.slide-trattamenti .swiper-button-prev,
	.slide-trattamenti .swiper-button-next {
	  opacity: 0.9;
	  top:40%;
	  position: absolute;
	  color: var(--crema);
	}
	
	.trattamento-link img {
		display: block; /* inizialmente nascoste */
		position: absolute; /* posizionate assolutamente rispetto al container */
		opacity: 0;
		visibility: hidden;
		top: 0;
		left: 0;
		width: 150px;
		height: auto;
		z-index: 10;
		transition: .4s;
	}
	
	/* movimenti delle immagini */
	
	
	.trattamento-link.img-advance img{
		display: block;
		opacity: 0;
		visibility: hidden;
		width: 300px;
		height: auto;
		border-radius:5px;
		box-shadow: 0 1px 5px rgba(0,0,0,0.2);
		position: absolute; 
		top: 50%;
		transform: translateY(-50%);
		left: 40%;
		transition: .4s;
	}
	
	.trattamento-link.img-funzionali img{
		display: block;
		opacity: 0;
		visibility: hidden;
		width: 300px;
		height: auto;
		border-radius:5px;
		box-shadow: 0 1px 5px rgba(0,0,0,0.2);
		position: absolute; 
		top: 45%;
		transform: translateY(-50%);
		left: 50%;
		transition: .4s;
	}
	
	.trattamento-link.img-sensoriali img{
		display: block;
		opacity: 0;
		visibility: hidden;
		width: 300px;
		height: auto;
		border-radius:5px;
		box-shadow: 0 1px 5px rgba(0,0,0,0.2);
		position: absolute; 
		top: 50%;
		transform: translateY(-50%);
		left: 56%;
		transition: .4s;
	}
	
	.trattamento-link.img-pmp img{
		display: block;
		opacity: 0;
		visibility: hidden;
		width: 300px;
		height: auto;
		position: absolute; 
		border-radius:5px;
		box-shadow: 0 1px 5px rgba(0,0,0,0.2);
		top: 40%;
		transform: translateY(-50%);
		left: 64%;
		transition: .4s;
	}
	
	
	.trattamento-link.img-advance:hover img{
		opacity: 1;
		visibility: visible;
		transition: .4s;
	}
	
	.trattamento-link.img-funzionali:hover img{
		opacity: 1;
		visibility: visible;
		transition: .4s;
	}
	
	.trattamento-link.img-sensoriali:hover img{
		opacity: 1;
		visibility: visible;
		transition: .4s;
	}
	
	.trattamento-link.img-pmp:hover img{
		opacity: 1;
		visibility: visible;
		transition: .4s;
	}
	
	
	#trattamenti-menu .trattamento-link svg{
		margin-right:10px;
		opacity:0.2;
	}
	
	#trattamenti-menu .trattamento-link:hover svg{
		opacity:1;
		transition: 0.3s;
	}
	
	.social_banner{
		height: 750px;
		background-repeat: no-repeat;
		background-position: center;
		background-size: cover;
	}
	
	.curve-image{
		width: 100%;
		height: auto;
		z-index: 9;
		position: relative;
		margin-top:-60px;
	}
	
	#assolute .w80{
		Width:100%;
	}
	
	#assolute{
		flex-direction: row;
	}
	
	.gsapimg-single{
		width: 180px;
	}
	
	.header-menu-open #trattamenti-menu{
		display: flex;
	}
	
	.d-flex{
		display: flex;
	}
	
	.img-footer-rotate{
		height: 500px;
		display: flex;
		align-items: end;
		justify-content: center;
	}
	
	.align-items-center{
		align-items: center;
	}
	
	.align-items-start{
		align-items: start;
	}
	
	.align-items-end{
		align-items: end;
	}
	
	.justify-content-center{
		justify-content: center;
	}
	.justify-content-between{
		justify-content: space-between;
	}
	.flex-row-reverse	{
		flex-direction: row-reverse;
	}
	.flex-column{
		flex-direction: column;
	}
	.m-auto{
		margin:0 auto;
	}
	
	.parallax {
		background-attachment: fixed !important;
	}
	.logo img {
		width: 110px;
	}

	#mei_mes{
		margin-top: -30px;
		
	}
	
	.open-link{
		position: relative;
		width: 600px;
		width: 50%;
		max-width: 90%;
		max-height: 80vh;
		overflow-y: auto;
		padding:50px;
		color: #111;
		border-radius: 10px;
		background-color: var(--white);
		transform: scale(.95);
		transition: transform .3s ease, opacity .3s ease;
		opacity: 0;
	}

}
@media only screen and (min-width:1280px) {
	
	h1,.h1 {	
		font-size:4.1rem;
		line-height: 1;
		font-family: var(--gantari);
		font-weight: 300;
	}
	
	.pagina-desktop .nav ul li {
		padding: 0 15px 0 15px;
	}
	
	.pagina-desktop .nav ul li a{
		font-size:16px;
	}
	
	.elenco_trattamenti .button{
		width: 260px;
		padding: 14px 35px;
		background-color: rgba(255,255,255,0.1);
	}
	
	.trattamenti-children .w40{
		width:40%;
	}
	
	.trattamenti-children.w50{
		width:50%;
	}
	
	.superbig{
		font-size:8rem;
	}
	
	.w90{
		max-width: 1200px;
	}
	
	.button-transparent.libre.w23{
		margin-bottom:10px;
		width:24%
	}
	
	.img-footer-rotate img{
		position: absolute;
		top:0;
		max-width: 400px;
		left:50%;
		transform: translate(-50%) rotate(-5deg);	
	}
	
	.curve-image{
		width: 100%;
		height: auto;
		z-index: 9;
		position: relative;
		margin-top:-120px;
	}
	#assolute .w80{
		Width:80%;
	}
	
	
}
@media only screen and (min-width:1600px) {
	.button-transparent{
		display: inline-flex;
		padding: 17px 25px;
	}
	.trattamento-link.img-advance img{
		width: 400px;
	}
	
	.trattamento-link.img-funzionali img{
		width: 400px;
	}
	
	.trattamento-link.img-sensoriali img{
		width: 400px;
	}
	
	.trattamento-link.img-pmp img{
		width: 400px;
	}
	.w35{
		max-width: 530px;
	}
	
	.social_banner{
		height: 900px;
	}
	
	.gsap-divider{
		height: 900px;
	}
	
	.header .side-bar{
		/* margin-left:250px; */
		margin-left:30px;
	}
	#elenco_aree .elenco_trattamenti .button{
		width: 320px;
	}
	
	#elenco_aree .w70{
		max-width: 1350px;
	}
	
	.superbig{
		font-size:12rem;
	}

}

