.recipes-wrapper li {
	display: inline-block;
	margin-right: -4px;
}

.recipes-wrapper li:hover {
	-webkit-transform: scale( 1.05 );
	-moz-transform: scale( 1.05 );
	-o-transform: scale( 1.05 );
	-ms-transform: scale( 1.05 );
	transform: scale( 1.05 );
}

.recipes-wrapper li:not(:nth-child(4n+0)) {
	margin-left: 2.66666666667%;
}

.recipes-wrapper li:not(:nth-child(-n+4)) {
	margin-top: 26px;
}

.recipes-wrapper li a {
	border-radius: 5px;
	overflow: hidden;
	-webkit-box-shadow: 0px 0px 8px 0px rgba(50, 50, 50, 0.75);
	-moz-box-shadow: 0px 0px 8px 0px rgba(50, 50, 50, 0.75);
	box-shadow: 0px 0px 8px 0px rgba(50, 50, 50, 0.75);
}

.recipes-wrapper li .image {
	height: 256px;
}

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

	.recipes-wrapper li {
		width: 31%;
	}

	.recipes-wrapper li:not(:nth-child(4n+0)) {
		margin-left: 0%;
	}

	.recipes-wrapper li:not(:nth-child(-n+4)) {
		margin-top: 0;
	}

	.recipes-wrapper li:not(:nth-child(3n+0)) {
		margin-left: 3.5%;
	}

	.recipes-wrapper li:not(:nth-child(-n+3)) {
		margin-top: 18px;
	}

}

@media only all and ( max-width: 700px ) {

	.recipes-wrapper li {
		width: 48%;
	}

	.recipes-wrapper li:not(:nth-child(3n+0)) {
		margin-left: 0;
	}

	.recipes-wrapper li:not(:nth-child(-n+3)) {
		margin-top: 0;
	}

	.recipes-wrapper li:not(:nth-child(2n+0)) {
		margin-left: 4%;
	}

	.recipes-wrapper li:not(:nth-child(-n+2)) {
		margin-top: 21px;
	}

}

@media only all and ( max-width: 500px ) {

	.recipes-wrapper {
		width: 100%;
	}

}

@media only all and ( max-width: 400px ) {
	
	.recipes-wrapper li {
		width: 100%;
		margin-right: 0;
	}

	.recipes-wrapper li:not(:nth-child(2n+0)) {
		margin-left: 0;
	}

	.recipes-wrapper li:not(:nth-child(-n+2)) {
		margin-top: 0;
	}
	
	.recipes-wrapper li:not(:last-child) {
		margin-bottom: 20px;
	}
	
}