/* SERVICE BOX STYLE6 */

.serviceBox.style5 {
	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.style5:before { display: block; content: ''; padding-bottom: 70%; }
.serviceBox.style5 .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.style5 .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;
}
.serviceBox.style5 .imageContainer img { display: none; }

.serviceBox.style5 .textContainer {
	position: absolute;
	bottom: 45px;
	left: 65px;
	right: 45px;
	z-index: 5;
	padding: 10px 20px 10px 90px;

	-moz-border-radius: 0 9px 9px 0;
	-webkit-border-radius: 0 9px 9px 0;
	border-radius: 0 9px 9px 0;

	-moz-transition: all 0.3s;
	-o-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
}

.serviceBox.style5 .textContainer:before {
	content: '';
	position: absolute;
	top: -18px;
	left: -20px;
	width: 100px;
	height: 100px;
	background: #fff;
	background-size: 90% 90%;
	background-position: center;
	background-repeat: no-repeat;
	-moz-border-radius: 150px;
	-webkit-border-radius: 150px;
	border-radius: 150px;
	z-index: 6;

	box-shadow: 0 0 10px 1px rgba(0,0,0,.2);
}

.serviceBox.style5 h3 {
	color: #fff;
	font-size: 18px;
	line-height: 20px;
	font-weight: 400;
	text-transform: uppercase;
	text-align: left;

	margin: 0;

}

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

.serviceBox.style5.real-giardini .textContainer { background-color: rgba(60,116,105,.8); }
.serviceBox.style5.imp-irrigazione .textContainer { background-color: rgba(79,139,77,.8); }
.serviceBox.style5.terr-giardino .textContainer { background-color: rgba(223,158,38,.8); }
.serviceBox.style5.man-giardino .textContainer { background-color: rgba(194,76,48,.8); }
.serviceBox.style5.potature .textContainer { background-color: rgba(106,83,67,.8); }
.serviceBox.style5.antiparassitari .textContainer { background-color: rgba(194,204,144,.8); }
.serviceBox.style5.ramaglie .textContainer { background-color: rgba(144,82,26,.8); }

.serviceBox.style5.real-giardini .textContainer:before { background-color: rgba(60,116,105,1); background-image: url(../../img/icon01.png); }
.serviceBox.style5.imp-irrigazione .textContainer:before { background-color: rgba(79,139,77,1); background-image: url(../../img/icon02.png); }
.serviceBox.style5.terr-giardino .textContainer:before { background-color: rgba(223,158,38,1); background-image: url(../../img/icon03.png); }
.serviceBox.style5.man-giardino .textContainer:before { background-color: rgba(194,76,48,1); background-image: url(../../img/icon04.png); }
.serviceBox.style5.potature .textContainer:before { background-color: rgba(106,83,67,1); background-image: url(../../img/icon05.png); }
.serviceBox.style5.antiparassitari .textContainer:before { background-color: rgba(194,204,144,1); background-image: url(../../img/icon06.png); }
.serviceBox.style5.ramaglie .textContainer:before { background-color: rgba(144,82,26,1); background-image: url(../../img/ico-ramaglie.png); }

/*
.serviceBox.style5.real-giardini:hover .imageContainer:before {
	-moz-box-shadow: inset 0 0 0 25px rgba(60,116,105,1);
	-webkit-box-shadow: inset 0 0 0 25px rgba(60,116,105,1);
	box-shadow: inset 0 0 0 25px rgba(60,116,105,1);
}
.serviceBox.style5.imp-irrigazione:hover .imageContainer:before {
	-moz-box-shadow: inset 0 0 0 25px rgba(79,139,77,1);
	-webkit-box-shadow: inset 0 0 0 25px rgba(79,139,77,1);
	box-shadow: inset 0 0 0 25px rgba(79,139,77,1);
}
.serviceBox.style5.terr-giardino:hover .imageContainer:before {
	-moz-box-shadow: inset 0 0 0 25px rgba(223,158,38,1);
	-webkit-box-shadow: inset 0 0 0 25px rgba(223,158,38,1);
	box-shadow: inset 0 0 0 25px rgba(223,158,38,1);
}
.serviceBox.style5.man-giardino:hover .imageContainer:before {
	-moz-box-shadow: inset 0 0 0 25px rgba(194,76,48,1);
	-webkit-box-shadow: inset 0 0 0 25px rgba(194,76,48,1);
	box-shadow: inset 0 0 0 25px rgba(194,76,48,1);
}
.serviceBox.style5.potature:hover .imageContainer:before {
	-moz-box-shadow: inset 0 0 0 25px rgba(106,83,67,1);
	-webkit-box-shadow: inset 0 0 0 25px rgba(106,83,67,1);
	box-shadow: inset 0 0 0 25px rgba(106,83,67,1);
}
.serviceBox.style5.antiparassitari:hover .imageContainer:before {
	-moz-box-shadow: inset 0 0 0 25px rgba(194,204,144,1);
	-webkit-box-shadow: inset 0 0 0 25px rgba(194,204,144,1);
	box-shadow: inset 0 0 0 25px rgba(194,204,144,1);
}*/

.serviceBox.style5:hover .textContainer { bottom: 50%; margin-bottom: -32px }
.serviceBox.style5.real-giardini:hover .textContainer { background: rgba(60,116,105,1); }
.serviceBox.style5.imp-irrigazione:hover .textContainer { background: rgba(79,139,77,1); }
.serviceBox.style5.terr-giardino:hover .textContainer { background: rgba(223,158,38,1); }
.serviceBox.style5.man-giardino:hover .textContainer { background: rgba(194,76,48,1); }
.serviceBox.style5.potature:hover .textContainer { background: rgba(106,83,67,1); }
.serviceBox.style5.antiparassitari:hover .textContainer { background: rgba(194,204,144,1); }

.serviceBox.style5:hover .imageContainer { background-size: auto 120%; }
.serviceBox.style5:hover .imageContainer:before { background: rgba(0,35,52,.6); }
