/* mod_ge_images (godembassy.org) */

/* grid: floated thumbnails like the old DatsoGallery module */
.ge-images-cell { float: left; font-size: 10px; }
.ge-images-cell a, .ge-images-cell img { display: block; }
.ge-images-title { text-align: center; overflow: hidden; }

/* slider: looks of the ARI image slider ("default" theme) */
.ge-slider {
	position: relative;
	margin: 0 auto;
	overflow: hidden;
	background: #202834;
	box-shadow: 0 0 10px #333;
}
.ge-slide {
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity .5s, visibility .5s;
}
.ge-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.ge-slide img { display: block; }
.ge-slider-prev, .ge-slider-next {
	position: absolute;
	top: 50%;
	z-index: 2;
	width: 32px;
	height: 34px;
	margin-top: -17px;
	padding: 0;
	border: 0;
	background: url(../images/arrows.png) no-repeat 0 0;
	cursor: pointer;
	opacity: 0;
	transition: opacity .2s;
}
.ge-slider-prev { left: 10px; }
.ge-slider-next { right: 10px; background-position: -32px 0; }
.ge-slider:hover .ge-slider-prev, .ge-slider:hover .ge-slider-next,
.ge-slider-prev:focus-visible, .ge-slider-next:focus-visible { opacity: 1; }

/* lightbox for grid images without a link */
.ge-lightbox {
	max-width: min(92vw, 900px);
	max-height: 92vh;
	padding: 10px;
	border: 0;
	background: #fff;
	box-shadow: 0 0 20px rgba(0, 0, 0, .6);
	text-align: center;
	font: 13px/1.4 Arial, Helvetica, sans-serif;
	color: #333;
}
.ge-lightbox::backdrop { background: rgba(0, 0, 0, .75); }
.ge-lightbox img { display: block; max-width: 100%; max-height: calc(92vh - 90px); margin: 0 auto; }
.ge-lightbox strong { display: block; margin-top: 8px; font-size: 14px; }
.ge-lightbox-close {
	position: absolute;
	top: 2px;
	right: 6px;
	border: 0;
	background: none;
	font-size: 26px;
	line-height: 1;
	color: #333;
	cursor: pointer;
}
