:root {

	--scuro:#496A6A;
	--arancio:#648080;
	--chiaro:#F2F2F2;
	--celeste:#DFE5E5;
	--oro:#e2b96a;
	--nero:#000;

}
body,
html {
    overflow-x: hidden;
}
* {
	margin: 0;
	padding: 0;
	text-decoration: none;
	list-style: none;
	font-weight: 300;
	background-repeat: no-repeat;
    background-size: contain;
    box-sizing: border-box;
}
body {
	font-family: "Monserrat", serif;
	font-weight: 300;
	font-size: 13px;
}
strong,
b {
	font-weight: 600;
}
a:link {
	color: var(--scuro);
}
a:visited {
	color: var(--scuro);
}
a:hover {
	color: var(--arancio);
}
/* COLORI */
.celeste {
	background-color: var(--celeste);
}
.nero {
	background-color: #000;
	color: #fff;
}
.bianco {
	background-color: #fff;
}
.scuro {
	background-color: var(--scuro);
	color: #fff;
}
.chiaro {
	background-color: var(--chiaro);
}
.shadow {
	box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}
/* COLORI */
/* HEADER */
header {
	position: fixed;	
	width: 100%;
	padding: 0;
	z-index: 10;
	height: 90px;
	top: 0;
	left: 0;
	background: linear-gradient(to bottom, rgba(0,0,0,0.25), rgba(0,0,0,0));
}
header.visible {
	display: block; /* Mostra l'header quando è visibile */
  }
header.scroll-up {
	transform: translateY(-100%); /* Sposta l'header fuori dalla vista quando lo scrolling è verso l'alto */
	transition: transform 0.3s ease; /* Aggiungi la stessa transizione per un effetto uniforme */
  }
/* Aggiungi un'animazione per un effetto più fluido */
@keyframes fadeInOut {
	0% {
	  opacity: 0;
	}
	100% {
	  opacity: 1;
	}
  }
header.fade-animation {
	animation: fadeInOut 0.3s ease forwards; /* Applica l'animazione all'header */
  }
header.fix {
	min-height: 70px;
	animation: fadeInOut 0.3s ease forwards;
	background-color: var(--scuro);

  }
header .navtop {
	background-color: var(--arancio);
	min-height: 10px;
	position: absolute;
	top: 0;
	right: 0;
	width: 30%;
  }
header .navtop ul {
	text-align: right;
	display: flex;
	flex-direction: row;
	justify-content: right;	
}
header .navtop ul li {
	padding: 5px;
	position: relative;
	padding-left: 35px;
	padding-right: 10px;
	cursor: pointer;
	font-size: .9em;
	font-weight: 300;
}
header .navtop ul li:hover {
	color:var(--arancio);

}
header .navtop ul li span {
	position: absolute;
	top: 2px;
	left: 0;
	width: 30px;
	height: 30px;
}
header .prenotazione {
	position: absolute;
	top: 20px;
	right: 80px;
	background-color: var(--scuro);
	color: #fff;
	border-radius: 5px;
	height: 40px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 10px;
	align-items: center;
	z-index: 2;
	cursor: pointer;
}
header .prenotazione:hover {
	background-color: var(--scuro);
	color: #fff;
}
header .menu {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 60px;
	height: 60px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 10px;
	align-items: center;
	z-index: 8;
	cursor: pointer;
	display: none;
}
header .menu.active {
	z-index: 10;
}
header .menu .linea {
	background-color: var(--scuro);
	height: 3px;
	width: 100%;
	margin: 5px 0;
}
header .menu:hover .linea {
	background-color: var(--scuro);
}
header .menu.active .linea.top {
	position: absolute;
	top: 20px;
		background-color: var(--scuro);
	height: 3px;
	transform: rotate(45deg);

}
header .menu.active .linea.bottom {
	position: absolute;
	top: 20px;
	background-color: var(--scuro);
	height: 3px;
	transform: rotate(-45deg);

}
header .menu.active .linea.center {
	display: none;

}
header.fix .barra {
	height: 95px;
}
header .barra {

	position: relative;
	width: 100%;
	margin: 0 auto;
	max-width: 1480px;
}
header .logo {
	position: absolute;
	width:250px;
	z-index: 3;
	text-align: left;
	top: 10px;
	left: 30px;
	height: 90px;
	text-align: center;
 letter-spacing: 2px;
	opacity: 1;
	font-size:.85em;
	font-weight: 600;
	color: var(--scuro);
}
header .logo a:link,
header .logo a:visited {
	color: var(--scuro);
}
header .logo img {
	width: 100%;
}
header.fix nav.fix {
	display: block;
}
header nav {
	position: absolute;
	top: 20px;
	width: 90%;
	max-width: 1480px;
	left: 50%;
	transform: translateX(-50%);
	opacity: 1;
	overflow: hidden;
}
header nav.fix {
	display: block;
}
header nav ul {
	padding: 5px;
	display: flex;
	flex-direction:row;
	justify-content: right;
	z-index: 10;
	
}
header nav ul li {
	padding: 10px 10px;
	font-size: 1.1em;
	margin: 0 5px;
	font-weight: 300;
	text-align: right;
	cursor: pointer;
	color: #fff;
}
header nav ul li.prenota {
	padding: 10px 20px;
	font-size: 1.2em;
	font-weight: 300;
	text-align: right;
	cursor: pointer;
	color: #fff;
	background-color: var(--arancio);
	border-radius: 10px;
}
header nav ul li:hover {
	background-color:var(--arancio);
	border-radius: 10px;

}
header nav ul.sotto {
	display: flex;
	flex-direction: column;
	justify-content: right;
	padding: 0px 0px;
}
header nav ul.sotto li {
	padding: 5px 10px;
	font-size: 1.4em;
	text-align: right;
	cursor: pointer;
	color: var(--scuro);
}
header nav ul.sotto li:hover {
	color: #fff;
}
header .lingua {
	position: absolute;
	width: 30px;
	top: 10px;
	right: 10px;
	z-index: 3;
}
header .lingua ul {
	display:flex;
	flex-direction:column
}
header .lingua ul li {
	padding:  2px 5px;
	width: 30px;
	height: 30px;
	line-height: 30px;
	text-align: center;;
	font-size: .9rem;
	margin: 0px;
	cursor: pointer;
}
header .lingua ul li.sele {
	background-color: var(--arancio);
	color: #fff;
}
/* HEADER */
/* SLIDE */
.modal {
  position: fixed; 
  top: 0; 
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}
.modal-content {
	position: absolute;
  background: var(--scuro);
  color: #fff;
  padding: 30px;
  border-radius: 10px;
  width: 500px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
}
.modal-content .data,
.modal .box {
	color: var(--scuro);
	background-color: #fff;
	border: 1px solid #fff;
	padding: 5px;
}
.modal-content .ui-datepicker-inline {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
}
.modal-content button {
	color: var(--scuro);
	background-color: #fff;
	border: 1px solid #fff;
	padding: 5px;
}
.modal-content .chiudi {
	position: absolute;
	right: 10px;
	top: 10px;
	cursor: pointer;
	z-index: 10;
}
.modal-content .icon {
	position: absolute;
	right: 0px;
	top: 0px;
}
#mysearchengine .mgc-boxricerca {
	background-color: transparent;
}
#mysearchengine .mgc-boxricerca .choosedate {
	width: 100%;
}
#mysearchengine .mgc-boxricerca .choosedate input.arrivo {
	width: 100%;
}
.hidden {
  display: none;
}
#slide {
	position: relative;
	margin-top:0;
	width: 100%;
	margin: 0 auto;
	height: 95vh;
	overflow: hidden;
}
#slide .video {
	top: 0;
	left: 0;
	z-index: 4;
	position: absolute;
	height: 95vh;
	overflow: hidden;
	width: 100%;
	background-color: #fff;
	text-align: center;
}
#slide .video h2 {
	padding-top: 40vh;
}
#slide .video video {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
	height:100%;
	
	object-fit: cover;
	opacity: .9;
}
#slide ul {
	height: 95vh;
	position: absolute;
	width: 100%;
	top: 0;
	left: 0;
	z-index: 2;
}
#slide ul li {
	position: relative;
	height: 95vh;
	width: 100%;
}
#slide .sopraimg {
    position: absolute;
    width: 100%;
    height: 95vh;
    left: 0;
    top: 0;
    z-index: 3;
    overflow: hidden;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}
#slide .colonna {
	position: absolute;
	padding:0px;
	width: 100%;

	text-align: center;
	left: 0%;
	bottom: 0;
	 font-family: 'Butler', serif;
	padding: 5%;	
	margin: 0 auto;
	height: 60vh;
	z-index: 5;
	opacity: 1;
		 background: linear-gradient(to top, rgba(0,0,0,0.35), rgba(0,0,0,0));
}
#slide h2,
#slide p {
  display: block;
  opacity: 0;
  animation-fill-mode: forwards;
}
/* Primo H2: MODERNI */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
#slide  h3 {
	font-size: 3.2em;
	padding: 5px 10px;
	font-size: 400;
	color: var(--scuro);
}
#slide h2 {
 font-family: 'Butler', serif;
 text-align: center;
	font-size: 3.5rem;
	font-weight: 400;
	padding: 10px;
	margin-top:10px;
	color: #fff; 
	 animation: fadeIn 0.6s ease-in forwards;
  animation-delay: 0.5s;
}
#slide  p {
	padding: 20px 10px;
	font-size: 2em;
	color: #fff;
	 animation: fadeIn 0.6s ease-in forwards;
  animation-delay: 1s;
}
#slide button:hover {
	background-color: var(--arancio);

}
/* SLIDE */
#promo {
	position: absolute;
	top: -50px;
	left: 0%;
		height: 50px;
		width: 100%;
			z-index:5;
			 background: linear-gradient(to top, rgba(0, 0, 0, 0.45), rgba(0,0,0,0));
}
#promo section {
	position: relative;
	width: 100%;
	max-width: 1480px;
	margin: 0 auto;
			 display: flex;
			 	text-align: center;
}
div.promozioni {
	width: calc(100% - 150px);
	height: 50px;
	overflow: hidden;
	color:#fff;
	font-size: 1.5em;
	font-weight: 400;
	border: 0;
	z-index: 5;
	text-align: left;
	line-height: 50px;
	padding-left: 20px;
  cursor: pointer;
}
.promozioni p {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;     /* Parte da destra fuori dal box */
  animation: scorre 20s linear infinite;
  margin: 0;
}
@keyframes scorre {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}
#promo a:link,
#promo a:visited {
	color: #fff;
}
/* MAIN */
button.prenotahome {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);

	margin: 10px 0;
	border: 0;
	background-color: var(--oro);
	font-family: "bulter", serif;
	color:#fff;
	font-size: 1.5em;
	font-weight: 300;
	padding: 10px 30px;
	border-radius: 10px;
	height: auto;
	box-shadow: 0 .5rem 1rem rgba(0,0,0,.25)!important;
	cursor: pointer;
}
button.prenotahome:hover {
	background-color: var(--scuro);
}
section {
	position: relative;
	width: 100%;
	max-width: 1480px;
	margin: 0 auto;
}
ul.elenco-contenuti {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}
ul.elenco-contenuti li {
	text-align: left ;
	padding: 5px;

}
#about {
	position: relative;
	margin: 0 auto;
	padding: 100px 0 0;
	text-align: left;


}
#about section {
	display: flex;
	flex-direction: row;
}
#about .colonnatags {
	z-index: 2;
	width:25%;
	margin: 0;
	padding-top: 80px;
	padding-left: 50px;
}
#about .colonnatags .tag {
	padding: 5px 0;
	font-family: "bulter", serif;
	font-size: 1.6em;
	font-weight: 400;
	color: var(--scuro);
}
#about .colonna {
	z-index: 2;
	width:70%;
	margin: 0;
	padding-bottom: 100px;
}
#about .img {

	width: 100%;
	padding: 0px;
	background-size: contain;
	background-position: bottom;
	height: 500px;
	float: right;
	margin: 0;
	margin-top: 100px;
}
#about  h1 {
	color: var(--scuro);
	font-size: 2.5rem;
	line-height: 2rem;
	padding: 20px 20px 20px;
	font-family: "Butler", serif;
}
#about  h1 span {
	font-size: 2.8rem;
	line-height: .8rem;
	color: var(--arancio);
	padding: 10px 20px;
	padding-right:200px;
	display: block;

}
#about h2 {
	font-size: 2em;
	font-family: "Butler", serif;
	color: var(--scuro);
	padding: 10px 20px;
}
#about p {
	font-size: 1.2em;
	line-height: 1.9em;
	font-weight: 200;
	padding: 10px 20px;
	text-align:left;
}
#about button {
	font-size: .9rem;
	margin: 10px 20px;
	text-align: left;
	padding: 10px 20px;
	background-color: var(--arancio);
	color: #fff;
	border: 0;
	cursor: pointer;
}
#about button:hover {
	background-color: var(--scuro);
}
#about .hoverscritta {
	position: absolute;
	width: 100%;
	right: 10%;
	z-index: 3;
	bottom: -100px;
	text-align: center; 
	width: 200px;
	height: 200px;
	background-image: url(../img/boutuque-hotel.png);
	  animation: rotate 20s linear infinite;

}
#strutture ul {
	margin: 0 auto;
	padding: 30px 0;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}
#strutture ul li {
	position: relative;
	width: 30%;
	margin: 1.5%;
	text-align: center;
	height: 500px;
	background-position: center;
	background-size: cover;
opacity: 0; /* inizialmente invisibili */
	transform: translateY(50px); /* leggero spostamento verso il basso */
	transition: opacity 0.6s ease, transform 0.6s ease;
	cursor: pointer;
}
#strutture ul li.show {
	opacity: 1;
	transform: translateY(0);
}
#strutture ul li:hover {
	box-shadow: 0 .5rem 1rem rgba(0,0,0,.25)!important;
}
#strutture ul li h2 {
	position: absolute;
	bottom: 10px;
	left: 10px;
	font-size: 3rem;
	font-weight: 400;
	color: #fff;
	font-family: "butler",serif;
}
#camere {
	position: relative;
	margin: 0 auto;
	padding: 100px 0;
	text-align: left;
	display: flex;
	flex-direction: row;
	justify-content: left;
	width: 100%;
}
#camere .colonna {
	position: relative;
	z-index: 2;
	width:30%;
	margin: 0;
	padding: 50px;
	text-align: right;
	height: 500px;

}
#camere .colonna .hoverscritta {
	position: absolute;
	width: 100%;
	right: -150px;
	z-index: 4;
	bottom: -100px;
	text-align: center; 
	width: 200px;
	height: 200px;
	background-image: url(../img/boutuque-hotel.png);
  animation: rotate 20s linear infinite;
}
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
#camere .colonna h2 {
	font-family: "butler",serif;
	font-size: 6em;
	font-weight: 400;
	color: var(--scuro);
}
#camere .colonna p {
	font-size: 1.3em;
	line-height: 1.8em;
	font-weight: 400;
	color: var(--scuro);

}
#camere .conte {
	z-index: 1;
	width:70%;
	overflow: hidden;
	position: relative;
	margin: 0;
	height: 600px;
}
#camere button {
	border: 0;
	background-color: var(--scuro);
	color: #fff;
	padding: 10px 20px;
	border-radius: 5px;
	margin: 10px 0;
	cursor: pointer;
}
#camere button a:link,
#camere button a:visited {
	color: #fff;
}
#camere ul {
	position: absolute;
	top: 0;
	z-index: 2;
	left: 0;
	margin: 0 auto;
	display: flex;
	flex-direction: row;
	width: 3000px;
}
#camere ul li {
	position: relative;
	width: 700px;
	margin:0 30px;
	background-color: #fff;
	text-align: center;
	height: 500px;
	background-position: center;
	background-size: cover;
opacity: 0; /* inizialmente invisibili */
	transform: translateY(50px); /* leggero spostamento verso il basso */
	transition: opacity 0.6s ease, transform 0.6s ease;
}
#camere ul li.show {
	opacity: 1;
	transform: translateY(0);
}
#camere ul li:hover {
box-shadow: 0 .5rem 1rem rgba(0,0,0,.25)!important;

}
#camere ul li h3 {
	position: absolute;
	bottom: 20px;
	left: 20px;
	font-size: 2rem;
	font-weight: 400;
	width: 60%;
	text-align: left;
	color: #fff;
	font-family: "butler",serif;
}
#ristorante {
	position: relative;
	margin: 0 auto;
	padding: 100px 0;
	text-align: left;
	display: flex;
	flex-direction: row;
	justify-content: left;
	width: 100%;
}
#ristorante h2 {
	font-family: "butler",serif;
	font-size: 4em;
	font-weight: 400;
	color: var(--scuro);
}
#ristorante p {
	font-size: 1.3em;
	line-height: 1.8em;
	font-weight: 400;
	color: var(--scuro);

}
#ristorante .conte {
	z-index: 1;
	width:100%;
	overflow: hidden;
	position: relative;
	margin: 50px 0 0;
	height: 500px;
}
#ristorante ul {
	position: absolute;
	top: 0;
	z-index: 2;
	left: 0;
	margin: 0 auto;
	display: flex;
	flex-direction: row;
	width: 3000px;
}
#ristorante ul li {
	position: relative;
	width: 700px;
	margin:0 30px;
	background-color: #fff;
	text-align: center;
	height: 500px;
	background-position: center;
	background-size: cover;
	cursor: pointer;
opacity: 0; /* inizialmente invisibili */
	transform: translateY(50px); /* leggero spostamento verso il basso */
	transition: opacity 0.6s ease, transform 0.6s ease;
}
#ristorante ul li.show {
	opacity: 1;
	transform: translateY(0);
}
#ristorante ul li:hover {
box-shadow: 0 .5rem 1rem rgba(0,0,0,.25)!important;

}
#ristorante ul li h3 {
	position: absolute;
	bottom: 20px;
	left: 20px;
	font-size: 2rem;
	font-weight: 400;
	width: 60%;
	text-align: left;
	color: #fff;
	font-family: "butler",serif;
}
#offerte {
	position: relative;
	margin: 0 auto;
	padding: 100px 0;
	text-align: left;
	width: 100%;
	max-width: 1280px;
}
#offerte .colonna {
	position: relative;
	width: 100%;
	padding-left: 50%;
	height: 500px;
	overflow: hidden;
}
#offerte .img {
	position: absolute;
	top: 0;
	left: 0;
	height: 500px;
	background-size: cover;
	background-position: center;
	width: 50%;
	overflow-y: hidden;
}
#offerte .colonna .testo {
	overflow: hidden;
	padding: 200px 50px 50px;
	z-index: 2;
}
#offerte .colonna h2.dynamic-text {
	position: absolute;
	top: 50px;
	left: 0;
	font-family: "butler", serif;
	font-size: 7em;
	font-weight: 400;
	width: 100%;
	text-align: center;
	z-index: 3;
	color: var(--scuro);
	mix-blend-mode: exclusion; /* il trucco per cambiare colore automaticamente */
}
#offerte .colonna h3,
#offerte .colonna h4 {
	font-size: 1.5em;
	font-weight: 400;
	color: var(--scuro);
}
#offerte .colonna p {
	font-size: 1.2em;
	font-weight: 400;
	line-height: 1.8em;
}
#offerte .colonna button {
	font-size: 1em;
	font-weight: 400;
	color: #fff;
	margin:15px 0;
	background-color: var(--arancio);
	padding: 10px;
	border: 0;
	border-radius: 10px;
	cursor: pointer;

}
#newsletter {
	position: relative;
	margin: 0 auto;
	padding: 100px 0;
	text-align: left;
	width: 100%;
	max-width: 1280px;
	background-image: url(../img/newsletter.webp?21);
	background-position: center right;
}
#newsletter h2 {
	font-family: "butler",serif;
	font-size: 3em;
	font-weight: 400;
	padding-left: 50px;
	color: var(--scuro);
}
#newsletter .colonna {
	width: 70%;
	padding: 20px;
}
#newsletter .colonna p {
	font-size: 1.1em;
	line-height: 1.8em;
	font-weight: 400;
	color: var(--scuro);
}
#newsletter .colonna input {
	font-size: 1em;
	font-weight: 400;
	margin:10px 0;
	padding: 10px;
	width: 60%;
	border: 0;
	border-radius: 10px;
}
#newsletter .colonna textarea {
	font-size: 1em;
	font-weight: 400;
	margin:10px 0;
	padding: 10px;
	width: 60%;
	border: 0;
	border-radius: 10px;
	height: 100px;
}
#newsletter .colonna button {
	font-size: 1em;
	font-weight: 400;
	margin:10px 0;
	padding: 10px 20px;
	background-color: var(--scuro);
	color: #fff;
	border: 0;
	border-radius: 10px;
	cursor: pointer;
}
#sede {
	position: relative;
	margin: 0 auto;
	padding:20px 0;
	text-align: left;
	width: 100%;
}
#sede ul {
	margin:0 auto;
	padding: 10px 0;
	display: flex;
	flex-direction: row;
	justify-content: space-around;
}
#sede ul li {
	padding: 0 10px;
	position: relative;
	padding-left: 40px;
	line-height: 30px;
}
#sede ul li span {
	position: absolute;
	top: 0;
	left: 0;
	font-size: 2em;
	background-color: #fff;
	width: 30px;
	height: 30px;
	color: var(--scuro);
	text-align: center;
	line-height: 30px;
	border-radius: 50%
}
#sede ul li button {
	background-color: #fff;
	color: var(--scuro);
	text-align: center;
	border-radius: 15px;
	padding: 10px 20px;
	margin: 0;
	border: 0;
	cursor: pointer;
}
#sede a:link,
#sede a:visited {
	color: #fff;
}
#mappa {
	position: relative;
	margin: 0 auto;
	padding: 0;
	width: 100%;
	height: 500px;
	display: flex;
	flex-direction: row;
}
#mappa .mappa {

	width: 50%;
	height: 500px;
	background-image: url(../img/mappa.webp);
	background-position: center right;
	background-size: cover;
}
#mappa .info {
	width: 50%;
	height: 500px;
	background-color:var(--celeste);
	z-index: 3;
	padding: 50px;
	color:var(--scuro);
	font-size: 1.2em;
	line-height: 1.8em;
}
.contatti {
	padding: 40px;
}
.contatti h3 {
	padding-top: 20px;
	font-size: 1.5em;
	color: #fff;
}
.contatti h4 {
	font-size: 1.2em;
color: var(--scuro);	
}
.contatti {
	font-size: 1.1em;
	line-height: 1.8em;
	color: #ccc;
}
#frase {
  position: relative;
  height: 250px;
 
  color: white;
  background-image: url('../img/mare.webp');
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed; /* effetto parallax */
}
#frase .scritta {
  position: absolute;
  width: 100%;
  top: 0;
  right: 0;
  text-align: center;
  padding: 100px;
  z-index: 5;
   font-size: 3rem;
   font-family: "butler",serif;

}
#video {
	position: relative;
	width: 100%;
	max-width: 1000px;
	margin: 100px auto;
	height: auto;
	min-height: 546px;
	overflow: hidden;
	
}
#video .sopratutto {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 6;
	width: 100%;

}
#video video {
	position: absolute;
	z-index: 3;
	top: 0;

	left: 0;
	
	width: 100%;
	height:100%;
	
	object-fit: cover;
	
}
#video .controller-video {
	position: absolute;
	left: 50%;
	bottom: 10px;
	transform: translateX(-50%);
	z-index: 4;
	width: 40px;
	height: 40px;
	text-align: center;
	border-radius: 50%;
	cursor: pointer;
	overflow: hidden;
	display: none;
}
#video .controller-video.active {
	display: block;
}
#video .controller-video span {
	font-size: 2.5em;
	color: #fff;
		width: 40px;
		line-height: 40px;
	height: 40px;
	display: none;
}
#video .controller-video span.active {
	display: block;
}
#video img {width: 100%;
float: left;}
#video .sopraimg {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	z-index: 2;
	color: var(--scuro);
	width: 150px;
	height: 150px;
	line-height: 150px;
	padding: 0;
	margin: 0;
	border-radius: 50%;
	border: 8px solid var(--chiaro);
	cursor: pointer;
}
#video .sopraimg span {
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	left: 50%;
	font-size: 8em;
	text-align: center;
	z-index: 3;
		color: var(--chiaro);
	width: 150px;
	height: 120px;
	line-height: 120px;
	padding: 0;
	margin: 0;
	border-radius: 50%;
	cursor: pointer;
}
#video .sopraimg:hover {
	border: 8px solid var(--scuro);
}
#video .sopraimg:hover span {
	color: var(--scuro);
}
#contatti {
	padding:0 30px 50px;
}
#contatti .alert {
	font-size: 1.1em;
	color: red;
}
#contatti label {
	display: none;
	padding: 10px 0;
}
#contatti h1 {
	font-family: "Roboto", sans-serif;
	font-size: 2em;
	line-height: 2.4rem;
	color: var(--scuro);
	padding:20px;
}
#contatti h3 {
	font-family: "Roboto", sans-serif;
	font-size: 1.2em;
	font-weight: 400;
	color: var(--scuro);
	padding:10px 0;
}
#contatti form {
	padding: 20px;
}
#contatti input {
	padding:10px 20px;
	width: 90%;
	background-color: #fff;
	border: 1px solid #ccc;
}
#contatti input.red {
	border: 1px solid red;
}
#contatti textarea {
	padding: 10px 20px;
	width: 90%;
	background-color: #fff;
	border: 1px solid #ccc;
	height: 200px;
	display: block;
}
#contatti button {
	padding:10px 20px;
	background-color:var(--scuro);
	color: #fff;
	border: 0;
	margin: 20px 0;
	display: block;
}
#contatti #mappa {
	height: 400px;
	background-color: #fff;
}
#contatti #mappa #gmaps-canvas {
	height: 400px;
}
#contatti .parte2 {
	display: none;
	padding: 40px;
}
#contatti .privacy {
	position: absolute;
	top: 2px;
	left: 2px;
}
.padding20 {
	padding: 20px;
}
.colonna33 {
	float: left;
	width: 33%;
}
.colonna50 {
	float: left;
	width: 50%;
}
.colonna70 {
	float: left;
	width: 70%;
}
.colonna80 {
	float: left;
	width: 80%;
}
.colonna20 {
	float: left;
	width: 20%;
}
.colonna30 {
	float: left;
	width: 30%;
}
.colonna60 {
	float: left;
	width: 60%;
}
.colonna40 {
	float: left;
	width: 40%;
}
.f_right {
	float: right;
}
#settori {
	position: relative;
	max-width: 1280px;
	margin: 0 auto;
	padding: 50px 0;
}
#settori h2 {
	font-family: 'Roboto', sans-serif;
	font-size: 1.4em;
	font-weight: 500;
	text-align: left;
	padding: 20px 0px;
}
#settori h3 {
	font-family: 'Roboto', sans-serif;
	font-size: 1.3em;
	line-height: 1.6em;
	font-weight: 300;
	text-align: left;
	padding: 0px 0px;
	color: var(--scuro);
}
#settori ul {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	flex-wrap: wrap;

}
#settori ul li {
	width: 30%;	
	text-align: left;
	margin: 2% 1%;
	padding: 20px;
	position: relative;
	cursor: pointer;
	overflow: hidden;
	height: 600px;
	border-radius: 5px;
}
#settori a:link,
#settori a:visited {
	color: #fff;
}
#settori a:hover {
	color: #fff;
}
#settori ul li .img {
	width: 100%;
	height:600px;
	background-size: cover;
	background-position: left;
	opacity: .8;
}
#settori ul li .sopra {
    position: absolute;
    top: 400px;
    width: 90%;
	padding: 30px;
	height: 200px;
    text-align: center;
	background-color: #444;
	opacity: 1;
    transition: top 0.3s ease-in-out, height 0.3s ease-in-out, background-color 0.3s ease-in-out;
}
#settori ul li:hover .sopra {
    top: 20px;
    z-index: 2;
    height: 600px;
    margin: 0;
	opacity: .9;
}
#settori ul li .sopra p {
	font-size: 1.3em;
	line-height: 1.6em;
	font-weight: 200;
	padding: 20px 0;
	text-align: left;
	color: #fff;
	display: none;
}
#settori ul li:hover .sopra p {
	display: block
}
/*________________________SERVIZI______________*/
#servizi {
	position: relative;
	max-width: 1280px;
	margin: 0 auto;
	padding: 50px 0;
}
#servizi h2 {
	font-family: 'Roboto', sans-serif;
	font-size: 2.6em;
	font-weight: 200;
	text-align: left;
	color:var(--scuro);
	padding: 20px 20px;
}
#servizi p {
	font-size: 1.1em;
	text-align: left;
	padding: 20px;
	line-height: 1.5em;
	color:var(--scuro);
}
#servizi button {
	font-size: .7rem;
	text-align: left;
	padding: 5px 10px;
	margin-left: 20px;
	border-radius: 5px;
	line-height: 1.5em;
	border: 0;
	color:var(--scuro);
}
#servizi ul {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	flex-wrap: wrap;

}
#servizi ul li:hover {
	box-shadow: 0 .5rem 1rem rgba(0,0,0,.25)!important;
	background-color: var(--chiaro);
}
#servizi ul li {
	width: 30%;	
	text-align: left;
	margin: 2% 1%;
	padding: 20px;
	position: relative;
	cursor: pointer;
	overflow: hidden;
	height: 400px;
	background-color: #fff;
	border-radius: 5px;
}
#servizi ul li h2 {
	font-size: 1.4rem;
	font-weight: 500;
	padding-bottom: 0px;
}
#servizi ul li .img {
	margin-left: 20px;
	width: 100%;
	height:80px;
	background-size: contain;
	background-position: left;
	opacity: .8;
}
#servizi ul li .sopra {
	position: absolute;
	top: 100px;
	left: 0;
	width: 100%;
	height: 400px;
	text-align: center;
}
#servizi ul li  h3 {
	font-size: 1.2em;
	font-weight: 400;
	color: var(--scuro);
	padding: 20px;
}
#servizi ul li .sopra p {
	font-size: 1em;
	font-weight: 400;
	padding: 20px;
	opacity: 0;
}
#servizi ul li .sopra:hover {
	transition: transform 0.3s ease;
	transform:translateY(-100px);
}
#servizi ul li .sopra:hover p {
	transition: opacity 0.3s ease;
	opacity: 1;
}
#servizi ul li .sopra .icona {
    height: 180px;
    text-align: center;
    position: relative; /* Assicurati che l'elemento abbia una posizione relativa o assoluta per animare la proprietà left */
    animation: moveRight .5s forwards; /* Applica l'animazione all'elemento */
filter: none;
}
/* Definizione dell'animazione al passaggio del mouse */
@keyframes moveLeft {
    from {
		transform:rotate(0deg) ; /* Posizione iniziale (destra) */
    }
    to {
		transform:rotate(4deg) ; /* Posizione finale (sinistra) */
    }
}
/* Definizione dell'animazione */
/* Quando il mouse entra nell'elemento */
#servizi ul li .sopra:hover .icona {
    animation: none; /* Rimuove l'animazione predefinita */
    animation: moveLeft 1s forwards; /* Applica una nuova animazione al passaggio del mouse */
	opacity: .9;
}
@keyframes moveRight {
    from {
        transform:rotate(4deg) ; /* Posizione iniziale (sinistra) */
    }
    to {
        transform:rotate(0deg) ; /* Posizione finale (destra) */
    }
}
#servizi ul li .sopra .icona img {
	height: 150px;
}
#servizi ul li .sopra h3 {
	font-size: 1.3em;
	font-weight: 400;
	color: var(--chiaro);
}
#servizi ul li .sopra h3 span {
	padding: 5px;
	background-color:var(--scuro);
}
.material-symbols-outlined {
	font-family: 'Material Icons';
	font-weight: normal;
	font-style: normal;
	font-size: 24px;  /* Preferred icon size */
	display: inline-block;
	line-height: 1;
	text-transform: none;
	letter-spacing: normal;
	word-wrap: normal;
	white-space: nowrap;
	direction: ltr;
  
	/* Support for all WebKit browsers. */
	-webkit-font-smoothing: antialiased;
	/* Support for Safari and Chrome. */
	text-rendering: optimizeLegibility;
  
	/* Support for Firefox. */
	-moz-osx-font-smoothing: grayscale;
  
	/* Support for IE. */
	font-feature-settings: 'liga';
  }
#blog {
	position: relative;
	padding: 10% 0;
}
#blog h2 {

	font-size: 5em;
	line-height: 4rem;
	padding: 0px 0px 30px 10%;
}
#blog h3 {

	font-size: 2em;
	line-height: 1rem;
	color: #c0aa8f;
	padding-left: 18%;
}
#blog p {

	font-size: 1.2em;
	line-height: 1.8rem;
	padding: 20px 10%; 
	color: #c0aa8f;
}
#blog ul {
	display: flex;
	justify-content: left;
	flex-direction: row;
	padding: 0px 0;
}
#blog ul li {
	width: 30%;
	margin: 1.5%;
	padding: 0px;
	background-color: #fff;
}
#blog ul li div {

	padding: 20px;
}
#blog ul li .img {
	width: 100%;
	height: 280px;
	background-size: cover;
	background-position: right;
}
#blog ul li p {

	font-size: 1em;
	line-height: 1.5rem;
	padding: 5px 10px; 
	color: #c0aa8f;
}
#blog ul li h2 {

	font-size: 1.6em;
	line-height: 1.8rem;
	color: var(--scuro);
	padding: 10px 10px;
}
#blog ul li h3 {
	font-size: 1.2em;
	line-height: 1.5rem;
	color: var(--scuro);
	padding: 5px 10px;
}
/*_______UN SOLO CONTENUTO _______*/
#blog ul.blog1 li {
	width: 100%;
	padding: 20px;
	background-color: #fff;
}
#blog ul.blog1 li div {

	padding: 40px;
}
#blog ul.blog1 li .img {
	float: left;
	width: 50%;
	height: 500px;
	margin-right: 30px;
	background-size: cover;
	background-position: right;
}
#blog ul.blog1  li p {
	font-size: 1.2em;
	line-height: 1.8rem;
	padding: 10px; 
	color: #c0aa8f;
}
#blog ul.blog1 li h2 {
	font-family: 'Roboto', sans-serif;
	font-size: 2.6em;
	line-height: 2.8rem;
	color: var(--scuro);
	padding: 10px;
}
#blog ul.blog1 li h3 {
	font-family: 'Roboto', sans-serif;
	font-size: 1.85em;
	line-height: 1.85rem;
	color: var(--scuro);
	padding: 10px;
}
/*_______DUE CONTENUTI _______*/
#blog ul.blog2 li {
	width: 44%;
	margin: 3%;
	height: 650px;
	padding: 0px;
	background-color: #fff;
}
#blog ul.blog2 li div {

	padding: 20px;
}
#blog ul.blog2 li .img {
	width: 100%;
	height: 330px;
	margin: 0;
	background-size: cover;
	background-position: right;
}
#blog ul.blog2  li p {
	font-size: 1.1em;
	line-height: 1.8rem;
	padding: 10px; 
	color: #c0aa8f;
}
#blog ul.blog2 li h2 {
	font-family: 'Roboto', sans-serif;
	font-size: 2em;
	line-height: 2.2rem;
	color: var(--scuro);
	padding: 10px;
}
#blog ul.blog2 li h3 {
	font-family: 'Roboto', sans-serif;
	font-size: 1.4em;
	line-height: 1.85rem;
	color: var(--scuro);
	padding: 10px;
}
main .paginazione {
	padding: 0px 50px 30px;


}
main .paginazione ul {
    display: flex;
    justify-content: right;
    flex-wrap: wrap;
  

}
main .paginazione ul li {
    min-width: 30px;
	width: auto;
    font-size: .8em;
    padding: 5px;
    border: 1px solid #ccc;
    margin: 5px;
      text-align: center;
      cursor: pointer;
}
main .paginazione ul li.sele {
    background-color: var(--scuro);
    color: #fff;
}
main .paginazione ul li.senza {
    border: 0;
    width: 20px;
    margin: 5px 0;
    cursor: auto;
}
.relative {
	position: relative;
}
.conthover {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9;
    display: none;
    background-color: #fff;
}
.conthover.opacity {
	opacity: .8;
}
.popup {
	top: 0;
	left: 0;
	position: fixed;
	width: 80%;
	height: 80vh;
	margin: 10vh 10%;
	background-color: #fff;
	z-index: 10;
	display: none;
}
.hover {
    position:absolute;
    top: 0;
    z-index: 10;
    left: 0;
    width: 100%;
    min-height: 100vh;
    display: none;
}
.hover .boxcontenuto {
    position: relative;
    width: 100%;
    max-width:1280px;
    margin: 0 auto;
    padding: 0px;

}
.hover .boxcontenuto input,
.hover .boxcontenuto select,
.hover .boxcontenuto textarea {
    width: 95%;
    font-size: 1.2em;
    border: 0;
    border: 1px solid #ccc;
    padding: 10px;
    margin: 5px 0;


}
.hover .boxcontenuto.esteso {
    max-width:none;
	height: 100vh;
	position: fixed;

}
.hover .boxcontenuto .altezza {
	height: 100vh;
	overflow-y: auto;
}
.hover .boxcontenuto .boxaccesso .accedigoogle {
	padding: 20px 40px;
	position: relative;
	padding-left: 50px;
	background-size: 40px;
	background-position: left;
	background-color: transparent;
	border: 1px solid #ccc;
	border-radius: 10px;
	color: #000;

}
.hover .boxcontenuto .boxaccesso .colonna {
	padding: 50px;
	display: flex;
	
align-items: center; /* Centrato verticalmente */
justify-content: center;

}
.hover .boxcontenuto .boxaccesso .colonna100 {
	width: 100%;
}
.hover .boxcontenuto .boxaccesso .colonna50.left {
	padding-left: 10%;

}
.hover .boxcontenuto ul.elenco-prodotti {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 10px;


}
.hover .boxcontenuto ul.elenco-prodotti li {
	display: flex;
	flex-direction: row;
	padding: 5px;
	line-height: 1rem;
	align-content: center;
	border-bottom: 1px dotted #ccc;

}
.hover .boxcontenuto ul.elenco-prodotti .t_right {
	text-align: right;
}
.hover .boxcontenuto ul.elenco-prodotti .auto {
	width: 50%;
	padding: 5px;
	font-size: .9rem;
	line-height: 1.2rem;
}
.hover .boxcontenuto ul.elenco-prodotti .media {
	width: 20%;
	padding: 5px;
	font-size: .9rem;
	line-height: 1.2rem;

}
.hover .boxcontenuto ul.elenco-prodotti .big {
	font-size: 2rem;

}
.hover .boxcontenuto ul.elenco-prodotti input {
	margin: 5px 0px;
	font-size: .9rem;
	padding: 5px;
	width:80%;

}
.hover .boxcontenuto .boxaccesso ul {
	display: flex;
	justify-content: left;
	flex-direction: column;

}
.hover .boxcontenuto .boxaccesso ul li {
	font-size: 1.5em;
	line-height: 1.8em;
	padding: 5px;

}
.hover .boxcontenuto .boxaccesso input {
	margin: 10px 0px;
	width:80%;

}
.hover .boxcontenuto .boxaccesso label {
	display: block;
	width:100%;
	white-space: wrap;

}
.hover .boxcontenuto .boxaccesso h3 {
	font-size: 1.5rem;
	padding: 10px 0px;
}
.hover .boxcontenuto .boxaccesso p {
	font-size: 1.2rem;
	padding: 10px 20px;
}
.hover .boxcontenuto .boxaccesso p.dim {
	text-decoration: underline;
	cursor: pointer;
}
.hover .boxcontenuto .boxaccesso .dimpass {
	display: none;
}
.hover .boxcontenuto .boxaccesso p.dim:hover {
color:#c0aa8f
}
.hover .boxcontenuto .boxaccesso button {
	background-color:var(--scuro);
	color: #fff;
	padding: 10px 20px;
	margin: 20px;
	border: 0;
	cursor: pointer;
}
.hover .boxcontenuto .boxaccesso button:hover {
	background-color:#c0aa8f
}
.hover .chiudi {
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 2em;
    z-index: 2;

}
.t_center {
	text-align: center;
}
/*_________FOOTER_*/
#numeroPagina {
	display: none;
}
footer {	
	margin: 0 auto;
	width: 100%;
	padding: 10px 30px;
	color: #ccc;
	max-width: 1480px;
}
footer a:link,
footer a:visited {
	color: #c0aa8f;
}
footer a:hover {
	color: #fff;
}
footer .logo {
	position: absolute;
	top:-90px;
	left: 50%;
	transform: translateX(-50%);
	width: 150px;
	height: 140px;
	padding: 5px 0;
	z-index: 6;
}
footer .segnalazioni {
	background-color:var(--celeste);
	color:var(--scuro);
	padding: 10px 20px;
	border: 0;
	font-size: 1rem;
	cursor: pointer;
	border-radius: 5px;
}
footer .segnalazioni:hover {
	background-color: #c0aa8f;
}
footer .scritta {
	float: left;
	font-size: 1.6em;
	padding: 15px 10px;
	color:var(--scuro);
	font-weight: 600;
}
footer ul.elenco-contenuti {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}
footer ul.elenco-contenuti li {
	text-align: left ;
	padding: 5px;

}
footer ul.elenco-contenuti li.right {
	text-align: right ;
	padding: 5px;

}
footer ul.elenco-contenuti li.social {
	display: flex;
	flex-direction: row;

}
footer ul.elenco-contenuti li.social span {
	width: 20px;
	height: 20px;
	color: #fff;
	margin: 0 5px;
	 filter: invert(1);
	 cursor: pointer;

}
footer ul.elenco-contenuti li.social span:hover {
 filter: invert(0);
}
.blocca {
	margin: 0;
	clear: both;
}
.blocca1 {
	margin: 0;
	clear: both;
	border-bottom: 1px dotted #ccc;
}
.caricamento {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    line-height: 100vh;
    z-index: 12;
    text-align: center;
    display: none;
    background-color: #fff;
    opacity: .8;
}
.caricamento span {
    background-color: var(--scuro);
    color: #fff;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 40px;
    font-size: 2em;
    animation-name: drager;
	animation-duration: 1s;
	animation-iteration-count: 5;
}
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    line-height: 100vh;
    z-index: 12;
    text-align: center;
    background-color: #fff;
    opacity: .9;
	background-position: center;
	background-size: 100px;
}

/* pulsante WhatsApp fisso, visibile su tutte le pagine (parti/footer.php) */
.whatsapp-float {
	
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.whatsapp-float .whatsapp-icon {
  display: flex;
}
.whatsapp-float .whatsapp-icon svg {
  width: 30px;
  height: 30px;
  color: #fff;
}