html, body{width:100%;height:100%;margin: 0; padding: 0; font-family:'Montserrat', san serif; font-weight: 300; color: #2e3644;-webkit-text-size-adjust:100%;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-MontSerrat {font-family: 'Montserrat';}
.font-LibreBaskerville {font-family: 'Libre Baskerville';} 

.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: 10px;}
	.font-size-small {font-size: 14px;}
	.font-size-normal {font-size: 16px;}
	.font-size-medium {font-size: 22px;}
	.font-size-large {font-size: 28px;}
	.font-size-xlarge {font-size: 38px;}
}


.colore-primario { color: #222222;}
.colore-primario-light { color: #7a7a7a;}

.colore-secondario { color: #222d3f}
.colore-secondario-light { color: #7a818c;}

.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(34,45,63,1);}
.colore-fondo-secondario-light {  background-color:  rgba(122,129,140,1);}
  
/*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:12px;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;} 
  

  
/*MAIN*/
.main { position: relative; display: inline-block; width: 100%; min-height: 100vH; margin-bottom: -10px; background-color: #fff; 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}*/
	

.separatore {  text-align: center; padding: 150px 0;}
.separatore.sep-small { padding: 50px;}
.separatore.inverse img {filter: brightness(0) invert(1);}

@media all and (max-width: 480px) { 
.separatore { padding: 80px 0;}
}

/*HEADINGS*/
 
.pagina-titolo {position: relative; margin-top: 130px; text-align: center;}
.pagina-titolo h1{position: relative; display: inline-block; font-size: 36px; font-weight: 300; -webkit-font-smoothing: antialiased; text-transform: uppercase; letter-spacing: 4px; text-align: center; }
.pagina-titolo h1:before,.pagina-titolo h1:after {content: ''; position: absolute; top: 50%;  width: 50px; height: 2px; background-color: #475458;}
.pagina-titolo h1:before {left: -80px;}
.pagina-titolo h1:after { right: -80px;}
.pagina-sottotitolo { margin: 5px 5% 5px 5%; text-align: center;}
.pagina-sottotitolo h2 {font-family: "Libre Baskerville";  font-size: 20px; font-weight: 400; line-height:160%; color: rgba(122,122,122,.6);  text-transform: uppercase; }
.pagina-testo { margin-top: 40px; margin-bottom: 40px; font-size: 16px; font-weight: 300; color: #7a818c  }

@media all and (max-width: 480px) { 
	.pagina-titolo { margin:100px 0 40px 0;}
	.pagina-titolo h1 { font-size: 26px;}
	.pagina-titolo h1:before { left: 50%; transform: translateX(-50%); top: -20px;}
	.pagina-titolo h1:after { right: inherit; left: 50%; transform: translateX(-50%); top: inherit; bottom: -20px;}	
	.pagina-sottotitolo h2 { font-size: 18px;}	
	.pagina-testo { padding: 0 15px;}
}

/*sezioni*/

.sezione-landing {position: relative; display: block; min-height: 50vh; height: 100vh; padding: 40px; }
.sezione-landing .sl-wrapper {position: relative; display: flex; align-items: center;width: 100%; height: 100%;border: 0px solid #ccc;}
.sezione-landing .sl-wrapper.bg-light { background-color: #F7F5F5!important}
.sezione-landing .sl-wrapper .slw-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; background-repeat: no-repeat;z-index: 0; }
.sezione-landing .sl-wrapper .slw-bg:before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;  background-color: #093574;opacity: .85; z-index: 1; }

.sezione-landing .sl-heading {position: relative; margin-bottom: 30px;}
.sezione-landing .sl-heading .slh-titolo { position: relative; overflow: hidden; display: flex; align-items: center;  }
.sezione-landing .sl-heading .slh-titolo .inner { position: relative;font-size: clamp(.5rem, -0.8750rem + 8.6333vw, 8.5rem); font-weight: 300;padding-left: 100px;}
.sezione-landing .sl-heading .slh-titolo .inner:before {content: ''; position: absolute; top: 50%; left: 0px; width: 60px; height: 2px; background-color: #475458; }
.sezione-landing .sl-heading .slh-titolo .inner:after {content: ''; position: absolute; top: 50%; right: 0px; width: 60px; height: 2px; background-color: #475458; display: none; }

.sezione-landing .sl-heading .slh-titolo .ombra { position: absolute; width: 200vw; top: -10px; left: 150px; opacity: .05;  font-weight: 700; font-size: 80px; z-index: 1}
.sezione-landing .sl-heading .slh-sottotitolo { margin-right: 40%; font-size: 40px; font-weight: 300; -webkit-font-smoothing: antialiased; line-height: 120%;}

.sezione-landing.inverse { color: #fff;}
.sezione-landing.inverse a { color: #fff;} 
.sezione-landing.inverse a:hover{  opacity: .6} 
.sezione-landing.inverse .slh-titolo { color: #fff;}
.sezione-landing.inverse .slh-sottotitolo { color: #fff;}
.sezione-landing.inverse .sl-heading .slh-titolo .inner:before,.sezione-landing.inverse .sl-heading .slh-titolo .inner:after {background-color: #fff;}

.sezione-landing .sl-bottom-text { position: absolute; display: inline-block;  width: 100%; height: 100px; bottom:0; left: 50%; text-align: center; transform: translateX(-50%); overflow: hidden;opacity: .2;  mix-blend-mode: difference;}
.sezione-landing .sl-bottom-text div{ font-size:clamp(2.5rem, -2.8750rem + 8.6333vw, 8.5rem); margin-bottom: -45px; }


/*center*/
.sezione-landing .sl-heading.center {text-align: center;}
.sezione-landing .sl-heading.center .slh-titolo{ justify-content: center; }
.sezione-landing .sl-heading.center .slh-titolo .inner { padding-left:inherit; padding-right: inherit;}
.sezione-landing .sl-heading.center .slh-titolo .inner:before { left: -100px; ;right: inherit;}
.sezione-landing .sl-heading.center .slh-titolo .inner:after { display: block; left: inherit;right: -100px;}

.sezione-landing .sl-heading.center .slh-sottotitolo { margin-right: 10%;margin-left:10%;}


/*left*/
.sezione-landing .sl-heading.left {text-align: left;}
.sezione-landing .sl-heading.left .slh-titolo{ justify-content: flex-start; }
.sezione-landing .sl-heading.left .slh-titolo .inner {padding-left:100px; padding-right: inherit;}
.sezione-landing .sl-heading.left .slh-titolo .inner:before { left: 0; right: inherit;}
.sezione-landing .sl-heading.left .slh-titolo .ombra { left: 150px; right: inherit; }
.sezione-landing .sl-heading.left .slh-sottotitolo { margin-right: 20%; margin-left:inherit;}
 
/*right*/
.sezione-landing .sl-heading.right {text-align: right;}
.sezione-landing .sl-heading.right .slh-titolo{ justify-content: end; }
.sezione-landing .sl-heading.right .slh-titolo .inner {padding-left:inherit; padding-right: 100px;}
.sezione-landing .sl-heading.right .slh-titolo .inner:before { left: inherit; right: 0;}
.sezione-landing .sl-heading.right .slh-titolo .ombra { left: inherit; right: 150px; }
.sezione-landing .sl-heading.right .slh-sottotitolo { margin-right: inherit;margin-left: 20%;}
 
.arrow-bottom {position: relative; width: 20px; max-width: 20px; margin: 30px 0; z-index: 1 }
.arrow-bottom.on-bg { margin-bottom: -80px;}
.arrow-bottom .layer { position: relative; width: 80px; height: 80px; margin-top: -20px; margin-left: -30px; transform: rotate(45deg);z-index: -1}	

/* Smartphone landscape */
@media only screen and (max-height: 575.98px) and (orientation: landscape) {
    	.sezione-landing {  height: auto; min-height: 100vh; padding: 20px; }
	.sezione-landing .sl-wrapper { min-height: 90vh;padding-top: 30px; padding-bottom: 20px;}
	.sezione-landing .sl-heading { }
	.sezione-landing .sl-heading .slh-titolo .inner { font-size: 24px;}
	.sezione-landing .sl-heading .slh-titolo .inner:before,.sezione-landing .sl-heading .slh-titolo .inner:after { display: none!important;}
	.sezione-landing .sl-heading .slh-sottotitolo { font-size: 20px;}
	.sezione-landing .sl-heading .slh-txt3 { font-size: 16px;}
	.sezione-landing .sl-heading .slh-txt4 {width: 100%!important; font-size: 15px;}
	
	.sezione-landing .sl-bottom-text  {  display: none; }
	
	.sezione-landing .sl-heading.left .slh-sottotitolo { margin-left: 10%;}
	.sezione-landing .sl-heading.right .slh-sottotitolo { margin-right: 10%;}
    
}


/* Smartphone o piccoli Tablet */
@media all and (max-width: 480px) { 
	.sezione-landing {  height: auto; min-height: 100vh; padding: 20px; }
	.sezione-landing .sl-wrapper { min-height: 90vh;padding-top: 30px; padding-bottom: 20px;}
	.sezione-landing .sl-heading { }
	.sezione-landing .sl-heading .slh-titolo .inner { font-size: 24px;}
	.sezione-landing .sl-heading .slh-titolo .inner:before,.sezione-landing .sl-heading .slh-titolo .inner:after { display: none!important;}
	.sezione-landing .sl-heading .slh-sottotitolo { font-size: 20px;}
	.sezione-landing .sl-heading .slh-txt3 { font-size: 16px;}
	.sezione-landing .sl-heading .slh-txt4 {width: 100%!important; font-size: 15px;}
	
	.sezione-landing .sl-bottom-text  {  display: none; }
	
	.sezione-landing .sl-heading.left .slh-sottotitolo { margin-left: 10%;}
	.sezione-landing .sl-heading.right .slh-sottotitolo { margin-right: 10%;}
}
/* FOOTER */  

.footer {position: relative; display: inline-block; width: 100%; /*min-height: 75vh;*/ padding: 5% 10%; color: #fff; font-weight: 300; overflow: hidden;  -webkit-font-smoothing: antialiased;}
.footer a { color: rgba(255 255 255 / 100%);}
.footer a:hover { color: rgba(255 255 255 / 50%);}

.footer strong { font-weight: 700;}
.footer .inner {  position: relative; margin: 0 10%;}
.footer .bg {position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; opacity: 1;}
.footer .bg img{ object-fit: cover; object-position: center;width: 100%; height: 100%;}

.footer .f-top {position: relative;}
.footer .f-middle {position: relative; margin-top: 22%;}
.footer .f-bottom {position: relative; margin-top: 5%;}

.footer .f-top p a { margin: 8px 0; display: inline-block;}


@media all and (min-height: 1100px) { 
	 
}

/* Smartphone o piccoli Tablet */
@media all and (max-width: 480px) { 
	.footer {   padding: 25% 5% 35% 5%; }	
	.footer .bg img{ object-position: right;}

	.footer .f-bottom {    
		margin-top: 25%;
	}

	.footer .f-bottom a {
		margin: 8px 0;
		display: inline-block;
		width: 100%;
	}
	  
} 	


@media all and (min-width: 1280px) {
	.footer {  padding: 5% 0%; }	
}



