
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-size: 1.8rem;
	font-weight: bold;
	color: #0d88d3;
}

h2{
	position: relative;
	top: 0px;
	left: 0px;
	margin: 0px 0px 0px 0px;
	padding: 1.0rem 0rem 0.8rem 0rem;
	font-size: 1.8rem;
	font-weight: bold;
	color: #0d88d3;
}

h3{
	position: relative;
	top: 0px;
	left: 0px;
	margin: 0px 0px 0px 0px;
	padding: 0rem 0rem 0rem 0rem;
	font-size: 1.4rem;
	font-weight: bold;
	color: #0d88d3;
}

body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	text-align: justify;	
	font-family: 'Barlow Semi Condensed', sans-serif;
	font-size: 1.6rem;
	color: #444444;
	line-height: 1.8rem;
	background: #f8f8f8;
}

a{
	text-decoration: none;
	color: #0d88d3;
}

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

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

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


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

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

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

#intestazione{
	position: relative;
	width: 100%;
	background: #0d88d3;
	color: #ffffff;
	font-size: 1.6rem;
	padding: 2rem;
}

#intestazione a, #intestazione a:hover{
	color: #ffffff;
	font-weight: 700;
}

#intestazione img{
	height: 2rem;
	width: 2rem;
	display: inline;
}

.intestazioneSx{
	position: relative;
	float: left;
	width: 70%;
	text-align: left;
}

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

#barraSu{
	position: relative;
	background: #ffffff;
	padding: 1rem;
}	

.barraSu{
	max-width: 1200px;
	width: 96%;
	margin: 0 auto;
}

#titolo{
	position: relative;
	width: 100%;
	background: #2e8dd7;	
	align: center;
	text-align: center;
}

#titolo h1{
	color: #ffffff;
}

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

#logo img{
	width: 80%;
	max-width: 25.0rem;
	top: 1.0rem;
	display: inline-block;
}

#utility{
  	position: relative;
	float: right;
	top: 0;
	left: 0;
	width: 45%; 
	margin: 2rem 0 0 0;
}

#areaRiservata{
	position: relative;
	float: left;
	width: 70%;
	top: 0rem;
	text-align: right;
	font-size: 1.4rem;
}

@media only screen and ( max-width: 767px){
	#logo{
		width: 100%; 
		text-align: center;
	}
	
	#logo img{
		width: 60%; 
	}

	#utility{
		position: relative;
		float: none;
		top: 0;
		left: 0;
		width: 100%; 
		margin: 1rem 0;
	}
	
	.intestazioneSx, .intestazioneDx{
		flaot: none;
		width: 100%;
		text-align: center;
	}
}

/************************************************/
/* 				Ricerca							*/
/************************************************/
#boxRicerca{
	position: relative;
	float: left;
	margin: 2rem 5% 0 5%;
	padding: 0rem;
	top: 0rem;
	left: 0;
	width: 25%;
	border: 1px solid #0d88d3;
	background: #ffffff;
	border-radius: 0rem;
	height: 3rem;
	overflow: hidden;
}

#boxRicerca input[type="text"]{
	position:absolute;
	float: none;
	top: 0;
	left: 20%;
	width: 80%;
	height: 100%;
	border: 0px;
	padding: 0 2%;
	margin: 0;
	background: #ffffff;
	color: #666666;
	border-radius: 0;
}

#boxRicerca form input[type="submit"]{
	position:absolute;
	top: 0;
	left: 0;
	width: 20%;
	height: 100%;
	border: 0;
	border-radius: 0;
	padding: 0;
	margin: 0;
	background: #ffffff;
	cursor: pointer;
	background-image: url('icoCerca.png');
	background-repeat: no-repeat;
	background-size: auto 100%;
	background-position: 50% 0;
}

#boxRicerca form input[type="submit"]:hover{
	background-image: url('icoCerca.png');
	background-repeat: no-repeat;
	background-size: auto 100%;
	background-position: 50% 0;
}


@media only screen and ( max-width: 767px){
	#boxRicerca{
		width: 65%;
		margin: 0rem 0 0 5%;
	}
}
/************************************************/
/* 				MenuText						*/
/************************************************/
#menu{
	position: relative;
	top: 0px;
	left: 0px;
	z-index: 2000;
	background: #ffffff;
	border-top: 0.1rem solid #cccccc;
}

#nav{
}

#nav > a{
    display: none;
}

#nav li{
    position: relative;
}
 
/* first level */
#nav > ul{
	position: relative;
	top: 0px;
	right: 0px;
	margin: 0 auto; 
	padding: 0px 0px 0px 0px;
	list-style-type: none;
	font-size: 1.8rem;
	max-width: 1200px;
}

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

#nav > ul > li a{
	display: block;
	color: #444444;
	text-decoration: none;
	padding: 1.0rem 0px 1.0rem 0px; 
	font-weight: 500;
}

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

#nav > ul > li:hover{
	background: #2e8dd7;
}

#nav li ul{
	display: none;
	position: absolute;
	top: 100%;
	background: #ececec;
	list-style-type: none;
	width: 100%;
	margin: 0;
	padding: 0;
	font-size: 1.4rem;
}

/* second level */
 #nav li:hover ul{
    display: block;
}

#nav > ul ul > li{
	position: relative;
	width: 100%;
	border-top: 1px solid #ffffff;
}

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

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

#nav > ul ul > li:hover{
	background: #2e8dd7;
}


@media only screen and ( max-width: 767px)
{
    #nav{
    }
    
	#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;
        left: 0;
        right: 0;
		background: #d8cec0;
		top: 5.0rem;
		width: 100%;
    }
	
	#nav:target > ul{
		display: block;
	}
	
	#nav > ul > li{
		width: 100%;
		float: none;
		border-top: 1px solid #52413a;
		background: #ececec;
	}
	
	#nav li ul{
		position: relative;
		background: #d8cec0;
	}
	
    /* second level */
 
	#nav li:hover ul{
		display: block;
	}

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

	#nav > ul ul > li a{
		display: block;
		color: #52413a;
		text-align: left;
		padding: 0.6rem 2%; 
	}

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

.tastoMenu{
	position: relative;
	float: right;
	margin: 1rem 5% 1rem 0;
	background: #0d88d3;
	border-radius: 0.4rem;
	padding: 0.3rem 0.5rem;
	color: #ffffff;
}

.tastoMenu:hover{
	background: #2e8dd7;
	color: #ffffff;
}

#banner{
	position: relative;
	top: 0px;
	right: 0px;
	width: 100%;
	height: 60vh;
	overflow: hidden;
	z-index: 19;
}

#bannerNavPosition{
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 15%;
	z-index: 200;
	text-align: center;
	padding: 0;
}

span.linkFoto{
	display: inline-block;
	border-radius: 2.2rem;
	width: 1.2rem;
	height: 1.2rem;
	background: #ffffff;
	border: 0.1rem solid #ffffff;
	margin: 0rem 0.5rem;
	cursor: pointer;
	box-shadow: 0.4rem 0.4rem 0.8rem #000000;
}

span.linkFotoEv{
	background: #0d88d3;
	border: 0.1rem solid #0d88d3;
	border-radius: 2.2rem;
	margin: 0rem 0.5rem;
}

#testoBanner{
	position: absolute;
	width: 30%;
	top: 0%;
	left: 0%;
	height: 100%;
	background: rgba(250,249,248,0.6);
	color: #222222;
	font-weight: 300;
	padding: 10rem 4% 2rem 15%;
	display: none;
}

#testoBanner h1{
	color: #222222;
	font-size: 2rem;
}

#testoBanner a, #testoBanner a:hover{
	color: #222222;
	text-decoration: none;
}

#tastoBanner{
	border: 0.3rem solid #222222;
	border-top-right-radius: 2rem;
	border-bottom-left-radius: 2rem;
	color: #222222;
	width: 40%;
	margin: 0 auto;
	text-align: center;
	padding: 1rem 0;
	font-weight: 700;
}

@media (max-width: 1500px){
	#testoBanner{
		padding: 5rem 4% 2rem 10%;
	}
}

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

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

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

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

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

/************************************************/
/* 				box prodotti home				*/
/************************************************/
#vetrinaHome{
	position: relative;
	width: 100%;
	background: #ffffff;
	padding: 5rem 0;
}

.boxVetrinaImg{
	position: relative;
	width: 100%;
	overflow: hidden;
	text-align: center;
}

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

.vetrinaFoto{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 99;
}

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

.boxVetrinaNome{
	position: relative;
	min-height: 6rem;
	text-align: center;
	padding: 0.8rem 2%;
}

.boxVetrinaNome h1{
	font-size: 1.4rem;
	text-transform: uppercase;
	margin: 0;
	padding: 0;
	color: #444444;
}

.boxVetrinaNome a:hover{
	text-decoration: none;
}

.boxVetrinaPrezzo{
	position: relative;
	float: left;
	width: 30%;
	margin: 0 0 1rem 5%;
	text-align: left;
	padding: 0.4rem 2%;
	font-weight: 700;
	font-size: 1.4rem;
	color: #444444;
}

.boxVetrinaAggiungi form input[type="submit"]{
	position: relative;
	float: right;
	text-align: center;
	width: 55%;
	margin: 0 5% 1rem 0;
	padding: 0.6rem 2%;
	background: #0d88d3;
	color: #ffffff;
	border-radius: 0.6rem;
	font-weight: 700;
}

.boxVetrinaAggiungi form input[type="submit"]:hover{
	background: #ffffff;
	color: #0d88d3;
}

/*
.boxVetrinaIntro{
	position: absolute;
	top: -1.6rem;
	background: #faf9f8;
	padding: 0 2%;
	font-size: 2rem;
}
*/

.vetrina25, .vetrina33{
	position: relative;
	float: left;
	text-align: right;
	border: 0.1rem solid #cccccc;
	border-radius: 0.4rem;
	background: #ffffff;
}

.vetrina25{
	width: 22%;
	margin: 2rem 1.5%;
}

.vetrina33{
	width: 30.3%;
	margin: 2rem 1.5%;
}

.vetrinaVelina{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 0;
	background: #222222;
	opacity: 0;
	z-index: 100;
}

.vetrinaTasto{
	position: absolute;
	bottom: -30%;
	width: 40%;
	left: 30%;
	padding: 1rem 0;
	text-align: center;
	color: #ffffff;
	border: 0.4rem solid #ffffff;
	font-weight: 700;
	z-index: 101;
}

.vetrinaTasto:hover{
	color: #0d88d3;
	border: 0.4rem solid #0d88d3;
	background: #ffffff;
}

@media (max-width: 767px){
	.boxVetrinaIntro{
		position: absolute;
		top: -1.4rem;
		background: #faf9f8;
		padding: 0 2%;
		font-size: 1.4rem;
	}

	.vetrina25, .vetrina33{
		float: none;
		width: 90%;
		margin: 3rem auto;
	}
}

#newsHome{
	position: relative;
	width: 100%;
	background: #ffffff;
	padding: 0 0 5rem 0;
}

.newsHome{
	position: relative;
	float: left;
	width: 29%;
	margin: 0rem 2%;
}

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

.newsHome h1{
	
}

.fotoNews{
	position: relative;
	float: left;
	width: 40%;
	margin: 0 5rem 2rem 0;
}

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

@media (max-width: 767px){
	.newsHome{
		float: none;
		width: 100%;
		margin: 4rem 0%;
	}
	
	.fotoNews{
		position: relative;
		float: none;
		width: 100%;
		margin: 0 0 4rem 0;
	}
}

/************************************************/
/* 				box fine						*/
/************************************************/
.evidenza{
	float: left;
	width: 29%;
	margin: 3.0rem 1.9%;
	border: 1px solid #ffffff;
	overflow: hidden;
}

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

/************************************************/
/* 				footer							*/
/************************************************/
#footer{
	position: relative;
	width: 100%;
	background: #0d88d3;
	color: #ffffff;
	padding: 5rem 0;
	text-align: left;
}

#footer a{
	color: #ffffff;
}

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

#footer li{
	position: relative;
	top: 0px;
	left: 0px;
	line-height: 2.0rem;
}

#footer li a{	
	display: block;
	text-decoration: none;
	padding: 0.2rem 0.4rem; 
	color: #ffffff;
}

#footer li a:hover{	
	text-decoration: underline;
}

.boxFine25{
	position: relative;
	float: left;
	width: 23%;
	margin: 0 1%;
}

.boxFine25 h2{
	color: #ffffff;
	margin: 0;
	padding: 0 0 0.6rem 0;
	font-size: 1.8rem;
}

.icoFine img{
	height: 2.4rem;
	margin: 0.4rem;
}

@media (max-width: 767px){
	.boxFine25{
		float: none;
		width: 100%;
		margin: 2rem 0%;
		text-align: center;
	}
}
/************************************************/
/* 				box fine						*/
/************************************************/
#fine{
	position:absolute;
	padding: 0rem;
	left: 0px;
	bottom: 0px; 
	width: 100%;
	text-align: center;
	background: #ffffff;
	border-top: 0.1rem solid #cccccc;
	color: #444444;
	z-index: 30;
}

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

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

#fineMenu li{
	position: relative;
	float: left;
	width: 33.3%;
	top: 0px;
	left: 0px;
	line-height: 2.0rem;
	font-size: 1.6rem;
}

#fineMenu li a{	
	display: block;
	text-decoration: none;
	padding: 1rem 0; 
}

@media (max-width: 767px) {
	#fineMenu li{
		position: relative;
		float: none;
		width: 100%;
		font-size: 1.4rem;
	}
}

#fineDati{
	position: relative;
	width: 100%;
	padding: 1.4rem 0rem;
	text-align: center;
	font-size: 1.2rem;
	letter-spacing: 0.2rem;
}

#fineDati img{
	height: 3rem;
	display: inline-block;
}

span.iso{
	font-size: 0.8rem;
}

.contenutoFloatSx{
	float: left;
	text-align: right;
	width: 50%;
}

.contenutoFloatDx{
	float: left;
	text-align: left;
	width: 50%;
}

@media (max-width: 767px) {
	.contenutoFloatSx, .contenutoFloatDx{
		float: none;
		text-align: center;
		width: 100%;
	}
}

/********************************************************/
/* 				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.5rem 1%;
	border-radius: 0.4rem;
	margin: 0 0 1.6rem 0;
}

form input[type="text"]:focus, form input[type="password"]:focus, form textarea:focus, form select:focus{
	border: 0.1rem solid #0d88d3;
	box-shadow: 0.1rem 0.1rem 0.4rem #c8c8c8;
}

form textarea{
	min-height: 10rem;
	font: normal normal normal 1.2rem 'Open Sans', sans-serif;
	color: #444444;
}

form select{
	color: #444444;
}

form input[type='radio'], input[type='checkbox'] {
	cursor: pointer;
	margin: 5px 10px;
}

form input[type="submit"], form input[type="reset"]{
	display: inline-block;
	margin: 1rem 1%;
	padding: 0.8rem 5%;
	border: 0.1rem solid #0d88d3;
	border-radius: 0.4rem;
	background: #0d88d3;
	color: #ffffff;
	cursor: pointer;
	transition: background 0.4s, color 0.4s;
	font-family: 'Barlow Semi Condensed', sans-serif;
	font-weight: 600;
	font-size: 1.2rem;
}

form input[type="submit"]:hover, form input[type="reset"]:hover{
	background: #0d88d3;
	color: #ffffff;
}

.errore{
	color: #000000;
}

span.errore{
	font-size: 1.1rem; 
	font-weight: 300;
	color: red;
}

/************************************************/
/* 				Utilità							*/
/************************************************/
.vuoto {
	clear:both;
}

.visible-mob{
	display: none;
}

@media (max-width: 767px){
	.visible-mob{
		display: block;
	}
	
	.hidden-mob{
		display: none;
	}
}

/************************************************/
/* 				Utilità							 *
**************************************************

span.nomeSpan{
}
/********************************************************/
/* 		Area riservata (lib_utenti.php)					*/
/********************************************************/
#areaRiservata ul{
	position: relative;
	top: 0;
	right: 0;
	margin: 0; 
	padding: 0;
	list-style-type: none;
	z-index: 100;
}

#areaRiservata li{
	position: relative;
	float: right;
	top: 0px;
	left: 0px;
	padding: 0rem 1.0rem; 
	line-height: 2.0rem;
	font-size: 1.4rem;
}

#areaRiservata li a{	
	display: block;
	text-decoration: none;
	padding: 0.5rem 0px 0.5rem 0px; 
}

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

#areaRiservata li img{
	margin: 0.1rem 0.3rem 0 0; 
	width: 1.8rem;
	height: 1.8rem;
	display: block;
	float: left;
}

#areaRiservata img{
	width: 2.0rem;
	height: 20.rem;
	float: right;
}

@media (max-width: 767px) {

	#areaRiservata li{
		position: relative;
		float: left;
		top: 0px;
		left: 0px;
		padding: 0rem 0.4rem; 
		line-height: 2.0rem;
	}
}

/********************************************************/
/* 	(nuovoIndirizzo.php)								*/
/********************************************************/
#nuovoIndirizzo{
	position: relative;
	width: 15rem;
	height: 15rem;
	padding: 2rem;
	background: #0d88d3;
	color: #ffffff;
	margin: 0 auto;
	float: none;
	font-size: 1.4rem;
	text-align: center;
	border: 0.1rem solid #0d88d3;
	border-radius: 0.4rem;
}

#nuovoIndirizzo i{
	font-size: 3rem;
	margin-bottom: 2rem;
}

/********************************************************/
/* 	(lib_ecommerce.php)									*/
/********************************************************/

/* riassunto carrello */
#riassuntoCarrello{
	position: relative;
	float: left;
	right: 0rem;
	margin: 0;
	font-weight: bold;
	width: 30%;
	height: 3.0rem;
	line-height: 2.5rem;
	font-size: 3.0rem;
	text-align: right;
	color: #0d88d3;
}

#riassuntoCarrello a{
	color: #0d88d3;
}

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

#riassuntoCarrello i{
	float: right;
	font-size: 2.6rem;
}

@media (max-width: 767px) {

	#riassuntoCarrello i{
		float: right;
		font-size: 2.4rem;
	}

}

/* contenuto carrello */
#carrelloDett{
	position: relative;
	margin-top: 1.0rem;
	background: #ffffff;
	padding: 1rem 2%;
	border: 0.1rem solid #0d88d3;
}

.intestazioneCarrello, .rigaCarrello{
	position: relative;
	width: 100%;
	border-bottom: 0.1rem solid #cccccc;
}

span.caratteristica{
	font-size: 1rem;
}

.boxBorderTop{
	border-top: 0.1rem solid #0d88d3;
}

#totCarrello{
	position: relative;
	text-align: right; 
	font-size: 1.6rem;
	padding: 1.0rem 1% 0rem 0rem;
}

#totIva{
	position: relative;
	text-align: right; 
	font-size: 1.2rem;
	padding: 1.0rem 1% 0rem 0rem;
}

#speseSpedizione{
	padding: 1.0rem 1% 0rem 0rem;
	text-align: right;
}

#spesePagamento{
	padding: 1.0rem 1% 0rem 0rem;
	text-align: right;
}

@media (max-width: 767px) {
	.rigaCarrello{
		border: 0.1rem solid #0d88d3;
		margin-top: 2rem;
	}
	
	#carrelloDett{
		border: 0;
	}
}

/********************************************************/
/* 					Contenuto nav						*/
/********************************************************/

#carrelloNav{
	position: relative;
	width: 100%;
	margin-bottom: 2rem;
	padding-bottom: 2rem;
}

.carrelloNav{
	position: relative;
	float: left;
	width: 25%;
	padding: 1rem 0;
	text-align: center;
	font-size: 1.4rem;
	font-weight: bold;
	border-right: 0.1rem solid #f8f8f8;
}

.carrelloNavAttivo{
	background: #2e8dd7;
	color: #ffffff;
}

.carrelloNavFreccia{
	position: absolute;
	width:2rem;
    height:100%;
    top:0;
	right: 0;
	background-image: url('freccia.png');
	z-index: 10;
	background-repeat:no-repeat;
    background-size:100% 100%;
}

@media (max-width: 767px) {
	.carrelloNav{
		width: 100%;
	}
	
	.carrelloNavFreccia{
		position: absolute;
		width:100%;
		height:10%;
		top:90%;
		left: 0;
		background-image: url('frecciaMob.png');
		z-index: 10;
		background-repeat:no-repeat;
		background-size:100% 100%;
	}
}

form input[type="text"].inputQuantit{
	float: left;
	border: 1px solid #0d88d3;
	border-radius: 0.3rem;
	text-align: center;
	padding: 0.4rem 0rem;
	margin: 0 1%;
	width: 48%;
}

form input[type="submit"].modificaQuantit{
	float: left;
	margin: 0 1%;
	border: 1px solid #0d88d3;
	background: #0d88d3;
	border-radius: 0.4rem;
	height: 2.7rem;
	color: #ffffff;
	cursor: pointer;
	width: 48%;
}

/********************************************/
/*				Tasti						*/
/********************************************/
.tastiCenter{
	position: relative;
	width: 100%;
	padding: 1rem 0;
	text-align: center;
}

.tastiLeft{
	position: relative;
	width: 100%;
	padding: 1rem 0;
	text-align: left;
}

.tastiRight{
	position: relative;
	width: 100%;
	padding: 1rem 0;
	text-align: right;
}

.tasto{
	display: inline-block;
	margin: 1rem 1%;
	padding: 0.8rem 5%;
	border: 0.1rem solid #0d88d3;
	border-radius: 0.4rem;
	background: #0d88d3;
	color: #ffffff;
	cursor: pointer;
	transition: background 0.4s, color 0.4s;
	text-align: center;
	font-weight: 600;
	font-size: 1.2rem;
}

.tasto:hover{
	background: #0d88d3;
	color: #ffffff;
}

form input[type="submit"].tasto30, form input[type="reset"].tasto30, .tasto30{
	width: 30%;
	margin: 1rem 1.5%;
}

form input[type="submit"].tasto50, form input[type="reset"].tasto50, .tasto50{
	width: 47%;
	margin: 1rem 1%;
}

form input[type="submit"].tasto100, form input[type="reset"].tasto100, .tasto100{
	width: 100%;
	margin: 1rem 0%;
}

/********************************************************/
/* 	(lib_prodotti.php) 									*/
/********************************************************/

/*-> boxProdotto()*/
.prodottiElenco{
	float: left;
	width: 21%;
	margin: 2.0rem 1.8%;
	border: 1px solid #0d88d3;
	overflow: hidden;
	background: #ffffff;
	padding-bottom: 0.4rem;
}

.prodottiElenco img{
	width: 100%;
	height: 100%;
}

.prodottiNome{
	width: 98%;
	margin: 0rem 1%;
	font-size: 1.8rem;
	height: 4.5rem;
	text-align: left;
}

.prodottiDati{
	width: 98%;
	margin: 0rem 1%;
}

.prodottiSconti{
	position:relative;
	width: 100%;
	font-size: 1rem;
	font-weight: 400;
}

.prodottiPrezzi{
	float: left; 
	width: 50%;
	font-size: 1.4rem;
	font-weight: bold;
	padding-top: 0.2rem;
}

.prodottiAggiungi{
	float: right;
	width: 50%;
}

.prodottiAggiungi form input[type="submit"]{
	position: relative;
	float: right;
	width: 40%;
	border: 1px solid #2e8dd7;
	background: #0d88d3;
	border-radius: 0.4rem;
	padding: 0.4rem 5%;
	text-align: center;
	margin: 0rem 5% 0.6rem 5%;
	color: #ffffff;
}

.prodottiAggiungi form input[type="submit"]:hover{
	color: #ffffff;
	background: #2e8dd7;
}

.prodottiAggiungi form input[type="text"]{
	position: relative;
	float: left;
	width: 40%;
	border: 1px solid #0d88d3;
	border-radius: 0.4rem;
	padding: 0.3rem 0rem;
	text-align: center;
	margin: 0rem 5% 0.6rem 5%;
}

span.prodottiQnt {
	font-size: 1.4rem;
	font-style: italic;
}

@media (max-width: 767px) {
	.prodottiElenco{
		float: left;
		width: 47%;
		margin: 2.0rem 1%;
		border: 1px solid #ffffff;
		overflow: hidden;
	}

	.prodottiNome{
		width: 98%;
		margin: 0rem 1%;
		font-size: 1.8rem;
		height: 4.5rem;
	}

	.prodottiDati{
		width: 98%;
		margin: 0rem 1%;
	}

	.prodottiPrezzi{
		float: none; 
		width: 100%;
		font-size: 1.4rem;
		font-weight: bold;
		padding-top: 0.2rem;
		margin: 0.2rem 0rem;
	}

	.prodottiAggiungi{
		float: none; 
		width: 100%;
		height: 2.2rem;
	}
}

/*-> boxProdotto()*/
#navBar{
	width: 100%;
}

#barraRisultati{
	font-size: 1.8rem;
	float: left;
}

.barraDietro{
	float: left;
	background: #d8cec0;
	margin-right: 1.0rem;
	border-radius: 0.3rem;
	overflow: hidden;
	padding: 0rem 0.4rem;
}

.barraAvanti{
	float: left;
	background: #d8cec0;
	margin-left: 1.0rem;
	border-radius: 0.3rem;
	overflow: hidden;
	padding: 0rem 0.4rem;
}

/*-> dettaglioProdotto() e prodotti.php*/
#prodotto{
	float: left;
	width: 66%;
}

#prodottiConsigliati{
	float: left;
	width: 33%;
	margin-left: 1%;
	text-align: right;
}

#dettaglioImmagine{
	float: left;
	width: 50%;
}

#dettaglioInfo{
	float: right;
	width: 48%;
}

#dettaglioNome{
	position: relative;
	font-size: 3.0rem;
	font-weight: bold;
	width: 100%;
	padding: 0rem 0.2rem;
	line-height: 3.6rem;
}

#dettaglioPrezzoSconto{
	position: relative;
	font-size: 1.4rem;
	font-weight: normal;
}

span.barrato {
	text-decoration: line-through;
}

#dettaglioPrezzo{
	float: left;
	font-size: 3.0rem;
	font-weight: bold;
	width: 30%;
	padding-top: 0.2rem;
	width: 50%;
	line-height: 3.4rem;
	margin-top: 0.5rem;
}

span.dettaglioIva {
	font-size: 1.4rem;
	font-weight: normal;
}

#dettaglioDisponibilit{	
	float: right;
	padding-top: 0.2rem;
	width: 50%;
	font-style: italic;
	margin-top: 0.5rem;
	text-align: right;
}

#dettaglioCarrello{ 
	position: relative;
	width: 100%;
	margin: 1.0rem 0rem 0rem 0rem;
}

#dettaglioCarrello form input[type="submit"]{
	position: relative;
	border: 1px solid #0d88d3;
	background-color: #0d88d3;
	border-radius: 0.4rem;
	padding: 0.4rem 0% 0.4rem 10%;
	text-align: center;
	font-size: 1.8rem;
	color: #ffffff;
	width: 100%;
	margin: 0 0 2.0rem 0;
	cursor: pointer;
}

#dettaglioCarrello form input[type="submit"]:hover{
	background-color: #2e8dd7;
}

#dettaglioCarrello form input[type="text"]{
	position: absolute;
	top: 0.2rem;
	left: 2%;
	width: 10%;
	border: 1px solid #0d88d3;
	border-radius: 3px;
	padding: 0.4rem 0rem;
	margin: 0.2rem 0rem;
	text-align: center;
	font-size: 1.4rem;
}

#dettaglioDescrizione{
	width: 100%;
	border-top: 0.1rem solid #;
	margin-top: 2.0rem;
	padding-top: 0.5rem;
}

#dettaglioIngredienti{
	width: 100%;
	border-top: 0.1rem solid #;
	margin-top: 2.0rem;
	padding-top: 0.5rem;
}

#dettaglioSocial{
	width: 100%;
	border-top: 0.1rem solid #;
	margin-top: 2.0rem;
	padding-top: 1.0rem;
}

#boxSottocategorieMarca{
	position: relative;
}

#boxSottocategorieMarca ul{
	position: relative;
	top: 0px;
	right: 0px;
	margin: 0px 0px 0px 0px; 
	padding: 0px 0px 0px 0px;
	list-style-type: none;
}

#boxSottocategorieMarca li{
	float: left;
	width: 18%;
	text-align: center;
	margin: 0rem 1% 0.8rem 1%; 
	background: #0d88d3;
	border-radius: 0.3rem;
	overflow: hidden;
}

#boxSottocategorieMarca li a{
	display: block;
	padding: 0.3rem 0rem;
	color: #ffffff;
}

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

#boxSottocategorieMarca li:hover{
	background: #2e8dd7;
}

@media (max-width: 767px) {
	#prodotto{
		width: 100%;
	}

	#prodottiConsigliati{
		width: 100%;
		margin-top: 4.0rem;
		margin-left: 0rem;
		text-align: left;
	}
	
	#dettaglioImmagine{
		float: none;
		width: 100%;
	}
	
	#dettaglioInfo{
		float: none;
		width: 100%;
		padding-top: 2.0rem;
	}
	
	#boxSottocategorieMarca li{
		width: 98%;
		margin: 0rem 1% 0.8rem 1%; 
	}
	
	.dettaglioQuantita{
		padding: 0.3rem 0rem;
	}
	
	.dettaglioAcquista{
		background-position: 98% 50%;
		padding: 0.6rem 1% 0.6rem 4%;
		font-size: 1.4rem;
	}
}

/*-> prodottiConsigliati()*/
.elencoConsigliati{
	position: relative;
	float: right;
	width: 64%;
	margin: 0.8rem 0% 0.8rem 0%;
	padding: 0.5rem 2%;
	border: 1px solid #;
	font-size: 1.8rem;
	line-height: 2.0rem;
	font-weight: bold;
	text-align: left;
	background: #ffffff;
}

.elencoConsigliati img{
	float: left;
	width: 38%;
}

.elencoConsigliatiNome{
	float: right;
	width: 58%;
}

@media (max-width: 767px) {
	.elencoConsigliati{
		position: relative;
		width: 95.5%;
		margin: 0.8rem 0% 0.8rem 0%;
	}
}
/********************************************************/
/* 	(ordine.php) 										*/
/* 	(lib_ecommerce.php) -> Ordini 						*/
/* 	(utenteDati.php) 									*/
/********************************************************/
.categoriaDati{
	position: relative;
	width: 100%;
	border: 1px solid #0d88d3;
	margin-top: 2.0rem;
	padding: 0rem 2% 1rem 2%;
	background: #ffffff;
}

.categoriaDatiBox30{
	position: relative;
	float: left;
	width: 31.3%;
	padding: 0;
	margin: 0 1%;
}

.categoriaDatiBox50{
	position: relative;
	float: left;
	width: 48%;
	padding: 0;
	margin: 0 1%;
}

.categoriaDatiSx{
	position: relative;
	float: left;
	width: 48%;
	border: 1px solid #0d88d3;
	padding: 0rem 2% 1rem 2%;
	margin-top: 2.0rem;
	background: #ffffff;
}

.categoriaDatiDx{
	position: relative;
	float: right;
	width: 48%;
	border: 1px solid #0d88d3;
	padding: 0rem 2% 1rem 2%;
	margin-top: 2.0rem;
	background: #ffffff;
}

.selectIndirizzi{
	float: left; 
	padding: 0.2rem 0.4rem;
	border: 1px solid #0d88d3;
	border-radius: 0.4rem;
}

.inputIndirizzi{
	padding: 0.2rem 0.4rem;
	border: 1px solid #0d88d3;
	border-radius: 0.4rem;
}

.riepilogoBox{
	float: left;
	width: 46%;
	margin: 1rem 2%;
}

.riepilogoBox30{
	position: relative;
	float: left;
	width: 30%;
	margin: 1rem 1.5%;
}

#_fatturazione{
	position: relative;
	width: 100%;
	border: 0.1rem solid #cccccc;
	padding: 1rem 2%;
	display: none;
}

/* Elenco indirizzi*/
#elencoIndirizzi{
	margin-top: 1.0rem;
}

#elencoIndirizzi table {
    border-collapse: collapse;
}

#elencoIndirizzi th{
	font-size: 1.6rem;
}

#elencoIndirizzi th, td{
    border-bottom: 1px solid #0d88d3;
	padding: 0.5rem 0rem 0.2rem 0rem;
}

#elencoIndirizzi th{
    text-align: center;
}

@media (max-width: 767px) {
	.riepilogoBox, .riepilogoBox30{
		float: none;
		width: 100%;
	}
	
	.categoriaDatiBox30, .categoriaDatiBox50, .categoriaDatiSx, .categoriaDatiDx{
		position: relative;
		float: none;
		width: 100%;
		padding: 0rem 1% 0.5rem 1%;
		margin-top: 1.0rem;
	}
	
}

/********************************************************/
/* 	(utenteOrdini.php) 									*/
/********************************************************/

/* Elenco ordini*/
#listaOrdini{
	margin-top: 1.0rem;
}

#listaOrdini table {
    border-collapse: collapse;
}

#listaOrdini th{
	font-size: 1.6rem;
}

#listaOrdini th, td{
    border-bottom: 1px solid #0d88d3;
	padding: 0.5rem 0rem 0.2rem 0rem;
}

#listaOrdini th{
    text-align: center;
}

/********************************************************/
/* 			(uploadFileAjax.php)						*/
/********************************************************/

.carica{
	position: relative;
	top:0px;
	left:0px;
	width:100%;
	background: #f0f0f0;
	padding: 5px 2%;
	border-radius: 2px;
	margin: 0 0 20px 0;
	border: 1px solid #cccccc;
}

.carica h1{
	position: relative;
	font-weight: bold;
	font-size: 14px;
	width: 100%;
	padding: 6px 2%;
	border-bottom: 1px solid #cccccc;
}

.carica form input[type="text"]{
	position: relative;
	float: left;
	width: 58%;
	border: 0.1rem solid #ccc;
	padding: 0.5rem 1%;
	border-radius: 2px;
	margin: 0 1%;
	background: #ffffff;
}

.carica form input[type="submit"]{
	position: relative;
	float:left;
	width: 33%;
	margin: 1rem 1%;
	padding: 0.6rem 0;
	border: 0.1rem solid #0d88d3;
	border-radius: 2px;
	background: #0d88d3;
	color: #ffffff;
	font-weight: bold;
	cursor: pointer;
	transition: background 0.4s, color 0.4s;
}

.sfoglia{
	width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	z-index: -1;
}

.sfoglia + label {
	position: relative;
	float:left;
	width: 63%;
	margin: 1rem 1%;
	padding: 0;
	background: #ffffff;
	font-weight: bold;
}

.sfoglia + label strong{
	display: inline-block;
	padding: 0.6rem 1% 0.5rem 1%;
	margin: 0 2% 0 0;
	background: #0d88d3;
	border-radius: 2px;
	border: 1px solid #0d88d3;
	color: #ffffff;
	cursor: pointer;
	text-align: center;
}

.sfoglia + label strong i, .sfoglia + label strong i:hover{
	color: #ffffff;
}

._elencoFile{
	position: relative;
	width: 100%;
	background: #ffffff;
}

.fileCaricato{
	position: relative;
	width: 100%;
	border-top: 0.1rem solid #ededed;
	padding: 1rem 2%;
}

span._eliminaFile{
	color: #0d88d3;
	float: right;
}

@media (max-width: 400px){
	.carica form input[type="text"]{
		float: none;
		width: 100%;
		border: 0.1rem solid #ccc;
		padding: 0.5rem 1%;
		margin: 6px 0;
	}
	
	.sfoglia + label {
		width: 100%;
		margin: 6px 0;
		background: #ffffff;
	}

	.carica form input[type="submit"]{
		float:none;
		width: 100%;
		margin: 6px 0;
	}
}

/********************************************************/
/* 	(login.php) 										*/
/* 	(iscrizione.php) 									*/
/********************************************************/
#login{
	position: relative;
	width: 100%;
	max-width: 36rem;
	border: 0.1rem solid #0d88d3;
	background: #ffffff;
	padding: 2rem 2%;
	border-radius: 0.4rem;
	margin: 5rem auto;
}

.larghezzaForm{
	position: relative;
	float: left;
	width: 50%;
	padding: 0 2%;
}

.login{
	position: relative;
	width: 20.0rem;
	border: 1px solid #0d88d3;
	border-radius: 0.8rem;
	padding: 0.8rem;
	margin: 0 auto;
}

@media (max-width: 767px) {
	.login{
		position: relative;
		width: 90%;
		border: 1px solid #0d88d3;
		border-radius: 0.8rem;
		padding: 0.8rem 5%;
	}
	
	.larghezzaForm{
		position: relative;
		float: none;
		width: 100%;
		margin-bottom: 1rem;
	}
}

#loginMessaggio{
	position: relative;
	width: 100%;
	max-width: 50rem;
	border: 0.4rem solid #0d88d3;
	padding: 2rem 5%;
	margin: 0 auto;
	margin-top: 5rem;
	text-align: center;
}

/********************************************************/
/* 	(logreg.php) 										*/
/********************************************************/
.boxLogreg{
	position: relative;
	float: left;
	width: 48%;
	border: 1px solid #0d88d3;
	border-radius: 0.8rem;
	padding: 0.8rem 1%;
	margin: 0 1%;
}

@media (max-width: 767px){
	.boxLogreg{
		float: none;
		width: 98%;
		margin: 2rem 1%;
	}
}

/********************************************************/
/* 	(iscrizione.php)									*/
/********************************************************/
.errore{
	color: #ae0000;
	font-weight: bold;
}

/************************************************/
/* 				News							*/
/************************************************/
#newsCorpo{
	position: relative;
	float: left;
	width: 70%;
}

#newsLaterale{
	position: relative;
	float: right;
	width: 27%;
}

.news{
	position: relative; 
	margin-bottom: 2.0rem;
}

.news a, .news a:hover{
	color: #5e5e5e;
	text-decoration: none;
	width: 100%;
}

.newsTitolo{
	position: relative;
	top: 0px;
	left: 0px;
	font-size: 1.8rem;
	font-weight: bold;
	color: #5e5e5e;
	text-align:left;
	font-family: 'Barlow Semi Condensed', sans-serif;
}

span.newsData {
	font-size: 1.2rem;
	font-style:italic;
	color: #aeafb1;
	font-weight: normal;
}

.newsCorpo{
	position:relative;
	padding-bottom: 0.4rem;
	border-bottom: 1px solid #aeafb1;
}

.newsImmagine{
	position: relative;
	width: 100%;
	min-height: 0rem;
	margin-bottom: 0.8rem;
}

.newsImmagine img{
	position: relative;
	width: 100%;
}

.aperta{
	display: block;
}

.chiusa{
	display: none;
}

#catLaterale{
	position: relative;
	margin-top: 0rem;
}

#catLaterale ul{
	position: relative;
	top: 0px;
	right: 0px;
	margin: 0 auto; 
	padding: 0px;
	list-style-type: none;
	font-size: 1.6rem;
	font-weight: bold;
}

#catLaterale li{
	position: relative;
	width: 100%;
}

#catLaterale li a{
	color: #0d88d3;
	text-decoration: none;
	display: block;
	padding: 0.3rem 0rem;
}

#catLaterale li a:hover{
	color: #0d88d3;
	text-decoration: underline;
}

@media (max-width: 767px) {
	#newsCorpo, #newsLaterale{
		position: relative;
		float: none;
		width: 100%;
	}
	
	#catLaterale{
		border-top: 1px solid #0d88d3;
		margin-top: 1.0rem;
	}
}

/************************************************/
/* 				Tabelle responsive				*/
/************************************************/
.rigaIntestazione{
	position: relative;
	width: 100%;
	background: #f8f8f8;
	border-bottom: 0.1rem solid #0d88d3;
	padding: 0.8rem 0;
	font-weight: bold;
	background: #ffffff;
}

.riga, .rigaServizio{
	position: relative;
	width: 100%;
	border-bottom: 0.1rem solid #0d88d3;
	border-bottom: 0.1rem solid #cccccc;
	padding: 0.4rem 0;
	background: #ffffff;
}

.rigaServizio{
	border-bottom: 0.1rem solid #0d88d3;
}

.box{
	float:left;
	padding: 0.4rem 1%;
	/*border: 0.1rem solid red;*/
}

.box .fa{
	margin: 0 0.4rem;
	padding: 0;
	color: #0d88d3;
	cursor: pointer;
}

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

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

.box-border-bottom{
	border-bottom: 0.1rem solid #ededed;
}

.box-border-top{
	border-top: 0.1rem solid #ededed;
}

.box i{
	margin: 0 0.4rem;
	padding: 0;
	color: #0d88d3;
	cursor: pointer;
	font-size: 2rem;
}

.box .tasto{
	margin: 0 1%;
	padding: 0.4rem 5%
}

.box .tasto i{
	color: #ffffff;
	font-weight: normal;
	font-size: 1.2rem;
}

span.boxVoce{
	font-size: 1rem;
}

.box5{
	width: 5%;
}

.box10{
	width: 10%;
}

.box15{
	width: 15%;
}

.box20{
	width: 20%;
}

.box25{
	width: 25%;
}

.box30{
	width: 30%;
}

.box35{
	width: 35%;
}

.box40{
	width: 40%;
}

.box45{
	width: 45%;
}

.box50{
	width: 50%;
}

.box60{
	width: 60%;
}

.box70{
	width: 70%;
}

.box80{
	width: 80%;
}

.box95{
	width: 95%;
}

.box100{
	width: 100%;
}

@media (max-width: 767px) {
	.riga, .rigaServizio{
		position: relative;
		width: 100%;
		border: 0.1rem solid #cccccc;
		padding: 0;
		margin-top: 2rem;
	}
	
	.rigaServizio{
		margin-top: 0rem;
		border-top: 0;
	}
}