ul.mw-gallery-nolines.ts-gallerystyle-gray,
ul.mw-gallery-packed.ts-gallerystyle-gray {
	background: #eaecf0;
	display: flex;
	justify-content: space-around;
	padding-top: 1em;
	flex-wrap: wrap;
}
.ts-gallerystyle-gray .gallerycaption {
	flex: 1 1 100%;
}