@import url('https://fonts.googleapis.com/css?family=Fira+Sans:300,300i,400,400i,500,700|ZCOOL+XiaoWei&display=swap');


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: 1.8rem;
	font-weight: bold;
	color: #4D769E;
}

h3{
	position: relative;
	top: 0px;
	left: 0px;
	margin: 2rem 0;
	padding: 2.0rem;
	font-size: 1.4rem;
	font-weight: normal;
	font-style: italic;
	color: #ffffff;
	background: #7dafcd;
	border-left: 0.4rem solid #668bb7;
}

body {
	margin: 0;
	padding: 0;
	text-align: left;	
	font: normal normal normal 1.4rem 'Fira Sans', Geneva, sans-serif;
	color: #58585A;
}

a{
	text-decoration: none;
	color: #4D769E;
}

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

img{
	border:0;
	padding:0 .5rem;
	}
	
@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;
}

#containerIn{
	position: relative;
	min-height: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
}

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

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

@media (max-width: 767px) {
	.contenitore{
		position: relative;
		max-width: 100%;
		margin: 0 auto;
		padding: 0 8%;
	}
}
/************************************************/
/* 				Testata							*/
/************************************************/
#testata{
	position: absolute;
	width: 100%;
	height: 20.0rem;
	z-index: 100;
}

#logo{
	position: absolute;
	width: 80%;
	height: 30%;
	bottom: 2rem;
	left: 10%;
	text-align: center;
	z-index: 110;
}

#logo img{
	height: 100%;
}

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

#down{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 10%;
	text-align: center;
	cursor: pointer;
	z-index: 201;
}

#down img{
	height: 50%;
}

#bannerVelina{
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 50;
	background: -moz-radial-gradient(center, ellipse cover, rgba(30,87,153,0) 0%, rgba(0,0,0,0.6) 100%);
	background: -webkit-radial-gradient(center, ellipse cover, rgba(30,87,153,0) 0%,rgba(0,0,0,0.6) 100%);
	background: radial-gradient(ellipse at center, rgba(30,87,153,0) 0%,rgba(0,0,0,0.6) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#001e5799', endColorstr='#cc000000',GradientType=1 );
}

#bannerIn{
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	height: 50%;
	overflow: hidden;
}

#bannerTitolo{
	position: absolute;
	width: 40%;
	bottom: 15%;
	left: 10%;
	font-family: 'ZCOOL XiaoWei', serif;
	font-size: 5rem;
	color: #ffffff;
	z-index: 100;
	padding: 0.5rem 0;
}

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

#bannerTesto{
	position: absolute;
	width: 40%;
	right: -60%;
	bottom: 15%;
	z-index: 100;
	font-size: 3rem;
	text-align: right;
	border-right: 0.6rem solid #4D769E;
	padding: 0.5rem 1rem 0.5rem 0;
}

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

#corpo{
	position: relative;
	width: 100%;
	font-size: 1.6rem;
	line-height: 2.4rem;
	padding: 4rem 0;
}

#testo{
	width: 70%;
	float: right;
}

#sidebar{
	width: 25%;
	float: left;
	margin-top: 2.0rem;
}

/* primo livello*/
#sidebar > ul{
	position: relative;
	top: 0px;
	right: 0px;
	margin: 0 auto; 
	padding: 0px 0px 0px 0px;
	list-style-type: none;
	font-size: 1.6rem;
}

#sidebar > ul > li{
	position: relative;
	top: 0px;
	left: 0px;
	margin: 0px 0px 0px 0px; 
	text-align: left;
	border-bottom: 0.1rem dotted #444444;
}

#sidebar > ul > li a{
	display: block;
	text-decoration: none;
	padding: 0.4rem 0; 
	color: #336eb1;
}

#sidebar > ul > li a:hover{
	text-decoration:none;
	color: #598dc9;
}

/* secondo livello*/
#sidebar li ul{
	position: relative;
	top: 0px;
	right: 0px;
	width: 80%;
	margin: 0 auto; 
	padding: 0px 0px 0px 0px;
	list-style-type: none;
	font-size: 1.2rem;
}

#social{
	position: relative;
	width: 100%;
	padding: 1rem 0;
	font-size: 1.8rem;
	text-align: center;
	margin-top: 2rem;
}

#social i{
	padding: 0 1rem;
}

#social a{
	color: #4D769E;
	text-decoration: none;
}

#social a:hover{
	color: #668BB7;
	text-decoration: none;
}

@media (max-width: 767px){
	#logo{
		height: 8.0rem;
		text-align: center;
	}
	
	#testo{
		width: 100%;
		float: none;
	}

	#corpo{
		font-size: 1.6rem;
		line-height: 2.2rem;
	}	
	
	#bannerTitolo{
		position: absolute;
		width: 90%;
		bottom: 15%;
		left: 10%;
		text-shadow: 0.2rem 0.2rem 0.4rem #222222;
		font-size: 4rem;
	}

	#bannerTesto{
		width: 90%;
		bottom: 55%;
		font-size: 2.4rem;
		text-shadow: 0.2rem 0.2rem 0.4rem #222222;
	}
}
/************************************************/
/* 				MenuText						*/
/************************************************/
#menu{
	position: relative;
	width: 100%;
	z-index: 101;
}

#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;
}

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

#nav > ul > li:hover{
	background: #4D769E;
}

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

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

/* secondo livello*/
#nav li ul{
	display: none;
	position: relative;
	top: 100%;
	list-style-type: none;
	margin: 0;
	padding: 0;
	/*width: 200%;
	left: -50%;*/
	border-radius: 0.4rem;
	overflow: hidden;
	font-size: 1.4rem;
}

 #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: #598dc9;
}

@media only screen and ( max-width: 767px){
	#menu{
		position: relative;
		width: 100%;
		top: 1.0rem;
		height: 3.0rem;
	}

    #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;
        left: 0;
        right: 0;
		background: #4D769E;
		top: 5rem;
		font-size: 1.8rem;
    }
	
	#nav:target > ul{
		display: block;
	}
	
	#nav > ul > li{
		width: 100%;
		float: none;
		border-bottom: 1px solid #668BB7;
		paddin: 1.4rem 0;
	}
	
	#nav > ul > li:hover{
	}
	
	#nav > ul > li a{
		color: #ffffff;
	}
	
	#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 #668BB7;
		color: #ffffff;
	}

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

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

.tastoMenu:hover{
	color: #ffffff;
}

/************************************************/
/* 				Galleria						*/
/************************************************/
.fotoVelina{
	padding-top: 10%;
}

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

@media (max-width: 319px){
	#mappaGoogle{
		position:relative;
		width: 100%;
		height: 40rem;
	}
}
/************************************************/
/* 				Fine							*/
/************************************************/
#fine{
	position: absolute;
	width: 100%;
	bottom: 0rem;
	text-align: center;
	background: #ffffff;
	font-size: 1.2rem;
	border-top: 0.2rem dotted #4D769E;
}

.fine50{
	position: relative;
	float: left;
	width: 50%;
	padding: 0 5%;
}

#fineUno{
	position: relative;
	width: 100%;
	background: #f5f1e8;
	padding: 5rem 0;
}

#fineDue{
	position: relative;
	width: 100%;
	background: #58585a;
	padding: 5rem 0;
	color: #ffffff;
}

@media (max-width: 767px){
	.fine50{
		float: none;
		width: 100%;
		padding: 0 5%;
		text-align: center;
		margin: 2rem 0;
	}
}

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

.visible-mob{
	display: none;
}

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

/************************************************/
/* 				logo descrizione				*/
/************************************************/
.logoDescrizione{
	position: relative;
	width: 40%;
	margin: 2rem auto;
}

.logoDescrizione img{
	width: 100%;
	display: inline-block;
}

@media (max-width: 767px){
	.logoDescrizione{
		width: 100%;
	}
}
