
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap');

/*
font-family: 'Lora', serif;
*/

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

*{
	-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: 3rem;
}

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: 'Lora', sans-serif;
	color: #381819;
}

a{
	text-decoration: none;
	color: #381819;
}

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

.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"]:focus{
	outline: none;
}

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 #381819;
	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 #381819;
	background: #381819;
	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: #381819;
	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){
	
}

/************************************************/
/* 				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;
	top: 40%;
	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-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;
		width: 100%;
		height: 60vh;
		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: #fefdf0;
}

#logo{
	display: none;
}

@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;
	bottom: 0rem;
	right: 0;
	width: 100%;
	padding: 0;
}

#logoMenu{
	position:relative;
	float: left;
	width: 100%;
	height: 7rem;
	text-align: center;
	margin-top: 2rem;
}

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

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

.lineaMenu{
	position: absolute;
	width: 0%;
	height: 0.8rem;
	background: transparent;
	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: 20%;
	transition: background 0.4s;
}

#nav > ul > li:hover{
}

#nav > ul > li a{
	display: block;
	text-decoration: none;
	padding: 4rem 0 4rem 0; 
	color: #381819;
	font-style: italic;
}

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

.corrente{
	font-weight: 700;
}

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

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

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

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

#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: #381819 !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: #381819;
	}
	
	#nav > ul > li a{
		color: #381819;
		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 #381819;
		color: #ffffff;
	}

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

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

.tastoMenu:hover{
	color: #ffffff;
}

/************************************************/
/* 				Box home						*/
/************************************************/
.riccio{
	display: inline-block;
	height: 2rem;
	font-weight: 500;
	font-style: italic;
}

.riccio img{
	height: 100%;
}

span.boldHome{
	font-size: 2.4rem;
	font-weight: 400;
}

#contHomePolaroid{
	position: relative;
}

#polaroid{
	position: absolute;
	bottom: -10%;
	right: 130%;
	height: 100%;
	width: auto;
	z-index: 100;
	text-align: right;
	opacity: 0;
}

#polaroid img{
	height: 100%;
	display: inline-block;
}

#homePolaroid{
	display: flex;
	max-width: 1400px;
	width: 90%;
	margin: 0 auto;
	align-items: center;
	justify-content: center;
}

#polaroidSx{
	width: 50%;
}

#polaroidSx img{
	width: 60%;
	display: block;
	opacity: 0;
}

#polaroidDx{
	width: 50%;
	padding: 0 20% 0 0%;
}

#homeCroccantino{
	position: relative;
	width: 100%;
	margin: 0 auto;
	background: #ebe9d0;
}

#croccantinoSx{
	position: relative;
	width: 30%;
	left: 15%;
	float: left;
	padding: 15rem 0;
}

#croccantinoSx > img{
	width: 100%;
	display: inline-block;
	margin-bottom: 2rem;
}

#croccantinoDx{
	position: absolute;
	width: 50%;
	height: 100%;
	top: 0;
	right: 0;
}

#homeDolci{
	position: relative;
	width: 100%;
	border: 0.1rem solid transparent;
}

#dolciCenter{
	position: relative;
	width: 25%;
	margin: 15rem auto;
	text-align: center;
}

#dolciSx{
	position: absolute;
	top: -10%;
	left: 0%;
	width: 25%;
	z-index: 100;
	opacity: 0;
}

#dolciDx{
	position: absolute;
	bottom: -10%;
	right: 0%;
	width: 25%;
	z-index: 100;
	opacity: 0;
}

#dolciSx img, #dolciDx img{
	width: 100%;
}

#homeSecca{
	position: relative;
	width: 100%;
	margin: 0 auto;
	background: #ebe9d0;
}

#seccaSx{
	position: absolute;
	width: 50%;
	height: 100%;
	top: 0;
	left: 0;
}

#seccaDx{
	position: relative;
	width: 30%;
	right: 15%;
	float: right;
	padding: 15rem 0;
}

.categorieHome{
	position: relative;
	float: left; 
	width: 30%;
	margin: 2.5rem 1.6%;
	cursor: pointer;
}

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

.categorieTxt{
	position: absolute;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.2);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 3rem;
	line-height: 4rem;
	text-align: center;
	opacity: 0;
	z-index: 100;
	transition: opacity 0.4s;
}

.categorieTxt:hover{
	opacity: 1;
}

#homeEventi{
	position: relative;
	width: 100%;
	margin: 0 auto;
	background: #8cbf97;
}

#eventiSx{
	position: relative;
	width: 30%;
	left: 15%;
	float: left;
	padding: 15rem 0;
	color: #ffffff;
}

#eventiDx{
	position: absolute;
	width: 50%;
	height: 100%;
	top: 0;
	right: 0;
}

@media (max-width: 767px){
	#polaroid{
		position: absolute;
		bottom: 0%;
		right: 130%;
		height: 100%;
		width: auto;
		z-index: 100;
		text-align: right;
		opacity: 0;
	}

	#polaroid img{
		height: 50%;
		display: inline-block;
		margin-top: 2rem;
	}

	#homePolaroid{
		display: block;
		max-width: 1400px;
		width: 90%;
		margin: 0 auto;
		align-items: normal;
		justify-content: start;
	}

	#polaroidSx{
		width: 100%;
	}

	#polaroidSx img{
		width: 100%;
		display: block;
		opacity: 0;
	}
	
	#polaroidDx{
		width: 100%;
		padding: 4rem 10%;
	}
	
	#croccantinoSx{
		position: relative;
		width: 100%;
		left: 0%;
		float: none;
		padding: 5rem 5%;
	}

	#croccantinoSx > img{
		width: 100%;
		display: inline-block;
		margin-bottom: 2rem;
	}

	#croccantinoDx{
		position: relative;
		width: 100%;
		height: 50vh;
		top: 0;
		right: 0;
	}
	
	#dolciCenter{
		position: relative;
		width: 80%;
		margin: 15rem auto;
		text-align: center;
	}

	#dolciSx{
		position: absolute;
		top: -5%;
		left: 0%;
		width: 50%;
		z-index: 100;
		opacity: 0;
	}

	#dolciDx{
		position: absolute;
		bottom: -5%;
		right: 0%;
		width: 50%;
		z-index: 100;
		opacity: 0;
	}
	
	#seccaSx{
		position: relative;
		width: 100%;
		height: 50vh;
		top: 0;
		left: 0;
	}

	#seccaDx{
		position: relative;
		width: 90%;
		right: 0%;
		float: none;
		padding: 5rem 0;
		margin: 0 auto;
	}	
	
	.categorieHome{
		position: relative;
		float: none; 
		width: 80%;
		margin: 5rem 10%;
	}
	
	#eventiSx{
		position: relative;
		width: 100%;
		left: 0%;
		float: none;
		padding: 5rem 5%;
	}

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

/************************************************/
/* 				corpo							*/
/************************************************/
.corpoSx{
	position: relative;
	float: left;
	width: 50%;
	padding: 5rem 4% 2rem 0;
}

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

.corpoSx h2{
	font-size: 1.4rem;
	padding: 0rem 0%;
	font-weight: 500;
}

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

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

/************************************************/
/* 				prodotto						*/
/************************************************/
.prodottoSx{
	position: relative;
	float: left;
	width: 50%;
	padding: 5rem 4% 2rem 0;
}

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

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

.prodottoDx{
	position: relative;
	float: right;
	width: 50%;
	padding: 5rem 0 2rem 0;
}

.prodottoDx img{
	width: 100%;
}

@media (max-width: 767px){
	.prodottoSx, .prodottoDx{
		float: none;
		width: 100%;
		padding: 1rem 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;
}

@media (max-width: 767px){

}

/************************************************/
/* 				pagine composte					*/
/************************************************/
.rivenditore{
	position: relative;
	width: 100%;
	border-bottom: 0.1rem solid #381819;
	padding: 1rem 2%;
}

.rivenditore h1{
	font-size: 1.8rem;
	color: #827852;
	margin: 0 0 1rem 0;
	padding: 0;
}

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

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

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

#fineDati{
	position: relative;
	width: 100%;
	background: #827852;
	color: #ffffff;
	font-weight: 400;
	font-size: 1.2rem;
	font-style: italic;
	padding: 3rem 0;
}

.boxFine{
	position: relative;
	float: left;
	width: 27.3%;
	margin: 5rem 3%;
}

.boxFine img{
	margin: 0 0 1rem 0;
}

span.boxFinePayOff{
	font-style: italic;
}

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

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

#cercaRivenditore, #cercaRivenditoreIn{
	margin: 0 0 2rem 0;
}

#cercaRivenditore form input[type="text"], #cercaRivenditoreIn form input[type="text"]{
	position: relative;
	float: left;
	width: 80%;
	border: 0.1rem solid #ccc;
	padding: 1.4rem 2% 1.5rem 2%;
	border-radius: 0rem;
	margin: 0 0;
	font-size: 1.4rem;
}

#cercaRivenditore form input[type="submit"], #cercaRivenditoreIn form input[type="submit"]{
	position: relative;
	float: left;
	width: 18%;
	margin: 0rem 0 0 2%;
	border: 0.1rem solid #381819;
	background: #381819;
	color: #ffffff;
	cursor: pointer;
	transition: background 0.4s, color 0.4s;
	font-family: 'Lora', serif;
	font-weight: 600;
	font-size: 1.4rem;
}

#cercaRivenditore form input[type="submit"]:hover, #cercaRivenditoreIn form input[type="submit"]:hover{
	background: #381819;
	color: #ffffff;
}

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

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

.foto{
	position: relative;
	float: left;
	width: 30%;
	margin: 2rem 1.5%;
}

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

.fotoImg{
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	opacity: 1;
	z-index: 100;
	transition: opacity 0.2s;
}

.fotoImg:hover{
	opacity: 1;
}

.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) {
}

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

.foto30 img, .foto50 img, .foto100 img{
	width: 100%;
	display: block;
}

.foto30{
	width: 31.3%;
}

.foto50{
	width: 48%;
}

.foto100{
	width: 98%;
}

.fotoFasciaVelina{
	position: absolute;
	width: 100%;
	height: 100;
	z-index: 100;
	opacity: 0;
	padding: 20% 5%;
	color: #ffffff;
	font-size: 3rem;
	text-shadow: 0.4rem 0.4rem 0.4rem #000000;
}

/************************************************/
/* 				Foto Prod						*/
/************************************************/
.galleriaProd{
	position: relative;
}

.fotoProd{
	position: relative;
	float: left;
	width: 30%;
	margin: 2rem 1.5%;
}

.fotoProd img{
	width: 100%;
}

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

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