.gallery--grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-column-gap: 16px;
	grid-row-gap: 32px;
	padding-top: 24px;
}

.gallery--grid img {
	display: block;
	width: 100%;
	height: auto;
}

.gallery--back {
	margin: 12px 0;
}

.title--gallery {
	padding-top: 24px;
}

.gallery--grid h3 {
	padding-top: 16px;
	margin-bottom: 0px;
}

.modal-container {
	display: flex;
	align-items: center;
	justify-content: center;
}

.modal-window {
	border-radius: 0;
	padding: 0;
	width: 100%;
	height: 211px;
}

.modal-window-button {
	display: flex;
	background-color: white;
	position: fixed;
	width: 32px;
  	height: 32px;
  	align-items: center;
  	justify-content: center;
  	border-radius: 16px;
  	z-index: 100;
}

#close-modal-window {
	top: calc(var(--header-height) + 24px);
	right: 24px;
  	border-radius: 16px;
}

@media only screen and (min-width:768px) {
	.gallery--grid {
		grid-template-columns: 1fr 1fr 1fr;
		grid-column-gap: 28px;
	}
	
	.title--gallery {
		padding-top: 40px;
	}
}

@media only screen and (min-width:1024px) {	
	.title--gallery {
		padding-top: 32px;
	}
}

/*








.swipe-button {
	width: 24px;
	height: 24px;
	border-radius: 12px;
	top: 50%;
}

#swipe-left {
	left: 3px;
}

#swipe-right {
	right: 3px;
}

#swipe-left img {
	transform: rotate(180deg);
}

img.gallery--lightbox {
	width: 100%;
	height: auto;
	display: none;
}

img.gallery--lightbox.tall {
	width: auto;
	height: 100%;
}

.image-container {
	height: 100%;
	width: 100%;
	display: flex;
  	align-items: center;
  	justify-content: center;
  	position: absolute;
}

.image-container.show-image img.gallery--lightbox {
	display: block;
}

.image-container.arrive-from-left {
	left: 0;
    animation: arriveLeft 1s 1;
}

.image-container.arrive-from-right {
	right: 0;
    animation: arriveRight 1s 1;
}

@keyframes arriveLeft {
	from { left: -150%; }
	to { left: 0; }
}

@keyframes arriveRight {
	from { right: -150%; }
	to { right: 0; }
}

.image-container.swipeLeft {
	left: -150%;
    animation: slideLeft 1s 1;
}

.image-container.swipeRight {
	right: -150%;
    animation: slideRight 1s 1;
}

@keyframes slideLeft {
	from { left: 0; }
	to { left: -150%; }
}

@keyframes slideRight {
	from { right: 0; }
	to { right: -150%; }
}

.gallery--view {
	display: none;
	height: 100%;
}

.modal-body-open .gallery--view {
	display: block;
	position: relative;
}

@media only screen and (min-width: 768px) {
	.title--gallery {
		padding-top: 40px;
	}

	.gallery--grid {
		grid-template-columns: 1fr 1fr 1fr;
		grid-column-gap: 30px;
	}
}

@media only screen and (min-width: 1024px) {
	.title--gallery {
		padding-top: 32px;
	}
}
*/