@import url('https://fonts.googleapis.com/css2?family=Kristi&family=Mulish:wght@300;400;600&display=swap');

/*
font-family: 'Kristi', cursive;
font-family: 'Mulish', sans-serif;
*/

.testoBlu{
	color: #058DB6;
}

.testoArancione{
	color: #EB8535;
}
.testoRosso{
	color: #DC3838;
}

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

*{
	-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: 5rem;
	font-family: 'Kristi', cursive;
	font-weight: 400;
}

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: 'Mulish', sans-serif;
	font-size: 1.6rem;
	font-weight: 300;
	color: #4A4A49;
}

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

/********************************************************/
/* 				Form generica							*/
/********************************************************/
form label{
	position: relative;
	width: 100%;
	padding: 0;
	font-weight: bold;
	padding-top: 0.4rem;
}

form input[type="text"], form input[type="password"], form textarea, form select{
	position: relative;
	width: 100%;
	border: 0.1rem solid #ccc;
	padding: 0.6rem 1%;
	border-radius: 0.4rem;
	margin: 0 0 1rem 0;
	font-size: 1.4rem;
}

form input[type="text"]:focus, form input[type="password"]:focus, form textarea:focus, form select:focus{
	border: 0.1rem solid #1D71B8;
	box-shadow: 0.1rem 0.1rem 0.4rem #c8c8c8;
}

form textarea{
	min-height: 10rem;
	font-family: 'KoHo', sans-serif;
	font-size: 1.2rem;
	color: #444444;
}

form select{
	color: #444444;
}

form input[type='radio'], input[type='checkbox'] {
	cursor: pointer;
	margin: 5px 0;
}

form input[type="submit"], form input[type="reset"]{
	position: relative;
	width: 99%;
	margin: 1rem 1%;
	padding: 1.4rem 2%;
	border: 0.1rem solid #1D71B8;
	background: #1D71B8;
	color: #ffffff;
	cursor: pointer;
	transition: background 0.4s, color 0.4s;
	font-family: 'KoHo', sans-serif;
	font-weight: 600;
	font-size: 1.4rem;
}

form input[type="submit"]:hover, form input[type="reset"]:hover{
	background: #1D71B8;
	color: #ffffff;
}

.errore{
	color: #cf3838;
}

span.errore{
	font-size: 1.1rem; 
	color: #cf3838;
}

/************************************************/
/* 				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 1%;
}

.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: relative;
	width: 100%;
	padding: 0rem 0;
	z-index: 1000;
	background: #fffef7;
	top: 0;
}

#menuLingue{
	position: relative;
	float: left;
	width: 25%;
	padding: 0;
	margin: 0.6rem 0;
	text-align: left;
}

#menuLingue ul{
	position: relative;
	top: 0;
	right: 0;
	margin: 0 auto; 
	padding: 0;
	list-style-type: none;
	font-size: 1.4rem;
	text-transform: uppercase;
	font-weight: 300;
}

#menuLingue li{
	display: inline-block;
	padding: 0.4rem 2%;
	font-size: 1.6rem;
	font-weight: 700;
	color: #4A4A49;
}

#menuLingue li a{
	color: #1D71B8;
	font-weight: 700;
}

@media only screen and ( max-width: 767px){
	#testata{
		position: relative;
		width: 100%;
		padding: 0rem 0;
		z-index: 1000;
		background: #ffffff;
	}
	
	#testata .contenitore{
		position: relative;
		max-width: 100%;
		margin: 0 auto;
		padding: 0 2%;
	}	
}

/************************************************/
/* 				Testata							*/
/************************************************/
#logo{
	position: relative;
	float: left;
	width: 20%;
	display: block;
}

#logo img{
	height: 10rem;
}

#titolo{
	position: relative;
	width: 100%;
	padding: 0;
	margin: 0 auto;
	text-align: center;
	background: #1D71B8;
}

#titolo h1{
	color: #fff;
	font-size: 3rem;
}

#corpo{
	position: relative;
	float: left;
	width: 60%;
	padding: 4rem 0;
}

#galleria{
	position: relative;
	float: left;
	width: 38%;
	padding: 4rem 0;
	text-align: center;
	color: #ffffff;
	margin: 0 0 0 2%;
}

@media (max-width: 767px){
	#corpo, #galleria{
		float: left;
		width: 100%;
		margin: 0;
	}
}

/************************************************/
/* 				home							*/
/************************************************/
#bannerHome{
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	height: 80vh;
	overflow: hidden;
}

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

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

#testoSlides{
	position: absolute;
	bottom: 10%;
	width: 50%;
	left: 25%;
	text-align: right;
	z-index: 500;
	color: #ffffff;
	line-height: 2.4rem;
	text-align: center;
}

#titoloSlide{
	display: inline-block;
	text-align: left;
	/*background: rgba(0, 0, 0, 0.1);*/
	padding: 1.4rem 5%;
	text-align: center;
	text-shadow: 0.4rem 0.4rem 0.4rem #000000;
}

.nomeSlide{
	position: relative;
	font-size: 8rem;
	letter-spacing: 0.2rem;
	line-height: 10rem;
	font-family: 'Kristi', cursive;
} 

.descrizioneSlide{
	position: relative;
	font-weight: 300;
	font-size: 1.8rem;
	padding-top: 0.6rem;
}

@media (max-width: 767px) {
	
	#bannerHome{
		position: relative;
		top: 0;
		left: 0;
		width: 100%;
		height: 50vh;
		overflow: hidden;
	}
	
	.nomeSlide{
		position: relative;
		font-weight: 400;
		font-size: 2.6rem;
		letter-spacing: 0.2rem;
		line-height: 5rem;
	} 

	.descrizioneSlide{
		position: relative;
		font-weight: 300;
		font-size: 1.2rem;
		padding-top: 0.6rem;
	}
}


#fasciaCalendario{
	position: relative;
	padding: 5rem 0;
	background: #058DB6;
	color: #fff;
}

.calendarSx{
	position: relative;
	float: left;
	width: 50%;
	padding: 8rem 8% 0 8%;
}

.calendarSx a, .calendarSx a:hover{
	color: #fff;
	font-weight: 600;
	text-decoration: underline;
}

.calendarDx{
	position: relative;
	float: left;
	width: 50%;
	padding: 0rem 0%;
}

#fasciaEventi{
	position: relative;
}

.eventoEvidenza{
	position: relative;
	float: left;
	width: 46%;
	margin: 4rem 2% 2rem 2%;
	text-align: center;
	font-size: 2rem;
}

.eventoEvidenza img{
	width: 100%;
	display: block;
	margin: 0 0 1rem 0;
}

.evento{
	position: relative;
	float: left;
	width: 21%;
	margin: 2rem 2% 4rem 2%;
	text-align: center;
	font-size: 2rem;
	background: #EB8535;
}

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

.eventoTesto{
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	flex-direction: column;	
	justify-content: center;
	font-size: 2.6rem;
}

#fasciaAttivita{
	position: relative;
	padding: 5rem 0;
	background: #FCF5D0;
}

.fasciaAattivita{
	position: relative;
	float: left;
	width: 29.3%;
	margin: 2rem 2%;
	text-align: center;
	font-size: 2rem;
}

.fasciaAattivita a, .fasciaAattivita a:hover{
	font-weight: 400;
	text-decoration: underline;
}

@media only screen and ( max-width: 767px){
	.calendarSx, .calendarDx, .eventoEvidenza, .evento, .fasciaAattivita{
		float: none;
		width: 100%;
	}
}

/************************************************/
/* 				Eventi							*/
/************************************************/
.eventoDettSx{
	position: relative;
	float: left;
	width: 40%;
}

.eventoDettSx img{
	width: 100%;
}

.eventoDettDx{
	position: relative;
	float: left;
	width: 55%;
	margin: 0 0 0 5%;
}

.eventoElenco{
	position: relative;
	width: 100%;
	border-top: 0.2rem solid #1D71B8;
	margin: 0 0 4rem 0;
}

.eventoData{
	position: relative;
	float: left;
	width: 15%;
	margin: 2rem 0%;
	text-align: center;
	background: #EB8535;
}

.eventoData .eventoTesto{
	color: #fff;
	font-size: 1.8rem;
	font-weight: normal:
}

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

.eventoInfo{
	position: relative;
	float: right;
	width: 80%;
	margin: 2rem 0;
	text-align: left;
	font-size: 2rem;
}

.eventoInfo h3{
	margin: 1rem 0;
}

.eventoInfo img{
	width: 50%;
	float: left;
	margin: 0 2rem 2rem 0;
}

@media only screen and ( max-width: 767px){
	
	.eventoDettSx, .eventoDettDx{
		float: none;
		width: 100%;
		margin: 0;
	}
	
	.eventoData{
		position: relative;
		float: none;
		width: 50%;
		margin: 2rem 0%;
	}

	.eventoInfo{
		position: relative;
		float: none;
		width: 100%;
		margin: 2rem 0;
	}

	.eventoInfo img{
		width: 100%;
		float: none;
		margin: 0;
	}

}
/************************************************/
/* 				MenuText						*/
/************************************************/
#menu{
	position: relative;
	float: right;
	bottom: 0rem;
	right: 0;
	width: 80%;
	padding: 1rem 0;
}

.lineaMenu{
	position: absolute;
	width: 0%;
	height: 0rem;
	background: #1D71B8;
	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: lowercase;
	font-weight: 300;
}

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

#nav > ul > li:hover{
}

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

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

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

#nav > ul > li.corrente a{
	text-decoration:none;
	color: #1D71B8;
}

.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: #00A7E7;;
}

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

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

@media only screen and ( max-width: 767px){
	#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: #ffffff;
		top: 6rem;
		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: #ffffff;
	}
	
	#nav > ul > li a{
		color: #4A4A49;
		paddin: 1rem 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 #ffffff;
		color: #ffffff;
	}

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

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

.tastoMenu:hover{
	color: #ffffff;
}

/************************************************/
/* 				Fine							*/
/************************************************/
#fine{
	position: absolute;
	width: 100%;
	bottom: 0rem;
	background: #4A4A49;
	color: #FCF5D0;
}

#fineContatti{
	position: relative;
	width: 100%;
	padding: 4rem 5%;
	text-align: center;
}

#fineInfo{
	position: relative;
	width: 100%;
	padding: 2rem 5%;
	text-align: center;
	background: #4A4A49;
	font-size: 1.4rem;
}

#fineDati{
	position: relative;
	width: 100%;
	padding: 2rem 5%;
	text-align: center;
	background: #4A4A49;
	font-size: 1.4rem;
}

.fineBox{
	position: relative;
	float: left;
	top: 0;
	left: 0;
	width: 30.3%;
	margin: 4rem 1.5%;
	text-align: left;
}

.fineBox h2{
}

.fineBox i{
	color: #FCF5D0;
	margin: 0 2%;
}

.fineBox img{
	width: 17%;
	margin: 0 1%;
}

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

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

.fineBox ul{
	position: relative;
	top: 0;
	right: 0;
	margin: 0; 
	padding: 0;
	list-style-type: none;
	z-index: 100;
}

.fineBox li{
	position: relative;
	width: 100%;
	top: 0px;
	left: 0px;
}

.fineBox li a{	
	display: block;
	text-decoration: none;
	padding: 0.4rem 0; 
}

.fineBox li a:hover{	
	display: block;
	text-decoration: none;
}

.fineBox li #logoMenu{
	height: 0;
	display: none;
}

@media (max-width: 767px){

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

/************************************************/
/* 				Foto							*/
/************************************************/
.foto{
	position: relative;
	float: left;
	width: 30.3%;
	margin: 0rem 1.5% 4rem 1.5%;
}

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

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


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

.visible-mob{
	display: none;
}

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