.image-gallery-carousel {
	position: fixed;
	background: black;
	color: white;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 100;
}
.image-gallery-carousel .image-gallery-scroller-and-toolbar {
	display: grid;
	grid-template-rows: 1fr 4rem;
	height: 100%;
}
.image-gallery-carousel .image-gallery-scroller-container {
	height: auto;
	position: relative;
}
.image-gallery-carousel .image-gallery-scroller,
.image-gallery-carousel .image-gallery-image-list {
	height: 100%;
}
.image-gallery-carousel .image-gallery-image-list .image-gallery-image {
	display: inline-block;
	vertical-align: middle;
	width: 100%;
	height: 100%;
	background: center / contain no-repeat;
}
.image-gallery-carousel .image-gallery-toolbar {
	display: flex;
	align-items: center;
}
.image-gallery-carousel .image-gallery-navigator {
	white-space: nowrap;
	padding: 0 1rem;
}
.image-gallery-carousel .scroller-navigator li {
	border: none;
	background-color: #666;
}
.image-gallery-carousel .scroller-navigator li:hover,
.image-gallery-carousel .scroller-navigator li.selected {
	background-color: white;
}
.image-gallery-carousel .scroller-navigator li + li {
	margin-left: 0.5em;
}

.image-gallery-carousel .image-gallery-caption {
	text-align: center;
	width: 100%;
}
.image-gallery-carousel .image-gallery-toolbar-spacer {
	display: inline-block;
	padding: 0 1rem;
}

.image-gallery-buttons {
	position: absolute;
	left: 2.5rem;
	right: 2.5rem;
	top: 50%;
	margin-top: -1rem;
}
.image-gallery-buttons .scroller-button,
.image-gallery-close-button {
	width: 1rem;
	height: 1rem;
	padding: 0.5rem;
	border-radius: 0.25em;
	line-height: 1rem;
	text-align: center;
	background: black;
	position: absolute;
	cursor: pointer;
	font-weight: bold;
}
.image-gallery-buttons .scroller-button.prev {
	left: 0;
}
.image-gallery-buttons .scroller-button.next {
	right: 0;
}
.image-gallery-close-button {
	right: 2.5rem;
	top: 2.5rem;
}
.image-gallery-carousel-launcher {
	cursor: pointer;
}
html.image-gallery-carousel-shown, html.image-gallery-carousel-shown body {
	overflow: hidden;
}