.modal {
  position: relative;
  display: block;
  background-color: #16151a;
  margin: 40px auto;
  width: 100%;
  max-width: 59%;
  padding: 20px;
  border-radius: 12px;
  overflow: hidden;
  color: #fff;
}
.modal__icon {
  display: none;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 15px;
  right: 15px;
  pointer-events: none;
  opacity: 0.35;
}
.modal__icon svg {
  width: 70px;
  height: auto;
  fill: #c0c0c0;
}
.modal__icon--green svg {
  fill: #ffdd00;
}
.modal__icon--red svg {
  fill: #eb5757;
}
.modal__icon--purple svg {
  fill: #8051d4;
}
.modal--form {
  padding: 20px 20px 5px;
}
.modal--info {
  padding: 20px 20px 0;
}
.modal--info .modal__icon {
  display: flex;
}
.modal--info .sign__text {
  padding-right: 70px;
}
.modal .mfp-close {
  display: none;
}
.modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
}
.modal__close svg {
  fill: #c0c0c0;
  opacity: 0.6;
  transition: 0.5s ease;
  height: auto;
  width: 24px;
}
.modal__close:hover svg {
  opacity: 1;
  fill: #ffdd00;
}
@media (min-width: 768px) {
  .modal {
    padding: 40px;
  }
  .modal__icon {
    bottom: 30px;
    right: 30px;
  }
  .modal--form {
    padding: 40px 40px 25px;
  }
  .modal--form .modal__close {
    top: 37px;
    right: 35px;
  }
  .modal--form .contact-btn {
    margin-top: 30px;
  }
  .modal--info {
    padding: 40px 40px 20px;
  }
  .modal--info .modal__close {
    top: 37px;
    right: 35px;
  }
}
.mfp-bg {
  background: rgba(34,34,39,0.75);
}
.mfp-container {
  padding: 0 15px !important;
}
.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-ready.mfp-bg {
  opacity: 1;
}
.my-mfp-zoom-in.mfp-removing .zoom-anim-dialog {
  transform: scale(0.8);
  opacity: 0;
}
.my-mfp-zoom-in.mfp-removing.mfp-bg {
  opacity: 0;
}
.my-mfp-zoom-in.mfp-bg {
  opacity: 0;
  transition: opacity 0.4s ease-out;
}
.mfp-iframe-scaler iframe {
  border-radius: 12px;
  box-shadow: none;
  background-color: #16151a;
}
.mfp-iframe-holder .mfp-close {
  color: transparent;
  transition: opacity 0.4s;
}
.mfp-iframe-holder .mfp-close:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 44px;
  background: url("../img/close.svg") no-repeat center;
  background-size: 30px auto;
}
.mfp-iframe-holder .mfp-content {
  max-width: 910px;
}
.mfp-figure::after {
  box-shadow: none;
  background-color: #2c2c38;
}
.mfp-fade.mfp-bg {
  opacity: 0;
  transition: all 0.4s ease-in-out;
}
.mfp-fade.mfp-bg.mfp-ready {
  opacity: 1;
}
.mfp-fade.mfp-bg.mfp-ready .mfp-content {
  opacity: 1;
}
.mfp-fade.mfp-bg.mfp-removing {
  opacity: 0;
}
.mfp-fade.mfp-bg.mfp-removing .mfp-content {
  opacity: 0;
}
.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;
  transition: all 0.4s ease-in-out;
}
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
}
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
}
