
.gallery-main {
	background: var(--body-bg-color);
	max-height: 600px;
}
.gallery-main.is-fullscreen {
	max-height: 100%;
	padding-bottom: 0;
}
.gallery-nav {
	background: var(--body-bg-color);
}

.gallery-cell {
	width: 100%;
	height: 600px;
	display: flex;
    flex-direction: column;
    justify-content: center;
}
.gallery-main.is-fullscreen .gallery-cell,
.gallery-main.is-fullscreen .gallery-cell .thumb {
	height: 100%;
}
.gallery-cell[aria-hidden="true"]{
	background: var(--body-secondary-bg-color);
}

.gallery-cell .thumb {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: calc(100% - 50px - .5rem);
	/* margin-bottom: .5rem; */
	/* text-align: center; */
}
.gallery-cell .cell-caption {
	display: block;
	width: 100%;
	/* height: 50px; */
}
.gallery-cell .thumb img {
	max-width: 100%;
	max-height: 100%;
}
.gallery-cell h4, .gallery-cell .copy {
	text-align: center;
}
.gallery-cell h4 {
	color: var(--sidebar-color);
	font-size: 1rem;
	margin-bottom: 0; 
}
.gallery-cell .copy {
	font-size: .8rem;
}

.gallery-cell a.purchase { 
	margin-left: .5rem;
	color: var(--sidebar-color-2);
}
.gallery-cell a.purchase:hover { 
	text-decoration: underline;
	color: var(--sidebar-color);
}
.gallery-nav .gallery-cell {
	height: 80px;
	width: 80px;
	margin: 5px;
	opacity: .5;
}
  
.gallery-nav .gallery-cell.is-nav-selected {
	opacity: 1;
	border-top: 3px solid var(--primary-color);
}


.flickity-prev-next-button {
	opacity: .4;
}
.flickity-button:disabled {
	opacity: 0 !important;
}