/* Magnific Popup CSS */
.mfp-bg {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1042;
	overflow: hidden;
	position: fixed;
	background: #0b0b0b;
	opacity: 0.8;
	filter: alpha(opacity=80); }

.mfp-wrap {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1043;
	position: fixed;
	outline: none !important;
	-webkit-backface-visibility: hidden; }

.mfp-container {
	text-align: center;
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box; }

@media screen and (min-width: 768px){.mfp-container {padding: 0 8px;}}

.mfp-container:before {
	content: '';
	display: inline-block;
	height: 100%;
	vertical-align: middle; }

.mfp-align-top .mfp-container:before {display: none;}

.mfp-content {
	position: relative;
	display: inline-block;
	vertical-align: middle;
	margin: 0 auto;
	text-align: left;
	z-index: 1045; }

.mfp-auto-cursor .mfp-content {cursor: auto;}

.mfp-close, .mfp-arrow, .mfp-preloader, .mfp-counter {
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none; }

.mfp-loading.mfp-figure {display: none;}

.mfp-hide {display: none !important;}

.mfp-preloader {
	color: #cccccc;
	position: absolute;
	top: 50%;
	width: auto;
	text-align: center;
	margin-top: -0.8em;
	left: 8px;
	right: 8px;
	z-index: 1044; }
	.mfp-preloader a {
	color: #cccccc; }
	.mfp-preloader a:hover {
		color: white; }

.mfp-s-ready .mfp-preloader {display: none;}

.mfp-s-error .mfp-content {display: none;}

@media screen and (min-width: 320px) and (orientation: portrait), (min-width: 568px) and (orientation:landscape){
/*@media screen and (min-width: 461px) and (orientation: portrait), (min-width: 751px) and (orientation:landscape){*/
	button.mfp-close, button.mfp-arrow {
		overflow: visible;
		cursor: pointer;
		background: transparent;
		border: 0;
		-webkit-appearance: none;
		display: block;
		outline: none;
		padding: 0;
		z-index: 1046;
		-webkit-box-shadow: none;
		box-shadow: none; }
	button::-moz-focus-inner {
		padding: 0;
		border: 0; }

	button.mfp-close {
		line-height: 44px;
		position: absolute;
		text-decoration: none;
		text-align: center;
		opacity: 1.0;
		filter: alpha(opacity=100);
		padding: 0 0 18px 10px;
		color: white;
		font-style: normal;
		font-size: 28px;
		font-family: Arial, Baskerville, monospace; 
		background:url(https://s3.amazonaws.com/blog.oxfamamerica.org/static/assets/oxfam-lightbox/static/magnificpopup/assets/img/2015/x_close.png) no-repeat;
		width:41px;
		height:41px;
		top:5px;
		right:5px;
		color:transparent;}
		.mfp-close:hover, .mfp-close:focus {
		opacity: 0.8;
		filter: alpha(opacity=80); }
		.mfp-close:active {
		top: 1px; }

	
}

@media screen and (min-width: 461px) and (orientation: portrait), (min-width: 751px) and (orientation:landscape){
	.mfp-iframe-holder {
		padding-top: 40px;
		padding-bottom: 40px; 
	}
}
.mfp-iframe-holder .mfp-content {
	line-height: 0;
	width: 100%;
	max-width: 1024px; 
}

@media screen and (min-width: 461px) and (orientation: portrait), (min-width: 751px) and (orientation:landscape){
}

.mfp-iframe-scaler {
	width: 100%;
	height: 0;
	overflow: hidden;
}
.mfp-iframe-scaler iframe {
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
	background: black; 
}
.mfp-iframe-scaler iframe{
	box-shadow: none;
	background:transparent;
}
