/*----------------------------------
	Magnific Popup Custom
------------------------------------*/
.mfp-bg {
  z-index: 999995 !important;
}

.mfp-wrap {
  z-index: 999997 !important;
}

.mfp-content {
  z-index: 999998 !important;
}

.mfp-preloader {
  z-index: 999996 !important;
}

button.mfp-close,
button.mfp-arrow {
  z-index: 999999 !important;
}

.mfp-counter {
  top: 0.235rem !important;
  right: 1rem !important;
  font-size: 15px;
  color: #ffffff;
}

.mfp-title {
  font-size: 13px;
  line-height: 20px;
  margin-top: -5px !important;
  padding-left: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-right: 42px !important;
  background-color: #202879;
  border-bottom-right-radius: 0.25rem !important;
  border-bottom-left-radius: 0.25rem !important;
}

@media (min-width: 1440px) {
  .mfp-title {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

@media (min-width: 1440px) and (max-width: 1679px) {
  .mfp-content {
    margin-top: -75px;
  }
}

@media (min-width: 1680px) {
  .mfp-content {
    margin-top: -125px;
  }
}

@media (max-width: 480px) {
  .mfp-title {
    display: none;
  }
}

/*
for zoom animation
uncomment this part if you haven't added this code anywhere else
*/
.mfp-with-zoom .mfp-container,
.mfp-with-zoom.mfp-bg {
  opacity: 0;
  -webkit-backface-visibility: hidden;
  -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.8;
}

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