@font-face {
  font-family: 'SF UI Display Bold';
  src: url('fonts/sfui_display-bold.woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'SF UI Display Semibold';
  src: url('fonts/sfui_display-sbold.woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'SF UI Display Black';
  src: url('fonts/sfui_display-black.woff');
  font-weight: normal;
  font-style: normal;
}
html,
body {
  width: 100%;
  height: 100%;
  min-width: 320px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'SF UI Display Bold', sans-serif;
  font-weight: normal;
  font-size: 10px;
  background-color: white;
  color: black;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -o-font-smoothing: antialiased;
  font-smoothing: antialiased;
}
body {
  overflow-y: scroll;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}
@keyframes preloader {
  000% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}
.layout {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  min-height: 100%;
  margin: 0 auto;
  padding: 30px 30px 40px;
  box-sizing: border-box;
}
.layout__header {
  display: block;
  margin-bottom: 70px;
}
.layout__content {
  position: relative;
  display: block;
  margin: auto;
}
.layout__content_title {
  display: block;
  max-width: 375px;
  margin: 0 0 0.4em 0;
  padding: 0;
  font-family: 'SF UI Display Bold', sans-serif;
  font-weight: normal;
  font-size: 2.7rem;
  color: rgba(0, 0, 0, 0.6);
  text-align: center;
}
.layout__content_text {
  display: block;
  max-width: 375px;
  margin: 0 0 0.4em 0;
  padding: 0;
  font-family: 'Georgia', serif;
  font-style: normal;
  font-weight: normal;
  font-size: 1.6rem;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1.375em;
  text-align: center;
}
.layout__content.m_hidden {
  display: none;
}
.layout__footer {
  display: block;
  margin: 40px auto 0;
  transition: all 0.4s;
}
.layout__footer.m_hidden {
  opacity: 0;
  pointer-events: none;
}
@media screen and (max-width: 700px) {
  .layout {
    padding-left: 20px;
    padding-right: 20px;
  }
}
.header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.header__back {
  display: flex;
  width: 200px;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  margin-right: 15px;
  border: 0;
  outline: 0;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.4s;
}
.header__back:hover {
  opacity: 0.8;
}
.header__back_icon {
  display: inline-block;
  align-self: flex-start;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  margin-right: 10px;
  border: 0;
  border-radius: 32px;
  outline: 0;
  background: #5300C0 url('images/back_white.svg') no-repeat;
  background-size: 100%;
  background-position: center;
  text-decoration: none;
}
.header__back_icon.m_white {
  background-image: url('images/back_white.svg');
}
.header__back_icon.m_black {
  background-image: url('images/back_black.svg');
}
.header__back_text {
  display: inline-block;
  border: 0;
  outline: 0;
  font-family: 'SF UI Display Semibold', sans-serif;
  font-weight: normal;
  font-size: 1.4rem;
  color: #5300C0;
  line-height: 1.57142857em;
  text-decoration: none;
}
.header__logo {
  display: block;
  width: 30px;
  height: 39px;
  margin: auto;
  background: url('images/logo.svg') no-repeat;
  background-size: 100%;
  background-position: center;
}
.header__cap {
  width: 200px;
  margin-left: 15px;
}
@media screen and (max-width: 700px) {
  .header__back,
  .header__cap {
    width: 32px;
  }
  .header__back_icon {
    margin-right: 0;
  }
  .header__back_text {
    display: none;
  }
}
.donation {
  position: relative;
  display: block;
  max-width: 375px;
  margin-top: 30px;
  border: 0;
  border-radius: 10px;
  background: white;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}
.donation__header {
  position: relative;
  display: block;
  height: 60px;
  margin: 0 5px;
  border-bottom: 1px solid rgba(225, 228, 233, 0.25);
}
.donation__logo {
  position: relative;
  display: block;
  top: -35px;
  height: 75px;
  margin: 0 auto;
}
.donation__note {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 20px;
}
.donation.m_logo {
  margin-top: 60px;
}
.form {
  display: block;
  margin: 0 -5px;
  padding: 20px;
}
.form__line {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
}
.form__label {
  display: block;
  margin: 0 5px 7px;
  font-family: 'SF UI Display Semibold', sans-serif;
  font-weight: normal;
  font-size: 1.1rem;
  color: rgba(0, 0, 0, 0.3);
}
.form__group {
  position: relative;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  height: 50px;
  margin: 0 5px 10px;
  padding: 7px 14px 9px;
  box-sizing: border-box;
  border: 0;
  border-radius: 5px;
  background: rgba(225, 228, 233, 0.25);
  cursor: text;
}
.form__group_label {
  display: block;
  margin-bottom: 2px;
  font-family: 'SF UI Display Semibold', sans-serif;
  font-weight: normal;
  font-size: 1.1rem;
  color: rgba(0, 0, 0, 0.3);
  line-height: 1.18181818em;
  text-align: left;
  white-space: nowrap;
  transition: all 0.2s;
  pointer-events: none;
}
.form__group_label_text.m_desktop {
  display: inline;
}
.form__group_label_text.m_mobile {
  display: none;
}
.form__group_label:after {
  display: block;
  content: attr(data-text);
  height: 0;
  font-family: 'SF UI Display Semibold', sans-serif;
  font-weight: normal;
  font-size: 1.3rem;
  opacity: 0;
}
.form__group_inputs {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.form__group_inputs_0 {
  flex: 0 0 auto;
}
.form__group_inputs_1 {
  flex: 1 1 auto;
}
.form__group_inputs_2 {
  flex: 1 2 auto;
}
.form__group_input {
  display: block;
  width: 100%;
  height: 20px;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  outline: 0;
  box-shadow: none;
  font-family: 'SF UI Display Bold', sans-serif;
  font-weight: normal;
  font-size: 1.6rem;
  color: rgba(0, 0, 0, 0.75);
  line-height: 1.25em;
  transition: height 0.2s, color 0.4s;
}
.form__group_input.m_placeholder:not(:focus):invalid {
  height: 2px;
}
.form__group_input.m_placeholder:not(:focus):invalid + .form__group_label {
  font-size: 1.3rem;
  margin-bottom: -3px;
}
.form__group_input.m_error {
  color: red;
}
.form__group_select {
  display: block;
  width: 100%;
  height: 20px;
  padding: 0 13px 0 0;
  margin: 0;
  background: transparent;
  border: 0;
  outline: 0;
  box-shadow: none;
  background: url('images/dropdown.svg') no-repeat;
  background-size: 9px 7px;
  background-position: right center;
  font-family: 'SF UI Display Bold', sans-serif;
  font-weight: normal;
  font-size: 1.6rem;
  color: rgba(0, 0, 0, 0.75);
  line-height: 1.25em;
  text-shadow: 0 0 0 #000;
  transition: height 0.2s, color 0.4s, background 0.4s;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.form__group_select::-ms-expand {
  display: none;
}
.form__group_select.m_error {
  color: red;
}
.form__group.m_short {
  width: 100px;
  flex: 0 0 auto;
}
.form__group.m_long {
  width: 120px;
  flex: 0 0 auto;
}
.form__group.m_radio {
  background-color: #9013FE;
}
.form__group.m_radio .form__group_input {
  color: white;
}
.form__group.m_radio .form__group_select {
  background-image: url('images/dropdown_white.svg');
  color: white;
}
.form__group.m_radio .form__group_select option {
  color: black;
}
.form__group.m_radio.m_inactive {
  background: rgba(225, 228, 233, 0.25);
  cursor: pointer;
}
.form__group.m_radio.m_inactive * {
  pointer-events: none;
}
.form__group.m_radio.m_inactive .form__group_input {
  color: rgba(0, 0, 0, 0.2);
  opacity: 0.25;
}
.form__group.m_radio.m_inactive .form__group_select {
  background-image: url('images/dropdown.svg');
  color: rgba(0, 0, 0, 0.75);
  opacity: 0.25;
}
.form__radio {
  position: relative;
  display: block;
  width: 100%;
  height: 50px;
  margin: 0 5px 10px;
  padding: 0;
  cursor: pointer;
  transition: all 0.4s;
}
.form__radio_label {
  position: relative;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 7px 14px;
  box-sizing: border-box;
  border: 0;
  border-radius: 5px;
  background: rgba(225, 228, 233, 0.25);
  font-family: 'SF UI Display Bold', sans-serif;
  font-weight: normal;
  font-size: 1.6rem;
  color: rgba(0, 0, 0, 0.75);
  line-height: 1.25em;
}
.form__radio_input {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  pointer-events: none;
}
.form__radio_input:checked + .form__radio_label {
  background-color: #9013FE;
  color: white;
}
.form__submit {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 65px;
  padding: 7px;
  margin: 0 5px;
  box-sizing: border-box;
  border: 0;
  border-radius: 5px;
  outline: 0;
  background-color: #5300C0;
  box-shadow: none;
  font-family: 'SF UI Display Bold', sans-serif;
  font-weight: normal;
  font-size: 1.6rem;
  color: white;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s;
}
.form__submit_start {
  display: inline-block;
  transition: all 0.4s;
}
.form__submit_loading {
  position: absolute;
  display: block;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  background: url('images/preloader.svg') no-repeat;
  background-size: 100%;
  background-position: center;
  opacity: 0;
  transition: all 0.4s;
  pointer-events: none;
}
.form__submit:hover {
  background-color: rgba(83, 0, 192, 0.8);
}
.form__submit:disabled {
  pointer-events: none;
  background-color: #E1E4E9;
}
.form__submit.m_loading {
  pointer-events: none;
  background-color: #5300C0;
}
.form__submit.m_loading .form__submit_start {
  opacity: 0;
  pointer-events: none;
}
.form__submit.m_loading .form__submit_loading {
  opacity: 1;
  pointer-events: auto;
  animation: preloader 1s infinite linear;
}
.form__error {
  display: block;
  font-family: 'SF UI Display Semibold', sans-serif;
  font-weight: normal;
  font-size: 1.5rem;
  color: red;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.form__error.m_visible {
  opacity: 1;
  pointer-events: auto;
}
.form__hidden {
  position: absolute;
  top: -2px;
  width: 2px;
  height: 2px;
  opacity: 0;
  pointer-events: none;
}
@media screen and (max-width: 700px) {
  .form {
    padding: 10px;
  }
  .form__group {
    padding-left: 10px;
    padding-right: 5px;
  }
  .form__group_input,
  .form__group_select {
    font-size: 1.5rem;
  }
  .form__group_label_text.m_desktop {
    display: none;
  }
  .form__group_label_text.m_mobile {
    display: inline;
  }
  .form__group_label:after {
    content: attr(data-text-mobile);
  }
}
.apps {
  display: block;
  margin: 0 auto;
  text-align: center;
}
.apps__label {
  display: block;
  margin-bottom: 8px;
  font-family: 'SF UI Display Semibold', sans-serif;
  font-weight: normal;
  font-size: 1.5rem;
  color: rgba(0, 0, 0, 0.3);
}
.apps__item {
  display: inline-block;
  margin: 0 8px 8px;
  background: transparent no-repeat;
  background-size: 100%;
  background-position: center;
  cursor: pointer;
}
.apps__item.m_appstore {
  width: 150px;
  height: 60px;
  background-image: url('images/button_appstore.svg');
}
.success {
  display: block;
  max-width: 580px;
  margin: 40px auto;
}
.success__icon {
  display: block;
  width: 60px;
  height: 60px;
  margin: 0 auto 30px;
  background: url('images/success.svg') no-repeat;
  background-size: 100%;
  background-position: center;
}
.success__text {
  display: block;
  font-family: 'SF UI Display Black', sans-serif;
  font-weight: normal;
  font-size: 3rem;
  color: black;
  text-align: center;
  line-height: 1em;
}
