// @import url('https://fonts.googleapis.com/css2?family=Alumni+Sans:wght@500&family=Inter:wght@400;600&display=swap');

/*
Theme Name: Meridian
Author: Neiko srl
Author URI: http://www.neiko.it/
Description: Meridian - 2023
Version: 1.0
License: GNU General Public License v2 or later
*/

/*  
	
	FONTS UTILIZZATI :	
	font-family: 'Alumni Sans', sans-serif;
	font-family: 'Inter', sans-serif;	
	
*/

/* LENIS */

html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* GENERAL */

:root{
	--green: #1D7A6C;
	--orange: #F7A325;
}

html {
  scroll-behavior: smooth;
}

html,body { 
	margin:0;
	padding:0;
	font-family: 'Inter', sans-serif !important;
	font-size: 16px !important;
	font-weight:400;
	line-height: 1.5;
	text-rendering:optimizeLegibility;
	-webkit-font-smoothing:antialiased;
	-moz-font-smoothing:antialiased;
	-o-font-smoothing:antialiased;
	background-color:#F0F0F0;
	color:#212121;
}

@media (min-width: 1600px){ 
	html,body {
		font-size: 18px !important;
	}
}


img,a img {
	border:none!important;
}

::-moz-selection {
	background:none repeat scroll 0 0 #FFF;
	color:#212121 ;
}

* {
	outline:0!important;
}

b, strong, .bold { 
	font-weight:600;
}

a,a:visited { 
	outline-style:none;
	text-decoration:none;
	color:#212121 ;
	transition: 0.3s;
}

a:hover {  
	cursor:pointer !important;
	color:var(--green) ;
	text-decoration:none;
	/* text-decoration: underline; */
	transition: 0.3s;
}

.container-fluid {
	padding-left: 30px;
	padding-right: 30px;
}

@media (min-width: 1200px){  
	.container-fluid {
		padding-left:50px;
		padding-right: 50px;
	}
}

@media (min-width: 1600px){  
	.container-fluid {
		padding-left: 100px;
		padding-right: 100px;
	}
}

/* TYPO */

.big{
	font-size: 2rem;   
	
}
.small{
	font-size: 0.85rem;	 
}

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

.z-index02{
	position: relative;
	z-index: 2;
}

.active{
	color: var(--green) !important;
	/* text-decoration: line-through; */
}

@media(max-width: 991px){
	
	h1,.h1,h2,.h2,h3,.h3,h4,.h4,h5,.h5,h6,.h6{  
		padding: 0;
		margin: 0;
	}
	
	h1,.h1{
		font-family: 'Alumni Sans', sans-serif;
		font-size: 5rem;
		line-height: 0.9;
	}
	
	h2,.h2{
		font-family: 'Alumni Sans', sans-serif;
		font-size: 2.3rem;
		line-height: 1;
	}
	
	h3,.h3{
		font-family: 'Inter', sans-serif !important;
		font-size: 1rem;
		line-height: 1.5;
		font-weight: 500;
	}
	
	h4,.h4{
		font-family: 'Inter', sans-serif !important;
		font-size: 1rem;
		line-height: 1.5;
		font-weight: 500;
	}
	
	br{
		display: none;
	}
	
}

// escludiamo il br display none da...
#footer br, .hero-text br{
	display: block !important;
}

@media(max-width:1200px){
	.covivio-back{
		height: 550px;
	}
}

@media(min-width:991px){
	h1,.h1,h2,.h2,h3,.h3,h4,.h4,h5,.h5,h6,.h6{  
		padding: 0;
		margin: 0;
	}
	
	h1,.h1{
		font-family: 'Alumni Sans', sans-serif;
		font-size: 5.7rem;
		line-height: 0.8;
	}
	
	h2,.h2{
		font-family: 'Alumni Sans', sans-serif;
		font-size: 3.5rem;
		line-height: 1;
	}
	
	h3,.h3{
		font-family: 'Inter', sans-serif !important;
		font-size: 1.3rem;
		line-height: 1.5;
	}
	
	h4,.h4{
		font-family: 'Inter', sans-serif !important;
		font-size: 1.1rem;
		line-height: 1.5;
	}
}


strong{
	color: var(--green);
	font-weight: 500;
}

ul{
	padding-left: 20px;
}

hr {
	padding: 0;
	margin: 0;
}

.white{
	color: #fff;
}
.green-line{
	border-color: var(--green);
}

.green-background{
	background-color: var(--green);
}

.light-background{
	background-color: #F0F0F0;
}

.vertical-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.btn-primary{
	background-color: transparent;
	position: relative;
	border: none;
	padding: 8px 20px 8px;
	color: #212121;
	z-index: 1;
	transition: all 0.4s;
}

.btn-primary-white{
	background-color: transparent;
	position: relative;
	border: none;
	padding: 8px 20px 8px;
	color: #fff;
	z-index: 1;
	transition: all 0.4s;
}

.btn-primary:hover{
	color: #fff !important;
	background-color: transparent;
	border-color: transparent;
	transition: color 0.4s;
}

.btn-primary-white:hover{
	color: var(--green) !important;
	background-color: transparent;
	border-color: transparent;
	transition: color 0.4s;
}

.btn-primary::after{
	content:"";
	width: 100%;
	height: 1px;
	background-color: var(--green);
	bottom: 0;
	left: 0;
	position: absolute;
	/* color: #212121; */
	z-index: -1;
	transition: all 0.4s;
}

.btn-primary-white::after{
	content:"";
	width: 100%;
	height: 1px;
	background-color: #fff;
	bottom: 0;
	left: 0;
	position: absolute;
	/* color: #212121; */
	z-index: -1;
	transition: all 0.4s;
}

.btn-primary:hover:after{
	height: 100%;
	transition: 0.5s;
}

.btn-primary-white:hover:after{
	height: 100%;
	transition: 0.5s;
}

.btn-primary:not(:disabled):not(.disabled).active:focus, .btn-primary:not(:disabled):not(.disabled):active:focus, .show>.btn-primary.dropdown-toggle:focus{
	box-shadow: none;
}

.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle{
	color: #212121;
	background-color: transparent;
	border-color: transparent;
}

.btn-primary.focus, .btn-primary:focus{
	background-color: transparent;
	border-color: transparent;
	box-shadow: 0 0 0 0.2rem rgba(255,255,255,0);
}

p {
	font-family: 'Inter', sans-serif;
	padding: 0;
	margin: 0;
}

.page-template-default h3 {
	padding: 0;
	margin-bottom: 1rem;
	color: var(--green);
	font-weight: 600;
}

.page-template-default ul {
	padding-left: 15px; 
}

.page-template-default li::marker {
	background-color: var(--green);
	color: var(--green);
}

.page-template-default p {
	padding: 0;
	margin-bottom: 1rem;
}

.page-template-default table {
	border: 1px solid #dadada;
	margin-bottom: 30px;
}

.page-template-default th, .page-template-default td, .page-template-default tr{
	border: 1px solid #dadada;
	vertical-align: middle;
	padding: 1rem 1rem 0 1rem;
}

.page-template-default main a {
	color: var(--green);
	transition: .3s;
	position: relative;
}

.page-template-default main a::before {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 2px;
	margin-top: 8px;
	content: '';
	background-color: rgba(0, 0, 0, 0.25);
	display: inline-block;
}

.page-template-default main a::after {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0%;
	height: 2px;
	margin-top: 8px;
	content: '';
	background-color: var(--green);
	display: inline-block;
	transition: .3s;
}

.page-template-default main a:hover::after {
	width: 100%;
}

/* LOADER */
#loading {
	position:fixed;
	left:0;
	top:0;
	width:100%;
	height:100%;
	z-index:998;
	background-color:#fff; // Cambiare colore sfondo schermata loading in accordo con layout
}

.loader {
	color:#212121 ;  // Cambiare colore loader in accordo con layout
	font-size:50px;
	text-indent:-9999em;
	overflow:hidden;
	width:1em;
	height:1em;
	border-radius:50%;
	margin:50px auto;
	position:relative;
	top:40%;
	-webkit-transform:translateZ(0);
	-ms-transform:translateZ(0);
	transform:translateZ(0);
	-webkit-animation:loadnk 1.7s infinite ease,round 1.7s infinite ease;
	animation:loadnk 1.7s infinite ease,round 1.7s infinite ease;
}

@-webkit-keyframes loadnk{0%,100%,5%,95%{box-shadow:0 -.83em 0 -.4em,0 -.83em 0 -.42em,0 -.83em 0 -.44em,0 -.83em 0 -.46em,0 -.83em 0 -.477em}10%,59%{box-shadow:0 -.83em 0 -.4em,-.087em -.825em 0 -.42em,-.173em -.812em 0 -.44em,-.256em -.789em 0 -.46em,-.297em -.775em 0 -.477em}20%{box-shadow:0 -.83em 0 -.4em,-.338em -.758em 0 -.42em,-.555em -.617em 0 -.44em,-.671em -.488em 0 -.46em,-.749em -.34em 0 -.477em}38%{box-shadow:0 -.83em 0 -.4em,-.377em -.74em 0 -.42em,-.645em -.522em 0 -.44em,-.775em -.297em 0 -.46em,-.82em -.09em 0 -.477em}}@keyframes loadnk{0%,100%,5%,95%{box-shadow:0 -.83em 0 -.4em,0 -.83em 0 -.42em,0 -.83em 0 -.44em,0 -.83em 0 -.46em,0 -.83em 0 -.477em}10%,59%{box-shadow:0 -.83em 0 -.4em,-.087em -.825em 0 -.42em,-.173em -.812em 0 -.44em,-.256em -.789em 0 -.46em,-.297em -.775em 0 -.477em}20%{box-shadow:0 -.83em 0 -.4em,-.338em -.758em 0 -.42em,-.555em -.617em 0 -.44em,-.671em -.488em 0 -.46em,-.749em -.34em 0 -.477em}38%{box-shadow:0 -.83em 0 -.4em,-.377em -.74em 0 -.42em,-.645em -.522em 0 -.44em,-.775em -.297em 0 -.46em,-.82em -.09em 0 -.477em}}@-webkit-keyframes round{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes round{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}

/* HEADER */

@media(max-width:990.9999px){
#header .navbar-brand{
	position: absolute;
	z-index: 10;
	top: 25px;
	left: 30px;
	margin-right: 0;
	width: 100px;
	height: auto;
}

.navbar{
	padding: 0;
}

#header .navigation{
	display: none;
	opacity: 0;
	
}
#header .navigation.show{
	display: flex;
	position: fixed;
	left: 0;
	top: 0;
	background-color: #fff;
	width: 75%;
	text-align: center;
	height: 100vh;
	flex-direction: column-reverse;
	align-items: center;
	justify-content: center;
	z-index: 4;
	opacity: 1;
	transition: opacity .4s;
	
  }
#header .vertical-text{
	transform: none;
	writing-mode: initial;
  }
  
  #header .navigation a{
	  display: block;
	  padding-bottom: 30px;
  }
}

@media(min-width:991px){
	#header .navbar-brand{
		position: fixed;
		top: 25px;
		left: 30px;
		margin-right: 0;
		width: 140px;
		height: auto;
	}
	
	#header {
		width: 200px;
		height: 100vh;
		position: fixed;
		background-color: #F0F0F0;
		top: 0;
		left: 0;
		display: flex;
		justify-content: center;
		align-items: center;
		border-right: 1px solid #BDBDBD;
	}
	
	#header .navigation a{
		margin-bottom: 30px;
	}
	
	.emailaddress{
		margin-bottom: 50px !important;
		transition: 0.4s;
	}
	
	.emailaddress:hover{
		text-decoration: none;
	}
	
	.emailaddress:hover svg path{
		fill: var(--orange);
		transition: 0.4s;
	}
	
}

.wpml-ls-legacy-list-horizontal {
	display: inline-block !important;
	padding: 0px !important;
	margin: 0px !important;
}

.wpml-ls-legacy-list-horizontal a span {
	vertical-align: unset !important;
}

/* FOOTER */

#footer a,#footer p{
	color: #fff !important;
}

#footer a:hover{
	color: #fff !important;
	text-decoration: underline;
}


/* PAGINE */

#content,#footer{
	width: 100%;
	overflow:hidden;
}

@media(min-width:991px){
	#content,#footer{
		width: calc(100% - 200px) !important;
		margin-left: auto;
	}
}

#hero-section{
	height: 100vh;
	display: flex;
	align-items: start;
	justify-content: end;
	background-position: top;
}

.hero-text {
	position: absolute;
	width: 80%;
	left: calc(200px + 5%);
	top: 5%;
	z-index: 2;
}

@media(max-width: 1300px){
	#hero-section {
		background-position: top right;	
	}
}

@media(max-width: 768px){
	#hero-section {
		height: 80vh;
		background-position: top right;	
		position: relative;
	}
	
	#hero-section::after{
		content: "";
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		position: absolute;
		background-color: rgba(0,0,0,0.35);
	}
	
	.hero-text {
		color: white;
	}
	
	.hero-text strong{
		color: #fff;
	}
		
	
}

@media(max-width:991px){
	.hero-text {
		position: absolute;
		top: 40%;
		left: 2%;
		z-index: 3;
	}

}

.navbar-light .navbar-toggler{
	position: fixed;
	right: 40px;
	top: 20px;
	z-index: 999;
	background-color: rgba(255,255,255,0.4);
}


.icon-container{
	position: relative;
}

.icon-container img{
	position: absolute;
	left: -80px;
	top: -25px;
	width: 55px;
	
}

@media(min-width: 991px){
	#accogliente {
		margin-top: -40px;
	}
}

#presentazione-progetto img{
	height: 50px;
}

@media(max-width:991px){
	
	
	.icon-container img{
		left: -55px;
	}

}

.separator01,.separator02{
	width: 100%;
	height: 1px;
	background-color: #BDBDBD;
}

.separator01.move,.separator02.move{
	animation-name: move;
	animation-duration: 2s;
	/* animation-fill-mode: forwards; */
}
@keyframes move {
  from {
	width: 0;
  }
  to {
	width: 100%;
  }
}

.carosello .slick-arrow{
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
}

.carosello-nav .right-arrow{
	position: absolute;
	right: -7%;
	bottom: 35%;
	z-index: 2;
}

.carosello-nav .left-arrow{
	position: absolute;
	left: -7%;
	bottom: 35%;
	z-index: 2;

}

.carosello-nav img{
	margin-left: 5px;
	margin-right: 5px;
}

.icona-accoglienze{
	position: absolute;
	right: 50px;
	bottom: 0;
	z-index: 1;
}

.icona-connessioni{
	position: absolute;
	left: 20px;
	bottom: -20px;
	z-index: 1;
}

@media(max-width:991px){
	.icona-connessioni{
		left: 10px;
		opacity:0.2;
	}
	.icona-accoglienze{
		right: 10px;
		opacity:0.2;
	}
}

#comfort strong{
	color: var(--orange);
}

/* BANNER COOKIE */

#banner-cookie {
	z-index: 2;
	width: 60vw;
	height: auto;
	padding: 30px;
	border-radius: 3px;
	position: fixed;
	bottom: 20px;
	right: 20px;
	background-color: #EFEFEF;
	font-size: .7rem;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	transition: .4s;
	-webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.201); 
	box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.196);
}

#close-banner {
	padding-left: 20px;
	font-size: 1.5rem;
	cursor: pointer;
}

#privacy-policy-button {
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 40px;
	height: 40px;
	background: #BDBDBD80;
	border-radius: 3px;
	z-index: 2;
	padding: 5px;
	display: flex;
	align-items: center;
	justify-content: center;
}