.mfp-container {
    position: fixed;
}
img.mfp-img {
	padding: 0;
}
.mfp-container button.mfp-close {
	width:auto;
	border-radius: 0 0 0 10px;
	background:rgb(0,0,0,0.8);
	line-height: 1;
	padding: 0 1rem;
	right:0;
}

.mfp-bottom-bar {
	margin-top: -1.5rem;
}
.mfp-bottom-bar > div {
	height: 1.5rem;
}
.mfp-container .mfp-counter {
	width:auto;
	background:rgb(0,0,0,0.6);
	border-radius: 5px 0 0 0;
	padding: 0.2rem 0.5rem;
	right:0;
	line-height: 1rem;
}