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


body {
	font-weight: 300;
}

.nascosto {
	display: none;
}



/* HEADER */

header {
	width: 100%;
	position: absolute;
	min-height: 110px;
	padding: 0;
	z-index: 5;
	top: 0;
	left: 0;
}

header .back.home{
	min-height: 90px;
}



header.fix {
	width: 100%;
	position: fixed;
	min-height: 90px;
		padding: 0;
	z-index: 6;
}


header .navtop ul{
	text-align: right;

	display: flex;
	flex-direction: row;
	justify-content: right;	
}

header .navtop ul li{
	padding: 5px;
	position: relative;
	padding-left: 35px;
	padding-right: 10px;
	cursor: pointer;
	font-size: .9em;
	font-weight: 300;
}

header .navtop ul li:hover{
	
}

header .navtop ul li span{
	position: absolute;
	top: 2px;
	left: 0;
	width: 30px;
	height: 30px;
}

header .navtop ul li .n_prodotti{
	position: absolute;
	top: 0;
	left: 20px;
}

header .navtop ul li .n_prodotti span{
	
	width: 16px;
	height: 16px;
	line-height: 16px;
	border-radius: 10px;
	
	color: #fff;
	font-size: .7em;
	text-align: center;
}



header .menu {
	position: absolute;
	top: 20px;
	right: 10px;
	width: 60px;
	height: 60px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 10px;
	align-items: center;
	z-index: 8;
	cursor: pointer;
}

header .menu .linea{
		height: 2px;
	width: 100%;
	margin: 5px 0;
}

header .menu:hover .linea{
	}


header .menu.active .linea.top{
	position: absolute;
	top: 10px;
		height: 2px;
	transform: rotate(45deg);

}

header .menu.active .linea.bottom{
	position: absolute;
	top: 10px;
		height: 2px;
	transform: rotate(-45deg);

}

header .menu.active .linea.center{
	display: none;

}


header .barra{

	position: relative;
	width: 100%;
	margin: 0 auto;
}

header .barra .logo{
	position: absolute;
	width: 140px;
	height: 90px;
	background-color: transparent;
	top: 0;
	left: 50%;
	transform: translate(-50%);
}


header .barra .logo .b{
	display: inline;
}
header.fix .barra .logo .b{
	display: inline;
}

header .barra .logo .a{
	display: none;
}

header.fix .barra .logo .a{
	display: none;
}


header .barra .logo img{
	margin-top: 5px;
	height: 80px;
	text-align: center;
	line-height:90px;
	padding: 0px 0px;
}

header .barra .logo .text{
	padding-top: 20px;
	font-size: 2em;
	font-weight: 600;
	line-height: .9em;
	float: left;
	}

header .barra .logo .text span{
	font-size: 1rem;
	font-weight: 400;
	float: right;
	}

header.fix .barra .logo{
	position: absolute;
	width: 140px;
	height: 80px;
	top: 0;
}

header.fix .barra .logo img{
	height: 80px;
	float: left;
	padding: 0px 10px;
	margin-top: 5px;
}




header nav{
	top:0;
	left: 0;
	position: fixed;
	width: calc(100%);
	height:1vh;
	z-index: 8;
		transition: max-height 1s ease-out, opacity 0.3s ease-out;
	opacity: 0;
	overflow: hidden;
	background-color: #4e2a29;
}

header nav.fix{
	display: inline;
	height: 100vh;
	opacity: 1;
}


header nav ul{
	display: flex;
	flex-direction: column;
	justify-content: right;
	padding: 100px 50px 0;
}

header nav ul li{
	padding: 10px;
	font-size: 2em;
	text-align: right;
	cursor: pointer;
	color: #fff;
}

header nav ul li:hover{
	
	color: #fff;
}

header nav ul.sotto{
	display: flex;
	flex-direction: column;
	justify-content: right;
	padding: 10px 0px;
	display: none;
}

header nav ul.sotto li{
	padding: 10px;
	font-size: 1.2em;
	text-align: right;
	cursor: pointer;
	}

header nav ul.sotto li:hover{
		background-color: #fff;
}


/* HEADER */

/* SLIDE */
#slide {
	position: relative;
	margin-top: 90px;
	width: 100%;
	height:50vh;
}

#slide .altezza {
	height: 75vh;
}

#slide ul{
	position: relative;
	width: 100%;
	height: auto;
}

#slide li{
	position: relative;
	width: 100%;
	background-size: cover;
	height: 50vh;
}

#slide li .colonna50{
	width: 80%;
	margin: 10%;
}

#slide .conte{
	padding: 0 0 5% 0%;
}

#slide .sopra{
	position: absolute;
	padding: 10px;
	width: 100%;
	background-size: contain;
	background-position: center;
	z-index: 3;
	bottom: 0;
	background-color: #4e2a29;
	opacity: 1;
	right: 0;
}

#slide .sotto{
	height:50vh;
}


#slide  h3{
		font-size: 1.1em;
	padding: 0 10px;
	color: #fff;
}


#slide h2{
	color: #f4f0ed;
	font-size: 2.5rem;
	line-height: 3rem;
	margin: 0;
	padding: 20px;
	font-weight: 500;
}

#slide  p{
	color: #fff;
	font-size: 1em;
	padding: 10px 20px;
	margin: 0;
}




#slide .sopra button{
	
	padding:20px 40px;
	color:#fff;
	font-size: 1.5em;
	border: 0;
	margin: 20px 0;
}

/* SLIDE */

/* MAIN */

section {
	position: relative;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
}


ul.elenco-contenuti {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

ul.elenco-contenuti li{
	text-align: left ;
	padding: 5px;

}





#about {
	padding: 0px 0 50px;
	display: flex;
	flex-direction: column;
}

#about  .img{
	
	width: 100%;
	height: 400px;
	margin: 0;
	position: relative;
	background-size: cover;

}

#about  .img ul{
	position: absolute;
	top: 50px;
	left: -30px;
	display: flex;
	flex-direction: column;
	width: 250px;	
	
	padding: 10px 0;
}

#about  .img ul li{
	margin: 0px;

	color: #fff;
	padding: 5px 10px;
}

#about  .colonna{
	top: 0;
	right: 0;
	position: relative;
	width: 100%;
	margin-top: 0px;
	padding: 50px 0;
	text-align: center;
	height: auto;
	
}

#about .colonna h3 {
	font-size: 1.2em;
	font-weight: 300;
}

#about .colonna h3 span{
	padding:0 10px;
	}


#about  h1 {
	font-size: 2em;
	line-height: 2.4rem;
	padding: 0px 0 0;
	text-align: center;
}

#about h2 {
	text-align: center;
	font-size: 1.3em;
	line-height: 2rem;
		padding: 0;
}

#about h3 {
	font-size: 1.4em;
	line-height: 1.2rem;
		padding: 0
}

#about p {
	margin-top: 0px;
	font-size: 1.1em;
	font-weight: 200;
	padding: 20px 20px;
	line-height: 1.8em;
}

#about button {
	font-size: 1em;
	margin: 10px 0;
	padding: 10px 50px 10px 50px;
	
	color: #fff;
	border: 0;
	cursor: pointer;
}

#about button:hover {
	}


	#servizi h2 {
		font-family: 'Roboto', sans-serif;
		font-size: 3em;
		line-height: 1.6rem;
		text-align: center;
		color: #9b4442;
		padding: 5px 20px;
	}
	
	#servizi p {
		font-size: 1em;
		font-weight: 200;
		text-align: center;
		padding: 20px 20px;
		line-height: 1.5em;
	}

	#servizi ul {
		display: flex;
		flex-direction: column;
		justify-content: space-around;
		
	
	}
	
	
	#servizi ul li {
		width: 90%;	
		text-align: center;
		margin: 5% 5% 0 5%;
		position: relative;
		cursor: pointer;
		overflow: hidden;
	}

	#servizi ul li .img{
		width: 100%;
		height: 300px;
		background-size: cover;
		opacity: .8;
	}


	#servizi ul li .sopra{
		position: absolute;
		top: 30px;
		left: 0;
		width: 100%;
		height: 300px;
		text-align: center;
	}	


	#macchine {
		padding: 20px 0 0px;
		position: relative;
	}
	
	#macchine  .img{
		width: 100%;
		height: 400px;
		margin: 0vh;
		margin-left:0;
		position: relative;
		background-size: cover;
		background-position: bottom;
	
	}
	

	
	#macchine  .colonna{
		position:relative;
		top: 0vh;
		left: 0vh;
		z-index: 3;
		background-color: #efe7dc;
		width: 100%;
		margin-top: 0px;
		height: auto;
		padding: 50px 0px;
		text-align: center;
		
	}

	#macchine  h2 {
		font-family: 'Roboto',sans-serif;
		font-size: 2em;
		line-height: 3rem;
		padding: 0px 30px 5px;
		font-weight: 600;
	}
	
	
	#macchine h3 {
		font-family: 'Roboto', sans-serif;
		font-size: 1.4em;
		line-height: 1.2rem;
		color: #9b4442;
		padding: 0px 30px;
	}
	
	#macchine p {
		margin-top: 0px;
		font-size: 1em;
		font-weight: 200;
		padding: 20px 30px;
		line-height: 1.8em;
	}

	#macchine button {
		font-size: 1em;
		margin: 10px 50px;
		text-align: left;
		padding: 10px 20px 10px 20px;
		background-color: #9b4442;
		color: #fff;
		border: 0;
		border-radius: 40px;
		cursor: pointer;
	}


#numeri {
	height: auto;
	
}

#numeri ul {
	display: flex;
	flex-direction: row;
	justify-content: center;
	padding: 0px 0;
}

#numeri ul li {
	position: relative;
	height: auto;
	text-align: center;
	padding: 10px 0;
	width:100%;
	border: 1px solid #fff;
}

#numeri ul li .icona{
	display: none;
}

#numeri ul li .big {
	position: relative;
	font-size: 2.3em;
	padding: 5px 0;	
	height: auto;
}

#numeri ul li .big  span{
	font-size: 2rem;
	font-weight: 600;
}


#numeri ul li h3{
	font-size: .9rem;
}




.padding20 {
	padding: 20px;
}


.colonna50 {
	float: left;
	width: 100%;
}

.colonna70 {
	float: left;
	width: 100%;
}

.colonna30 {
	float: left;
	width: 100%;
}

.colonna60 {
	float: left;
	width: 100%;
}

.colonna40 {
	float: left;
	width: 100%;
}


.f_right {
	float: right;
}



#puntivendita {
	position: relative;
	height: 620px;
	padding-bottom: 180px;
}

#puntivendita .img{
	background-image: url(../img/puntivendita.jpg?1);
	background-size: cover;
	background-position: center;
	height: 620px;
	float: left;
	width: 100%;
}


#puntivendita h2{
font-size: 2em;
line-height: 1em;
padding: 50px 10% 0;
color: #fff;
}

#puntivendita .sotto {
	position: absolute;
 top:50px;
	width: 100%;
	right: 0;

}

#puntivendita .sotto ul {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;

}

#puntivendita .sotto ul li {
	position: relative;
	margin:10px 10px;
	width: 250px;
	height: 100px;
	background-color: #fff;
	padding: 20px 20px 0  30px;

}

#puntivendita .sotto ul li .icon{
	width: 50px;
	height: 50px;
	text-align: center;
	line-height: 50px;
	position: absolute;
	top: 8px;
	left: -25px;
	background-color: #fff;
	border-radius: 50%;
		font-size: 2em;

}


#visite {
	position: relative;
	background-image: url(../img/visite.jpg);
	background-size: cover;
	background-position: right;
	height: 600px;
	margin-bottom: 0px;
}

#visite h2{
font-size: 3.2rem;
line-height: 3rem;
padding: 30px 10% 0;

}


#visite p{

font-size: 1.2rem;
line-height: 1.8em;
padding: 10px 10%;
}

#visite h4{
font-size: 1.2em;
line-height: 1.6em;
padding: 40px 10% 10px;
color: #fff;
}

#visite .sotto {
	position: absolute;
	top: 80px;
	width: 100%;

}

#visite .sotto ul {
	display: flex;
	flex-direction: row;
	justify-content: left;
	flex-wrap: wrap;
	margin-left: 8%;

}

#visite .sotto ul li {
	margin: 5px;
	height: 75px;
	width: 40%;
	border: 2px solid #c0aa8f;
	padding: 5px;

	cursor: pointer;
}

#visite .sotto ul li .int {
	position: relative;
	background-color: #fff;
	height: 60px;
}

#visite .sotto ul li:hover {
	
	background-color:#c0aa8f;
}

#visite .sotto ul li h3 {
	position: absolute;
	top: 0px;
	left: 6px;
	font-size: 2em;
	font-weight: 300;
	padding: 0;
	margin: 0;
}

#visite .sotto ul li h4 {
	position: absolute;
	
	top: 5px;
	right: auto;
	left: 50px;
	font-size: 1.5em;
		padding: 0;
	margin: 0;
}

#visite .sotto ul li button {
	position: absolute;
	bottom: 5px;
	left: 0;
	width: 100%;
	font-size: .9rem;
	text-align: center;
		background-color: transparent;
	border: 0;
	padding: 0;
	margin: 0;
	cursor: pointer;
}


#blog {
	position: relative;
	padding: 10% 0;
}

#blog h2 {
	
	font-size: 2em;
	line-height: 2rem;
	padding: 0px 0px 10px 10%;
}

#blog h3 {
	font-size:1.5em;
	line-height: 1rem;
		padding-left: 18%;
}

#blog p {
	font-size: 1.2em;
	line-height: 1.8rem;
	padding: 20px 10%; 
	}

#blog ul {
	display: flex;
	justify-content: left;
	flex-direction: row;
	flex-wrap: wrap;
	padding: 0px 0;
}

#blog ul li{
	width: 100%;
	padding: 20px;
}

#blog ul li .img{
	width: 100%;
	height: 220px;
	border: 0px solid #333;
	background-size: cover;
	background-position: right;
}

#blog ul  li p {
	font-size: 1em;
	line-height: 1.8rem;
	padding: 10px; 
	}

#blog ul li h3 {
	font-size: 1.5em;
	line-height: 1.5rem;
		padding: 10px;
}

/*_______UN SOLO CONTENUTO _______*/


#blog ul.blog1 li{
	width: 100%;
	padding: 20px;
	background-color: #fff;
}

#blog ul.blog1 li div{

	padding: 40px;
}

#blog ul.blog1 li .img{
	float: left;
	width: 100%;
	height: 500px;
	margin-right: 30px;
	background-size: cover;
	background-position: right;
}

#blog ul.blog1  li p {
	font-size: 1.2em;
	line-height: 1.8rem;
	padding: 10px; 
	}

#blog ul.blog1 li h2 {
	font-size: 2.6em;
	line-height: 2.8rem;
		padding: 10px;
}

#blog ul.blog1 li h3 {
	font-size: 1.85em;
	line-height: 1.85rem;
		padding: 10px;
}

/*_______DUE CONTENUTI _______*/

#blog ul.blog2 li{
	width: 100%;
	margin: 0%;
	height: 650px;
	padding: 0px;
	background-color: #fff;
}

#blog ul.blog2 li div{

	padding: 20px;
}

#blog ul.blog2 li .img{
	width: 100%;
	height: 230px;
	margin: 0;
	background-size: cover;
	background-position: right;
}

#blog ul.blog2  li p {
	font-size: 1.1em;
	line-height: 1.8rem;
	padding: 10px; 
	}

#blog ul.blog2 li h2 {
	font-size: 2em;
	line-height: 2.2rem;
		padding: 10px;
}

#blog ul.blog2 li h3 {
	font-size: 1.4em;
	line-height: 1.85rem;
		padding: 10px;
}



.relative {
	position: relative;
}

.conthover {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9;
    display: none;
    background-color: #fff;
}

.conthover.opacity {
	opacity: .8;
}

.popup {
	top: 0;
	left: 0;
	position: fixed;
	width: 80%;
	height: 80vh;
	margin: 10vh 10%;
	background-color: #fff;
	z-index: 10;
	display: none;
}

.hover {
    position:absolute;
    top: 0;
    z-index: 10;
    left: 0;
    width: 100%;
    min-height: 100vh;
    display: none;
}

.hover .boxcontenuto{
    position: relative;
    width: 100%;
    max-width:1280px;
    margin: 0 auto;
    padding: 0px;

}

.hover .boxcontenuto input, .hover .boxcontenuto select, .hover .boxcontenuto textarea   {
    width: 95%;
    font-size: 1.2em;
    border: 0;
    border: 1px solid #ccc;
    padding: 10px;
    margin: 5px 0;


}

.hover .boxcontenuto.esteso{
    max-width:none;
	height: 100vh;
	position: fixed;

}

.hover .boxcontenuto .altezza{
	height: 50vh;
}

.hover .boxcontenuto #accesso.altezza.esteso{
	height: 80vh;
}

.hover .boxcontenuto #registrazione.altezza.esteso{
	height: 20vh;
}



.hover .boxcontenuto .boxaccesso .colonna{
	padding: 50px;
	display: flex;
	flex-direction: column;
align-items: center; /* Centrato verticalmente */
justify-content: center;

}

.hover .boxcontenuto .boxaccesso .colonna100{
	width: 100%;
}

.hover .boxcontenuto .boxaccesso .colonna50{
	padding:20px;
	width: 100%;


}


.hover .boxcontenuto .boxaccesso ul{
	display: flex;
	justify-content: left;
	flex-direction: column;

}

.hover .boxcontenuto .boxaccesso ul li{
	font-size: 1.5em;
	line-height: 1.8em;
	padding: 5px;

}

.hover .boxcontenuto .boxaccesso input{
	margin: 5px 0px;
	width:80%;
	padding: 5px;
	font-size: .9em;

}

.hover .boxcontenuto .boxaccesso label{
	display: block;
	width:100%;
	white-space: wrap;

}

.hover .boxcontenuto .boxaccesso h3{
	font-size: 1.2rem;
	font-weight: 400;
	padding: 10px 0px;
}

.hover .boxcontenuto .boxaccesso p{
	font-size: 1rem;
	padding: 5px 20px;
}

.hover .boxcontenuto .boxaccesso p.dim{
	text-decoration: underline;
	cursor: pointer;
}

.hover .boxcontenuto .boxaccesso .dimpass{
	display: none;
}

.hover .boxcontenuto .boxaccesso p.dim:hover{
color:#c0aa8f
}

.hover .boxcontenuto .boxaccesso button{
	background-color: #fff;
	padding: 10px 20px;
	margin: 20px;
	border: 0;
	cursor: pointer;
}

.hover .boxcontenuto .boxaccesso button:hover{
	background-color:#c0aa8f
}


.hover .chiudi{
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2em;
    z-index: 2;

}

#contatti {
	padding: 100px 0 0px;
}

#contatti h1 {
	font-size: 2em;
	line-height: 2.4rem;
	
	padding:20px;
}

#contatti form {
	padding: 20px;
}

#contatti label{
	display: block;
}

#contatti input{
	padding:10px 20px;
	width: 90%;
	background-color: #fff;
	border: 1px solid #ccc;
	display: block;
}

#contatti textarea{
	padding: 10px 20px;
	width: 90%;
	background-color: #fff;
	border: 1px solid #ccc;
	height: 200px;
	display: block;
}

#contatti button{
	padding:10px 20px;
		color: #fff;
	border: 0;
	margin: 20px 0;
	display: block;
}

#contatti .mappa{
	height: 400px;
	background-color: #fff;
}



/*_________FOOTER_*/



footer {	
	margin: 0 auto;
	width: 100%;
	max-width: 1280px;
	padding-top: 10px;
	color: #ccc;
}



footer .logo {
	position: absolute;
	top:-90px;
	left: 50%;
	transform: translateX(-50%);
	width: 150px;
	height: 140px;
	padding: 5px 0;
	z-index: 6;
	background-image: url(../img/logo_footer.png?5);
}


footer .scritta {
	float: left;
	font-size: 1.6em;
	padding: 15px 10px;
		font-weight: 600;
}

footer ul.elenco-contenuti {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	flex-wrap: wrap;
}

footer ul.elenco-contenuti li{
	text-align: center ;
	padding: 5px;

}



.blocca {
	margin: 0;
	clear: both;
}

.blocca1 {
	margin: 0;
	clear: both;
	border-bottom: 1px dotted #ccc;
}


}