.modal {
  display: none
}
.modal__box {
  position: relative;
  width: 100%;
  max-width: 570px;
  margin: 0 auto;
  box-shadow: 0 4px 10px 2px rgba(0,103,231,.13);
  background-color: #fff;
  padding: 40px 50px
}
.modal__box_big {
  max-width: 680px
}
.modal__box_big .modal__title {
  font-weight: 400;
  text-align: center;
  max-width: 400px;
  margin: 0 auto
}
.modal__box button.mfp-close {
  top: 0;
  right: 0;
  color: #9d9d9d;
  font-weight: 100;
  font-family: inherit;
  font-size: 50px
}
.modal__title {
  font-weight: 500;
  font-size: 30px;
  line-height: 38px;
  margin-bottom: 16px;
  text-align: center
}
.modal__text {
  font-size: 18px;
  line-height: 23px;
  margin-bottom: 30px;
  text-align: center
}
.modal__form .form__input:not(.is-error) {
  border-color: #b5b5b5
}
.modal__form .form__label {
  max-width: 289px;
  margin: 0 auto
}
.modal__form .form__label:not(:last-child) {
  margin-bottom: 20px
}
.modal__form .form__btn {
  width: 100%;
  max-width: 289px;
  margin: 0 auto;
  display: block
}
.modal__form .form__policy {
  color: #202020
}
.modal__checkbox-input.is-error + .modal__checkbox-label-rounded::before {
  border-color: #e4002b
}
@media (max-width:768px) {
  .modal__title {
    font-size: 28px;
    line-height: 100%;
    margin-bottom: 10px
  }
}
@media (max-width:500px) {
  .modal__box {
    padding: 25px 15px
  }
  .modal__text {
    font-size: 16px;
    line-height: 21px;
    margin-bottom: 15px
  }
  .modal__form .form__checkbox {
    margin-top: 15px
  }
}