html,
body {
	margin: 0;
	padding: 0;
	background: white;
	color: #fff;
	font-family: Arial, Helvetica, sans-serif;
}

* {
	box-sizing: border-box;
}


select {
	width:100%;
	height:30px;
}

body {
	min-height: 100vh;
}

.galleryShell {
	width: 100%;
	max-width: 1600px;
	margin: 0 auto;
	background-color:white;
}

.galleryViewport {
	position: relative;
	width: 100%;
	height: 80vh;
	overflow: hidden;
	background-color:white;	
}

#gallery {
	background-color:white;
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.galleryColumn {
	position: absolute;
	top: 0;
	display: flex;
	flex-direction: column;
}

.hide {
	display:none;
}

.galleryItem {
	position: relative;
	width: 100%;
	cursor: pointer;
	overflow: hidden;
	background: white;
	padding:10px;
	font-size:10px;
}

.galleryItem:hover::before {
	content:attr(title);
	position:absolute;
	bottom:0;
	left:5px;
	right:5px;
	width:calc(100% - 10px);
	height:25px;
	line-height:25px;
	text-align:center;
	z-index:99;
	color:white;
	background-color:#3b7242
}


.galleryItem img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform 0.25s ease;
}

.galleryItem:hover img {
	transform: scale(1.03);
}

.galleryItem .zoomIcon {
	position: absolute;
	right: 12px;
	bottom: 12px;
	width: 26px;
	height: 26px;
	opacity: 0;
	transition: opacity 0.2s ease;
	pointer-events: none;
}

.galleryItem:hover .zoomIcon {
	opacity: 1;
}

.galleryBreak {
	cursor:pointer;
	/*display: flex;*/
	display:none;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 20px 14px;
	color: #fff;
	background: #2a2a2a;
	font-size: 14px;
	line-height: 90%;
	max-height: 40px;
}

.galleryBreak:hover {
	background-color:#3b7242
}


.galleryControls {
	width:100%;
	text-align:center;
	padding-top: 16px;
	text-align: center;
}

#showMore,#mainGallery,.seeMore {
	display: inline-block;
	padding: 6px 11px;
	border: 1px solid #666;
	background: #1b1b1b;
	color: #fff;
	cursor: pointer;
	font-size: 10px;
	font-weight:bold;
	letter-spacing: 0.08em;
	text-align:center;
	width:auto
}

#showMore:hover,#mainGallery:hover,.seeMore:hover {
	background: #2a2a2a;
}

#showMore:disabled,.seeMore.disabled {
	opacity: 0.4;
	cursor: default;
}

#viewerOverlay {
	position: fixed;
	inset: 0;
	display: none;
	background: rgba(0, 0, 0, 0.92);
	z-index: 9999;
}

#viewerStage {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

#viewerImage {
	position: absolute;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	object-fit: cover;
}

#viewerClose,
.viewerNav {
	position: absolute;
	z-index: 10001;
	border: 0;
	background: rgba(0, 0, 0, 0.45);
	color: #fff;
	cursor: pointer;
}

#viewerClose {
	top: 16px;
	right: 16px;
	width: 44px;
	height: 44px;
	font-size: 30px;
	line-height: 44px;
	text-align: center;
}

.viewerNav {
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 72px;
	font-size: 42px;
	line-height: 72px;
	text-align: center;
}

.viewerNav.prev {
	left: 10px;
}

.viewerNav.next {
	right: 10px;
}

@media (max-width: 900px) {
	.galleryShell {
		padding: 12px;
	}

	.galleryViewport {
		height: 80vh;
	}

	#viewerClose {
		top: 10px;
		right: 10px;
	}

	.viewerNav {
		width: 40px;
		height: 60px;
		line-height: 60px;
		font-size: 34px;
	}
}

.lbClose:hover {
	opacity: 0.7;
}