/* Magnific Popup Core CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #000;
  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%;
  padding: 0 8px;
  box-sizing: border-box;
}

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

.mfp-close {
  color: #fff;
  width: 44px;
  height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  padding: 0;
  overflow: hidden;
  z-index: 1046;
  font-family: Arial, Baskerville, monospace;
  font-size: 28px;
  line-height: 44px;
}

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

.mfp-arrow {
  color: #fff;
  position: absolute;
  opacity: 0.65;
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: transparent;
}

.mfp-arrow:active {
  margin-top: -54px;
}

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

.mfp-arrow-left {
  left: 0;
  background: url('../images/left-arrow.png') no-repeat center;
}

.mfp-arrow-right {
  right: 0;
  background: url('../images/right-arrow.png') no-repeat center;
}

/* Media Queries */
@media (max-width: 900px) {
  .mfp-arrow {
    width: 60px;
    height: 80px;
    margin-top: -40px;
  }
}

@media (max-width: 800px) {
  .mfp-container {
    padding: 0 6px;
  }
}

@media (max-height: 300px) {
  .mfp-arrow {
    display: none;
  }
}

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

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  position: relative;
}

.mfp-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}
