/* =============================
   FADE IN
============================= */
.mfp-fade.mfp-bg {
  opacity: 0;
  transition: all 0.3s ease-out;
}
.mfp-fade.mfp-bg.mfp-ready {
  opacity: 0.8;
}
.mfp-fade.mfp-bg.mfp-removing {
  opacity: 0;
}
.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;
  transition: all 0.3s ease-out;
}
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
  transform: translateY(0);
}
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
}

/* =============================
   SLIDE DOWN
============================= */
.mfp-slide-down.mfp-wrap .mfp-content {
  transform: translateY(-100px);
  opacity: 0;
  transition: all 0.3s ease;
}
.mfp-slide-down.mfp-wrap.mfp-ready .mfp-content {
  transform: translateY(0);
  opacity: 1;
}
.mfp-slide-down.mfp-wrap.mfp-removing .mfp-content {
  transform: translateY(-100px);
  opacity: 0;
}

/* =============================
   SLIDE UP
============================= */
.mfp-slide-up.mfp-wrap .mfp-content {
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
}
.mfp-slide-up.mfp-wrap.mfp-ready .mfp-content {
  transform: translateY(0);
  opacity: 1;
}
.mfp-slide-up.mfp-wrap.mfp-removing .mfp-content {
  transform: translateY(100px);
  opacity: 0;
}

/* =============================
   SLIDE LEFT
============================= */
.mfp-slide-left.mfp-wrap .mfp-content {
  transform: translateX(-100px);
  opacity: 0;
  transition: all 0.3s ease;
}
.mfp-slide-left.mfp-wrap.mfp-ready .mfp-content {
  transform: translateX(0);
  opacity: 1;
}
.mfp-slide-left.mfp-wrap.mfp-removing .mfp-content {
  transform: translateX(-100px);
  opacity: 0;
}

/* =============================
   SLIDE RIGHT
============================= */
.mfp-slide-right.mfp-wrap .mfp-content {
  transform: translateX(100px);
  opacity: 0;
  transition: all 0.3s ease;
}
.mfp-slide-right.mfp-wrap.mfp-ready .mfp-content {
  transform: translateX(0);
  opacity: 1;
}
.mfp-slide-right.mfp-wrap.mfp-removing .mfp-content {
  transform: translateX(100px);
  opacity: 0;
}

.wtoolkit-popup .mfp-close{
  text-align: center;
  width: 40px;
  height: 40px;
  background-color: var(--theme-color-border);
  color: var(--theme-color-accent);
  border-radius: var(--theme-box-square);
  padding: 0px;
  right: 0px;
}

.wtoolkit-popup .mfp-container{
  display: flex;
  align-items: center;
  justify-content: center;
}

.wtoolkit-popup .mfp-container .mfp-content{
  margin: 0px;
}

.wtoolkit-popup.mfp-bg{
  background-color: var(--theme-color-transparent);
}

.button-glow::before{
  -webkit-animation-delay: .3s !important;
  animation-delay: .3s !important;
}

.button-glow::after{
  -webkit-animation-delay: .9s !important;
  animation-delay: .9s !important;
}

.button-glow::before,
.button-glow::after,
.button-glow i::after{
  content: " ";
  position: absolute;
  --glow-size: 15px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: var(--theme-color-secondary);
  border-radius: 100%;
  -webkit-box-shadow: 0 0 0 0 currentColor;
  box-shadow: 0 0 0 0 currentColor;
  -webkit-animation: glowPulse 3s infinite;
  animation: glowPulse 3s infinite;
  opacity: .6;
  z-index: -1;
}

@keyframes glowPulse {
  70% {
      -webkit-box-shadow: 0 0 0 var(--glow-size, 15px) currentColor;
      box-shadow: 0 0 0 var(--glow-size, 15px) currentColor;
      opacity: 0;
  }

  100% {
      -webkit-box-shadow: 0 0 0 0 currentColor;
      box-shadow: 0 0 0 0 currentColor;
      opacity: 0;
  }
}
