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

/*
    font-family: 'Work Sans', 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: 0px;
	left: 0px;
	margin: 0px 0px 0px 0px;
	padding: 1.0rem 0rem 1.0rem 0rem;
	font-weight: 400;
	color: #222222;
	font-size: 3rem;
}

h2{
	position: relative;
	top: 0px;
	left: 0px;
	margin: 0px 0px 0px 0px;
	padding: 1.0rem 0rem 0.8rem 0rem;
	font-weight: 400;
	color: #222222;
	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: 400;
	color: #222222;
}

body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	text-align: left;	
	font-family: 'Work Sans', sans-serif;
	font-size: 1.6rem;
	color: #222222;
	line-height: 2rem;
	background: #eeeeef;
}

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

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

.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.8rem 1%;
	border-radius: 0.4rem;
	margin: 0 0 1.6rem 0;
	font-size: 1.6rem;
}

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

form textarea{
	min-height: 10rem;
	font-family: 'Roboto', 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"]{
	display: inline-block;
	margin: 1rem 1%;
	padding: 0.8rem 5%;
	border: 0.1rem solid #c14d2a;
	border-radius: 0.4rem;
	background: #c14d2a;
	color: #ffffff;
	cursor: pointer;
	transition: background 0.4s, color 0.4s;
	font-family: 'Roboto', serif;
	font-weight: 600;
	font-size: 1.2rem;
}

form input[type="submit"]:hover, form input[type="reset"]:hover{
	background: #c14d2a;
	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{
	max-width: 1400px;
	width: 90%;
	margin: 0 auto;
}

/************************************************/
/* 				Box testata						*/
/************************************************/
#utility{
	position: relative;
	padding: 1rem 0;
}

.utility{
	position: relative;
	float: left;
	width: 33.3%;
	padding: 1rem 1%;
}

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

#titolo h1{
	color: #c14d2a;
}

#logoMenu{
	position: relative;
	max-width: 140rem;
	width: 90%;
	margin: 0 auto;
}

#logo{
	position: relative;
	float: left;
	top: 0;
	left: 0;
	width: 20%; 
	padding: 1rem 0;
}

#logo img{
	width: 100%;
	display: inline-block;
}

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

/********************************************************/
/* 		Area riservata (lib_utenti.php)					*/
/********************************************************/
#areaRiservata{
	position: relative;
	width: 100%;
	margin: 0;
	padding: 0;
	font-size: 1.2rem;
}

#areaRiservata ul{
	position: relative;
	top: 0px;
	right: 0px;
	margin: 0 auto; 
	padding: 0px 0px 0px 0px;
	list-style-type: none;
	width: 100%;
}

#areaRiservata ul li{
	position: relative;
	float: right;
	top: 0px;
	left: 0px;
	padding: 0rem 1.5%; 
	margin: 0rem;
	list-style-type: none;
	text-align: center;
}

#areaRiservata ul li img{
	float: left;
	height: 2.4rem;
	margin-right: 0.4rem;
}

#areaRiservata ul li a{	
	display: block;
	text-decoration: none;
	padding: 0.6rem 1rem;
	color: #291c05;
}

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

#areaRiservata ul li:hover{
	background: #c14d2a;
}

/* riassunto carrello */
#riassuntoCarrello{
	display: inline-block;
	float: right;
	right: 0rem;
	margin: 0;
	font-size: 1.4rem;
	text-align: right;
	padding: 0.4rem;
	line-height: 0;
	overflow: hidden;
}

#riassuntoCarrelloNum{
	display: inline-block;
	border-left: 0.2rem solid #c14d2a;
	padding: 0.8rem 0 0.8rem 1rem;
	margin: 0 0 0 1rem;
}

#riassuntoCarrello a{
	color: #c14d2a;
}

#riassuntoCarrello a:hover{
	text-decoration: none;
	color: #c14d2a;
}

#riassuntoCarrello img{
	float: left;
	height: 2.4rem;
	margin-right: 0.8rem;
}

#riassuntoCarrelloBox{
	position:absolute; 
	z-index:10000; 
	display:block; 
	top: 100%; 
	right: -0.2rem;
	width: 30rem; 
	height: 0;
	max-height: 50rem;
	border:0.2rem solid #c14d2a; 
	background: #ffffff; //#ddd9d1;
	opacity: 0;
	text-align: left;
	line-height: 1.8rem;
	font-size: 1.4rem;
}

#riassuntoCarrelloBoxSpese{
	position: relative;
	width: 96%;
	margin: 0.6rem 3%;
	font-size: 1.2rem;
	font-weight: 700;
}

.riassuntoCarrelloBoxRiga{
	position: relative;
	width: 94%;
	border-top: 0.1rem solid #c14d2a;
	padding: 0.4rem 0;
	margin: 0 3%;
}

.riassuntoCarrelloBoxImg{
	position: relative;
	float: left; 
	width: 25%;
}

.riassuntoCarrelloBoxImg img{
	width: 100%;
	height: auto!important;
	display: inline-block;
	padding: 0 0.4rem;
}

.riassuntoCarrelloBoxNome{
	position: relative;
	float: left; 
	width: 45%;
}

span.riassuntoCarrelloBoxPeso{
	font-weight: 400;
	font-style: italic;
	font-size: 1.2rem;
}

.riassuntoCarrelloBoxTot{
	position: relative;
	float: left; 
	width: 30%;
	text-align: right;
}

@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;
	}
	
	#areaRiservata ul li.utenteLoggato, #areaRiservata ul li.utenteSloggato{
		width: 100%;
	}

	#riassuntoCarrello{
		padding: 0.6rem 0.8rem;
		margin: 0;
		text-align: center;
	}
	
	#riassuntoCarrello img{
		height: 1.6rem;
		display: inline-block;
		margin: 0 0.4rem 0 0;
	}
}

/************************************************/
/* 				Categoria						*/
/************************************************/
#categorieHome{
	background: #eeeeef;
	padding: 5rem 0;
}

#categorieHome h2{
	text-align: center;
	font-size: 2.6rem;
	margin-bottom: 2rem;
}

.boxCategorieHome{
	position: relative;
	float: left;
	width: 18%;
	padding: 0rem 2%;
	margin: 0 3%;
	text-align: center;
}

.boxCategorieHome img{
	width: 100%;
	display: inline-block;
}

.boxCategoriaTitolo{
	position: relative;
	width: 100%;
	margin-top: 2rem;
}

a .boxCategoriaTitolo{
	color: #222222;
}

@media only screen and ( max-width: 767px){
	.boxCategorieHome{
		position: relative;
		float: left;
		width: 50%;
		padding: 0rem 5%;
		margin: 3rem 0;
	}
	
	.boxCategorieHome img{
		width: 70%;
		display: inline-block;
	}
}

/************************************************/
/* 				Fascia vetrina					*/
/************************************************/
#fasciaVetrina{
	background: #ffffff;
	padding: 5rem 0;
}

#fasciaVetrina h2{
	text-align: center;
	font-size: 2.6rem;
	margin-bottom: 2rem;
}

/************************************************/
/* 				Ricerca							*/
/************************************************/
#boxRicerca{
	position: relative;
	padding: 0rem;
	top: 0rem;
	left: 0;
	width: 100%;
	overflow: hidden;
}

#boxRicerca form input[type="text"]{
	position:relative;
	float: left;
	top: 0;
	width: 80%;
	height: 100%;
	border: 0px;
	padding: 0.8rem 2%;
	margin: 0;
	border-bottom: 0.1rem solid #291c05;
	border-radius: 0;
	color: 222222;
	font-size: 1.4rem;
	background:transparent;
}

#boxRicerca form input[type="submit"]{
	position:relative;
	float: left;
	top: 0;
	left: 0;
	width: 20%;
	height: 100%;
	border: 0px;
	padding: 1rem 0;
	margin: 0;
	background: #291c05;
	color: #ffffff;
	cursor: pointer;
	transition: background 0.4s;
	font-weight: normal;
	border-radius: 0;
}

#boxRicerca form input[type="submit"]:hover{
	background: #c14d2a;
	color: #ffffff;
}


@media only screen and ( max-width: 767px){
	#boxRicerca{
		position: relative;
		float: none;
		margin: 1rem auto;
		padding: 0rem;
		width: 90%;
		border: 1px solid #c14d2a;
		background: #ffffff;
		height: 3rem;
		overflow: hidden;
		bottom: auto;
	}
	
	#boxRicerca form input[type="text"]{
		width: 70%;
		background: #ffffff;
	}

	#boxRicerca form input[type="submit"]{
		left: 70%;
		width: 30%;
	}
}
/************************************************/
/* 				MenuText						*/
/************************************************/
#menu{
	position: relative;
	float: left;
	left: 0;
	width: 80%;
	padding:0;
	z-index:2000;
}

.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: 1.6rem;
	text-transform: uppercase;
	font-weight: 500;
}

#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 2rem 0; 
	color: #222222;
}

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

/* 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: #ffffff;
}

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

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

@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: absolute;
        right: 0%;
		background: #c14d2a;
		top: 6rem;
		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: #ffffff;
	}
	
	#nav > ul > li a{
		color: #ffffff;
		padding: 1.4rem 0;
	}
	
	#nav > ul > li a:hover{
		color: #c14d2a;
	}
	
    /*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 #222222;
		color: #c14d2a;
	}

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

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

.tastoMenu:hover{
	color: #ffffff;
}

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

#boxBannerIn{
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	height: 70vh;
	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: left;
	z-index: 500;
	font-family: 'Vibur', cursive;
	color: #ffffff;
	font-size: 3rem;
	line-height: 4rem;
	padding: 0 5%;
	text-shadow: 0.2rem 0.2rem 0.4rem #000000;
}

/************************************************/
/* 				HomePage						*/
/************************************************/
#fasciaCentrale{
	position: relative;
	width: 100%;
	padding: 5rem 30%;
	text-align: center;
}

@media only screen and ( max-width: 767px){
	#fasciaCentrale{
		padding: 5rem 10%;
	}
}

#bannerMiddle, #bannerForm{
	position: relative;
	width: 100%;
	background: #e0d5b9;
}

#bannerForm{
	background: #dde0e0;
}

#bannerMiddleFoto, #bannerFormFoto , #bannerMiddleTesto, #bannerFormTesto{
	position: relative;
	float: left;
	width: 50%;
}

#bannerMiddleTesto, #bannerFormTesto {
	padding: 0 5%;
}

#bannerMiddleFoto img, #bannerFormFoto img{
	width: 100%;
	display: inline-block;
}

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

@media only screen and ( max-width: 767px){
	#bannerMiddleFoto, #bannerFormFoto , #bannerMiddleTesto, #bannerFormTesto{
		position: relative;
		float: none;
		width: 100%;
	}
	
	#bannerMiddleTesto, #bannerFormTesto{
		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 0;
	background: #f8f8f8;
}

.corpoSx{
	float: left;
	width: 70%;
}

.corpoDx{
	float: left;
	text-align: left;
	width: 30%;
	padding-left: 2%;
}

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

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

span.fineNormale{
	font-family: 'Roboto', sans-serif;
	font-size: 1.6rem;
	font-weight: 400;
}

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

#fineInfo{
	position: relative;
	width: 100%;
	background: #291c05;
	text-align: left;
	color: #ffffff;
}

.contattiFooterSx{
	position: relative;
	float: left;
	width: 40%;
	text-align: right;
}

.contattiFooterSx img{
	height: 10rem;
	display: inline-block;
}

.contattiFooterDx{
	position: relative;
	float: left;
	width: 60%;
	text-align: left;
}

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

.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: 'Roboto', 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;
}

.boxFine h2{
	font-family: 'Roboto', serif;
	color: #ffffff;
	font-size: 1.4rem;
}

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

#logoFine img{
	height: 5rem;
}

#fineMappa{
	position: relative;
}

#fineDati{
	position: relative;
	font-size: 1.2rem;
}

#progetto{
	position: relative;
	width: 100%;
	background: #ffffff;
	color: #222222;
}

.progettoSx{
	position: relative;
	float: left;
	width: 60%;
	text-align: center;
}

.progettoDx{
	position: relative;
	float: left;
	width: 40%;
	text-align: center;
	font-size: 1.2rem;
}

@media (max-width: 767px) {

	.contattiFooterSx, .contattiFooterDx{
		width: 100%;
		float: none;
		text-align: center;
	}

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

/************************************************/
/* 				Foto							*/
/************************************************/
.foto{
	position: relative;
	float: left;
	width: 30%;
	margin: 2rem 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;
	}

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

}