html, body{width:100%;height:100%; /*overflow-x: hidden; */margin: 0; padding: 0; font-family:'Phenomena', san serif; font-weight: normal; letter-spacing: 0.3px; color: #2d2a26;-webkit-text-size-adjust:100%; -webkit-font-smoothing: antialiased;backface-visibility: hidden; will-change: all; }
html { /*overflow: overlay;*/ height: 100%;  -webkit-text-size-adjust: 100%;}
body {opacity: 0; transition: .3s}
a,a:hover {text-decoration: none;transition: .4s all;}

/* custom fomt, colors*/

.font-Phenomena {font-family: 'Phenomena';}  

.font-thin {font-weight: 100;}
.font-xlight {font-weight: 200;}
.font-light {font-weight: 300;}
.font-regular {font-weight: 400;}
.font-medium {font-weight: 500;}
.font-sbold {font-weight: 600;}
.font-bold {font-weight: 700;}

.font-size-xsmall {font-size: 12px;}
.font-size-small {font-size: 16px;}
.font-size-normal {font-size: 20px;}
.font-size-medium {font-size: 24px;}
.font-size-large {font-size: 34px;}
.font-size-xlarge {font-size: 46px;}

.lh-n {line-height: normal}
.lh-120 {line-height: 120%}
.lh-150 {line-height: 150%}
.lh-200 {line-height: 200%}

@media all and (max-width: 480px) {	
	.font-size-xsmall {font-size: 14px;}
	.font-size-small {font-size: 16px;}
	.font-size-normal {font-size: 18px;}
	.font-size-medium {font-size: 22px;}
	.font-size-large {font-size: 30px;}
	.font-size-xlarge {font-size: 38px;}
}


.colore-primario { color: #222222;}
.colore-primario-light { color: #7a7a7a;}

.colore-secondario { color: #00a98f}
.colore-secondario-light { color: #66cbbc;}

.colore-fondo-primario { background-color: rgba(34,34,34,1);}
.colore-fondo-primario-light {  background-color: rgba(122,122,122,1);}

.colore-fondo-secondario { background-color: rgba(0,169,143,1);}
.colore-fondo-secondario-light {  background-color:  rgba(102,203,188,1);}

.bg-light{ background-color: #f0f0f0;}
.bg-rete { background-image: url("../img/bg-rete.png"); background-attachment: fixed; background-size: cover;}
  
/*SIDE NAV HELP*/
#mySidenav{position:fixed;top:20%; left: -200px; width: 200px; height: auto; background-color: #fff; padding: 10px 20px; transition:.3s; z-index:999; box-shadow: -6px 0px 20px rgba(0,0,0,0.2);}
#mySidenav:hover{left:0}
#mySidenav .btnOpen{ position: absolute; top: 0px; right: -40px; height: 40px; width: 40px; line-height: 40px; text-align: center; background-color: #fff;color: #333;box-shadow: 6px 2px 8px rgba(0,0,0,0.2); }
#mySidenav a{ display: block; transition:.3s;padding:5px 0; width: 100%;text-decoration:none;font-size:18px;color:#333 ;white-space: nowrap; }
#mySidenav a:hover { opacity: .6}
#mySidenav a.divider { height: 0; margin: .5rem 0 0 0; overflow: hidden; border-top: 1px solid #e9ecef;} 
 

/* Tablet in modalit&agrave; orizzontale */
@media only screen and (width: 820px) and (height: 1106px)  { 		
	 
}
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
	 
}

/* Tablet in modalit&agrave; verticale */
@media all and (min-width: 481px) and (max-width: 768px) { 		
	 
}

@media all and (max-width: 667px) { 		
}

@media all and (min-width: 737px) and (max-width: 1279px) {  
}

@media all and (min-width: 481px) and (max-width: 820px) {	 
}

/*body.scroll-page .main-btn-prenota { padding: 5px 20px;}*/

@media (max-width:736px){	 	 
} 	
 
/*MAIN*/
.main { position: relative; display: inline-block; width: 100%; padding-top: 30px;  background-color:rgba(240,240,240,.2); z-index: 2; overflow: hidden;}
.main > .bg {position: fixed; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; z-index: -1}	
.main > .bg > img {position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .08;   }
/*.main > .bg{ position: absolute; top: 0; left: 0; width: 100%;  height: 100%; background-color: #fff; background-size: 130%; background-position: center; background-attachment: fixed; opacity: .1}*/
   
/*HEADINGS*/
 
.pagina-titolo {position: relative; display: inline-block; width: 100%; margin-top: 180px; text-align: center;}
.pagina-titolo h1{position: relative; display: inline-block; font-size: 40px; -webkit-font-smoothing: antialiased; text-transform: uppercase;   }
.pagina-sottotitolo { position: relative; display: inline-block; width: 100%;margin: 5px 0 5px 0; text-align: center;}
.pagina-sottotitolo h2 { font-size: 24px; line-height:160%;  text-transform: uppercase; }
.pagina-testo { margin-top: 40px; margin-bottom: 20px; font-size: 18px;}

@media all and (max-width: 480px) { 
	 
	.pagina-titolo h1 { font-size: 26px;}	
	.pagina-sottotitolo h2 { font-size: 20px;}	
	
}


/*sezioni*/

.sezione {position: relative; display: block; min-height: 50vh;}

.sezione .s-heading {position: relative; margin-bottom: 150px;}
.sezione .s-heading .sh-titolo { position: relative; overflow: hidden; height: 100px; display: flex; align-items: center;  }
.sezione .s-heading .sh-titolo .inner { position: relative;   font-size: 24px; font-weight: 600;padding-left: 100px;}
.sezione .s-heading .sh-titolo .inner:before {content: ''; position: absolute; top: 50%; left: 0px; width: 60px; height: 2px; background-color: #475458; }
.sezione .s-heading .sh-titolo .inner:after {content: ''; position: absolute; top: 50%; right: 0px; width: 60px; height: 2px; background-color: #475458; display: none; }

.sezione .s-heading .sh-titolo .ombra { position: absolute; width: 200vw; top: -10px; left: 150px; opacity: .05;   font-weight: 700; font-size: 80px; z-index: 1}
.sezione .s-heading .sh-sottotitolo { margin-right: 40%; font-weight: 300; -webkit-font-smoothing: antialiased; line-height: 170%;}

.sezione .s-heading.inverse .sh-titolo { color: #fff;}
.sezione .s-heading.inverse .sh-sottotitolo { color: #fff;}
.sezione .s-heading.inverse .s-heading .sh-titolo .inner:before,.sezione .s-heading.inverse .s-heading .sh-titolo .inner:after {background-color: #fff;}

/*center*/
.sezione .s-heading.center {text-align: center;}
.sezione .s-heading.center .sh-titolo{ justify-content: center; }
.sezione .s-heading.center .sh-titolo .inner { padding-left:inherit; padding-right: inherit;}
.sezione .s-heading.center .sh-titolo .inner:before { left: -100px; ;right: inherit;}
.sezione .s-heading.center .sh-titolo .inner:after { display: block; left: inherit;right: -100px;}
.sezione .s-heading.center .sh-titolo .ombra { left: 0; right: inherit; width: 100%;}
.sezione .s-heading.center .sh-sottotitolo { margin-right: 10%;margin-left:10%;}


/*left*/
.sezione .s-heading.left {text-align: left;}
.sezione .s-heading.left .sh-titolo{ justify-content: flex-start; }
.sezione .s-heading.left .sh-titolo .inner {padding-left:100px; padding-right: inherit;}
.sezione .s-heading.left .sh-titolo .inner:before { left: 0; right: inherit;}
.sezione .s-heading.left .sh-titolo .ombra { left: 150px; right: inherit; }
.sezione .s-heading.left .sh-sottotitolo { margin-right: 20%; margin-left:inherit;}
 
/*right*/
.sezione .s-heading.right {text-align: right;}
.sezione .s-heading.right .sh-titolo{ justify-content: end; }
.sezione .s-heading.right .sh-titolo .inner {padding-left:inherit; padding-right: 100px;}
.sezione .s-heading.right .sh-titolo .inner:before { left: inherit; right: 0;}
.sezione .s-heading.right .sh-titolo .ombra { left: inherit; right: 150px; }
.sezione .s-heading.right .sh-sottotitolo { margin-right: inherit;margin-left: 20%;}
 

/* Smartphone o piccoli Tablet */
@media all and (max-width: 480px) { 
	.sezione .s-heading { margin-bottom: 100px;}
	.sezione .s-heading.left .sh-sottotitolo { margin-left: 10%;}
	.sezione .s-heading.right .sh-sottotitolo { margin-right: 10%;}
}
 

