.abc-gform {
  max-width: 920px;
  margin: 24px auto;
  padding: 28px;
  background: #ffffff;
  border: 1px solid #e5e8ec;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(20, 34, 52, 0.06);
}

.abc-gform__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.abc-gform__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.abc-gform__field--full {
  grid-column: 1 / -1;
}

.abc-gform label {
  margin: 0;
  color: #222222;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.abc-gform input,
.abc-gform textarea,
.abc-gform select {
  width: 100%;
  min-height: 45px;
  border: 1px solid #cfd6de;
  border-radius: 4px;
  padding: 11px 12px;
  background: #ffffff;
  color: #222222;
  font-size: 15px;
  line-height: 1.4;
}

.abc-gform textarea {
  min-height: 150px;
  resize: vertical;
}

.abc-gform__required {
  color: #d11919;
}

.abc-gform__help {
  color: #697680;
  font-size: 13px;
}

.abc-gform__actions {
  margin-top: 22px;
  text-align: left;
}

.abc-gform__button,
.abc-gform .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 180px;
  border: 0;
  border-radius: 4px;
  background: #0076bd;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 13px 26px;
  cursor: pointer;
  text-transform: uppercase;
}

.abc-gform__button:hover,
.abc-gform .btn-primary:hover {
  background: #005f99;
  color: #ffffff;
}

.abc-gform__alert {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 4px;
  font-weight: 600;
}

.abc-gform__alert ul {
  margin: 0;
  padding-left: 18px;
}

.abc-gform__alert--success {
  background: #e9f8ef;
  color: #1c6d35;
  border: 1px solid #bfe8cc;
}

.abc-gform__alert--error {
  background: #fff0f0;
  color: #9f1f1f;
  border: 1px solid #f1c0c0;
}

.abc-gform__hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

body#contact .page-content > .row {
  justify-content: center;
}

body#contact .page-content > .row > .col-sm-8 {
  flex: 0 0 100%;
  max-width: 920px;
  padding-right: 15px;
  padding-left: 15px;
}

.abc-contact-form .form-fields,
.abc-contact-form .form-footer {
  margin: 0;
}

.abc-contact-form .form-control-comment {
  display: block;
  width: auto;
  max-width: none;
  padding: 0;
}

@media (max-width: 767px) {
  .abc-gform {
    padding: 20px;
  }

  .abc-gform__grid {
    grid-template-columns: 1fr;
  }
}
