.singleGalleryVar
{
	--material-gallery-width: calc(100vw - 152px);
}

#multiGalleryVar
{
	--material-gallery-width: calc(100vw - 180px);
}

@media (max-width: 1200px)
{
	.singleGalleryVar
	{
		--material-gallery-width: calc(100vw - 20px);
	}
}

@media (max-width: 568px)
{
	#multiGalleryVar
	{
		padding-top: 15px;
	}
}

.currentGalleryName
{
	color: #fff;
}

.otherGalleryName:hover
{
	cursor: pointer;
	color: #fff;
}

#galleryContainer
{
	display: flex;
	justify-content: space-between;
	width: 100%;
}

.changeGalleryBtn
{
	width: 4rem;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 3rem;
	font-weight: bold;
	padding: 1rem;
}

.changeGalleryBtn div:hover
{
	cursor: pointer;
}

/**
* MATERIAL GALLERY
*/
.material-gallery-container
{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding: 1rem 0;
	max-width: var(--material-gallery-width);
	margin: 0 auto;
}

#multiGalleryVar.htmx-swapping {
	opacity: 0;
	transition: opacity 200ms ease-in-out;
}

#multiGalleryVar.htmx-added {
	opacity: 0;
}

#multiGalleryVar.htmx-settling {
	opacity: 1;
	transition: opacity 200ms ease-in-out;
}

/* 
* FULL SCREEN
*/
.fullscreen-img-viewer-container {
	position: fixed;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100vh;
	background: rgba(0, 0, 0, 0.94);
	z-index: 10;
	transform: translateZ(1000px);
	-webkit-transform: translateZ(1000px);
}

.fullscreen-img-viewer-image {
	max-width: calc(100% - 200px);
	max-height: 90%;
	width: auto;
	height: auto;
}

.fullscreen-img-viewer-container svg {
	filter: invert(100%) saturate(100%) brightness(100%) contrast(100%);
}

.fullscreen-img-viewer-container .prev:hover svg,
.fullscreen-img-viewer-container .next:hover svg,
.fullscreen-img-viewer-container .x:hover svg {
	background: rgb(0 0 0 / 30%);
	border-radius: 0.15rem;
}

.svg-button-svgButton svg {
	filter: invert(100%) saturate(100%) brightness(100%) contrast(100%);
}

.svg-button-svgButton:hover svg {
	background: rgb(0 0 0 / 30%);
	border-radius: 0.15rem;
}

.buttons-arrowBtn {
	position: fixed;
	height: 90%;
	top: 5%;
	display: flex;
	align-items: center;
}

.buttons-arrowBtn svg {
	width: 50px;
	height: 300px;
	padding: 15px 0;
}

.buttons-prevBtn {
	left: 1rem;
}

.buttons-nextBtn {
	right: 1rem;
}

.buttons-prevBtn,
.buttons-nextBtn
{
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
}

.buttons-prevBtn:active,
.buttons-nextBtn:active {
	outline: none;
}

.buttons-closeBtn {
	position: fixed;
	top: 1.5rem;
	right: 2rem;
	width: 60px;
}

.mirrorX {
	transform: scale(-1, 1);
}

.clickable:hover {
	cursor: pointer;
}

@media (max-width: 1024px) {
	.fullscreen-img-viewer-image {
		max-width: calc(100% - 145px);
	}

	.svg-button-svgButton:hover svg {
		background: rgb(255 255 255 / 50%);
	}

	.buttons-arrowBtn svg {
		width: 35px;
		height: 230px;
	}

	.buttons-closeBtn {
		top: 0.8rem;
		right: 0.8rem;
		width: 50px;
	}
}

@media (max-width: 991px)
{
	.fullscreen-img-viewer-image {
		max-width: calc(100% - 50px);
	}

	.buttons-arrowBtn svg {
		width: 30px;
		height: 200px;
	}

	.buttons-arrowBtn svg,
	.buttons-closeBtn svg {
		background: rgba(255, 255, 255, 0.25);
		border-radius: 4px;
	}
}

@media (max-width: 767px)
{
	.buttons-arrowBtn svg {
		height: 120px;
		width: 50px;
	}
}

@media (max-width: 414px)
{
	.buttons-arrowBtn svg {
		height: 90px;
	}
}

@media (max-width: 380px)
{
	.buttons-arrowBtn svg {
		height: 80px;
	}
}

.hidden-viewer {
	display: none;
}

#fullscreenViewer {
	opacity: 0;
	transition: opacity 0.25s ease-in-out;
}

#fullscreenViewer:not(.hidden-viewer) {
	opacity: 1;
}

/* 
* FULL SCREEN END
*/
