@media screen and (max-width: 1070px) {
	.spgs-tile-section{
		padding:40px 0;
	}
	.spgs-tile-row li{
		width:30.33333%;
	}
	.spgs-tile-row li:nth-child(1){
		margin-left:1%;
	}
	.spgs-tile-row li:nth-child(4){
		margin-right:1%;
	}
	.spgs-tile-row li:nth-child(5){
		margin-left:1%;
	}
}
/*----------------------------------------------TABLET---------------------------------------------*/
@media screen and (max-width: 785px) {
	.spgs-title-section{
		padding:0 20px;
	}
	.spgs-tile-row li{
		width:47.33333%;
	}
}

/*----------------------------------------------Phone---------------------------------------------*/
@media screen and (max-width: 570px) {
	#middletemplate .spgs-tile-row ul br{
		display:none;
	}
	.spgs-tile-row li{
		margin: 0px 20px 20px;
	    padding: 5% 0 10%;
	    display: block;
	    width: auto;
	    float: none;
	}
	.spgs-tile-row li:after{
		content:"";
		display:table;
		clear:both;
	}
	.spgs-tile-row li:nth-child(1){
		margin-left:0;
	}
	.spgs-tile-row li:nth-child(4){
		margin-right:20px;
	}
	.spgs-tile-row li:nth-child(5){
		margin-left:20px;
	}
	.spgs-tile-row li:nth-child(8){
		margin-right:20px;
	}
	.spgs-tile-row li:hover{
	-webkit-transform:rotate(0deg);
	-moz-transform:rotate(0deg);
	-o-transform:rotate(0deg);
	-ms-transform:rotate(0deg);
	transform:rotate(0deg);
	
	}
}