/* Magnific Popup SCSS */
:root {
  --cnvs-mfp-overlay-color: #0b0b0b;
  --cnvs-mfp-overlay-opacity: 0.9;
  --cnvs-mfp-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  --cnvs-mfp-popup-padding-left: 8px;
  --cnvs-mfp-popup-padding-left-mobile: 6px;
  --cnvs-mfp-z-index-base: 1040;
  --cnvs-mfp-controls-opacity: 0.65;
  --cnvs-mfp-controls-color: #FFF;
  --cnvs-mfp-inner-close-icon-color: #333;
  --cnvs-mfp-controls-text-color: #CCC;
  --cnvs-mfp-controls-text-color-hover: #FFF;
  --cnvs-mfp-preloader-size: 2rem;
  --cnvs-mfp-close-btn-size: 4rem;
  --cnvs-mfp-close-btn-font-size: 1.5rem;
  --cnvs-mfp-arrow-size: 4rem;
  --cnvs-mfp-title-padding: 1rem;
  --cnvs-mfp-title-border-radius: 0.25rem;
  --cnvs-mfp-link-color: #CCC;
  --cnvs-mfp-iframe-padding-top: 40px;
  --cnvs-mfp-iframe-background: #000;
  --cnvs-mfp-iframe-max-width: 900px;
  --cnvs-mfp-iframe-ratio: 9/16;
  --cnvs-mfp-image-background: #444;
  --cnvs-mfp-caption-title-color: #F3F3F3;
  --cnvs-mfp-caption-subtitle-color: #BDBDBD;
}

.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: calc(var(--cnvs-mfp-z-index-base) + 2);
  overflow: hidden;
  position: fixed;
  background: var(--cnvs-mfp-overlay-color);
  opacity: var(--cnvs-mfp-overlay-opacity);
}

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: calc(var(--cnvs-mfp-z-index-base) + 3);
  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 var(--cnvs-mfp-popup-padding-left);
  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: calc(var(--cnvs-mfp-z-index-base) + 5);
}

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

.mfp-zoom {
  cursor: pointer;
}

.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: var(--cnvs-mfp-controls-text-color);
  z-index: calc(var(--cnvs-mfp-z-index-base) + 4);
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--cnvs-mfp-preloader-size);
  height: var(--cnvs-mfp-preloader-size);
  font-size: var(--cnvs-mfp-preloader-size);
  line-height: 1;
  text-align: center;
  transform: translate(-50%, -50%);
  font-family: "fontawesome";
  line-height: inherit;
}
.mfp-preloader a {
  color: var(--cnvs-mfp-controls-text-color);
}
.mfp-preloader a:hover {
  color: var(--cnvs-mfp-controls-text-color-hover);
}

.mfp-container:not(.mfp-s-error) .mfp-preloader::before {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 1;
  content: "\f110";
  animation: spin 2s infinite linear;
}

.mfp-container.mfp-s-error .mfp-preloader {
  width: auto;
  height: auto;
  font-size: 1.5rem;
  font-family: inherit;
  animation: none;
  line-height: 1.5;
}

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

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

button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: calc(var(--cnvs-mfp-z-index-base) + 6);
  box-shadow: none;
  touch-action: manipulation;
}
button.mfp-close {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: calc(var(--cnvs-mfp-z-index-base) + 6);
  box-shadow: none;
  touch-action: manipulation;
}
button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

.mfp-close {
  width: 50px !important;
  height: 50px !important;
  line-height: 50px !important;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  padding: 0 0 18px 10px;
  font-style: normal;
  font-size: 30px;
	background: rgba(255,0,0,0.5) !important;
}
.mfp-close:hover, .mfp-close:focus {
  opacity: 1;
}
.mfp-close:active {
  top: 1px;
}

.mfp-close-btn-in .mfp-close {
  color: var(--cnvs-mfp-inner-close-icon-color);
}

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  color: #fff !important;
  width: 100%;
}

.mfp-counter {
	
	display: none !important;
	
  position: absolute;
  top: auto;
  bottom: 25px;
  right: 20px;
  font-size: 0.75rem;
  line-height: 18px;
  white-space: nowrap;
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 0.25rem;
  color: var(--cnvs-mfp-controls-text-color);
}
.mfp-counter:empty {
  display: none;
}

.mfp-arrow {
  opacity: var(--cnvs-mfp-controls-opacity);
  position: absolute;
  margin: 0;
  top: 50%;
  left: 0;
  padding: 0;
  width: var(--cnvs-mfp-arrow-size);
  height: var(--cnvs-mfp-arrow-size);
  font-family: "fontawesome";
  line-height: inherit;
  -webkit-tap-highlight-color: transparent;
  font-size: calc(var(--cnvs-mfp-arrow-size) / 2);
  transform: translateY(-50%);
  color: var(--cnvs-mfp-link-color);
  transition: all 0.3s ease;
}
.mfp-arrow:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.2);
}

@media (max-width: 991.98px) {
  .mfp-arrow {
    background-color: rgba(0, 0, 0, 0.75) !important;
  }
  .mfp-arrow:hover {
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.85) !important;
  }
}
.mfp-arrow-left::before,
.mfp-arrow-right::before {
  display: inline-flex;
  align-self: center;
  justify-self: center;
}

.mfp-arrow-right::before {
  content: "\f054";
}

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

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

.mfp-arrow-left::before {
  content: "\f053";
}

.mfp-iframe-holder {
  padding-top: var(--cnvs-mfp-iframe-padding-top);
  padding-bottom: var(--cnvs-mfp-iframe-padding-top);
}
.mfp-iframe-holder .mfp-content {
  line-height: 0;
  width: 100%;
  max-width: var(--cnvs-mfp-iframe-max-width);
}
.mfp-iframe-holder .mfp-close {
  top: -40px;
}

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: calc(var(--cnvs-mfp-iframe-ratio) * 100%);
}
.mfp-iframe-scaler iframe {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: var(--cnvs-mfp-shadow);
  background: var(--cnvs-mfp-iframe-background);
}

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

/* The shadow behind the image */
.mfp-figure {
  line-height: 0;
}
.mfp-figure::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  display: block;
  right: 0;
  width: auto;
  height: auto;
  z-index: -1;
  box-shadow: var(--cnvs-mfp-shadow);
  background: var(--cnvs-mfp-image-background);
}
.mfp-figure small, .mfp-figure .small {
  color: var(--cnvs-mfp-caption-subtitle-color);
  display: block;
  font-size: 12px;
  line-height: 14px;
}
.mfp-figure small:empty, .mfp-figure .small:empty {
  display: none;
}
.mfp-figure figure {
  margin: 0;
}

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

.mfp-title {
  position: absolute;
  left: 50%;
  bottom: 25px;
  transform: translateX(-50%);
  width: auto;
  text-align: center;
  line-height: 1.65;
  color: var(--cnvs-mfp-caption-title-color);
  word-wrap: break-word;
  padding: var(--cnvs-mfp-title-padding);
  background: rgba(39, 60, 68, 0.2);
  -webkit-backdrop-filter: blur(3em);
  backdrop-filter: blur(3em);
  border-radius: var(--cnvs-mfp-title-border-radius);
}
.mfp-title:empty {
  display: none;
}

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

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

@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, .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 {
    transform: translateY(-50%) scale(0.75) !important;
  }
  .mfp-arrow-left {
    transform-origin: 0;
  }
  .mfp-arrow-right {
    transform-origin: 100%;
  }
  .mfp-container {
    padding-left: var(--cnvs-mfp-popup-padding-left-mobile);
    padding-right: var(--cnvs-mfp-popup-padding-left-mobile);
  }
}
