
@font-face {
  font-family: 'Quarca';
  font-weight: 300;
  src: url('./quarca/QuarcaCondLight.otf');
}

@font-face {
  font-family: 'Quarca';
  font-weight: 400;
  src: url('./quarca/QuarcaCondRegular.otf');
}

@font-face {
  font-family: 'Quarca';
  font-weight: 500;
  src: url('./quarca/QuarcaCondMedium.otf');
}

@font-face {
  font-family: 'Quarca';
  font-weight: 700;
  src: url('./quarca/QuarcaExtBold.otf');
}

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: 0px;
	left: 0px;
	margin: 0px 0px 0px 0px;
	padding: 1.0rem 0rem 2.0rem 0rem;
	color: #152f64;
	font-family: 'Quarca', sans-serif;
	font-size: 2.8rem;
}

h2{
	position: relative;
	top: 0px;
	left: 0px;
	margin: 0px 0px 0px 0px;
	padding: 1.0rem 0rem 0.8rem 0rem;
	color: #152f64;
	font-family: 'Quarca', sans-serif;
	font-size: 2rem;
}

h3{
	position: relative;
	top: 0px;
	left: 0px;
	margin: 0px 0px 0px 0px;
	padding: 0rem 0rem 0rem 0rem;
	font-size: 1.6rem;
	font-weight: normal;
	color: #152f64;
	font-family: 'Quarca', sans-serif;
}

.fasciaHomeVuota h2, .fasciaHomeVuota h3{
	font-family: 'Quarca', sans-serif;
}

body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	text-align: left;	
	font-family: 'Quarca', sans-serif;
	font-size: 1.6rem;
	letter-spacing: 0.1rem;
	font-weight: 300;
	color: #444444;
	line-height: 2rem;
	background: #ffffff;
}

a{
	text-decoration: none;
	color: #152f64;
}

a:hover{
	text-decoration: underline;
	color: #53a6e1;
}

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

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

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

span.corsivo{
	font-family: 'Quarca', sans-serif;
}

.testo{
	position: relative;
	width: 100%;
	font-family: Tahoma, sans-serif;
	font-size: 1.4rem;
}

/********************************************************/
/* 				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 #152f64;
	box-shadow: 0.1rem 0.1rem 0.4rem #c8c8c8;
}

form textarea{
	min-height: 10rem;
	font-family: 'Quarca', 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 #58585c;
	background: #58585c;
	color: #ffffff;
	cursor: pointer;
	transition: background 0.4s, color 0.4s;
	font-family: 'Quarca', sans-serif;
	font-weight: 600;
	font-size: 1.4rem;
}

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

.errore{
	color: #cf3838;
}

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

/************************************************/
/* 				Box principali					*/
/************************************************/
#testata{
	position: relative;
	width: 100%;
	background: #cdcfd4;
}

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

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

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

#titolo{
	position: relative;
	width: 100%;
	/*background: #53a6e1;*/
	align: center;
	text-align: center;
	padding: 1.4rem 0;
}

#titolo h1{
	color: #152f64;
}

#logo{
  	display:none;
}

@media only screen and ( max-width: 767px){
	.utility{
		width: 100%;
	}
}

@media only screen and ( max-width: 767px){
	#logo{
		position: relative;
		float: left;
		top: 0;
		left: 0;
		width: 50%; 
		padding: 1rem 0;
		display: block;
		text-align: center;
	}

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

/************************************************/
/* 				MenuText						*/
/************************************************/
#menu{
	position: relative;
	bottom: 0rem;
	right: 0;
	width: 100%;
	padding: 2rem 0;
	z-index: 2000;
}

#logoMenu{
	position:relative;
	float: left;
	width: 100%;
	height: 8rem;
	text-align: center;
}

#nav > ul > li > #logoMenu a, #nav > ul > li > #logoMenu a:hover{
	padding: 0; 
	border: 0;
}

#nav > ul ul > li > #logoMenu {
	display: none;
}

#logoMenu img{
	width: 80%;
	max-width: 20rem;
	display: inline-block;
}

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

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

#nav > ul > li:hover{
}

#nav > ul > li a{
	display: block;
	text-decoration: none;
	padding: 5rem 0 1rem 0; 
}

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

#nav > ul > li.corrente a{
	color: #ffffff;
}

#nav > ul > li.corrente ul li a{
	color: #ffffff;
}

#nav > ul > li.corrente{
	background: #152f64;
}

#nav > ul ul > li.corrente a{
	color: #e2001a;
}

#nav > ul ul > li.corrente{
	background: #ffffff;
}

/* secondo livello*/
#nav li ul{
	display: none;
	position: absolute;
	top: 100%;
	list-style-type: none;
	margin: 0;
	padding: 0;
	width: 100%;
	overflow: hidden;
	background: #77787d;
}

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

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

#nav > ul ul > li:hover{
	background: #ffffff;
}

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

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

@media only screen and ( max-width: 767px){
	#menu{
		position: relative;
		float: left;
		width: 50%;
	}

    #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: fixed;
		top: 0;
        right: -80%;
		z-index: 500;
		background-color: #152f64;
		font-size: 1.4rem;
		width: 80%;
		height: 100%;
		padding-top: 4rem;
		overflow: auto;
    }
	
	#nav:target > ul{
		display: block;
	}
	
	#nav > ul > li{
		width: 100%;
		float: none;
		padding: 0 5%;
	}
	
	#nav > ul > li:hover{
		background: #152f64;
	}
	
	#nav > ul > li a{
		color: #ffffff;
		padding: 1.4rem 0;
	}
	
	#nav > ul > li a:hover{
		color: #ffffff;
	}
	
	#nav > ul > li.corrente a{
		color: #152f64;
	}

	#nav > ul > li.corrente{
		background: #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 #cdcfd4;
		color: #ffffff;
	}

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

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

.tastoMenuAct{
	position: relative;
	float: right;
	margin: 0.6rem 2%;
	width: 3.6rem;
	height: 3.6rem;
	border-radius: 4rem;
	padding: 0.5rem;
	color: #ffffff;
	text-align: center;
	display: none;
	z-index: 1000;
}

.tastoMenu i, .tastoMenuAct i{
	font-size: 2.4rem;
}

.tastoMenu:hover{
	color: #ffffff;
}

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

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

#testoSlides{
	position: absolute;
	bottom: 5rem;
	width: 100%;
	text-align: right;
	z-index: 500;
	font-family: 'Quarca', sans-serif;
	color: #ffffff;
	line-height: 2.4rem;
	padding: 0 5%;
}

#titoloSlide{
	position: relative;
	float: right;
	text-align: left;
	background: #58585c;
	background: rgba(0, 0, 0, 0.2);
	border-left: 0.2rem solid #ffffff;
	padding: 1.4rem 2%;
}

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

.fasciaHome{
	position: relative;
	width: 100%;
	background: #cdcfd4;
	border: 0.1rem solid #cdcfd4;
	min-height: 60vh;
}

.fasciaHomeVuota{
	position: relative;
	width: 100%;
	padding: 7rem 20%;
	background: #ffffff;
}

.fasciaHomeFoto, .fasciaHomeFoto2{
	position: absolute;
	top: 0;
	left: 5%;
	width: 45%;
	height: 100%;
}

#fasciaHomeVideo{
	position: relative;
	float: left;
	top: 0;
	left: 5%;
	width: 45%;
	height: 100%;
}

.fasciaHomeTesto{
	position: relative;
	float: right;
	width: 45%;
	margin: 0 5% 0 0;
	padding: 0rem 0% 0rem 4%;
}

.fasciaFondo{
	background: #f8f8f8;
}

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

	.fasciaHomeVuota{
		padding: 5rem 5%;
	}
	
	#fasciaHomeVideo{
		position: relative;
		top: 0;
		left: 0%;
		width: 100%;
		margin-bottom: 4rem;
	}
	
	.fasciaHomeTesto{
		position: relative;
		float: none;
		width: 100%;
		min-height: auto;
		margin: 0;
		padding: 5rem 5%;
	}
}

/************************************************/
/* 				Contenuto						*/
/************************************************/
#contenuto{
	max-width: 1200px;
	margin: 0 auto;
	padding: 4rem 5% 10.0rem 5%;
	font-size: 1.6rem;
	line-height: 2rem;
}

.corpo{
	position: relative;
	width: 100%;
	padding: 5rem 20%;
}

.galleria{
	position: relative;
	width: 100%;
	background: #cdcfd4;
}

@media (max-width: 767px) {

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

}

/************************************************/
/* 				corpo							*/
/************************************************/
.corpoSx{
	position: relative;
	float: left;
	width: 60%;
	padding: 1rem 4% 1rem 0;
	border-right: 0.1rem solid #cccccc;
}

.corpoSx h1{
	color: #222222;
	font-size: 2.4rem;
	padding: 2rem 1%;
}

.corpoDx{
	position: relative;
	float: right;
	width: 40%;
	padding: 3rem 0 1rem 4%;
}

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

/************************************************/
/* 				box fine						*/
/************************************************/
#fine{
	position:absolute;
	padding: 0rem;
	left: 0px;
	bottom: 0px; 
	width: 100%;
	text-align: center;
	background: #77787d;
	z-index: 30;
	color: #ffffff;
	font-weight: 300;
	letter-spacing: 0.1rem;
}

#fine a, #fine a:hover{
	color: #ffffff;
}

.boxFine, .boxFineSx{
	position: relative;
	float: left;
	width: 30%;
	margin: 4rem 1.5%;
}

.boxFineSx img{
	display: inline-block;
	height: 6rem;
	margin: 1rem;
}

.boxFine img{
	display: inline-block;
	height: 3rem;
	margin: 1rem;
}

.boxFine ul{
	position: relative;
	top: 0;
	right: 0;
	margin: 0; 
	padding: 0;
	list-style-type: none;
	z-index: 100;
	font-family: 'Quarca', 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: #ffffff;
}

#logoFine{
	position: relative;
	width: 100%;
	padding: 0;
	text-align: center;
}

#logoFine img{
	height: 10rem;
}

#fineInfo{
	position: relative;
	width: 100%;
	background: #58585c;
	text-align: center;
	font-size: 1.6rem;
	padding: 2rem 0;
}

@media (max-width: 767px) {

	.boxFine, .boxFineSx{
		float: none;
		width: 100%;
		margin: 3rem 0;
	}
}

/************************************************/
/* 				Foto							*/
/************************************************/
.foto{
	position: relative;
	float: left;
	width: 20%;
	margin: 3rem 2.5%;
}

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

.fotoImg{
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	opacity: 0.8;
}

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

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

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

/************************************************/
/* 				Prenotazione					*/
/************************************************/
#_prenotazione{
	display: inline-block;
	padding: 1.4rem 2%;
	margin: 0 0 4rem 0;
	background: #58585c;
	color: #ffffff;
	cursor: pointer;
	text-align: center;
	font-weight: 600;
}

#_prenotazione:hover{
	background: #77787d;
}

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

.visible-mob{
	display: none;
}

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

	#banner{
		height: 28.0rem;
	}
	
	.evidenza{
		clear: both;
		width: 98%;
		margin: 1.5rem 1%;
		border: 1px solid #ffffff;
		overflow: hidden;
	}	
	
	h1{
		font-size: 2.2rem;
		padding-top: 2.0rem;
	}

}