@font-face {
  font-family: "stolzl";
  src: url("StolzlMedium.ttf");
  font-weight: 500;
}

@font-face {
  font-family: "stolzl";
  src: url("StolzlRegular.ttf");
  font-weight: 400;
}

html,
body {
  height: 100%;
  padding: 0;
  margin: 0;
}

.n-form__title {
  font: 500 24px/28px "stolzl";
  background-color: #fff;
  margin-bottom: 11px;
  color: #222;
}

.n-form__subtitle {
  font: 400 14px/18px "stolzl";
  margin-bottom: 40px;
  color: rgba(34, 34, 34, 0.6);
}

.n-form__text {
  font: 400 16px/22px "stolzl";
  color: rgba(34, 34, 34, 0.9);
  margin-top: 30px;
}

.n-form__input {
  margin-bottom: 30px;
  position: relative;
}

.n-form__input input {
  border: 1px solid rgba(34, 34, 34, 0.2);
  padding: 16px 20px;
  padding-right: 35px;
  border-radius: 8px;
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  font: 400 14px/22px "stolzl";
}

.n-form__input input::-webkit-input-placeholder {
  font: 400 14px/22px "stolzl";
  color: #a7a7a7;
}

.n-form__input input:-ms-input-placeholder {
  font: 400 14px/22px "stolzl";
  color: #a7a7a7;
}

.n-form__input input::-ms-input-placeholder {
  font: 400 14px/22px "stolzl";
  color: #a7a7a7;
}

.n-form__input input::placeholder {
  font: 400 14px/22px "stolzl";
  color: #a7a7a7;
}

.n-form__input.is-error input {
  border: 1px solid #e94e12;
}

.n-form__input.is-error .n-form-group__text-error {
  display: block;
}

.n-form__input-label {
  font: 400 10px/14px "stolzl";
  position: absolute;
  top: -15px;
  left: 20px;
  background-color: #fff;
  color: #a7a7a7;
  padding: 0 5px;
}

.n-form__btn {
  background-color: #fc6733;
  border: none;
  font: 500 14px/21px "stolzl";
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 16px 0;
  width: 100%;
  border-radius: 44px;
  cursor: pointer;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.n-form__btn:hover {
  background-color: #de5e30;
}

.n-form .n-form-group__text-error {
  display: none;
  color: #fc6733;
  text-align: end;
  margin-top: 10px;
  font: 400 10px/18px "stolzl";
}

.n-form--login .n-form-group.is-error .n-form-group__text-error {
  display: block;
}

.n-form--login .n-form__head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.n-form--login .n-form__logo {
  display: block;
  margin: 0 auto 50px;
  max-width: 273px;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.n-form--login .n-form__title {
  margin-bottom: 20px;
  font-size: 28px;
}

.n-form--login .n-form__subtitle {
  margin-bottom: 35px;
}

.n-form--login .n-form__password-control::after {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url(../images/eye-show.svg) 0 0 no-repeat;
  opacity: 0.4;
  content: "";
}

.n-form--login .n-form__password-control.view::after {
  background: url(../images/eye-crossed.svg) 0 0 no-repeat;
  opacity: 0.4;
}

.n-form--login .n-form__link {
  color: #fc6733;
  margin-top: 20px;
  margin-bottom: 32px;
  font: 400 12px/18px "stolzl";
  text-decoration: none;
  display: block;
}

.n-form--login .n-form__access-link {
  display: block;
  color: #a7a7a7;
  margin-top: 40px;
  margin-bottom: 0;
  font: 400 12px/18px "stolzl";
}

.n-form--login .n-form__access-link a {
  color: #fc6733;
}

.n-popup {
  position: fixed;
  top: 0;
  left: -10000px;
  width: 100%;
  z-index: 9999;
  height: 100%;
  display: block;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  overflow-y: auto;
  -webkit-transition: left 0s ease 0.5s, opacity 0.1s ease;
  transition: left 0s ease 0.5s, opacity 0.1s ease;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.n-popup__overflow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  display: block;
  background: rgba(0, 0, 0, 0.4);
  padding-top: 80px;
}

.n-popup__wrapper {
  position: relative;
  max-width: 375px;
  width: 100%;
  padding: 70px 25px 45px;
  margin: 0 auto;
  z-index: 1;
  background: #fff;
  border-radius: 12px;
  -webkit-transform: translateY(150px) rotateX(-85deg);
          transform: translateY(150px) rotateX(-85deg);
  opacity: 0;
  -webkit-perspective: 1000px;
          perspective: 1000px;
  -webkit-perspective-origin: 50% 50%;
          perspective-origin: 50% 50%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.n-popup__close {
  width: 13px;
  height: 13px;
  cursor: pointer;
  position: absolute;
  top: 29px;
  z-index: 10;
  right: 29px;
  margin: 0;
  padding: 0;
  visibility: visible;
}

.n-popup__close svg {
  font-size: 20px;
  /* stroke: #444; */
}

.n-popup.active {
  opacity: 1;
  visibility: visible;
  left: 0;
  pointer-events: auto;
  -webkit-transition: left 0s ease, opacity 0.1s ease;
  transition: left 0s ease, opacity 0.1s ease;
  padding-top: 60px;
  padding-bottom: 60px;
}

.n-popup.active .n-popup__wrapper {
  -webkit-transform: translateY(0%) scale(1, 1) rotateX(0);
          transform: translateY(0%) scale(1, 1) rotateX(0);
  opacity: 1;
}

.n-popup.static {
  position: relative;
  height: auto;
  overflow-y: visible;
  z-index: 1;
  min-height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

@media (max-width: 750px) {
  .n-popup.static {
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
    padding: 0;
  }
}

.n-popup.static.active .n-popup__wrapper {
  -webkit-transform: translateY(0%) scale(1, 1) rotateX(0);
          transform: translateY(0%) scale(1, 1) rotateX(0);
}

.n-popup.static .n-popup__overflow {
  background-color: #e5e5e5;
}

.n-popup.static .n-popup__wrapper {
  padding: 100px 25px 45px;
}

@media (max-width: 750px) {
  .n-popup.static .n-popup__wrapper {
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
    border-radius: 0;
  }
}

.n-popup--login .n-popup__close {
  left: 24px;
}

.n-popup--login .n-popup__close svg {
  font-size: 18px;
}

@media (max-width: 1200px) {
  .n-popup.active {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

@media (max-width: 760px) {
  .n-popup__wrapper {
    max-width: 100%;
  }
  .n-popup__overflow {
    background-color: #fff;
    padding: 0;
  }
  .n-popup.active {
    padding-top: 0;
    padding-bottom: 0;
  }
  .n-popup.active .n-popup__wrapper {
    -webkit-transform: translateY(0) scale(1, 1) rotateX(0);
            transform: translateY(0) scale(1, 1) rotateX(0);
    opacity: 1;
  }
  .n-popup.static .n-popup__overflow {
    display: none;
  }
}
