.mfp-content > .pw-widget {
  position: relative;
  margin: 0 auto;
}

/* overlay at start */
.mfp-bg {
  opacity: 0;
  @include transition(unquote("all 0.15s ease-out"));
}

/* overlay animate in */
.mfp-bg.mfp-ready {
  opacity: 0.8;
}

/* overlay animate out */
.mfp-bg.mfp-removing {
  opacity: 0;
}

/* content at start */
.mfp-wrap .mfp-content {
  opacity: 0;
  @include scale(unquote(".95, .95"));
  @include transition(unquote("all 0.15s ease-out"));
}

/* content animate it */
.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
  @include scale(unquote("1, 1"));
}

/* content animate out */
.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
  @include scale(unquote(".95, .95"));
}
