/*! ============================================================================= */
/*! 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;
}

.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;
  padding: 0 0px;
  box-sizing: border-box;
  letter-spacing: 0;
}

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

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

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

.mfp-zoom {
  cursor: pointer;
  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;
  -ms-user-select: none;
      user-select: none;
}

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

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

.mfp-preloader {
  color: #CCC;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 0;
  right: 0;
  z-index: 1044;
}

.mfp-preloader a {
  color: #CCC;
}

.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 {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  box-shadow: none;
  touch-action: manipulation;
}

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

button.mfp-close {
  line-height: 1;
  font-size: 0;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  padding: 23px;
  color: #FFF;
}

button.mfp-close svg {
  font-size: 30px;
  stroke-width: 1px;
}

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

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

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

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #CCC;
  font-size: 16px;
  line-height: 18px;
  white-space: nowrap;
}

button.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  margin: 0;
  font-size: 0;
  line-height: 1;
  top: 50%;
  transform: translateY(-50%);
  padding: 20px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  color: #FFF;
}

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

button.mfp-arrow svg {
  font-size: 30px;
  stroke-width: 1px;
}

.mfp-arrow-left {
  left: 0;
}

.mfp-arrow-right {
  right: 0;
}

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto;
}

/* The shadow behind the image */
.mfp-figure {
  line-height: 0;
  width: 75%;
  width: calc(100% - 140px);
  margin: 0 auto;
}

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

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

.mfp-figure figure {
  margin: 0;
}

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

.mfp-bottom-bar .mfp-counter {
  position: static;
  margin-left: auto;
}

.mfp-bottom-bar .mfp-title:empty {
  display: none;
}

.mfp-bottom-bar .mfp-title:empty + .mfp-counter {
  margin-right: auto;
}

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #F3F3F3;
  word-wrap: break-word;
  padding-right: 36px;
}

.mfp-title .secondary-font-family, .mfp-title .primary-font-family {
  letter-spacing: 0;
}

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

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

.mfp-fade-in {
  /* start state */
  /* animate in */
  /* remove all transition delays when popup already open */
  /* animate out */
}

.mfp-fade-in .mfp-figure {
  opacity: 0;
  transition: all 250ms ease-out;
}

.mfp-fade-in .mfp-arrow, .mfp-fade-in .mfp-close {
  opacity: 0;
  transition: opacity 250ms ease-out;
}

.mfp-fade-in.mfp-bg, .mfp-fade-in .mfp-preloader {
  opacity: 0;
  transition: opacity 250ms ease-out;
}

.mfp-fade-in.mfp-image-loaded .mfp-figure {
  opacity: 1;
  transform: scale(1);
  transition-delay: 250ms;
}

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

.mfp-fade-in.mfp-ready .mfp-arrow, .mfp-fade-in.mfp-ready .mfp-close {
  opacity: 1;
  transition-delay: 250ms;
}

.mfp-fade-in.mfp-no-delay.mfp-bg, .mfp-fade-in.mfp-no-delay .mfp-preloader, .mfp-fade-in.mfp-no-delay .mfp-arrow, .mfp-fade-in.mfp-no-delay .mfp-close, .mfp-fade-in.mfp-no-delay .mfp-figure {
  transition-delay: 0s;
}

.mfp-fade-in.mfp-removing .mfp-arrow, .mfp-fade-in.mfp-removing .mfp-close {
  opacity: 0;
  transition-delay: 0s;
}

.mfp-fade-in.mfp-removing .mfp-figure {
  opacity: 0;
  transition-delay: 0s;
}

.mfp-fade-in.mfp-removing.mfp-bg, .mfp-fade-in.mfp-removing .mfp-preloader {
  opacity: 0;
  transition-delay: 250ms;
}
