.contact {
  padding: 1rem;
}
.contact p:first-letter {
  font-size: inherit;
}
.contact h1 {
  margin-bottom: 1rem;
}
.contact .form_ajax {
  font-size: 1rem;
}
.contact .form_ajax p {
  line-height: 1rem;
}
.contact .form_ajax div {
  padding: 0.8rem;
}
.contact .form_ajax label {
  display: block;
  font-weight: 700;
}
.contact .form_ajax input,
.contact .form_ajax textarea {
  border: 1px solid #404040;
  padding: 0.3rem;
  width: 90%;
  max-width: 45rem;
}
.contact .form_ajax input.input_error,
.contact .form_ajax textarea.input_error {
  border: 1px solid #f00;
}
.contact .form_ajax input:valid,
.contact .form_ajax textarea:valid {
  border: 1px solid #404040;
}
.contact .form_ajax input:valid + .error_msg,
.contact .form_ajax textarea:valid + .error_msg {
  display: none;
}
.contact .form_ajax textarea {
  height: 10rem;
}
.contact .form_ajax button {
  font-size: 1.2rem;
  font-weight: 700;
  padding: 0.8rem 2rem;
  border: 1px solid #164b78;
  background-color: #0388ca;
  color: #fff;
}
@media screen and (max-width: 768px) {
  .contact .form_ajax button {
    width: 90%;
  }
}
.contact .form_ajax button:hover {
  background-color: #164b78;
}
.contact .form_ajax button:disabled {
  background: #ddd;
  border: 1px solid #ddd;
}
.contact .form_ajax .chkbox {
  width: 1.2rem;
  height: 1.2rem;
  vertical-align: middle;
}
.contact .form_ajax .error_msg {
  color: #f00;
  padding: 0;
}
.contact .form_ajax .recaptcha_text_badge {
  font-size: 0.7rem;
  padding: 0;
}
.grecaptcha-badge {
  visibility: hidden;
  display: none;
}
