#mess {
  padding: 50px 0 70px;
}
.s_content * {
  text-wrap-mode: wrap !important;
  word-break: break-word
}

.s_content video,
.s_content img {
  display: inline-block;
  max-width: 100%;
  height: auto !important
}

.s_content img {
  height: auto !important
}
.site-banner {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.site-banner .site-banner__image {
  position: absolute;
  left: 50%;
  width: 1920px;
  height: 400px;
  margin-left: -960px;
}

.site-banner .site-banner__image img {
  display: block;
  width: 1920px;
  height: 400px;
  object-fit: cover;
}

#mess .application-form {
  width: 90%;
  margin: 0 auto;
  padding: 30px;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.application-form__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.application-form__fields > div {
  min-width: 0;
  min-height: 65px;
  display: grid;
  grid-template-columns: 25% minmax(0, 1fr);
  align-items: start;
}

.application-form__fields > div span {
  min-width: 0;
  display: block;
  padding-right: 6px;
  color: #333;
  font-size: 15px;
  line-height: 45px;
  text-align: right;
}

.application-form__fields > div span em {
  color: #ea1919;
}

.application-form input,
.application-form select {
  width: 100%;
  height: 45px;
  box-sizing: border-box;
  margin-bottom: 20px;
  padding: 10px 0 10px 15px;
  border: 1px solid #d3d3d3;
  border-radius: 4px;
  color: #333;
  font-size: 14px;
  line-height: 45px;
}

.application-form__select {
  display: block;
  appearance: auto;
  padding: 0 15px;
  background: #fff;
}

.application-form__captcha {
  grid-template-columns: 25% minmax(0, 1fr) 100px !important;
  column-gap: 10px;
}

.application-form__captcha .application-form__captcha-image {
  width: 90px;
  height: 45px;
  box-sizing: border-box;
  cursor: pointer;
  border: 1px solid #d3d3d3;
  border-radius: 4px;
  object-fit: cover;
}

.application-form__fields .application-form__actions {
  grid-column: 1 / -1;
  display: block;
  min-height: 45px;
  padding-top: 5px;
  text-align: center;
}

.application-form__submit {
  width: 250px;
  max-width: 100%;
  height: 45px;
  border: 0;
  border-radius: 4px;
  background: #d5001d;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  line-height: 45px;
  text-align: center;
}

.application-form__submit:hover {
  background: #ad051c;
}

@media (max-width: 768px) {
  .site-banner,
  .site-banner .site-banner__image,
  .site-banner .site-banner__image img {
    left: 0;
    width: 100%;
    height: 220px;
    margin-left: 0;
  }

  #mess {
    padding: 28px 0 40px;
  }

  #mess .application-form {
    width: 100%;
    box-sizing: border-box;
    padding: 20px 15px;
  }

  .application-form__fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .application-form__fields > div {
    grid-template-columns: 90px minmax(0, 1fr);
    min-height: 65px;
  }

  .application-form__fields > div span {
    padding-right: 8px;
    font-size: 14px;
    white-space: nowrap;
  }

  .application-form__captcha {
    grid-template-columns: 90px minmax(0, 1fr) 80px !important;
    column-gap: 8px;
  }

  .application-form__captcha .application-form__captcha-image {
    width: 80px;
  }

  .application-form__fields .application-form__actions {
    min-height: 50px;
  }

  .application-form__submit {
    width: 220px;
  }

  #mess ~ .consult-float {
    display: none;
  }
}
