.mfp-title {
	position:absolute;
	top: 0px;
	color:white;
	font-size: 1em;
	background-color: rgba(40,40,40,.2);
	margin-top: -15px;
	padding: 6px;
	max-width: 550px;
}
.mfp-iframe-scaler .mfp-title {
	margin-top: -65px;
}

.mp4-holder {
	text-align: center;
	max-width: 640px;
	margin: auto;
}
.mp4-holder .mfp-close {
	position: relative !important;
	left: 600px !important;
}
.mp4-holder .mfp-close:hover {
	position: relative !important;
	left: 607px !important;
	color: white !important;
}
.mfp-close {
	/*margin-top: -50px;*/
}
.mfp-iframe-scaler .mfp-title {
	/*top: -40px;*/
}

img.mfp-img {
    min-width: 300px;
    min-height: 300px;
}
.mfp-iframe-holder .mfp-content {
	height: 640px;
    line-height: 0;
    max-width: 555px;
    width: 100% !important;
}
.mfp-pdf .mfp-iframe-holder .mfp-content {
	height: 90% !important;
    max-width: 900px !important;
}

/* overlay at start */
.mfp-fade.mfp-bg {
  opacity: 0;
  -webkit-transition: all 0.33s ease-out;
  -moz-transition: all 0.33s ease-out;
  transition: all 0.33s ease-out;
}
/* overlay animate in */
.mfp-fade.mfp-bg.mfp-ready {
  opacity: 0.8;
}
/* overlay animate out */
.mfp-fade.mfp-bg.mfp-removing {
  opacity: 0;
}

/* content at start */
.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;

  -webkit-transition: all 0.33s ease-out;
  -moz-transition: all 0.33s ease-out;
  transition: all 0.33s ease-out;
}
/* content animate it */
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
}
/* content animate out */
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
}
.mfp-close, .mfp-close:hover {
	font-size: 4em !important;
	cursor: pointer !important;
}