/* ==========================================
   LIGHTBOX PRODOTTO
========================================== */

.pharmacross-product-gallery-popup.mfp-bg {
	background: rgba(0, 0, 0, 0.85);
}

.pharmacross-product-gallery-popup .mfp-container {
	padding: 40px;
}

.pharmacross-product-gallery-popup .mfp-content {
	width: auto;
	max-width: 90vw;
	margin: 0;
	order: 2;
}

.pharmacross-product-gallery-popup .mfp-figure {
	position: relative;
	margin: 0;
	background: transparent;
}

.pharmacross-product-gallery-popup .mfp-arrow {top: 0;}
.pharmacross-product-gallery-popup .mfp-arrow-left {
	order: 1;
}
.pharmacross-product-gallery-popup .mfp-arrow-right {
	order: 3;
}


.pharmacross-product-gallery-popup .mfp-figure::after {
	display: none;
}

.pharmacross-product-gallery-popup img.mfp-img {
	display: block;

	width: auto;
	max-width: 90vw;
	height: auto;
	max-height: 82vh;

	margin: 0 auto;
	padding: 0;

	background: transparent;
	box-shadow: none;
}

.pharmacross-product-gallery-popup .mfp-bottom-bar {
	position: static;
	display: flex;
	justify-content: flex-end;

	margin-top: 12px;
}

.pharmacross-product-gallery-popup .mfp-title {
	display: none;
}

.pharmacross-product-gallery-popup .mfp-counter {
	position: static;

	color: #fff;
	font-size: 13px;
	line-height: 1;
}

.pharmacross-product-gallery-popup .mfp-close {
	top: -42px;
	right: 0;

	width: 36px;
	height: 36px;

	color: #fff;
	font-size: 32px;
	line-height: 36px;
	opacity: 1;
}

.pharmacross-product-gallery-popup .mfp-arrow {
	opacity: 1;
}


.pharmacross-product-gallery-popup.mfp-wrap,
.pharmacross-product-gallery-popup .mfp-container,
.pharmacross-product-gallery-popup.mfp-bg {
	cursor: default !important;
}

.pharmacross-product-gallery-popup .mfp-close,
.pharmacross-product-gallery-popup .mfp-arrow {
	cursor: pointer !important;
}

@media (max-width: 767px) {

	.pharmacross-product-gallery-popup .mfp-container {
		padding: 20px;
	}

	.pharmacross-product-gallery-popup img.mfp-img {
		max-width: 94vw;
		max-height: 78vh;
	}

}