.mbv-popup-overlay {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.mbv-popup-overlay:before {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: ' ';

    background-color: #000;
    opacity: 0.75;
}

.mbv-popup {
    display: none;
    position: absolute;
    z-index: 1000;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-52%);
}

.mbv-popup iframe {
  border: none;
}

.mbv-popup.single img,
.mbv-popup.single iframe {
  width: 650px;
  max-width: 100%;
}

.mbv-popup.single iframe {
  height: 275px;
  max-height: 100%;
}

.mbv-popup.multi {
  width: 960px;
  left: -480px;
  max-width: 100%;
}

.mbv-popup.multi img,
.mbv-popup.multi iframe {
  width: 450px;
  margin: 0 10px 10px 0;
  max-width:100%;
}

.mbv-popup.multi iframe {
  height: 250px;
  max-height: 100%;
}

.mbv-popup.multi img:nth-of-type(2n) {
    margin-right: 0;
}

.mbv-popup-close {
    display: block;
    position: absolute;
    top: -22.5px;
    right: -17.5px;
    width: 38px;
    height: 38px;

    cursor: pointer;
    background-image: url(../img/close.png);
}

.overlay-imprint-link {
    position: absolute;
    bottom: -30px;
    width: 100%;
    text-align: center;
}

@media (max-width: 960px) {
	.mbv-popup.multi {
		left:0px !important;
		margin-left:0px !important;
		margin-top:125px !important;
	}
	.mbv-popup.multi img {
		position: relative;
		display:block !important;
		margin:0px auto 1em !important;
		float:none !important;
	}
	.mbv-popup.multi .mbv-popup-close {
		top:-43px !important;
		right:0px !important;
	}
}

@media (max-width: 650px) {
	.mbv-popup {
		top:0px !important;
		margin-left:0px !important;
		margin-top:125px !important;
		left:0px !important;
		width:100% !important;
        transform: translateX(0) translateY(0);
	}
	.mbv-popup-thumbnail {
		background-size:contain;
		background-position: top center !important;
		width:100%;
	}
	.mbv-popup-close {
		top:-43px !important;
		right:0px !important;
	}
}