
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@100;400;700&family=Varela&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oooh+Baby&display=swap');

/*
font-family: 'Oooh Baby', cursive;
font-family: 'Lato', sans-serif;
font-family: 'Varela', sans-serif;
*/

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

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

/************************************************/
/* 				Testo							*/
/************************************************/
h1{
	position: relative;
	top: 0;
	left: 0;
	margin: 0;
	padding: 1.0rem 0rem 1.0rem 0rem;
	font-weight: 700;
	font-size: 3.4rem;
}

h2{
	position: relative;
	top: 0;
	left: 0;
	margin: 0;
	padding: 1.0rem 0rem 0.8rem 0rem;
	font-weight: 700;
	font-size: 2rem;
}

h3{
	position: relative;
	top: 0px;
	left: 0px;
	margin: 0px 0px 0px 0px;
	padding: 0rem 0rem 0rem 0rem;
	font-size: 1.6rem;
}

body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	text-align: left;	
	font-size: 1.5rem;
	line-height: 2rem;
	font-family: 'Varela', sans-serif;
	color: #174f81;
}

a{
	text-decoration: none;
	color: #174f81;
}

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

.fa-input {
	font-family: FontAwesome !important;
}

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

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

/********************************************************/
/* 				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 #174f81;
	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 #174f81;
	background: #174f81;
	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: #174f81;
	color: #ffffff;
}

.errore{
	color: #cf3838;
}

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

/************************************************/
/* 				Box principali					*/
/************************************************/
#container{
	position:relative;
	min-height:100%;
	width: 100%;
	left: 0px;
}

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

.contenuto{
	position: relative;
	max-width: 1400px;
	width: 90%;
	margin: 0 auto;
}

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

/************************************************/
/* 				Box home						*/
/************************************************/
.tasto{
	display: inline-block;
	background: #cfd9e7;
	border: 0.1rem solid #cfd9e7;
	padding: 1.2rem 2rem;
	font-family: 'Oooh Baby', cursive;
	color: #174f81;
	font-size: 2.8rem;
	cursor: pointer;
}

.tastoScuro{
	color: #ffffff;
	background: #174f81;
}

.tasto:hover{
	background: #e9eef6;
}

.tastoScuro:hover{
	background: #1d71b8;
}

#fasciaSindaco, #fasciaCandidati, #fasciaProgramma, #fasciaNews{
	position: relative;
	padding: 5rem 0;
}

#fasciaSindaco{
	background: #cfd9e7;
	padding: 5rem 0 0 0;
}

#fasciaSindaco .contenuto{
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
}

.fasciaSindaco30{
	position: relative;
	float: left;
	width: 25.3%;
	margin: 2rem 4% 0 4%;
	text-align: center;
}

.fasciaSindaco30 img{
	width: 90%;
	border: 1rem solid #ffffff;
	border-radius: 100rem;
	z-index: 500;
}

.fasciaSindaco30 h1{
	display: inline-block;
	border-bottom: 0.2rem solid #174f81;
	padding-bottom: 1rem;
	margin-top: 1rem;
}

#gruppoCandicati{
	position: relative;
	height: 100vh;
}

#fasciaCandidati{
	background: #174f81;
	color: #ffffff;
}

#fasciaCandidati h2{
	font-family: 'Oooh Baby', cursive;
	width: 100%;
	text-align: center;
	color: #ffffff;
	font-weight: 400;
	font-size: 3rem;
	opacity: 0;
}

#fasciaCandidati .tasto{
	opacity: 0;
}

#testoCandidati{
	position: relative;
	max-width: 700px;
	width: 90%;
	margin: 0 auto;	
	text-align:center;
}

#ondaAzzurra{
	position: absolute;
	top: 0rem;
	left: 0;
	width: 100%;
	z-index: 500;
}

#ondaAzzurra img{
	width: 100%;
	display: block;
}

#fasciaProgramma{
	background: #cfd9e7;
	text-align: center;
}

#fasciaProgramma h1{
	text-align: left;
}

.fasciaProgramma50{
	position: relative;
	float: left;
	width: 45%;
	margin: 2rem 2.5%;
	text-align: left;
	opacity: 0;
}

.fasciaProgramma50 li{
	
}

#fasciaNews{
	background: #e9eef6;
}

@media (max-width: 767px) {
	#fasciaSindaco{
		padding: 5rem 0;
	}

	#fasciaSindaco .contenuto{
		display: inline;
	}

	.fasciaSindaco30{
		float: none;
		width: 90%;
		margin: 2rem 5%;
	}
	
	.fasciaSindaco30 img{
		width: 70%;
	}
	
	#gruppoCandicati{
		height: 30vh;
	}
	
	#fasciaProgramma h1{
		font-size: 2.6rem;
	}

	.fasciaProgramma50{
		float: none;
		width: 90%;
		margin: 2rem 5%;
	}
}

/************************************************/
/* 				Animazione banner				*/
/************************************************/
#boxBannerHome{
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	overflow: hidden;
}

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

#testoSlides{
	position: absolute;
	bottom: 10%;
	width: 80%;
	left: 10%;
	text-align: right;
	z-index: 500;
	color: #ffffff;
	line-height: 2.4rem;
	border-right: 0.5rem solid #174f81;
}

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

.nomeSlide{
	position: relative;
	font-weight: 400;
	font-size: 3.4rem;
	letter-spacing: 0.2rem;
} 

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

@media only screen and ( max-width: 767px){

	#boxBannerHome{
		position: relative;
		top: 0;
		left: 0;
		height: 30vh;
		overflow: hidden;
	}

	.nomeSlide{
		position: relative;
		font-weight: 400;
		font-size: 2.6rem;
		letter-spacing: 0.2rem;
	} 

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

/************************************************/
/* 				Home page						*/
/************************************************/
#header{
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	background-color: #e9eef6;
}

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

#logo img{
	height: 8rem;
	margin: 1rem 0;
}

@media only screen and ( max-width: 767px){
	#logo{
		position: relative;
		float: left;
		width: 50%;
		display: block;
	}
	
	#logo img{
		height: 7rem;
		margin: 1rem 0;
	}
}

#pagineInterne{
	background: #ffffff;
}

/************************************************/
/* 				MenuText						*/
/************************************************/
#menu{
	position: relative;
	float: left;
	width: 80%;
	padding: 0;
}

.lineaMenu{
	position: absolute;
	width: 0%;
	height: 0.2rem;
	background: trasparent;
	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.6rem;
}

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

#nav > ul > li:hover{
}

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

#nav > ul > li a:hover{
	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: #174f81;
}

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

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

#nav > ul ul > li:hover{
	background: #174f81;
}

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

#nav > ul ul > li a:hover{
	text-decoration:none;
	color: #174f81 !important;
}

@media only screen and ( max-width: 767px){
	#menu{
		position: relative;
		float: right;
		width: 50%;
		padding: 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;
        right: 0%;
		background: #ffffff;
		top: 8rem;
		font-size: 1.8rem;
		width: 200%;
		z-index: 1000;
    }
	
	#nav:target > ul{
		display: block;
	}
	
	#nav > ul > li{
		width: 100%;
		float: none;
		padding: 0 5%;
	}
	
	#nav > ul > li:hover{
		background: #174f81;
	}
	
	#nav > ul > li a{
		color: #174f81;
		padding: 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 #174f81;
		color: #ffffff;
	}

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

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

.tastoMenu:hover{
	color: #ffffff;
}

/************************************************/
/* 				corpo							*/
/************************************************/
.corpoSx{
	position: relative;
	float: left;
	width: 35%;
	padding: 3rem 5% 3rem 0;
}

.corpoSx h1{
	font-size: 2.4rem;
	padding: 2rem 0%;
}

.corpoSx h2{
	font-size: 1.8rem;
	padding: 0rem 0%;
}

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

.corpoSx li{
	position: relative;
	width: 100%;
	top: 0px;
	left: 0px;
	font-size: 1.4rem;
    font-weight: normal;
	margin: 0.8rem 0;
}

.corpoDx{
	position: relative;
	float: right;
	width: 60%;
	padding: 5rem 0;
}

@media (max-width: 767px){
	.corpoSx, .corpoDx{
		float: none;
		width: 100%;
		padding: 3rem 0;
		border: 0;
	}
}

/************************************************/
/* 				pagine composte					*/
/************************************************/
#pagineComposte{
	position: relative;
	width: 100%;
	padding: 0 0 4rem 0;
	background: #ffffff;
}

.pagineComposteFoto{
	position: relative;
	top: 0;
	width: 100%;
	height: 70vh;
}

.pagineComposteTesto{
	position: relative;
	width: 100%;
	padding: 2rem 0;
}

.pagineComposteTesto .corpoDx, .pagineComposteTesto .corpoSx{
	opacity: 0;
}

.noAnimazione .corpoDx, .noAnimazione .corpoSx{
	opacity: 1;
}

@media (max-width: 767px){

}

/************************************************/
/* 				box fine						*/
/************************************************/
#fine{
	position:absolute;
	padding: 0rem;
	left: 0px;
	bottom: 0px; 
	width: 100%;
	text-align: left;
	z-index: 30;
	background: #174f81;
}

#fine h2{
	color: #ffffff;
}

#fine a{
	color: #ffffff;
	text-decoration: none;
	font-weight: 700;
}

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

#fine i{
	margin: 0 1rem 0 0;
}

#fineDati{
	position: relative;
	width: 100%;
	background: #1d71b8;
	font-weight: 400;
	font-size: 1.2rem;
	padding: 2rem 5%;
	color: #ffffff;
}

#fine .contenuto{
	display: flex;
}

.boxFine{
	position: relative;
	float: left;
	width: 27.3%;
	margin: 5rem 3%;
	text-align: center;
	color: #ffffff;
}

.boxFine img{
	margin: 0 0 1rem 0;
	border: 0.1rem solid #ffffff;
	border-radius: 100rem;
	display: inline-block;
	background: #ffffff;
}

span.boxFinePayOff{
	font-style: italic;
}

span.boxFineGiorni{
	font-size: 2rem;
	font-style: italic;
}

.boxFine h2{
	padding: 0rem 0rem 1.4rem 0rem;
	font-weight: 500;
	font-style: italic;
}

.boxFine ul{
	position: relative;
	top: 0;
	right: 0;
	margin: 0; 
	padding: 0;
	list-style-type: none;
	z-index: 100;
	font-family: 'KoHo', sans-serif;
}

.boxFine li{
	position: relative;
	width: 100%;
	top: 0px;
	left: 0px;
	font-size: 1.6rem;
    font-weight: bold;
}

.boxFine li a, .boxFine li a:hover{	
	display: block;
	text-decoration: none;
	padding: 0.4rem 2%; 
	color: #beigeChiaro;
}

@media (max-width: 767px) {

	.boxFine, .boxFineSx{
		float: none;
		width: 100%;
		margin: 3rem 0;
	}
	
	#fine .contenuto {
	  display: inline;
	}
}

/************************************************/
/* 				Foto							*/
/************************************************/
#galleria{
	position: relative;
	width: 100%;
	margin: 2rem 0;
}

.foto{
	position: relative;
	float: left;
	width: 20%;
	margin: 0 0%;
}

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

.fotoImg{
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	opacity: 0.6;
	z-index: 100;
}

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

.fotoTesto{
	position: absolute;
	width: 100%;
	height: 55%;
	top: 45%;
	left: 0;
	z-index: 101;
	color: #ffffff;
	text-transform: uppercase;
	font-size: 2.2rem;
	opacity: 0;
	padding: 0 2% 0 2%;
	text-shadow: 0.4rem 0.4rem 0.4rem #000000;
}

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

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

.foto30 img, .foto50 img, .foto100 img{
	width: 100%;
	display: block;
	border: 1rem solid #ffffff;
	border-radius: 100rem;
}

.foto30{
	width: 31.3%;
}

.foto50{
	width: 48%;
}

.foto100{
	width: 98%;
}

.fotoFasciaVelina{
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 0;
	z-index: 100;
	opacity: 0;
	padding: 0 1rem;
	color: #ffffff;
	font-size: 2rem;
	text-shadow: 0.4rem 0.4rem 0.4rem #000000;
	text-align: center;
}

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

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

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

.visible-mob{
	display: none;
}

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