@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap');

/*
	font-family: 'Titillium Web', sans-serif;
*/

html, body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	font-size: 62.2%;
}

*{
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
	box-sizing: border-box;
}

/************************************************/
/* 				Testo							*/
/************************************************/
h1{
	position: relative;
	top: 0px;
	left: 0px;
	margin: 0px 0px 0px 0px;
	padding: 2.0rem 0rem;
	font-size: 2rem;
	font-weight: 600;
}

h2{
	position: relative;
	top: 0px;
	left: 0px;
	margin: 0px 0px 0px 0px;
	padding: 2.0rem 0rem;
	font-size: 1.8rem;
	font-weight: 300;
}


body {
	margin: 0;
	padding: 0;
	text-align: left;	
	font-family: 'Titillium Web', sans-serif;
	font-size: 1.6rem;
	font-weight: 300;
	color: #222222;
}

a{
	text-decoration: none;
	color: #000000;
	font-weight: 300;
}

a:hover{
	text-decoration: underline;
	color: #000000;
}

@media (max-width: 767px) {
	h1{
		font-size: 3.0rem;
	}
}
/************************************************/
/* 				Box principali					*/
/************************************************/
#container{
	position: relative;
	min-height: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
}

#contenitore{
	position:relative;
	width: 100%;
	margin: 0 auto;
	padding: 0;

}

.contenitore{
	position: relative;
	max-width: 120rem;
	margin: 0 auto;
	padding: 0 5%;
}

.text-right{
	text-align: right;
}

.text-center{
	text-align: center;
}

@media (max-width: 767px) {
	.contenitore{
		position: relative;
		max-width: 100%;
		margin: 0 auto;
		padding: 0 8%;
	}
}
/************************************************/
/* 				Testata							*/
/************************************************/
#testata{
	position: fixed;
	width: 100%;
	padding: 0rem 0;
	z-index: 1000;
	background: rgba(31, 44, 53, 0.4);
}

#logo{
	display: none;
}

.fasciaContenuto{
	position: relative;
	width: 100%;
	padding: 4rem 0;
	text-align: center;
}

.bgBlu{
	background: #507189;
	color: #ffffff;
}

.bgBlu a, .bgBlu a:hover{
	color: #ffffff;!important
}

.fasciaContenuto a, .fasciaContenuto a:hover{
	text-decoration: none;
}

.fasciaGalleria{
	position: relative;
	width: 100%;
	margin-top: 2rem;
}

.fasciaParallaxGalleria{
	position: relative;
	height: 50vh;
}

.foto30, .foto50, .foto100{
	position: relative;
	float: left;
	margin: 4rem 1% 2rem 1%;
	overflow: hidden;
}

.foto30 img, .foto50 img, .foto100 img{
	width: 100%;
	display: block;
}

.foto30{
	width: 31.3%;
}

.foto50{
	width: 48%;
}

.foto100{
	width: 98%;
}

.fotoFasciaVelina{
	position: absolute;
	width: 100%;
	height: 0%;
	bottom: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.8);
	color: #ffffff;
	padding: 5rem 2% 0 2%;
	opacity: 0;
}

#titolo{
	position: relative;
	width: 100%;
	padding: 3rem 20% 3rem 20%;
	background: #8a8b91;
	text-align: center;
	color: #ffffff;
}

#corpo{
	position: relative;
	width: 100%;
	padding: 4rem 20% 4rem 20%;
	background: #ffffff;
	text-align: center;
}

#galleria{
	position: relative;
	width: 100%;
	padding: 4rem 20% 4rem 20%;
	background: #8a8b91;
	text-align: center;
	color: #ffffff;
}

@media (max-width: 767px){
	#titolo, #corpo, #galleria{
		padding: 8rem 5% 6rem 5%;
	}
}
	
/************************************************/
/* 				home							*/
/************************************************/
#boxBannerHome{
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	overflow: hidden;
}

#boxBannerIn{
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	height: 60vh;
	overflow: hidden;
}

#slides{
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 100;
	overflow: hidden;
}

.fasciaHome{
	position: relative;
	width: 100%;
	height: 60vh;
}

.tastiHome{
	position: absolute;
	bottom: 3rem;
	width: 100%;
	text-align: center;
	z-index: 500;
}

.tastoHome, .tastoHomeRosso{
	display: inline-block;
	background: rgba(0, 0, 0, 0.4);
	color: #ffffff;
	font-size: 2rem;
	letter-spacing: 0.2rem;
	padding: 1.8rem 3rem;
	transition: background 0.4s;
}

.tastoHome:hover{
	background: rgba(0, 0, 0, 0.9);
}

.tastoHomeRosso:hover{
	background: rgba(60, 11, 18, 0.9);
}

/**/
/************************************************/
/* 				MenuText						*/
/************************************************/
#menu{
	position: relative;
	bottom: 0rem;
	right: 0;
	width: 100%;
	padding: 2rem 0;
}

#logoMenu{
	position:relative;
	float: left;
	width: 100%;
	height: 9rem;
	text-align: center;
}

#nav > ul > li > #logoMenu a, #nav > ul > li > #logoMenu a:hover{
	padding: 0; 
	border: 0;
}

#logoMenu img{
	height: 9rem;
	display: inline-block;
}

#menuIn #logoMenu{
	position:relative;
	float: left;
	width: 100%;
	height: 12rem;
	text-align: center;
}

#menuIn #nav > ul > li > #logoMenu a, #menuIn #nav > ul > li > #logoMenu a:hover{
	padding: 1rem 0; 
	border: 0;
}

#menuIn #logoMenu img{
	height: 9rem;
	display: inline-block;
} 

.lineaMenu{
	position: absolute;
	width: 0%;
	height: 0.8rem;
	background: #ffffff;
	bottom: 0;
	left: 50%;
	opacity: 0;
}

#nav{
}

#nav > a{
    display: none;
}

#nav li{
    position: relative;
}
 
/* primo livello*/
#nav > ul{
	position: relative;
	top: 0;
	right: 0;
	margin: 0 auto; 
	padding: 0;
	list-style-type: none;
	font-size: 1.8rem;
	text-transform: uppercase;
	font-weight: 300;
}

#nav > ul > li{
	position: relative;
	float: left;
	top: 0px;
	left: 0px;
	margin: 0px 0px 0px 0px; 
	text-align: center;
	width: 14.285714285714%;
	transition: background 0.4s;
}

#nav > ul > li:hover{
}

#nav > ul > li a{
	display: block;
	text-decoration: none;
	padding: 2rem 0 2rem 0; 
	color: #ffffff;
	
}

#menuIn #nav > ul > li a{
	display: block;
	text-decoration: none;
	padding: 4rem 0 2rem 0; 
	color: #ffffff;
}

#nav > ul > li a:hover{
	text-decoration:none;
	color: #ffffff;
}

.corrente .lineaMenu{
	width: 100%!important;
	opacity: 0.8!important;
	left: 0!important;
}

/* secondo livello*/
#nav li ul{
	display: none;
	position: absolute;
	top: 100%;
	list-style-type: none;
	margin: 0;
	padding: 0;
	width: 100%;
	overflow: hidden;
	font-size: 1.4rem;
	background: #1b1617;
}

 #nav li:hover ul{
    //display: block;
}

#nav > ul ul > li{
	position: relative;
	width: 100%;
}

#nav > ul ul > li a{
	display: block;
	text-align: center;
	padding: 0.8rem 0rem; 
	color: #ffffff;
}

#nav > ul ul > li a:hover{
	text-decoration:none;
	color: #ffffff;
}

@media only screen and ( max-width: 767px){
	#logo{
		position: relative;
		float: left;
		width: 20%;
		display: block;
	}
	
	#logo img{
		height: 7rem;
		margin: 1rem 0;
	}
	
	#titoloTestata{
		position: relative;
		float: left;
		width: 60%;
		color: #ffffff;
		z-index: 200;
		text-align: center;
		font-size: 2.4rem;
		line-height: 2.8rem;
		font-weight: 600;
		padding: 2rem 0;
	}

	#menu, #menuIn{
		position: relative;
		float: left;
		width: 20%;
		padding: 2rem 0 0 0;
	}

    #nav{
        position: relative;
    }
    
	#nav > a{
    }
	
	#nav:not( :target ) > a:first-of-type,
	#nav:target > a:last-of-type
	{
		display: block;
	}
	
    /* first level */
 
    #nav > ul{
        height: auto;
        display: none;
        position: absolute;
        right: 0%;
		background: #8a8b91;
		top: 5rem;
		font-size: 1.8rem;
		width: 500%;
		z-index: 1000;
    }
	
	#nav:target > ul{
		display: block;
	}
	
	#nav > ul > li{
		width: 100%;
		float: none;
		padding: 0 5%;
	}
	
	#nav > ul > li:hover{
		background: #1b1617;
	}
	
	#nav > ul > li a{
		color: #ffffff;
		paddin: 1.4rem 0;
	}
	
	#nav > ul > li a:hover{
		color: #ffffff;
	}
	
    /*second level */
	#nav li ul{
		position: relative;
		text-align: left;
	}
	
	#nav li:hover ul{
		//display: block;
	}

	#nav > ul ul > li{
		position: relative;
		width: 100%;
		border: 0;
	}

	#nav > ul ul > li a{
		display: block;
		text-align: left;
		padding: 0.8rem 5%;
		border-top: 1px solid #8a8b91;
		color: #ffffff;
	}

	#nav > ul ul > li a:hover{
		text-decoration:none;
		color: #ffffff;
	}
	
}

.tastoMenu{
	position: relative;
	float: right;
	margin: 0rem 5%;
	background: #1b1617;
	border-radius: 4rem;
	padding: 0.6rem 1rem;
	color: #ffffff;
	line-height: 0;
}

.tastoMenu:hover{
	color: #ffffff;
}

/************************************************/
/* 				Premi e certificazioni			*/
/************************************************/
#premi{
	position: relative;
	width: 100%;
	padding: 4rem 0;
	background: #507189;
	text-align: center;
	color: #ffffff;
}

#certificazioni{
	position: relative;
	width: 100%;
	padding: 4rem 0;
	background: #ffffff;
	text-align: center;
	color: #507189;
}

#certificazioni img{
	height: 8rem;
	display: inline-block;
	padding: 0 0.6rem;
}

/************************************************/
/* 				Fine							*/
/************************************************/
#fine{
	position: absolute;
	width: 100%;
	bottom: 0rem;
	background: #507189;
	font-size: 1.2rem;
	color: #ffffff;
}

#fineInfo{
	position: relative;
	width: 100%;
}

.fineBox{
	position: relative;
	float: left;
	top: 0;
	left: 0;
	width: 26%;
	margin: 4rem 3.5%;
}

.fineBox img{
	height: 14rem;
}

.fineBox h1{
	color: #ffffff;
	text-transform: uppercase;
	margin: 0;
	padding: 0;
}

.fineBox a, .fineBox a:hover{
	color: #ffffff;
	text-decoration: none;
	font-weight: normal;
}

#footer{
	position: relative;	
	margin: 0 auto;
	background: #9b1e2f;
	padding: 2rem 4%;
	text-align: center;
}

@media (max-width: 767px){

	#fineBox{
		width: 100%;
	}
	
	.fineBox{
		float: none;
		width: 100%;
		margin: 2rem 0%;
		text-align: center;
	}
	
}

/************************************************/
/* 				Utilità							*/
/************************************************/
.vuoto {
	clear:both;
}

.visible-mob{
	display: none;
}

@media (max-width: 767px){
	.visible-mob{
		display: block;
	}
	
	.hidden-mob{
		display: none;
	}
}