.ppmm-lightbox {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2000;
	display: none;
	background: rgba(0, 0, 0, 0.9);
	color: #fff;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
}

.ppmm-lightbox__content {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.ppmm-lightbox__image {
	display: block;
	max-width: 90vw;
	max-height: 85vh;
	width: auto;
	height: auto;
}

.ppmm-lightbox__close {
	position: absolute;
	top: 0;
	right: 0;
	width: 3rem;
	height: 3rem;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	background: transparent;
	border: none;
	color: #fff;
	font-size: 2.5rem;
	line-height: 1;
	opacity: 0.6;
	transition: opacity 0.2s;
	z-index: 1;
}

.ppmm-lightbox__close:hover {
	opacity: 1;
}

.ppmm-lightbox__prev,
.ppmm-lightbox__next {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 4rem;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	background: transparent;
	border: none;
	color: #fff;
	font-size: 2.5rem;
	opacity: 0.6;
	transition: opacity 0.2s;
	z-index: 1;
}

.ppmm-lightbox__prev {
	left: 0;
	padding-left: 1rem;
}

.ppmm-lightbox__next {
	right: 0;
	padding-right: 1rem;
}

.ppmm-lightbox__prev:hover,
.ppmm-lightbox__next:hover {
	opacity: 1;
}

.ppmm-lightbox__counter {
	position: absolute;
	bottom: 1rem;
	left: 0;
	right: 0;
	text-align: center;
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.6);
}

.ppmm-lightbox-noscroll {
	overflow: hidden;
}

.ppmm-lightbox-open {
	cursor: pointer;
}

@media (max-width: 767px) {
	.ppmm-lightbox__image {
		max-width: 95vw;
		max-height: 80vh;
	}

	.ppmm-lightbox__prev,
	.ppmm-lightbox__next {
		width: 3rem;
		font-size: 1.5rem;
	}
}
