/* SERVICE BOX STYLE6 */

.serviceBox.style6 { 
	background: #fff; 
	display: block;
	overflow: hidden;
	position: relative;
	
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	
	-moz-transition: background-size 0.3s linear;
	-o-transition: background-size 0.3s linear;
	-ms-transition: background-size 0.3s linear;
	-webkit-transition: background-size 0.3s linear; 
	transition: background-size 0.3s linear; 
}
.serviceBox.style6:before { display: block; content: ''; padding-bottom: 70%; }
.serviceBox.style6 .imageContainer {	
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	background-size: auto 100%;
	background-position: center center;
	background-repeat: no-repeat;
	background-color: inherit;
	
	-moz-transition: background-size 0.3s linear;
	-o-transition: background-size 0.3s linear;
	-ms-transition: background-size 0.3s linear;
	-webkit-transition: background-size 0.3s linear; 
	transition: background-size 0.3s linear; 
}
.serviceBox.style6 .imageContainer:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: 3;
	
	-moz-transition: all 0.3s;
	-o-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-webkit-transition: all 0.3s; 
	transition: all 0.3s; 
	
	background: rgba(0,0,0,0.3); 
}
.serviceBox.style6 .imageContainer img { display: none; }

.serviceBox.style6 h3 {
	color: #fff;
	font-size: 40px;
	line-height: 42px;
	font-weight: 400;
	text-transform: uppercase;
	text-align: center;
	
	margin: 0;
	
	position: absolute;
	top: 50%;
	margin-top: -40px;
	left: 20px;
	right: 20px;
	z-index: 5;
}

.serviceBox.style6 h4 {
	color: #fff;
	font-weight: 400;
	font-size: 16px;
	line-height: 18px;
	text-transform: none;
	text-align: center;
	
	margin: 0;
	
	position: absolute;
	top: 50%;
	margin-top: 5px;
	left: 20px;
	right: 20px;
	z-index: 5;
}

.serviceBox.style6 .shadow.shadow3 {
	height: 25px;
	margin-bottom: 0;
}

.serviceBox.style6:hover .imageContainer:before { 
	background: rgba(20,156,216,0.6);
	
	-moz-box-shadow: inset 0 0 0 25px rgba(255,255,255,.4);
	-webkit-box-shadow: inset 0 0 0 25px rgba(255,255,255,.4);
	box-shadow: inset 0 0 0 25px rgba(255,255,255,.4);
}
.serviceBox.style6:hover .imageContainer { 
	background-size: auto 120%;
}

.page-prodotti .serviceBox.style6 h3 { font-size: 30px; line-height: 32px; }
.page-prodotti .serviceBox.style6 h4 { font-size: 14px; line-height: 16px; }
