#blog{
	/*height: 100%;*/
}
.home_sezione{
	position: absolute;
	display: block;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	-webkit-perspective: 400px;
	-moz-perspective: 400px;
}
.home_azienda{
	background-image:url("../imm/back_azienda.jpg");
	background-size: cover;
	background-position: center;
}
.home_servizi{
	background-image:url("../imm/back_servizi.jpg");
	background-size: cover;
	background-position: center;
}
.home_portfolio{
	background-image:url("../imm/back_portfolio.jpg"); ?>;
	background-size: cover;
	background-position: center;
}
.home_case{
	background-image:url("../imm/back_case.jpg"); ?>;
	background-size: cover;
	background-position: center;
}

.front {
	position: absolute;
	top:125px;
	display: inline-block;
	
	text-align: center;
	padding-top:25px;
	padding-bottom: 25px;
	background-color: #000000;
	background-color:rgba(0,0,0,0.5);
	
	background-color: #FFFFFF;
	background-color:rgba(255,255,255,0.75);
	/*margin-top: 75px;*/
	-moz-backface-visibility: hidden;
	/* -- transition is the magic sauce for animation -- */
	-o-transition: all 6s cubic-bezier(0.075, 0.82, 0.165, 1);
	-ms-transition: all 6s cubic-bezier(0.075, 0.82, 0.165, 1);
	-moz-transition: all 6s cubic-bezier(0.075, 0.82, 0.165, 1);
	-webkit-transition: all 6s .cubic-bezier(0.075, 0.82, 0.165, 1);
	transition: all 6s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.front2 {
	background-color: #FFFFFF;
	background-color:rgba(255,255,255,0.75);
}

.flip .front{
	/*margin-top: 100%;*/
	top: -100%;
}

.flip2 .front{
	/*margin-top: -100%;*/
	top: 100%;
}

.dimensione_news_img{
	position:relative;
	display: block;
	top:0px;
	left:0px;
	width: 30%;
}

@media screen and (max-width: 1024px){	
	.front{
		/*margin-top: 75px;*/
		top: 100px;
	}
}

@media screen and (max-width: 800px){
	.dimensione_news_img{
		width: 40%;
	}
}

@media screen and (max-width: 600px){
	.dimensione_news_img{
		width: 50%;
	}
}

@media screen and (max-width: 500px){
	.dimensione_news_img{
		width: 75%;
	}
}
@media screen and (max-width: 400px){
	.dimensione_news_img{
		width: 90%;
	}
}

@media screen and (orientation:portrait) {
	.home_portfolio{
		background-image:url("../imm/back_portfolio.jpg");
	}
}