/* ======  General popup styling ======  */

.mfp-wrap .mfp-container .mfp-content {
  display: inline-block;
  width: auto;
  margin-left: 200px;
}

.white-popup {
  position: relative;
  display: inline-block;
  background: #fff;
  padding: 25px;
  margin: 0 auto;
  border-radius: 20px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

.white-popup.no-padding-left {
  padding-left: 0;
}

.white-popup.no-padding-top {
  padding-top: 0;
}

.white-popup.no-padding-right {
  padding-right: 0;
}

.white-popup.no-padding-bottom {
  padding-bottom: 0;
}

.white-popup.no-padding {
  padding: 0;
}

.mfp-content button.mfp-close {
  width: 32px;
  height: 32px;
  line-height: 32px;
  color: #666;
  background: white;
  border-radius: 16px;
  position: absolute;
  right: 10px;
  top: 10px;
  opacity: 1;
  font-size: 24px;
  font-family: 'Open Sans', sans-serif;
  outline: none;
  transition: all 0.3s ease-in-out;
}

.mfp-content button.mfp-close:hover {
  color: white;
  background: #ee1e2d;
  opacity: 0.5;
}

/* ====== Zoom effect ====== */

/* content at start */
.mfp-zoom-in.mfp-wrap .mfp-content {
  transform: scale(0);
  opacity: 0;
}
/* content animate it */
.mfp-zoom-in.mfp-wrap.mfp-ready .mfp-content {
  transform: scale(1);
  opacity: 1;
  -webkit-transition: all 500ms ease 500ms;
  -moz-transition: all 500ms ease 500ms;
  transition: all 500ms ease 500ms;
}
/* content animate out */
.mfp-zoom-in.mfp-wrap.mfp-removing .mfp-content {
  transform: scale(0);
  opacity: 0;
  -webkit-transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  transition: all 500ms ease;
}

/* overlay at start */
.mfp-zoom-in.mfp-bg {
  opacity: 0;
}
/* overlay animate in */
.mfp-zoom-in.mfp-bg.mfp-ready {
  opacity: 0.7;
  -webkit-transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  transition: all 500ms ease;
}
/* overlay animate out */
.mfp-zoom-in.mfp-bg.mfp-removing {
  opacity: 0;
  -webkit-transition: all 500ms ease 500ms;
  -moz-transition: all 500ms ease 500ms;
  transition: all 500ms ease 500ms;
}
