/*==============================
	Modal
==============================*/
.modal {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  margin: 40px auto;
  background-color: white;
  border-radius: 20px;
  padding: 30px 20px;
  width: 100%;
  max-width: 420px;
}
.modal .mfp-close {
  display: none;
}
.modal_close {
  position: absolute;
  top: 20px;
  right: 20px;
}
.modal_close svg {
  fill: #647dee;
  transition: fill 0.4s ease;
  height: auto;
  width: 24px;
}
button {
    padding: 0;
    border: none;
    background-color: transparent;
    border-radius: 0;
    transition: 0.4s ease;
    transition-property: color, background-color, border-color;
}
.modal_close:hover svg {
  fill: #a754e2;
}
.modal--article {
  max-width: 800px;
}
.modal__title {
  font-size: 32px;
  color: #343434;
  font-family: 'Jura', sans-serif;
  font-weight: 600;
  line-height: 100%;
  display: block;
  margin-top: 0;
  margin-bottom: 30px;
  text-align: center;
  width: 100%;
}
.modal__text {
  text-align: center;
  margin-top: 30px;
  font-size: 16px;
  line-height: 26px;
  color: black;
}
.modal__text a {
  position: relative;
  color: #647dee;
}
.modal__text a:hover {
  color: #a754e2;
  text-decoration: underline;
}
@media (min-width: 768px) {
  .modal {
    padding: 40px 60px;
  }
  .modal__title {
    margin-bottom: 40px;
  }
}
/* custom close btn for modal */
.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  right: 0;
  opacity: 1;
  width: 30px;
  height: 40px;
  padding-right: 0;
}
.mfp-image-holder .mfp-close:hover,
.mfp-iframe-holder .mfp-close:hover {
  color: #a754e2;
}
.mfp-bg {
  background: transparent;
  background-color: rgba(0,0,0,0.5);
  background-image: linear-gradient(90deg, rgba(100,125,238,0.25) 0%, rgba(167,84,226,0.25) 100%);
  opacity: 1;
}
.mfp-iframe-scaler {
  border-radius: 20px;
}
.mfp-iframe-scaler iframe {
  box-shadow: none;
  border-radius: 20px;
}
.my-mfp-zoom-in.mfp-ready.mfp-bg {
  opacity: 0.8;
}
.my-mfp-zoom-in .zoom-anim-dialog {
  opacity: 0;
  transition: all 0.4s ease-in-out;
  transform: scale(0.8);
}
.my-mfp-zoom-in.mfp-ready .zoom-anim-dialog {
  opacity: 1;
  transform: scale(1);
}
.my-mfp-zoom-in.mfp-removing .zoom-anim-dialog {
  transform: scale(0.8);
  opacity: 0;
}
.my-mfp-zoom-in.mfp-bg {
  opacity: 0;
  transition: opacity 0.4s ease-out;
}
.my-mfp-zoom-in.mfp-ready.mfp-bg {
  opacity: 0.8;
}
.my-mfp-zoom-in.mfp-removing.mfp-bg {
  opacity: 0;
}
.mfp-fade.mfp-bg {
  opacity: 0;
  transition: all 0.4s ease-in-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.34s ease-in-out;
}
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
}
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
}