.mfp-bg
{
	position: fixed;
	overflow: hidden;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 1042;
	background: #0b0b0b;
	opacity: 0.8;
	filter: alpha(opacity=80);
}
	
.mfp-wrap
{
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 1043;
	outline: none !important;
	-webkit-backface-visibility: hidden;
}

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

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

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

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

.mfp-inline-holder .mfp-content, .mfp-ajax-holder .mfp-content
{
	width: 100%;
	cursor: auto;
}

.mfp-ajax-cur
{
	cursor: progress;
}

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close
{
	cursor: -webkit-zoom-out;
	cursor:    -moz-zoom-out;
	cursor: 		zoom-out;
}

.mfp-zoom
{
	cursor: pointer;
	
	cursor: -webkit-zoom-in;
	cursor:    -moz-zoom-in;
	cursor: 		zoom-in;
}

.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
{
	position: absolute;
	width: auto;
	top: 50%;
	left: 8px;
	right: 8px;
	margin-top: -0.8em;
	z-index: 1044;
	text-align: center;
	color: #ccc;
}

.mfp-preloader a
{
	color: inherit;
}

.mfp-preloader a:hover
{
	color: #fff;
}

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

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

button.mfp-close, button.mfp-arrow
{
	display: block;
	overflow: visible;
	padding: 0;
	z-index: 1046;
	border: 0;
	outline: none;
	box-shadow: none;
	cursor: pointer;
	-webkit-appearance: none;
}

button::-moz-focus-inner
{
	padding: 0;
	border: 0;
}

.mfp-close
{
	position: absolute;
	top: 10px;
	right: -10px !important;
	padding: 0 0 18px 10px;
	opacity: 0.7;
	font-family: 'help-icons';
	line-height: 28px;
	font-size: 24px;
	font-style: normal;
	text-decoration: none;
	text-shadow: 0 1px 2px rgba(0,0,0,0.4);
	background: transparent;
	color: #fff;

	-webkit-transition: opacity 0.15s linear;
	   -moz-transition: opacity 0.15s linear;
			transition: opacity 0.15s linear;

}

.mfp-close:hover, .mfp-close:focus
{
	opacity: 1;
}

.mfp-close-btn-in .mfp-close
{
	color: #333;
}

.mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close
{
	width: 100%;
	right: -6px;
	padding-right: 6px;
	text-align: right;
	color: #fff;
}

.mfp-counter
{
	position: absolute;
	top: 0;
	right: 0;
	opacity: 0.85;
	text-align: right;
	line-height: 24px;
	font-size: 14px;
	text-shadow: 0 1px 2px rgba(0,0,0,0.4);
	color: #fff;
}

.mfp-arrow
{
	position: absolute;
	width: 50px;
	height: 500px;
	top: 50%;
	margin: -250px 0 0;
	padding: 0;
	opacity: 0.7;
	text-align: center;
	font-family: 'help-icons';
	font-size: 50px;
	line-height: 500px;
	text-shadow: 0 1px 2px rgba(0,0,0,0.4);
	color: #fff;
	background: transparent;
	-webkit-tap-highlight-color: transparent;

	-webkit-transition: opacity 0.15s linear;
	   -moz-transition: opacity 0.15s linear;
			transition: opacity 0.15s linear;
}

.mfp-arrow:hover, .mfp-arrow:focus
{
	opacity: 1;
}

.mfp-arrow-left
{
	left: -50px;
}

.mfp-arrow-right
{
	right: -50px;
}

.mfp-iframe-holder
{
	padding-top: 40px;
	padding-bottom: 40px;
}

.mfp-iframe-holder .mfp-content
{
	width: 100%;
	max-width: 900px;
	line-height: 0;
}

.mfp-iframe-holder .mfp-close
{
	top: -40px;
}

.mfp-iframe-scaler
{
	overflow: hidden;
	width: 100%;
	height: 0;
	padding-top: 56.25%;
}

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

img.mfp-img
{
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
	padding: 40px 0 40px;
	line-height: 0;
	
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
			box-sizing: border-box;
}

.mfp-figure
{
	line-height: 0;
}

.mfp-figure:after
{
	position: absolute;
	display: block;
	content: '';
	width: auto;
	height: auto;
	top: 40px;
	bottom: 40px;
	left: 0;
	right: 0;
	z-index: -1;
	box-shadow: 0 0 8px rgba(0,0,0,0.6);
	background: #444;
}

.mfp-figure small
{
	display: block;
	line-height: 14px;
	font-size: 12px;
	color: #bdbdbd;
}

.mfp-figure figure
{
	margin: 0;
}

.mfp-bottom-bar
{
	position: absolute;
	width: 100%;
	top: 100%;
	left: 0;
	margin-top: -36px;
	cursor: auto;
}

.mfp-title
{
	padding-right: 36px;
	text-align: left;
	font-size: 16px;
	opacity: 0.85;
	line-height: 24px;
	word-wrap: break-word;
	text-shadow: 0 1px 2px rgba(0,0,0,0.4);
	color: #fff;
}

.mfp-image-holder .mfp-content
{
	max-width: 100%;
}

.mfp-gallery .mfp-image-holder .mfp-figure
{
	cursor: pointer;
}

.mfp-ie7 .mfp-img
{
	padding: 0;
}

.mfp-ie7 .mfp-bottom-bar
{
	width: 600px;
	left: 50%;
	margin-top: 5px;
	margin-left: -300px;
	padding-bottom: 5px;
}

.mfp-ie7 .mfp-container
{
	padding: 0;
}

.mfp-ie7 .mfp-content
{
	padding-top: 44px;
}

.mfp-ie7 .mfp-close
{
	top: 0;
	right: 0;
	padding-top: 0;
}

/* Animation states */

.mfp-fade.mfp-bg
{
	opacity: 0;
	
	-webkit-transition: all 0.2s ease-out;
	   -moz-transition: all 0.2s ease-out;
			transition: all 0.2s ease-out;
}

.mfp-fade.mfp-bg.mfp-ready
{
	opacity: 0.8;
}

.mfp-fade.mfp-bg.mfp-removing
{
	opacity: 0;
}

.mfp-fade.mfp-wrap .mfp-content
{
	opacity: 0;
	
	-webkit-transform: scale(0.9);
	   -moz-transform: scale(0.9);
			transform: scale(0.9);
	
	-webkit-transition: all 0.2s ease-out;
	   -moz-transition: all 0.2s ease-out;
			transition: all 0.2s ease-out;
}

.mfp-fade.mfp-wrap.mfp-ready .mfp-content
{
	opacity: 1;
	
	-webkit-transform: scale(1);
	   -moz-transform: scale(1);
			transform: scale(1);
}

.mfp-fade.mfp-wrap.mfp-removing .mfp-content
{
	opacity: 0;
	
	-webkit-transform: scale(0.9);
	   -moz-transform: scale(0.9);
			transform: scale(0.9);
}