@font-face {
  font-family: "SFPro";
  font-display: swap;
  src: url("../fonts/SFProDisplay-Black.woff") format("woff"), url("../fonts/SFProDisplay-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: "SFPro";
  font-display: swap;
  src: url("../fonts/SFProDisplay-Bold.woff") format("woff"), url("../fonts/SFProDisplay-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "SFPro";
  font-display: swap;
  src: url("../fonts/SFProDisplay-Medium.woff") format("woff"), url("../fonts/SFProDisplay-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "SFPro";
  font-display: swap;
  src: url("../fonts/SFProDisplay-Light.woff") format("woff"), url("../fonts/SFProDisplay-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "SFPro";
  font-display: swap;
  src: url("../fonts/SFProDisplay-Regular.woff") format("woff"), url("../fonts/SFProDisplay-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "SFPro";
  font-display: swap;
  src: url("../fonts/SFProDisplay-Semibold.woff") format("woff"), url("../fonts/SFProDisplay-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "SFPro";
  font-display: swap;
  src: url("../fonts/SFProDisplay-Thin.woff") format("woff"), url("../fonts/SFProDisplay-Thin.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
}

html,
body {
  height: 100%;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  margin: 0;
  padding: 0;
}

a {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

body {
  font-family: "SFPro", serif;
  background: #fff;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
  color: #18192F;
  overflow-x: hidden;
  letter-spacing: 0.008em;
}

body.overlay {
  height: 100vh;
  overflow: hidden;
}

ul,
li {
  list-style: none;
  margin: 0;
  padding: 0;
}

input:hover {
    /*border: 1px solid #18192F;*/
}

input:focus {
    /*border: 1px solid #18192F;*/
}

.container {
  padding: 0 15px;
  max-width: 1330px;
  width: 100%;
  margin: 0 auto;
}

.underline-link {
  font-weight: 500;
  text-decoration: underline;
  color: #2E63E6;
}

.underline-link.main-link {
  color: #2E63E6;
}

.control {
  position: relative;
  padding-left: 25px;
  display: inline-block;
}

.control:hover input ~ .control_indicator {
  border-color: #18192F;
}

.control input {
  width: 100%;
  height: 100%;
  z-index: 2;
  cursor: pointer;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
}

.control input:checked ~ .control_indicator {
  border-color: #2E63E6;
  background: #2E63E6;
}

.control input:checked ~ .control_indicator:after {
  display: block;
}

.control input.error ~ .control_indicator {
  border-color: #FF0000;
}

.control label.error {
  height: 0;
  opacity: 0;
}

.control .control_indicator {
  position: absolute;
  width: 16px;
  height: 16px;
  left: 0;
  top: 1px;
  border: 0.85px solid #18192F;
}

.control .control_indicator:hover {
  /*border-color: #2E63E6;*/
}

.control .control_indicator:after {
  content: "";
  width: 11px;
  height: 9px;
  background-image: url(../img/icon/checkbox.svg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.control_center .control_indicator {
  top: 50%;
  transform: translateY(-50%);
}

.control-radio:hover input ~ .control_indicator {
  border-color: #2E63E6;
}

.control-radio .control_indicator {
  border-radius: 50%;
}

.control-radio .control_indicator:hover {
  border-color: #2E63E6;
}

.control-radio .control_indicator:after {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
}

.control-radio .control_indicator.solid:after {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: inherit;
}

.control-radio input:checked ~ .control_indicator {
  border-color: #2E63E6;
  background: #2E63E6;
}

.control-radio input:checked ~ .control_indicator:after {
  display: block;
}

.control-radio input.error ~ .control_indicator {
  border-color: #FF0000;
}

.control-checkbox .control_indicator {
  border-radius: 3px;
}

.control-checkbox .control_indicator:after {
  border-radius: 1px;
}

.contol-group__text {
  position: relative;
  z-index: 3;
  color: #18192F;
  font-weight: 274;
  font-size: 15px;
  line-height: 18px;
}

.contol-group__text_small {
  font-size: 14px;
}

.contol-group__text.contract {
  font-style: normal;
  font-weight: 274;
  font-size: 15px;
  line-height: 18px;
}

.btn-reset {
  font-size: 15px;
  font-family: "SFPro", serif;
  display: block;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

.main-link {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  display: block;
  font-family: "SFPro", serif;
  color: rgba(96, 125, 139, 0.6);
  margin: 0 auto;
  transition: all 0.2s;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
}

.main-link:hover {
  color: #2E63E6;
}

.text-center {
  text-align: center;
}

.text-justify {
  text-align: justify;
  margin-top: 50%;
}

.center-btn {
  margin: 0 auto;
}

.costumn-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flipswitch {
  width: 40px;
}

.flipswitch-switch {
  width: 22px;
  height: 22px;
  background: #FFFFFF;
  border: 1px solid transparent;
  border-radius: 50%;
  position: absolute;
  top: 1px;
  bottom: 0;
  right: 17px;
  transition: all 0.3s ease-in 0s;
}

.flipswitch-cb:checked + .flipswitch-label .flipswitch-inner {
  margin-left: 0;
}

.flipswitch-cb:checked + .flipswitch-label .flipswitch-switch {
  right: 1px;
}

.flipswitch {
  position: relative;
  width: 40px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.flipswitch input[type=checkbox] {
  display: none;
}

.flipswitch-label {
  display: block;
  overflow: hidden;
  cursor: pointer;
  background: #A9A9A9;
  border-radius: 50px;
}

.flipswitch-inner {
  width: 200%;
  margin-left: -100%;
  transition: margin 0.3s ease-in 0s;
}

.flipswitch-inner:before,
.flipswitch-inner:after {
  float: left;
  width: 50%;
  height: 24px;
  padding: 0;
  line-height: 24px;
  font-size: 18px;
  color: white;
  font-weight: bold;
  box-sizing: border-box;
  background: #A9A9A9;
}

.flipswitch-inner:before {
  content: "";
  padding-left: 12px;
  background-color: #2E63E6;
  color: #FFFFFF;
}

.mCSB_inside > .mCSB_container {
  margin-right: 10px;
}

.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
  background-color: #A0B1B9 !important;
  opacity: 1 !important;
  margin: 0 0 0 auto;
}

.mCSB_scrollTools .mCSB_draggerRail {
  opacity: 0 !important;
}

.copy-text {
  display: flex;
  align-items: center;
}

.copy-text span {
  margin-right: 4px;
}

.header {
  padding: 68px 0;
  background: #EEF1F7;
}

.link-back {
  font-size: 20px;
  display: flex;
  align-items: center;
  color: #607D8B;
  transition: all ease 0.2s;
}

.link-back svg {
  display: block;
  fill: #607D8B;
  transition: all ease 0.2s;
  margin-right: 12px;
}

.link-back:hover {
  color: #2E63E6;
}

.link-back:hover svg {
  fill: #2E63E6;
}

.main {
  padding: 0 15px 20px;
}

.main-block {
  padding: 40px 64px;
  position: relative;
  max-width: 545px;
  margin: -75px auto 0;
  border: 1px solid #DFE5E8;
  border-radius: 16px;
  background: #fff;
}

.main-block__wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: calc(100vh - 200px);
}

.main-block__close {
  position: absolute;
  top: 20px;
  right: 20px;
}

.main-block__top {
  margin-bottom: 32px;
}

.main-block__header {
  padding-bottom: 38px;
  border-bottom: 1px solid #DFE5E8;
}

.main-block__header:not(:last-child) {
  margin-bottom: 48px;
}
.main-block__middle__desktop {
   display: block;
  }
.main-block__middle__mobile {
    display: none;
  }

.main-block__middle:not(:last-child) {
  margin-bottom: 48px;
}

.main-block__middle.documents {
  margin-bottom: auto !important;
}

.main-block__middle > img {
  display: block;
  margin: 0 auto;
}
.main-block__middle__mobile > img {
  display: block;
  margin: 0 auto;
}
.main-block__title {
  font-size: 32px;
  font-weight: bold;
}

.main-block__title img {
    width: 48px;
}
.main-block__title:not(:last-child) {
  margin-bottom: 16px;
}

.main-block__title_wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.main-block__title_wrapper span {
  margin-right: 16px;
}

.main-block__title.contract {
  margin-bottom: 48px;
}

.main-block__subtitle {
  text-align: center;
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 16px;
}

.main-block__text_wait {
  font-style: normal;
  font-size: 17px;
  line-height: 20px;
}

.main-block__text {
  font-style: normal;
  font-weight: 510;
  font-size: 17px;
  line-height: 20px;
}

.main-block__text.information {
  font-weight: 510;
  font-size: 16px;
}

.main-block__text_fz16 {
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
}
.liveness_subtitle {
    font-style: normal;
    font-weight: 510;
}

.main-block__text:not(:last-child) {
  margin-bottom: 16px;
}

.main-block__text p:not(:last-child) {
  margin-bottom: 10px;
}

.main-block__field:not(:last-child) {
  margin-bottom: 32px;
}

.main-block__field.error .main-block__field-label {
  color: #FF0000;
}

.main-block__field.error .main-block__input {
  border-color: #FF0000;
}

.main-block__field.error .main-block__field-error {
  display: block;
}

.main-block__field-error {
  font-size: 12px;
  color: #FF0000;
  display: none;
  margin-left: 12px;
  font-style: normal;
  font-weight: 274;
  font-size: 12px;
}

.main-block__field-label {
  padding-left: 12px;
  font-size: 14px;
  margin-bottom: 4px;
  font-style: normal;
  font-weight: 400;
  line-height: 17px;
  letter-spacing: 0.008em;
}

.main-block__field {
  height: 63px;
}

.main-block__input {
  padding: 11px 12px 10px;
  background: #fff;
  border: 0.85px solid #18192F;
  border-radius: 4px;
  display: block;
  width: 100%;
  outline: none;
  font-size: 16px;
  font-family: "SFPro", serif;
  font-weight: 500;
}

.main-block__input:hover,
.main-block__input:active {
  /*border-color: #18192F;*/
}

.main-block__btn {
  display: block;
  font-family: "SFPro", serif;
  font-size: 18px;
  text-align: center;
  margin: 0 auto;
  background: #2E63E6;
  border: 1px solid #2E63E6;
  border-radius: 16px;
  color: #fff;
  cursor: pointer;
  padding: 16px 20px;
  max-width: 327px;
  width: 100%;
  transition: all ease 0.2s;
}

.main-block__btn:not(:last-child) {
  margin-bottom: 32px;
}

.main-block__btn:hover {
  background: #2b66fa;
  border: 1px solid #2b66fa;
}

.main-block__btns .main-block__btn:not(:last-child) {
  margin-bottom: 16px;
}

.main-block__btn.contract-btn {
  height: 54px;
  align-items: center;
}

.btn-flex {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.btn-flex img {
  display: block;
  margin-right: 8px;
}

select.main-block__input {
  color: #00000;
  font-size: 16px;
  padding: 10px 12px 9px;
}

select.main-block__input option {
  color: #00000;
  font-size: inherit;
  font-family: inherit;
  font-weight: inherit;
}

.personal-data__text {
  font-size: 15px;
  font-weight: 300;
}

.personal-data__text p:not(:last-child) {
  margin-bottom: 20px;
}

.sms-code__attention {
  text-align: center;
  font-size: 15px;
  font-weight: 300;
}

#repeate-code {
  margin: 0 auto;
  display: none;
}

.request-data__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 150px;
  padding: 16px;
  background: #F5F7FA;
  border-radius: 16px;
}

.request-data__item:not(:last-child) {
  margin-bottom: 16px;
}

.request-data__item_hidden {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 150px;
  padding: 16px;
  background: #FFFFFF;
  border-radius: 16px;
}

.request-data__text {
  max-width: 205px;
  width: 100%;
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  line-height: 21px;
}

.request-data__text strong {
  white-space: nowrap;
}

.qr-code:not(:last-child) {
  margin-bottom: 32px;
}

.qr-code img {
  display: block;
  margin: 0 auto;
}

.pep-block .main-block__header {
  padding-bottom: 30px;
}

.pep-block .main-block__header:not(:last-child) {
  margin-bottom: 48px;
}

.pep-content {
  min-height: 240px;
  max-height: calc(90vh - 310px);;
  overflow: auto;
  letter-spacing: 1px;
}
@media (max-width: 767px) {
    .pep-content {
  max-height: calc(100vh - 310px);;
}
}

.pep-content__title {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 16px;
}

.pep-content__list {
  margin-bottom: 14px;
  margin-bottom: 15px;
}

.pep-content__list li {
  position: relative;
  line-height: 1.3;
  padding-left: 24px;
}

.pep-content__list li:before {
  content: "";
  background: #000;
  border-radius: 50%;
  width: 4px;
  height: 4px;
  position: absolute;
  top: 10px;
  left: 10px;
}
.pep-content__list li:not(:last-child) {
  margin-bottom: 5px;
}

.pep-content__list_top {
  font-size: 15px;
}

.pep-content__list_top li:not(:last-child) {
  margin-bottom: 18px;
}

.pep-content__list_large {
  font-size: 16px;
}

.pep-content__list_large li:not(:last-child) {
  margin-bottom: 16px;
}

.pep-content__small-text {
  font-size: 14px;
  font-weight: 300;
  margin-bottom: 16px;
}

.pep-content__definition {
  margin-bottom: 16px;
}

.pep-content__definition span {
  font-weight: 500;
  font-size: 17px;
}

.loader {
  display: block;
  margin: 0 auto 32px;
  -webkit-animation: loading 3s linear infinite;
  animation: loading 3s linear infinite;
}

.fields-flex {
  display: flex;
}

.fields-flex .fields-item {
  width: 100%;
}

.fields-flex .fields-item_small {
  width: 30%;
  min-width: 98px;
}

.fields-flex .fields-item:not(:last-child) {
  margin-right: 16px;
}

.questionnaire__title {
  font-weight: bold;
  font-size: 22px;
  margin-bottom: 16px;
}

.questionnaire .main-block__field:not(:last-child) {
  margin-bottom: 16px;
}

.questionnaire-item:not(:last-child) {
  margin-bottom: 32px;
}

.questionnaire-item input, .questionnaire-item select {
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: 0.008em;
  font-family: "SFPro", serif;
}

.fields-flex {
  margin-bottom: 16px;
}

.adress-switch {
  margin-bottom: 16px;
}

.adress-switch .costumn-switch__label {
  max-width: 200px;
}

.fields-flex_auto .fields-item {
  width: auto;
  display: auto;
}

.textarea-attention {
  font-size: 12px;
  padding: 0 12px;
  color: #607D8B;
}

.control:not(:last-child) {
  margin-bottom: 32px;
}

.upload-doc__title {
  font-weight: bold;
  font-size: 22px;
}

.upload-doc__item {
  padding: 24px 0;
  display: flex;
  align-items: center;
}

.upload-doc__item:not(:last-child) {
  border-bottom: 1px solid #E3E8EA;
}

.upload-doc__icon {
  width: 20px;
  min-width: 20px;
  display: block;
  /*visibility: hidden;*/
  margin-top: 10px;
  margin-right: 12px;
}

.upload-doc__content {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.upload-doc__left {
  width: 100%;
  min-width: 230px;
  margin-right: 23px;
}

.upload-doc__name {
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
}

.upload-doc__attention {
  font-size: 14px;
  color: #FF0000;
}

.upload-doc__info {
  list-style: none;
  font-size: 12px;
  color: #607D8B;
  margin-top: 5px;
  font-weight: 274;
  line-height: 14px;
}

.upload-doc__info[open] .upload-doc__info-label::before {
  transform: translateY(-29%) rotate(180deg);
}

.upload-doc__info-label {
  list-style: none;
  position: relative;
  padding-left: 24px;
  cursor: pointer;
}

.upload-doc__info-label::before {
  content: url(../img/icon/drop-down.svg);
  position: absolute;
  left: 0;
  top: 0;
  transform: translateY(-20%) rotate(0deg);
}

.upload-doc__info-text {
  padding-top: 5px;
  padding-left: 24px;
}

.upload-doc__info-error {
  font-size: 14px;
  line-height: 17px;
  color: #FF0000;
  font-style: normal;
  display: none;
  font-weight: 274;
}

.upload-doc__icon-info, .upload-doc__icon-warning {
  display: none;
}

.form-file__inp {
  position: relative;
  font-family: 'SFPro', sans-serif;
  cursor: pointer;
}

.form-file__inp input {
  display: block;
  opacity: 0;
  position: relative;
  z-index: 9;
  padding: 0;
  cursor: pointer;
  text-align: center;
}


.form-file__inp .select-file {
  position: absolute;
  left: 100%;
}

.form-file__inp .select-file:before {
  content: url("../img/icon/upload.svg");
  position: absolute;
  right: 40px;
  top: 0px;
}
.upload-doc .form-file__inp .select-file:before {
  position: absolute;
  top: 0px;
  background-image: url("../img/icon/upload.svg");
  background-size: 20px;
  display: inline-block;
  width: 20px;
  height: 20px;
  content: "";
}

.upload-doc__handle {
  margin-left: 20px;
}

.upload-doc__handle img{
  width: 20px;
  height: 20px;
}

.upload-doc__handle-btn:not(:last-child) {
  position: relative;
  margin-right: 16px;
}

.take-photo__inner {
  position: relative;
  border-radius: 5px;
  padding: 8px;
  max-width: 346px;
  min-width: 250px;
  width: 100%;
  margin: 0 auto 65px auto;
}

.take-photo__inner .border-photo {
  position: absolute;
  border: 2px solid #000;
  border-radius: 10px;
  width: 64px;
  height: 64px;
}

.take-photo__inner .border-photo_1 {
  border-radius: 10px 0 0 0;
  border-right: none;
  border-bottom: none;
  top: 1px;
  left: 7px;
}

.take-photo__inner .border-photo_2 {
  border-radius: 0 10px 0 0;
  border-left: none;
  border-bottom: none;
  top: 1px;
  right: 7px;
}

.take-photo__inner .border-photo_3 {
  border-radius: 0 0 10px 0;
  border-left: none;
  border-top: none;
  right: 7px;
  bottom: 7px;
}

.take-photo__inner .border-photo_4 {
  border-radius: 0 0 0 10px;
  border-right: none;
  border-top: none;
  left: 7px;
  bottom: 7px;
}

.take-photo__img {
  width: 100%;
  height: 100%;
  /*background: #F6F6F6;*/
  /*border: 1px solid #E0E0E0;*/
  border-radius: 10px;
  overflow: hidden;
  /*margin: 5px auto 0 auto;*/
  text-align: center;
}

.take-photo__instruction {
  max-width: 330px;
  margin: 0 auto;
  text-align: center;
  font-size: 15px;
  color: #18192F;
  font-style: normal;
  font-weight: 274;
  line-height: 18px;
}

.take-photo__btn {
  min-width: 200px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 100%;
}

.take-photo__repeat {
  margin: 0 auto;
  display: none;
  align-items: center;
  justify-content: center;
  color: #2E63E6;
  font-weight: 510;
}

.take-photo__repeat.show {
  display: flex !important;
}

.take-photo__repeat img {
  margin-right: 8px;
  display: block;
}

.take-photo__error {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-weight: 700;
  font-size: 22px;
  max-width: 170px;
  z-index: 4;
}

/*.take-photo__img {
  position: relative;
}*/

.take-photo__img video {
  display: block;
  width: 100%;
  height: 100%;
}

.take-photo__img canvas {
  display: block;
  /*width: 100%;*/
  /* height: 223px; */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  /*right: 0;*/
  display: none;
}

.take-photo__img canvas.show {
  display: block;
  z-index: 2;
}


.photo-example__text {
  margin-bottom: 24px;
}

.photo-example__img img {
  display: block;
  width: 100%;
  height: auto;
}

.loan-info__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-bottom: 1px solid #DFE5E8;
}

.loan-info__row:first-child {
  border-top: 1px solid #DFE5E8;
}

.loan-info__label {
  font-size: 16px;
  font-weight: 400;
  margin-right: 15px;
}

.loan-info__value {
  font-size: 17px;
  font-weight: 500;
}

.loan-info__additional-info {
  padding: 24px 0;
  font-size: 14px;
  font-weight: 300;
}

.cards {
  margin-top: 32px;
}

.cards-item {
  padding: 24px 0;
  border-top: 1px solid #DFE5E8;
}

.cards-item:last-of-type {
  border-bottom: 1px solid #DFE5E8;
}

.cards-item__wrapper {
  width: 100%;
  display: flex;
  align-items: center;
}

.cards-item__content {
  width: 100%;
  display: flex;
  align-items: center;
}

.cards-item__logo {
  margin-right: 16px;
}

.cards-item__num {
  font-size: 17px;
  font-weight: 500;
}

.cards-item__status {
  font-size: 14px;
  text-align: center;
}

.cards-item .control {
  width: 100%;
  margin: 0;
}

.cards-item .control_indicator {
  top: 50%;
  transform: translateY(-50%);
}

.cards-item.disabled .control {
  opacity: 0.7;
  pointer-events: none;
}

.add-card__btn {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  margin: 34px auto 0;
  display: flex;
  align-items: center;
  font-size: 17px;
  font-weight: 500;
  color: #2E63E6;
}

.add-card__btn img {
  display: block;
  margin-right: 8px;
}

.add-card__wrapper {
  position: relative;
  min-height: 290px;
  margin-bottom: 60px;
}

.add-card__face {
  min-height: 190px;
  height: 190px;
  padding: 24px;
  max-width: 302px;
  width: 100%;
  position: absolute;
  top: 0;
  right: 0;
  background: #18192F;
  border-radius: 16px;
  border: 1px solid #18192F;
  z-index: 2;
}

.add-card__face .main-block__field:not(:last-child) {
  margin-bottom: 20px;
}

.add-card__face .main-block__field-label {
  color: rgba(255, 255, 255, 0.6);
}

.add-card__face .main-block__input {
  background: rgba(96, 125, 139, 0.2);
  color: #fff;
}

.add-card__face .main-block__input:hover,
.add-card__face .main-block__input:focus {
  border: 1px solid rgba(96, 125, 139, 0.2);
}

.add-card__back {
  min-height: 190px;
  height: 190px;
  padding: 24px;
  bottom: 0;
  left: 0;
  position: absolute;
  max-width: 302px;
  width: 100%;
  background: #EEF1F7;
  border: 1px solid rgba(96, 125, 139, 0.6);
  border-radius: 16px;
}

.add-card__back .main-block__input {
  background: #D1DAE2;
  border-color: #D1DAE2;
}

.add-card__back .main-block__input:hover,
.add-card__back .main-block__input:focus {
  border: 1px solid #D1DAE2;
}

.add-card__back-wrapper {
  height: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.add-card__info {
  font-size: 12px;
  max-width: 82px;
  margin-right: 8px;
  padding-bottom: 5px;
}

.add-card__text {
  max-width: 210px;
  width: 100%;
  margin: 0 auto;
  font-size: 14px;
  font-weight: 300;
  text-align: center;
}

.card-small__field {
  width: 95px;
}

.liveness__title {
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: bold;
  max-width: 300px;
  width: 100%;
  margin: 0 auto;
}

.liveness__title:not(:last-child) {
  margin-bottom: 8px;
}

.liveness__img {
  margin-bottom: 150px;
}

.liveness__img img {
  display: block;
  margin: 0 auto;
}

.liveness__text {
  text-align: center;
  font-size: 15px;
  font-weight: 300;
  max-width: 265px;
  margin: 0 auto;
}

.liveness__btn {
  max-width: 100%;
  width: 100%;
}

.liveness .main-block__title img {
  width: 36px;
}

.liveness .main-block__title {
  margin-bottom: 16px;
}

.liveness-success__text {
  max-width: 250px;
  font-size: 16px;
  line-height: 20px;
  margin: 0 auto;
}

.liveness-explanation {
  font-size: 15px;
  font-weight: 300;
  line-height: 18px;
}

.liveness-explanation.main-block__text p:not(:last-child) {
  margin-bottom: 17px;
}

.liveness-explanation ul {
  font-size: 15px;
  font-weight: 274;
  margin-bottom: 16px;
}

.liveness-explanation li {
  list-style: numeric;
  list-style-position: inside;
}

.liveness-explanation li:not(:last-child) {
  margin-bottom: 10px;
}

.liveness-explanation p {
    font-weight: 274;
}

.liveness-explanation p:not(:last-child) {
  margin-bottom: 16px;
}

.photo .main-block__header {
  padding-bottom: 32px;
}

.photo .main-block__header:not(:last-child) {
  margin-bottom: 32px;
}

.contracts__content {
  padding: 0px 0px 0 0px;
  border: 8px solid #A0B1B9;
  max-height: 500px;
  overflow: hidden;
  margin-bottom: 16px;
  font-size: 10px;
  border-radius: 4px;
}

.contracts__content p:not(:last-child) {
  margin-bottom: 10px;
}

.signature__body {
  background: rgba(238, 241, 247, 0.6);
  border: 1px solid rgba(96, 125, 139, 0.2);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 34px;
}

.signature__body canvas {
  width: 100%;
  height: 100%;
}

.signature__clear {
  margin: 0 auto 90px;
  color: #2E63E6;
  font-style: normal;
  font-weight: 510;
  font-size: 17px;
  line-height: 20px;
}

.signature__clear img {
  margin-right: 13px;
}

.signature__instruction {
  font-size: 14px;
  text-align: center;
  font-weight: 300;
  max-width: 330px;
  margin: 0 auto;
}

.signature__instruction a {
  font-weight: 500;
  font-size: 15px;
}

img.success-img {
  margin: 0 auto 90px;
}

.diposits {
  margin-bottom: 47px;
}

.diposits__text {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 16px;
}

.diposits-item {
  border-radius: 16px;
  overflow: hidden;
  background: #EEF1F7;
}

.diposits-item:not(:last-child) {
  margin-bottom: 16px;
}

.diposits-item__header {
  padding: 12px;
  background: rgba(96, 125, 139, 0.2);
}

.diposits-item__title {
  font-size: 17px;
  font-weight: 500;
  color: #607D8B;
}

.diposits-item__title:not(:last-child) {
  margin-bottom: 8px;
}

.diposits-item__body {
  padding: 8px 12px;
}

.diposits-item__row:not(:last-child) {
  margin-bottom: 8px;
}

.diposits-item__label {
  font-size: 12px;
  font-weight: 300;
  margin-bottom: 2px;
}

.diposits-item__val {
  font-weight: 500;
  font-size: 15px;
}

.diposits-item__text {
  font-weight: 300;
  font-size: 15px;
}

.medium-weight {
  font-weight: 700;
}

.line-height-20 {
  line-height: 20px;
}

.font-size-16 {
  font-size: 16px;
}

.font-weight-400 {
  font-weight: 400;
}

input[name="itn"]::-webkit-outer-spin-button, input[name="itn"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[name="itn"] {
  -moz-appearance: textfield;
}

input[name="inn"]::-webkit-outer-spin-button, input[name="inn"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[name="inn"] {
  -moz-appearance: textfield;
}

input::-webkit-calendar-picker-indicator{
    display: none;
}

input[type="date"]::-webkit-input-placeholder{
    visibility: hidden !important;
}

@-webkit-keyframes loading {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes loading {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 992px) {
  .header {
    padding: 40px 0;
  }

  .main-block {
    margin-top: -20px;
  }

  .main-block__wrapper {
    min-height: calc(100vh - 186px);
  }
}

@media (max-width: 767px) {
  .main {
    padding: 0;
  }

  .main-block {
    margin-top: 0;
    border-radius: 0;
    border: none;
  }

  .main-block__header:not(:last-child) {
    margin-bottom: 32px;
  }

  .main-block__header {
    padding-bottom: 32px;
  }

  .main-block__middle__desktop {
   display: none;
  }

  .main-block__middle {
    display: block;
  }

  .main-block__middle__mobile {
    display: block;
  }

  .main-block__middle__mobile:not(:last-child) {
    margin-bottom: 32px;
  }

  .main-block__middle:not(:last-child) {
    margin-bottom: 32px;
  }

  .main-block__middle.documents {
    margin-bottom: auto !important;
  }

   .pep-block .main-block__header:not(:last-child) {
    margin-bottom: 32px;
  }

  .liveness__img {
    margin-bottom: 60px;
  }

  .signature__clear {
    margin-bottom: 32px;
  }

  img.success-img {
    margin-bottom: 32px;
  }
}

@media (max-width: 568px) {
  .header {
    padding: 14px 0;
    background: #fff;
  }

  .link-back {
    font-size: 14px;
  }

  .main-block {
    padding: 24px;
  }

  .phone-block.main-block__wrapper {
    min-height: calc(100vh - 130px);
  }

  .main-block__wrapper {
    min-height: calc(100vh - 150px);
  }

  .main-block__wrapper.choice {
    min-height: initial;
  }

  .main-block__title {
    font-size: 22px;
  }

  .main-block__title img {
    width: 36px;
  }

  .main-block__title:not(:last-child) {
    margin-bottom: 8px;
  }

  .liveness .main-block__title {
    margin-bottom: 8px;
  }

  .main-block__title.contract {
    margin-bottom: 32px;
  }

  .main-block__text {
    font-weight: 400;
    font-size: 16px;
  }

  .main-block__text.information {
    font-weight: 400;
  }

  .medium-weight {
    font-weight: 510;
  }

  .liveness_subtitle {
    font-weight: 400;
    font-size: 16px;
  }

  .main-block__close {
    position: fixed;
  }
}

.personal-data__text {
    height: calc(100vh - 500px);
    overflow: auto;
}
@media (max-height: 799px) {
    .personal-data__text {
        height: calc(100vh - 300px);
    }
}

@media (max-height: 601px) {
    .personal-data__text {
        height: calc(100vh - 470px);
    }
}

@media (max-height: 500px) {
    .personal-data__text {
        height: calc(100vh - 320px);
    }
    .header {
    padding: 20px 0;
    }
}

input::placeholder {
    font-family: "SFPro", serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    letter-spacing: 0.008em;
    color: rgba(96, 125, 139, 0.6);
}
.dropdown-arrow {
    position: relative;
}
.dropdown-arrow::before {
    position: absolute;
    border-bottom: 2px solid #000;
    border-right: 2px solid #000;
    //content: "";
    display: block;
    height: 7px;
    margin-top: -4px;
    pointer-events: none;
    position: absolute;
    right: 12px;
    top: 50%;
    transform-origin: 66% 66%;
    transform: rotate(45deg);
    transition: all 0.15s ease-in-out;
    width: 7px;
}

.main-block__field-label.error {
    color: #FF0000;
}

.main-block__field:has(.reg__input > .custom-select > input.error) {
    color: #FF0000;
}

.main-block__field:has(input.error) {
    color: #FF0000;
}

.select-nice-select {
  display: none;
}

.documentflow {
  width: 20px;
  height: 20px;
}
.sms-code__timer {
  font-style: normal;
  font-weight: 274;
  font-size: 15px;
  line-height: 18px;
}
