/* FORMS INPUT */
.x_form_row {
  margin-bottom: 37px;
  position: relative;
}

.x_form_row.x_form_last {
  margin-bottom: 0;
}

.x_form_row.x_form_row_last {
  margin-bottom: 0;
}

.x_form_label {
  display: block;
  font-size: 12px;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: 0.05em;
  color: #000;
  text-transform: uppercase;
  margin-bottom: 13px;
}

.x_form_input,
textarea.x_form_input {
  border: none;
  font-size: 14px;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: 0.02em;
  padding: 18px 12px;
  background: #F1F1F1;
  color: #000;
  width: 100%;
}

/* Унификация высоты инпутов */
.x_form_input {
  min-height: 54px;
  height: 54px;
  box-sizing: border-box;
}

/* Для textarea сохранить возможность растягивания */
textarea.x_form_input {
  height: auto;
  min-height: 156px;
}

.x_form_input:focus,
textarea.x_form_input:focus {
  outline: none;
}

.x_form_input::placeholder,
textarea.x_form_input::placeholder {
  color: #000;
}

/* Error states */
.x_form_input.input-error {
  border: 1px solid #dc3545;
  background: #fff5f5;
}

.error-message {
  display: none;
  color: #dc3545;
  font-size: 12px;
  margin-top: 5px;
  min-height: 18px;
}

textarea.x_form_input {
  min-height: 156px;
}

.x_form_input.x_password_input {
  padding-right: 55px;
}

.button_x.button_x_error {
  background: #FF6565;
}

.x_form_input[name="confirm_code"] {
  font-size: 16px;
  font-weight: 700;
  padding: 15px 12px;
}

.x_form_input_outer_money {
  position: relative;
}

.x_form_input_outer_money::after {
  content: '';
  position: absolute;
  top: 16px;
  left: 8px;
  width: 16px;
  height: 20px;
  background: url(../img/icons/icon_euro.svg) center center no-repeat;
  background-size: contain;
}

.x_form_input_outer_money .x_form_input {
  padding-left: 12px;
}

.x_form_input_outer_money::after {
  display: none;
}

.x_form_input_outer_info {
  position: relative;
}

.x_form_input_outer_info_content {
  position: absolute;
  top: 0;
  right: 0;
}

.x_form_input_outer_info_handler {
  cursor: pointer;
  position: absolute;
  top: 7px;
  right: 1px;
  width: 35px;
  height: 35px;
  background: url(../img/icons/icon_info.png) center center no-repeat;
  background-size: contain;
  z-index: 5;
}

.x_form_input_outer_info .x_form_input {
  width: calc(100% - 50px);
}

.x_form_input_outer_info_pinup {
  position: absolute;
  background: #000;
  color: #fff;
  z-index: 5;
  left: calc(100% - 42px);
  display: none;
}

.x_form_input_outer_info_content.active .x_form_input_outer_info_pinup {
  display: block;
}

.x_form_input_outer_info_pinup_close {
  display: block;
  width: 39px;
  height: 39px;
  position: absolute;
  top: 6px;
  left: 5px;
  background: url(../img/icons/icon_close_white.png) center center no-repeat;
  background-size: contain;
  cursor: pointer;
}

.x_form_input_outer_info_pinup_text {
  padding: 16px 11px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-wrap: nowrap;
  padding-left: 57px;
  padding-right: 24px;
}

/* FORMS MODAL */
.x_form_close_button {
  position: absolute;
  top: 6px;
  right: 7px;
  display: inline-block;
  text-decoration: underline;
  padding: 5px;
  cursor: pointer;
}

.x_form_modal {
  display: none;
}

.x_form_modal_container {
  min-width: 760px;
  padding: 55px 68px;
}

.x_form_modal_container.x_form_modal_container_wide {
  min-width: 1055px;
}

.x_form_modal_container.x_form_login {
  min-width: 650px;
  padding: 45px 70px;
}

.x_form_modal_container.x_form_reg_step_1 {
  min-width: 750px;
  padding: 45px 70px;
}

.x_form_modal_container.x_form_reg_step_2 {
  min-width: 750px;
  padding: 45px 70px;
}

.x_form_modal_container.x_form_req_step_2_designer {
  min-width: 1055px;
  padding: 45px 70px;
}

.x_form_modal_container.x_form_reg_step_3_enter {
  min-width: 660px;
  padding: 55px 70px;
}

.x_form_modal_container.x_form_reg_step_3_error {
  min-width: 660px;
  padding: 55px 70px;
}

.x_form_modal_container.x_form_reg_step_3_finish {
  min-width: 660px;
  padding: 55px 70px;
}

.x_form_modal.fancybox-content {
  padding: 0;
}

.x_form_modal_caption_cols {
  display: flex;
  justify-content: space-between;
}

.x_form_modal_caption {
  font-size: 26px;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: 0.1em;
  margin-bottom: 40px;
}

.x_form_modal_step {
  padding-top: 6px;
  position: relative;
}

.x_form_modal_step_text {
  font-size: 16px;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: 0.05em;
  text-align: right;
  color: #000;
}

.x_form_modal_step_back {
  position: absolute;
  z-index: 2;
  width: 44px;
  height: 20px;
  left: -34px;
  top: 5px;
  /* border:1px solid silver; */
  background: url("../img/arrows/arrow_step_back.svg") center center no-repeat transparent;
  background-size: 32%;
}

.x_form_row_submit {
  padding-top: 20px;
  margin-bottom: 45px;
}

.x_form_row_submit .button_x {
  font-size: 15px;
}

/* FORMS GRID */
.x_forms_cols {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: flex-start;
  justify-content: space-between;
}

.x_forms_column {
  width: calc(50% - 10px);
}

.x_forms_cols.cols_3 .x_forms_column {
  width: calc(33.333% - 13px);
}

.x_forms_cols.cols_4 .x_forms_column {
  width: calc(25% - 10px);
}

.x_form_row_footer_cols {
  display: flex;
  justify-content: space-between;
  width: 100%;
  flex-direction: row;
}

.x_form_row_footer_column {}

.x_forms_cols_ext {
  display: flex;
}

.x_forms_cols_ext .x_form_column_01 {
  padding-right: 30px;
  width: 600px;
  position: relative;
}

.x_forms_cols_ext .x_form_column_01:after {
  content: '';
  position: absolute;
  right: 0;
  top: 1px;
  bottom: 36px;
  width: 1px;
  border-right: 1px solid #C8C8C8;
}

.x_forms_cols_ext .x_form_column_02 {
  padding-left: 30px;
  width: calc(100% - 600px);
}

.x_forms_column_toggle {
  display: none;
}

/* FORMS_VIDGETS */
.x_form_person_title_01 {
  max-width: 170px;
  width: 100%;
  display: flex;
  background: #f1f1f1;
  color: #000;
  font-size: 14px;
  font-weight: 500;
  line-height: 53px;
  letter-spacing: 0.05em;
  text-align: center;
  align-items: center;
  height: 53px;
  align-content: center;
}

.x_form_person_title_01 .vidget_title_arrow {
  display: block;
  cursor: pointer;
  width: 50px;
  height: inherit;
  line-height: inherit;
}

.x_form_person_title_01 .vidget_title_value {
  font-size: inherit;
  width: calc(100% - 100px);
  border-left: 1px solid #d8d8d8;
  border-right: 1px solid #d8d8d8;
  height: inherit;
  line-height: inherit;
  display: block;
  min-width: 63px;
}

.x_form_person_title_01.full_width {
  max-width: 100%;
}

/* FORMS PASSWORD */
.x_password_input_vigdet {
  position: relative;
}

.x_password_input {}

.x_password_toggler {
  display: flex;
  cursor: pointer;
  width: 30px;
  height: 30px;
  position: absolute;
  right: 13px;
  top: 50%;
  margin-top: -15px;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.x_password_toggler.show {
  margin-top: -15px;
  right: 12px;
  width: 31px;
}

.x_password_toggler span {
  display: block;
  width: 26px;
  height: auto;
  background-image: url("../img/icons/icon_pass_close.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  aspect-ratio: 1/1;
}

.x_password_toggler.show span {
  background-image: url("../img/icons/icon_pass_open.svg");
  width: 23px;
}

/* CUSTOM CHECKBOXES */

.checkbox_02 {
  display: inline-block;
  position: relative;
}

.checkbox_02 input[type='checkbox'] {
  display: none;
}

.checkbox_02 .checkbox-text {
  font-weight: 500;
  color: #000;
  cursor: pointer;
  font-size: 15px;
  line-height: 18px;
  position: relative;
  padding-left: 33px;
  display: block;
  -webkit-transition: .3s;
  -o-transition: .3s;
  transition: .3s
}

.checkbox_02 .checkbox-text:before {
  left: 0;
  top: -2px;
  width: 20px;
  height: 20px;
  content: '';
  position: absolute;
  display: inline-block;
  border: 1px solid #f1f1f1;
  background: #f1f1f1;
  -webkit-transition: .3s;
  -o-transition: .3s;
  transition: .3s;
}

.checkbox_02 .checkbox-text:after {
  /* border: 1px solid silver; */
  left: 1px;
  top: -2px;
  width: 20px;
  height: 20px;
  content: '';
  position: absolute;
  display: none;
  background: url(../img/icons/icon_checkbox.svg) 50% 50% transparent no-repeat;
  /* background-size: contain; */
}

.checkbox_02 .checkbox-text:hover {
  color: #333;
  -webkit-transition: .3s;
  -o-transition: .3s;
  transition: .3s
}

.checkbox_02 .checkbox-text:hover:before {
  border-color: #f1f1f1;
  -webkit-transition: .3s;
  -o-transition: .3s;
  transition: .3s
}

.checkbox_02 input[type='checkbox']:checked+.checkbox-text {
  color: #000;
}

.checkbox_02 input[type='checkbox']:checked+.checkbox-text:before {
  border-color: #f1f1f1 !important;
}

.checkbox_02 input[type='checkbox']:checked+.checkbox-text:after {
  display: inline-block
}

.checkbox_02 a,
.checkbox_01 a:hover {
  text-decoration: underline;
  color: inherit;
}

.checkbox_03 {
  display: inline-block;
  position: relative;
}

.checkbox_03 input[type='checkbox'] {
  display: none;
}

.checkbox_03 .checkbox-text {
  font-weight: 500;
  color: #000;
  cursor: pointer;
  font-size: 16px;
  line-height: 18px;
  position: relative;
  padding-left: 33px;
  display: block;
}

.checkbox_03 .checkbox-text:before {
  left: 0;
  top: -2px;
  width: 20px;
  height: 20px;
  content: '';
  position: absolute;
  display: inline-block;
  border: 1px solid #000000;
}

.checkbox_03 .checkbox-text:after {
  border: 1px solid silver;
  left: 0px;
  top: -2px;
  width: 20px;
  height: 20px;
  content: '';
  position: absolute;
  display: none;
  background: url(../img/icons/icon_checkbox.svg) 50% 50% transparent no-repeat;
}

.checkbox_03 .checkbox-text:hover {
  color: #333;
  -webkit-transition: .3s;
  -o-transition: .3s;
  transition: .3s
}

.checkbox_03 .checkbox-text:hover:before {
  border-color: #000000;
  -webkit-transition: .3s;
  -o-transition: .3s;
  transition: .3s
}

.checkbox_03 input[type='checkbox']:checked+.checkbox-text {
  color: #000;
}

.checkbox_03 input[type='checkbox']:checked+.checkbox-text:before {
  border-color: #ffffff !important;
}

.checkbox_03 input[type='checkbox']:checked+.checkbox-text:after {
  display: inline-block
}

.checkbox_03 a,
.checkbox_01 a:hover {
  text-decoration: underline;
  color: inherit;
}

.adm_pers_manager_checkboxes .checkbox_03 .checkbox-text {
  font-size: 15px;
  font-weight: 400;
}

/* FORMS TEXT STYLES */
p.x_form_text {
  font-size: 16px;
  font-weight: 500;
  line-height: 170%;
  letter-spacing: 0.02em;
  margin-bottom: 0;
  color: #000;
}

p.x_form_text span {
  font-weight: 700;
}

p.x_form_text a {
  text-decoration: underline;
  color: inherit;
}

.x_code_comment {
  text-wrap: nowrap;
}

.x_form_text.x_form_text_already_register {
  font-size: 13px;
}

.x_form_text.x_form_text_welcome {
  font-size: 14px;
}

.x_form_text.x_text_register {
  font-size: 13px;
}

.x_form_row.x_form_row_email_register {
  margin-bottom: 30px;
}

@media (max-width: 1100px) {
  .x_form_modal_container.x_form_modal_container_wide {
    width: 100%;
    min-width: 100%;
  }

  .x_form_modal_container.x_form_login {
    width: 100%;
    min-width: 100%;
  }

  .x_form_modal_container.x_form_reg_step_1 {
    width: 100%;
    min-width: 100%;
  }

  .x_form_modal_container.x_form_reg_step_2 {
    width: 100%;
    min-width: 100%;
  }

  .x_form_modal_container.x_form_req_step_2_designer {
    width: 100%;
    min-width: 100%;
  }

  .x_form_modal_container.x_form_reg_step_3_enter {
    width: 100%;
    min-width: 100%;
  }

  .x_form_modal_container.x_form_reg_step_3_error {
    width: 100%;
    min-width: 100%;
  }

  .x_form_modal_container.x_form_reg_step_3_finish {
    width: 100%;
    min-width: 100%;
  }

  .x_forms_cols_ext {
    display: block;
  }

  .x_forms_cols_ext .x_form_column_01 {
    padding-right: 0px;
    width: 100%;
  }

  .x_forms_cols_ext .x_form_column_01:after {
    content: '';
    display: none;
  }

  .x_forms_cols_ext .x_form_column_02 {
    padding-left: 0px;
    width: 100%;
    display: none;
  }

  .x_forms_column_toggle {
    display: block;
  }
}

@media (max-width: 780px) {

  .x_form_modal.fancybox-content {
    width: 100%;
  }

  .x_form_modal_container {
    padding: 30px 30px !important;
    width: 100%;
    min-width: 100%;
  }

  .x_form_modal_caption {
    font-size: 16px;
    letter-spacing: 0.04em;
  }

  .x_form_modal_caption_cols {
    display: flex;
    flex-direction: column;
  }

  .x_form_modal_caption_cols .x_form_modal_caption {
    margin-bottom: 0;
  }

  .x_form_modal_step.x_form_modal_step_arrow {
    margin-left: 24px;
  }

  .x_form_modal_step {
    padding-top: 10px;
    margin-bottom: 30px;
    /* margin-left: 23px; */
  }

  .x_form_modal_step_text {
    font-size: 10px;
    text-align: left;
  }

  .x_form_modal_step_back {
    width: 38px;
    height: 20px;
    left: -34px;
    top: 10px;
    background: url("../img/arrows/arrow_step_back_mobile.svg") center center no-repeat transparent;
    background-size: 49%;
  }

  .x_form_person_title_01 {
    font-size: 13px;
    line-height: 46px;
    height: 46px;
  }

  .x_form_person_title_01 .vidget_title_arrow {}

  .x_form_person_title_01 .vidget_title_value {
    /* font-size: inherit; */
  }

  .checkbox_02 .checkbox-text {
    font-size: 13px;
  }

  .checkbox_02 .checkbox-text:before {
    top: -5px;
  }

  .checkbox_02 .checkbox-text:after {
    top: -6px;
  }

  .x_form_modal .x_form_row {
    margin-bottom: 31px;
  }

  .x_form_modal .x_form_row.x_form_row_last {
    margin-bottom: 0;
  }

  .x_form_modal .x_form_label {
    font-size: 9px;
  }

  .x_form_modal .x_form_input,
  .x_form_modal textarea.x_form_input {
    font-size: 13px;
    padding: 15px 12px;
  }

  .x_form_row_submit {
    padding-top: 0px;
    margin-bottom: 35px;
  }

  .x_form_row_footer_cols {
    flex-direction: column;
  }

  .x_form_row.x_form_row_button_imlooking {
    margin-bottom: 15px;
  }

  .x_form_footer_text.x_text_register {
    margin-bottom: 20px;
  }

  p.x_form_text {
    text-align: center;
    font-size: 12px;
  }

  p.x_form_text.x_form_text_welcome {
    text-align: left;
  }

  p.x_form_text.x_form_text_already_register {
    text-align: left;
  }

  p.x_form_text.x_form_text_welcome {
    font-size: 14px;
  }

  .x_form_modal .button_x {
    line-height: 150%;
  }
}

@media (max-width: 550px) {
  .x_forms_column_toggle {
    position: relative;
    padding-top: 30px;
    margin-bottom: 64px;
  }

  .x_forms_column_toggle:before,
  .x_forms_column_toggle:after {
    display: block;
    content: '';
    width: calc(100% + 60px);
    height: 1px;
    border-bottom: 1px solid #e3e3e3;
    position: absolute;
    left: -30px;
  }

  .x_forms_column_toggle:before {
    top: 4px;
  }

  .x_forms_column_toggle:after {
    bottom: -34px;
  }

  .x_form_person_title_01 {
    max-width: 100%;
    height: 45px;
    line-height: 45px;
  }

  .x_form_person_title_01 .vidget_title_arrow,
  .x_form_person_title_01 .vidget_title_value {
    width: 33.333%;
    font-size: 13px;
  }

  .contacts_info,
  .contacts_info p {
    font-size: 12px;
  }

  .x_forms_cols {
    display: block;
  }

  .x_forms_column {
    width: 100%;
  }

  .x_forms_cols.cols_3 .x_forms_column {
    width: 100%;
  }

  .x_forms_cols.cols_4 .x_forms_column {
    width: 100%;
  }
}

@media (max-width: 400px) {
  .x_form_row {
    margin-bottom: 29px;
  }

  .x_form_label {
    font-size: 10px;
    margin-bottom: 13px;
  }

  .x_form_input,
  textarea.x_form_input {
    font-size: 12px;
    padding: 15px 12px;
  }

  .x_form_input:focus,
  textarea.x_form_input:focus {
    outline: none;
  }

  .x_form_input::placeholder,
  textarea.x_form_input::placeholder {
    color: #000;
  }

  textarea.x_form_input {
    min-height: 142px;
  }

  .x_form_input_outer_money::after {
    top: 13px;
    right: 14px;
    width: 13px;
    height: 18px;
  }

  .x_form_input_outer_info_handler {
    top: 7px;
    width: 30px;
    height: 30px;
  }

  .x_form_input_outer_info .x_form_input {
    width: calc(100% - 44px);
  }
}

.adm_pers_account_checkboxes .checkbox_03 .checkbox-text {
    font-size: 15px;
    font-weight: 400;
}