.caption {
	display: block;
	text-align: center;
	font-size: 1.6rem;
	font-style: italic;
	padding: 8px 5px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.carousel-cell {
	max-width: 100%;
}

.carousel-cell img {
	display: block;
	max-width: 100%;
}

.carousel-cell img.spaced {
	margin: 0 10px;
}

.flickity-page-dots {
	bottom: calc(100% + 10px);
}

.gallery-container {
	margin: 20px auto;
}

.nav-gallery {
	margin-top: 10px;
}

.image-gallery .flickity-viewport {
	overflow: hidden;
}

.image-gallery .carousel-cell {
	background: #E4E4E4;
	display: flex;
	flex-direction: column;
}

.image-gallery .carousel-cell.gaps {
	margin: 0 5px;
}

.nav-gallery .carousel-cell {
	margin: 0 5px;
	background: #E4E4E4;
}

.nav-gallery .carousel-cell img,
.image-gallery .carousel-cell img {
	margin: 0 auto;
	max-width: 100%;
}

.nav-gallery .carousel-cell img {
	height: 100%;
}

.nav-gallery .carousel-cell.is-nav-selected::after {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	border: 2px solid blue;
}