/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.9;
  }

.mfp-bg,
body.mfp-zoom-out-cur {
overflow: hidden !important;
margin: 0 !important;
padding: 0 !important;
}

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

.mfp-container {
  overflow: hidden;
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 2%;
  box-sizing: border-box; 
  }
  
.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-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
}

/* ========= CURSOR ========= */
.mfp-ajax-cur {
  cursor: progress; }

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

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

.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; }

/* ========= PRELOADER ========= */

.mfp-preloader {
  color: #CCC;
  position: absolute;
  top: 50%;
  width: auto;
  height: 10%;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044;
  background: url('../images/loader_mb.gif') center center no-repeat;
  background-size: 60px;
	   }
  .mfp-preloader a {}
    .mfp-preloader a:hover {}

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

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


/* ========= ARROW ZONE ========= */
button.mfp-arrow {
  overflow: hidden;
  position: absolute;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  width: 25%;
  height: 50%;
  padding: 0; 
  top: 25%;
  z-index: 1046;
  opacity: 0.6;  
  box-shadow: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;  	
}

button.mfp-arrow-left {
  cursor: -moz-w-resize;
  cursor: -webkit-w-resize;	
  cursor: w-resize;
  left: 0;
 }
 
button.mfp-arrow-right {
  cursor: -moz-e-resize;
  cursor: -webkit-e-resize;	
  cursor: e-resize;
  right: 0;
 }
 
button::-moz-focus-inner {
  padding: 0;
  border: 0; }

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


/* ========= ARROW ========= */
.mfp-arrow:before {
    content: '';
    display: block;
    width: 2rem;
    height: 2rem;
    position: absolute; }

.mfp-arrow-left:before {
	left: 45px;	
	border-top: 2px solid white;
    border-left: 2px solid white; }	

  .mfp-arrow-left:before {
	transform: translateX(-50%) rotate(-45deg); }
  .mfp-arrow-left:hover:before {
	transform: translateX(-65%) rotate(-45deg); }

.mfp-arrow-right:before {
	right: 45px;	
	border-top: 2px solid white;
    border-right: 2px solid white; }	
	
  .mfp-arrow-right:before {
	transform: translateX(50%) rotate(45deg); }
  .mfp-arrow-right:hover:before {
	transform: translateX(65%) rotate(45deg); }
	
/* ========= CLOSE ========= */
button.mfp-close {
  z-index: 1045;
  overflow: hidden;
  position: absolute;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  width: 100%;
  height: 100%;
  padding: 0;
  font-size: 0;
  z-index: 1045;
  opacity: 0.6;  
  box-shadow: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent; 
  
  cursor: -moz-crosshair;
  cursor: -webkit-crosshair;	
  cursor: crosshair;
}
.mfp-close {  /* REMOVE CLOSE BUTTON ZONE ON IMAGE BECAUSE APPEAR TWICE */
  overflow: hidden;
  position: absolute;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  width: 0;
  height: 0;
  padding: 0;
  font-size: 0;
  z-index: 1042;
  opacity: 0;  
  box-shadow: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent; 
}

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

.mfp-close:before {
    content: '';
    display: inline-block;
    width: 0.7rem;
    height: 0.7rem;
	top: 25px;
	right: 25px;
    position: absolute;
	
	border-top: 2px solid white;
    border-left: 2px solid white;
	transform:  rotate(-45deg);
 }

.mfp-close:after {
    content: '';
    display: inline-block;
    width: 0.7rem;
    height: 0.7rem;
	top: 25px;
	right: 37px;
    position: absolute;

	border-top: 2px solid white;
    border-right: 2px solid white;
	transform: rotate(45deg);
 }


/* ========= MAIN IMAGE IN POP UP ========= */

img.mfp-img {
  width: auto;
  max-width: 90%;
  height: 1;
  display: block;
  line-height: 0;
  box-sizing: border-box;
  padding: 30px 0 90px;
  margin: 0 auto; 
  
  cursor: -moz-default;
  cursor: -webkit-default;	
  cursor: default;}
 
 img.mfp-img:hover {}

/* ========= BOTTOM TEXT ========= */
.mfp-counter {
  position: absolute;
  top: 5px;
  right: 0;
  color: white;
  font-family: 'Work Sans', sans-serif;
  font-size: 10px;
  font-weight: 400;
  white-space: nowrap; 
  display: table-cell;
  vertical-align: bottom;
}

.mfp-counter:first-letter {
  font-size: 20px;
  font-weight: 500;  
  vertical-align: top;
  line-height: 21px;
  letter-spacing: -2px;
}

.mfp-bottom-bar {
  display: block;
  position: absolute;
  margin-top: -85px;
  left: 5%;
  width: 90%;
 }

.mfp-title {
  padding-right: 30px;
  text-align: left;
  font-family: 'Work Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: white;
  line-height: 18px;
  position: absolute;
  padding-top: 5px;
 }

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

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

/* ========= RESPONSIVE ========= */
@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /* Remove all paddings around the image on small screen */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0; }
  .mfp-img-mobile img.mfp-img {
    padding: 0; }
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0; }
  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px; }
  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    box-sizing: border-box; }
    .mfp-img-mobile .mfp-bottom-bar:empty {
      padding: 0; }
  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px; }
  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0; } }
	

@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(1);
    transform: scale(1); }
  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0; }
  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%; }
  .mfp-container {
    padding-left: 6px;
    padding-right: 6px; } }
	
/* ============== TRANSITION FULLSCREEN ============== */	
	
.mfp-with-zoom .mfp-container,
.mfp-with-zoom.mfp-bg {
  opacity: 0;
  -webkit-backface-visibility: hidden;
  /* ideally, transition speed should match zoom duration */
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.mfp-with-zoom.mfp-ready .mfp-container {
    opacity: 1; }
.mfp-with-zoom.mfp-ready.mfp-bg {
    opacity: 0.95; }

.mfp-with-zoom.mfp-removing .mfp-container,
.mfp-with-zoom.mfp-removing.mfp-bg {
  opacity: 0; }