
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,700,800&display=swap');

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

*{
	box-sizing: border-box;
}

/************************************************/
/* 				Testo							*/
/************************************************/
h1{
	position: relative;
	top: 0rem;
	left: 0rem;
	margin: 0rem;
	padding: 1.0rem 0rem 1.0rem 0rem;
	font-size: 2rem;
	font-weight: bold;
	color: #151415;
}

body {
	margin: 0;
	padding: 0;
	text-align: left;	
	font: normal normal normal 1.4rem 'Open Sans', sans-serif;
	color: #151415;
	background: #faf9f8;
}

a{
	text-decoration: none;
	color: #526dc2;
}

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

.fa{
	padding: 0 1rem;
}

/************************************************/
/* 				Box principali					*/
/************************************************/
#container{
	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: 120rem;
	margin: 0 auto;
	padding: 0 5%;
}

@media (max-width: 767px) {
	.contenitore{
		position: relative;
		max-width: 100%;
		margin: 0 auto;
		padding: 0 8%;
	}
}
/************************************************/
/* 				Testata							*/
/************************************************/
#infoTestata{
	position: relative;
	width: 100%;
	padding: 0.8rem;
	background: #80baec;
	color: #ffffff;
	text-align: center;
}

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

#logo{
	position: relative;
	float: left;
	top: 0;
	left: 0%;
	width: 20%;
	text-align: left;
	padding: 1rem 0 0 0;
	z-index: 100;
}

#logo img{
	height: 10rem;
	display: inline-block;
}

#sfondoBanner{
	position: relative;
	width: 100%;
	background: #a2c9ea;
}

#banner{
	position: relative;
	top: 0;
	left: 0;
	overflow: hidden;
	max-width: 120rem;
	margin: 0 auto;
	height: 60vh;
}

#bannerIn{
	position: relative;
	top: 0;
	left: 0;
	overflow: hidden;
	max-width: 120rem;
	margin: 0 auto;
	height: 50vh;
}

#banner a, #bannerIn a{
	text-decoration: none;
}
/*
#banner img, #bannerIn img{
	width: 100%;
	display: inline-block;
}
*/

#velinaBanner{
	position: absolute;
	width: 100%;
	height: 100%;
	right: 0;
	top: 0;
	background: rgba(0, 0, 0, 0.2);
	z-index: 100;
	opacity: 0.1;
}

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

#titoloBanner{
	position: relative;
	width: 90%;
	margin: 0 auto;
	color: #ffffff;
	font-size: 3.4rem;
	text-align: center;
	z-index: 110;
}

#testoBanner{
	position: relative;
	width: 40%;
	margin: 0 auto;
	color: #ffffff;
	font-size: 1.4rem;
	text-align: center;
	padding-top: 2rem;
	z-index: 110;
}

#tastoBanner{
	display: none;
}

@media (max-width: 767px){
	#banner{
		height: 60vh;
	}

	#bannerIn{
		height: 40vh;
	}

	#titoloBanner{
		display: none;
	}

	#testoBanner{
		font-size: 2rem;
		font-weight: 700;
		width: 80%;
	}
	
	#spazioBanner{
		position:relative;
		width: 100%;
		height: 20%;
	}
}

#bannerNavPosition{
	position: absolute;
	left: 0%;
	width: 100%;
	bottom: 1.0rem;
	height: 2.5rem;
	z-index: 200;
	text-align: center;
	z-index: 110;
}

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

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

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

#corpo{
	position: relative;
	width: 100%;
	padding: 5rem 0;
}

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

#testo img{
	width: 100%;
	display: block;
	padding: 1rem 0;
}

.corpoSx{
	position: relative;
	float: left;
	width: 60%;
}

.corpoSx h3{
	background: #f0f0f0;
	padding: 1.6rem;
	font-weight: bold;
	font-size: 1.4rem;
	font-style: italic;
	border-left: 0.5rem solid #cccccc;
}

.corpoDx{
	position: relative;
	float: left;
	width: 40%;
	padding: 0 0 0 5%;
}

.corpoDx > ul{
	position: relative;
	top: 0;
	right: 0;
	margin: 0 auto; 
	padding: 0;
	list-style-type: none;
	font-size: 1.2rem;
	font-weight: 700;
	text-transform: uppercase;
}

.corpoDx > ul > li{
	position: relative;
	width: 100%;
	border-bottom: 0.1rem solid #526dc2;
	transition: background 0.5s;
	background-color: transparent;
}

.corpoDx > ul > li a{
	display: block;
	text-decoration: none;
	padding: 1rem 2%; 
	color: #526dc2;
	transition: color 0.5s;
}

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

.corpoDx > ul > li:hover{
	background-color: #526dc2;
}

.corpoDx > ul > li ul{
	display: none;
}


@media (max-width: 767px){
	#logo{
		position: relative;
		width: 50%;
		text-align: center;
	}
	
	#logo img{
		height: 8rem;
		display: inline-block;
	}
	
	.corpoSx, .corpoDx{
		float: left;
		width: 100%;
		padding: 0;
	}
}
/************************************************/
/* 				MenuText						*/
/************************************************/
#menu{
	position: relative;
	float: right;
	width: 80%;
	z-index: 101;
	margin: 2rem 0;
}

#nav{
}

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

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

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

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

/* secondo livello*/
#nav > ul > li ul{
	display: none;
	position: absolute;
	top: 100%;
	list-style-type: none;
	margin: 0;
	padding: 0;
	font-size: 1.2rem;
	width: 100%;
	left: 0%;
	background: #ffffff;
}

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

#nav > ul ul > li{
	position: relative;
	float: none;
	width: 100%;
	margin-top: 0.8rem;
}

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

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

@media only screen and ( max-width: 767px){
	#menu{
		width: 50%;
		height: auto;
		margin-top: 0rem;
	}
	
	#nav:not( :target ) > a:first-of-type,
	#nav:target > a:last-of-type{
		display: block;
	}
	
    /* first level */
    #nav > ul{
        height: auto;
        display: none;
        position: fixed;
		top: 0;
        right: -80%;
		z-index: 500;
		background-color: #ffffff;
		font-size: 1.4rem;
		width: 80%;
		height: 100%;
		padding-top: 1rem;
		overflow: auto;
		/*
			height: auto;
			display: none;
			position: absolute;
			right: 0%;
			background: #ffffff;
			top: 7rem;
			border-radius: 0.5rem; 
			box-shadow: 0.2rem 0.2rem 0.4rem #444444;
			overflow: hidden;
			width: 200%;
		*/
    }
	
	#nav:target > ul{
		display: block;
	}
	
	#nav > ul > li{
		width: 100%;
		float: none;
		border-bottom: 1px solid #526dc2;
	}
	
	#nav > ul > li a{
		color: #151415;
		padding: 2rem 0;
	}
	
    /* second level*/
	#nav > ul > li ul{
		position: relative;
		background: #bbdaf6;
		box-shadow: 0rem 0rem 0rem transparent;
	}
	
	#nav li:hover ul{
		display: block;
	}

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

	#nav > ul ul > li a{
		display: block;
		color: #151415;
		text-align: left;
		padding: 1.6rem 2%; 
		border-top: 0.1rem solid #cccccc;
	}

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

.tastoMenu{
	position: relative;
	float: right;
	margin: 3rem 1% 0 0;
	background: #ffffff;
	border-radius: 0.4rem;
	padding: 0.5rem;
	color: #526dc2;	
}

.tastoMenu:hover{
}

/************************************************/
/* 				Fine							*/
/************************************************/
#fine{
	position: absolute;
	width: 100%;
	bottom: 0rem;
	text-align: center;
	font-size: 1.2rem;
}

.homeFooterForm{
	position: relative;
	width: 100%;
	padding: 5rem 0;
	background: #f0f0f0;
	text-align: left;
}

.homeFooterForm50{
	position: relative;
	float: left;
	width: 45%;
	margin: 2rem 2.5%;
}

.homeFooter{
	position: relative;
	width: 100%;
	padding: 5rem 0;
	background: #bbdaf6;
	color: #526dc2;
}

.homeFooter33{
	position: relative;
	float: left;
	width: 30%;
	margin: 0 1.5%;
	text-align: center;
}

.homeFooter33 h1{
	font-size: 1.6rem;
	padding: 0;
	margin: 0 0 1rem 0;
	color: #526dc2;
}

.homeFooter33 > ul{
	position: relative;
	top: 0;
	right: 0;
	margin: 0 auto; 
	padding: 0;
	list-style-type: none;
	font-size: 1.2rem;
	font-weight: 700;
	text-transform: uppercase;
}

.homeFooter33 > ul > li{
	position: relative;
	width: 100%;
}

.homeFooter33 > ul > li a{
	display: block;
	text-decoration: none;
	padding: 0.4rem 0rem; 
	color: #526dc2;
}

.homeFooter33 > ul > li a:hover{
	text-decoration:none;
	color: #6797db;
}

.homeFooter33 > ul > li ul{
	display: none;
}

.homeFooter33 img{
	height: 8rem;
	margin: 0 auto;
}

@media (max-width: 767px){
	.homeFooter33{
		position: relative;
		float: none;
		width: 90%;
		margin: 2rem 5%;
		text-align: center;
	}
	
	.homeFooterForm50{
		float: none;
		width: 95%;
		margin: 2rem 2.5%;
	}

}

.fine{
	position: relative;
	width: 100%;
	padding: 5rem 0;
	background: #6797db;
	color: #ffffff;
}

/************************************************/
/* 				News							*/
/************************************************/
.boxNews33{
	position: relative;
	float: left;
	width: 28%;
	margin: 2rem 2.5%;
}

.boxNews50{
	position: relative;
	float: left;
	width: 45%;
	margin: 2rem 2.5%;
}

.boxNewsFotoExt{
	position: relative;
	width: 100%;
	overflow: hidden;
}

.boxNewsFotoInt{
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

.boxNewsFotoExt img, .boxNewsFotoInt img{
	width: 100%;
	display: block;
}

.boxNewsLinea{
	position: relative;
	width: 100%;
	height: 0.8rem;
	background: #80baec;
}

.boxNewsLineaAnim{
	position: absolute;
	width: 0%;
	height: 100%;
	background: #526dc2;
}

.boxNewsData{
	position: relative;
	width: 100%;
	padding: 0.4rem 0;
	text-align: right;
	color: #526dc2;
	font-style: italic;
	font-size: 1.2rem;
}

.boxNewsTitolo{
	position: relative;
	width: 100%;
	/*height: 4rem;*/
	top: 0;
	left: 0;
	font-size: 1.6rem;
	font-weight: 600;
	line-height: 1.8rem;
	color: #151415;
}

.boxNewsIntro{
	position: relative;
	width: 100%;
	height: 10rem;
	top: 0;
	left: 0;
	font-size: 1.4rem;
	color: #151415;
}

.boxNewsList{
	position: relative;
	float: left;
	width: 45%;
	margin: 2rem 2.5%;
}

.boxNewsList100{
	position: relative;
	width: 100%;
	margin: 2rem 0%;
}

.boxNewsListData{
	position: relative;
	width: 100%;
	padding: 0.4rem 0;
	text-align: left;
	color: #526dc2;
	font-style: italic;
	font-size: 1.2rem;
}

.boxNewsListTitolo{
	position: relative;
	width: 100%;
	top: 0;
	left: 0;
	font-size: 1.6rem;
	font-weight: 600;
	line-height: 1.8rem;
	padding: 0 0 0.8rem 0;
	color: #151415;
}

.boxNewsListIntro{
	position: relative;
	width: 100%;
	top: 0;
	left: 0;
	font-size: 1.4rem;
	color: #151415;
	padding: 0 0 0.4rem 0;
}

.boxNewsListLinea{
	position: relative;
	float: left;
	width: 80%;
	height: 1rem;
	background: #80baec;
	margin: 0.2rem 0 0 0;
}

.boxNewsListContinue{
	position: relative;
	float: left;
	width: 20%;
	font-size: 1rem;
	text-transform: uppercase;
	text-align: right;
	padding: 0;
	margin: 0;
}

@media only screen and ( max-width: 767px){
	.boxNews33, .boxNews50, .boxNewsList{
		position: relative;
		float: none;
		width: 100%;
		margin: 2rem 0%;
	}
	
	.boxNewsListLinea{
		width: 60%;
	}

	.boxNewsListContinue{
		width: 40%;
	}
	
	.boxNewsIntro, .boxNewsListIntro{
		height: auto;
	}
}

/************************************************/
/* 				News dettaglio					*/
/************************************************/
.newsFoto{
	position: relative;
	width: 100%;
	margin: 2rem 0 0 0;
}

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

.newsLinea{
	position: relative;
	width: 100%;
	height: 0.8rem;
	background: #80baec;
}

.newsData{
	position: relative;
	width: 100%;
	padding: 0.4rem 0;
	text-align: right;
	color: #526dc2;
	font-style: italic;
	font-size: 1.2rem;
}

.newsTesto{
	position: relative;
	width: 100%;
}

.newsTesto img{
	width: 100%;
	display: block;
	padding: 1rem 0;
}

/************************************************/
/* 				Chat							*/
/************************************************/
#chat{
	position: fixed;
	bottom: 0;
	right: 5%;
	width: 25rem;
	z-index: 20000;
	border: 0.1rem solid #526dc2;
	background: #ffffff;
	box-shadow: 0rem 0rem 1rem #444444;
	overflow: hidden;
}

.chat{
	height: 30rem;
}

.chiusa{
}

.ridotta{
	height: 3rem;
}

#chatChiudi, #chatRiduci, #chatEspandi{
	position: relative;
	float: right;
	width: 9%;
	padding: 0rem 0.4rem;
	text-align: center; 
	margin: 0 1%;
	cursor: pointer;
	border: 0.1rem solid 526dc2;
	display: none;
	cursor: pointer;
}

#chatChiudi:hover, #chatRiduci:hover, #chatEspandi:hover{
	background: #ffffff;
	color: #526dc2;
}

#chatBarra{
	position: relative;
	width: 100%;
	height: 3rem;
	background: #526dc2;
	color: #ffffff;
	font-weight: 700;
	font-size: 1.4rem;
	padding: 0.6rem 2%;
}

#chatIcon{
	position: relative;
	float: left;
	width: 9%;
	padding: 0rem 0.4rem;
	text-align: center; 
	margin: 0 1%;
	cursor: pointer;
}

.chatApri, .chatStato{
	position: relative;
	float: left; 
	width: 65%;
	cursor: pointer;
}

.chatStato{
	display: none;
}

#chatCorpo{
	position:relative;
	width: 100%;
	height: 21rem;
	padding: 0.2rem 2%;
	overflow: auto;
}

.messaggioUtente, .messaggioAdmin{
	position: relative;
	width: 90%;
	padding: 0.6rem 4%;
	border-radius: 1rem;
	background: #ffffff;
	overflow-x: hidden;
}

.messaggioUtente{
	margin: 0.6rem 0 0.6rem 10%;
	background: #dad8cc;
}

.messaggioAdmin{
	margin: 0.6rem 10% 0.6rem 0;
	background: #edece9;
}

#chatTesto{
	position:relative;
	width: 100%;
	height: 5rem;
	background: #fcfcfc;
}

#chatTesto form textarea{
	position: absolute;
	width: 80%;
	height: 100%;
	margin: 0.2rem 2%;
	padding: 0.4rem 2%;
	border: 0.1rem solid #cccccc;
	border-radius: 0.4rem;
	background: #fcfcfc;
	box-shadow: 0rem 0rem 0rem #444444;
	font-size: 1.4rem;
}

#chatTesto form input[type="submit"]{
	position: absolute;
	width: 16%;
	height: 100%;
	right: 1%;
	color: #526dc2;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	border: 0.1rem solid #526dc2;
}

#chatTesto form input[type="submit"]:hover{
	color: #ffffff;
	background:  #526dc2;
}

.fa-input {
  font-family: FontAwesome, 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/************************************************/
/* 				Media Video						*/
/************************************************/
.video{
	position: relative;
	height: 0;
	overflow: hidden;
	padding-bottom: 55%
}

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

/************************************************/
/* 				Info							*/
/************************************************/
#formNascosto{
	height: 0;
	overflow: hidden;
}

#formVisualizzato{
	display: inline-block;
	margin: 1rem 0%;
	padding: 1.4rem 5%;
	border: 0.1rem solid #526dc2;
	border-radius: 0.4rem;
	background: #526dc2;
	color: #ffffff;
	cursor: pointer;
	transition: background 0.4s, color 0.4s;
	font-family: 'Barlow Semi Condensed', sans-serif;
	font-weight: 600;
	font-size: 1.6rem;
	text-align: center;
}

#formVisualizzato:hover{
	background: #6797db;
	color: #ffffff;
}

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

.visible-mob{
	display: none;
}

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

}