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: 0 0 2rem 0;
	padding: 2.0rem 0rem 2rem 0;
	font-size: 1.8rem;
	font-weight: 700;
	color: #ffffff;
}

h1 a, h1 a:hover{
	text-decoration: none;
}

.h1Sottolineato{
	position:absolute;
	bottom: 0;
	left: 0;
	width: 4rem;
	height: 0.8rem;
	background: #e5352d;
}

.backgroundChiaro{
	background: #4b4b4d;
}

.backgroundScuro{
	background: #38373a;
}

body {
	margin: 0;
	padding: 0;
	text-align: left;	
	font: normal normal normal 1.4rem 'Istok Web', Geneva, sans-serif;
	color: #444444;
}

a{
	text-decoration: none;
	color: #e5352d;
}

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

#contenitore{
	position:relative;
	width: 100%;
	margin: 0 auto;
	padding-bottom: 8rem;
}

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

.testoIn{
		max-width: 100rem;
}

@media (max-width: 1400px) {
	.contenitore{
		max-width: 120rem;
	}
}

@media (max-width: 767px) {
	.contenitore{
		position: relative;
		max-width: 100%;
		margin: 0 auto;
		padding: 0 8%;
	}
}
/************************************************/
/* 				Testata							*/
/************************************************/
#lingueSocial{
	position: relative;
	width: 100%;
	background: #ffffff;
	padding: 2rem 0 2rem 0; 
}

#social{
	position: relative;
	float: left;
	width: 75%;
}

#social i{
	float: right;
	margin: 0 1rem;
	font-size: 2rem;
}

#social a{
	color: #000000;
	transition: color 0.2s;
}

#social a:hover{
	color: #4b4b4d;
}

#testata{
	position: relative;
	width: 100%;
	background: #38373a;
}

#logo{
	position: relative;
	float: left;
	width: 25%;
	left: 0;
	text-align: left;
	padding: 2rem 0;
}

#logo img{
	width: 100%;
	max-width: 25rem;
}

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

@media (max-width: 767px) {
	#logo{
		position: relative;
		float: left;
		width: 50%;
		left: 0;
		text-align: left;
		padding: 2rem 0;
	}

	#logo img{
		width: 100%;
		max-width: 25rem;
	}
	
	#social i{
		margin: 0 0.6rem;
	}
}
/********************************************************/
#bannerNavPosition{
	position: absolute;
	left: 0%;
	width: 100%;
	bottom: 1.0rem;
	height: 2.5rem;
	z-index: 200;
	text-align: center;
}

span.linkFoto{
	display: inline-block;
	border-radius: 2.2rem;
	width: 1.2rem;
	height: 1.2rem;
	background: #ffffff;
	border: 0.1rem solid #ffffff;
	margin: 0rem 0.5rem;
	cursor: pointer;
	box-shadow: 0.4rem 0.4rem 0.8rem #000000;
}

span.linkFotoEv{
	background: #e5352d;
	border: 0.1rem solid #e5352d;
	border-radius: 2.2rem;
	margin: 0rem 0.5rem;
}

/********************************************************/
#testoBanner{
	z-index: 1000;
	background: rgba(0, 0, 0, 0.4);
	text-align: center;
	font-size: 1.6rem;
	text-transform: lowercase;
	opacity: 0;
	width: 100%;
	height: 100%;
}

#testoBanner a, #testoBanner a:hover{
	color: #ffffff;
	text-decoration: none;
}

#spazioBanner{
	position: relative;
	width: 100%;
	height: 40%;
}

#boxBannerExt{
	position: relative;
	max-width: 140rem;
	margin: 0 auto;
	padding: 0;
	overflow: hidden;
	height: 13rem;
}

#boxBannerInt{
	position: absolute;
	height: 100%;
	width: 100%;
}

.boxBanner{
	position:relative;
	float: left;
	width: 33%;
	padding: 0 5%;
}

.boxBanner h1{
	padding-top: 0;
}

@media (max-width: 1400px){
	#boxBannerExt{
		position: relative;
		max-width: 120rem;
		margin: 0 auto;
		padding: 0;
		overflow: hidden;
		height: 15rem;
	}
}

@media (max-width: 767px){
	.boxBanner{
		position:relative;
		float: none;
		width: 100%;
		padding: 0 5%;
	}
}

/************************************************/
/* 				Anteprima home					*/
/************************************************/
#anteprimaHome{
	position: relative;
	widh: 100%;
	padding: 4rem 0;
	background: #4b4b4d;
}

.boxHome{
	position: relative;
	float: left;
	width: 20%;
	margin: 0 2.5%;
	border: 1rem solid #38373a;
}

.boxHome img{
	width: 100%;
	display: block;
}

.boxTesto{
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: #38373a;
	z-index: 100;
	opacity: 0;
	transition: opacity 0.4s;
	color: #ffffff;
	text-align: center;
	padding-top: 25%;
	cursor: pointer;
}

.boxTesto:hover{
	opacity: 1;
}

.boxTesto h1{
	text-align: center;
	font-size: 1.6rem;
	margin: 0;
	padding: 0;
}

@media (max-width: 767px){
	.boxHome{
		position: relative;
		float: none;
		width: 95%;
		margin: 2rem 2.5%;
		border: 1rem solid #38373a;
	}
}

/************************************************/
/* 				Corpo							*/
/************************************************/
#corpo{
	position: relative;
	width: 100%;
	padding: 4rem 0;
	background: #38373a;
	color: #ffffff;
}

@media (max-width: 767px){
}

/************************************************/
/* 				MenuText						*/
/************************************************/
#menu{
	position: absolute;
	width: 70%;
	height: auto;
	bottom: 0;
	right: 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.4rem;
}

#nav > ul > li{
	position: relative;
	float: left;
	top: 0;
	left: 0;
	margin: 0; 
	text-align: center;
	width: 20%;
}

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

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

#nav > ul > li.corrente {
}

.corrente{
	background: #e5352d;
}

@media only screen and ( max-width: 767px){
	#menu{
		position: relative;
		float: right;
		width: 50%;
		padding-top: 1rem; 
		z-index: 100;
	}

    #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;
        right: 0;
		z-index: 100;
		background-color: #4b4b4d;
		top: 5rem;
		z-index: 100;
		font-size: 1.8rem;
		width: 200%;
    }
	
	#nav:target > ul{
		display: block;
	}
	
	#nav > ul > li{
		width: 100%;
		float: none;
		border-bottom: 1px solid #444444;
		paddin: 1.4rem 0;
		background: rgba(0,0,0, 0);
	}
	
	#nav > ul > li:hover{
		background: rgba(0,0,0, 0);
	}
	
	#nav > ul > li a{
		color: #ffffff;
	}
	
	#nav > ul > li a:hover{
		color: #ffffff;
	}	
}

.tastoMenu{
	position: relative;
	float: right;
	margin: 1rem 5%;
	border-radius: 4rem;
	padding: 0.6rem 1rem;
	color: #e5352d;
	line-height: 0;
	font-size: 1.2rem;
}

.tastoMenu:hover{
	color: #ffffff;
}

#nav > ul > li .sottolineato{
	position:absolute;
	bottom: 0;
	left: 40%;
	width: 20%;
	height: 0.8rem;
}

#nav > ul > li:hover .sottolineato{
	background: #e5352d;
	transition: background 0.2s linear;
}

.sottovoce{
	position:relative;
	width: 100%;
	font-size: 1.2rem;
	font-weight: 400;
}

.lineaSottovoce{
	position:absolute;
	top: -0.2rem;
	left: 0;
	width: 4rem;
	height: 0.4rem;
	background: #e5352d;
}

/************************************************/
/* 				Menu interno					*/
/************************************************/
#menuInterno{
	position:relative;
	width: 100%;
}

#menuInterno ul{
	position:relative;
	width: 100%;
	font-size: 1.4rem;
	margin: 0;
	padding: 0;
	color: #ffffff;
	list-style-type: none;
}

#menuInterno ul li{
	position:relative;
	display: inline-block;
	top: 0;
	width: 25%;
	margin: 1rem 0%;
	vertical-align: top;
}

#menuInterno ul li a{
	color: #ffffff;
	text-decoration: none;
	display: block;
	padding: 1rem 1%;
	font-weight: 700;
}

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

#menuInterno li ul{
	position:relative;
	width: 90%;
	top: 0;
	left: 0;
	font-size: 1.2rem;
	margin: 0 auto;
	padding: 0;
	color: #ffffff;
	list-style-type: circle;
}

@media (max-width: 767px){
	#menuInterno ul li{
		width: 100%;
	}
}

/************************************************/
/* 				Menu lingue						*/
/************************************************/
#menuLingue{
	position:relative;
	float: left;
	width: 25%;
	padding: 0 0%;
}

#menuLingue > ul{
	position: relative;
	top: 0;
	right: 0;
	margin: 0 auto; 
	padding: 0;
	list-style-type: none;
	font-weight: 700;
}

#menuLingue > ul > li{
	position: relative;
	float: left;
	top: 0px;
	left: 0px;
	margin: 0; 
	text-align: center;
	padding: 0rem 0.4rem;
}

#menuLingue > ul > li a{
	color: #4b4b4d;
	text-decoration: none;
	padding: 0rem 0rem;
	font-weight: 400;
	font-size: 1.4rem;
}

#menuLingue > ul > li a:hover{
	color: #e5352d;
	text-decoration: none;
	font-weight: 400;
}

/************************************************/
/* 				Galleria						*/
/************************************************/
#galleria{
	position:relative;
	background: #4b4b4d;
	padding: 4rem 0;
}

.foto{
	position: relative;
	float: left;
	width: 20%;
	border-right: 1rem solid #38373a;
	border-left: 1rem solid #38373a;
}

.foto img{
	padding: 0;
	margin: 0;
	width: 100%;
	display: block;
}

.fotoHover{
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: #38373a;
	z-index: 100;
	opacity: 0;
	transition: opacity 0.4s;
	color: #ffffff;
	text-align: center;
	padding-top: 25%;
	cursor: pointer;
}

.fotoHover:hover{
	opacity: 0.8;
}

.fotoHover h1{
	text-align: center;
	font-size: 1.6rem;
	margin: 0;
	padding: 0;
}

@media (max-width: 767px){
	.foto{
		position: relative;
		float: left;
		width: 33.3%;
		border: 0;
	}
}

@media (max-width: 319px){
	.foto{
		position: relative;
		float: left;
		width: 50%;
		border: 0;
	}
}

/************************************************/
/* 				Embed							*/
/************************************************/
#embed{
	position:relative;
	background: #4b4b4d;
	padding: 4rem 0;
	color: #ffffff;
}

#embed h2{
	position: relative;
	width: 100%;
	text-align: center;
	
}

#embedExt{
	position: relative;
	width: 100%;
	max-width: 50rem;
	border: 0.8rem solid #38373a;
	margin: 0rem auto;
}

.embed{
	position: relative;
	height: 0;
	overflow: hidden;
	padding-bottom: 56.5%;
	width: 100%;
}

.embed iframe,
.embed object,
.embed embed {
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

@media (max-width: 767px){
	#embedExt{
		position: relative;
		width: 80%;
	}
}

/************************************************/
/* 				Mappa							*/
/************************************************/
#mappaGoogle{
	position:relative;
	width: 100%;
	height: 30rem;
}

@media (max-width: 319px){
	#mappaGoogle{
		position:relative;
		width: 100%;
		height: 40rem;
	}
}

/************************************************/
/* 				Footer							*/
/************************************************/
#footer{
	position: relative;
	width: 100%;
	background: #38373a;
	padding: 4rem 0;
}

.footer{
	position:relative;
	float: left;
	width: 33%;
	padding: 0 3%;
	color: #ffffff;
}

.footer h1{
	padding-top: 0;
}

@media (max-width: 767px){
	.footer{
		position:relative;
		float: none;
		width: 100%;
		padding: 2rem 3%;
		color: #ffffff;
	}
}
/************************************************/
/* 				Fine							*/
/************************************************/
#fine{
	position: absolute;
	width: 100%;
	bottom: 0rem;
	text-align: center;
	background: #ffffff;
	font-size: 1.2rem;
	height: 6rem;
	padding: 0rem 0;
}

span.fineDx{
	float: right;
}

@media (max-width: 767px){
	#fine{
	}
}

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

.visible-mob{
	display: none;
}

.hidden-mob{
}

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