/* Mobile first*/


figure.image_gallery,
figure.image_gallery figure {
	margin: 0.1em;
	padding: 0.1em;
}

figure.image_gallery figure {
	display: inline-block;
	list-style-type: none;
	width: 45%;
}

figure.image_gallery img {
	padding: 0;
	margin: 0;
	width: 100%;
}


/* Large screens */

@media all and (min-width: 35em) {
	figure.image_gallery figure {
		width: 10em;
		height: 10em;
		position: relative;
	}
	figure.image_gallery figure img {
		border: 0;
		position: absolute;
		left: 0em;
		top: 1.1em;
		z-index: 1;
		box-shadow: 0;
		width: 10em;
		/*max-height: 8em;*/
		transition: all 1s;
	}
	figure.image_gallery figure figcaption {
		position: absolute;
		/* z-index: 2; */
		left: 0em;
		top: 0em;
	}
	figure.image_gallery img:focus,
	figure.image_gallery img:hover {
		border: 2em solid #eee;
		border-radius: 1em;
		left: 0;
		top: 0;
		width: 30em;
		/*max-height: none;*/
		z-index: 5;
		box-shadow: 1px 1px 5px #333;
		transition: all 1s;
	}
}
