#contact-container {
  text-align: left;
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
  max-width: 700px;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  margin-top: 5vh;
  background-color: #fff;
  padding: 24px;
  border: 1px solid #ccc; }

#contact-container h1 {
  margin: initial;
  font-size: 280%; }

#contact-container li {
  margin-bottom: 10px; }

/* ENQUIRY FORM (enquiry.form.cfm)
   Rules are scoped to #frmEnquiry so they out-specify the global
   input width:95% / padding:2.5% in forms.css, which otherwise leaves
   every field short of the container edge. */
#contact-container.enquiry-page {
  width: 100%;
  max-width: 760px; }

.enquiry-intro {
  margin-bottom: 4px; }

.enquiry-intro:last-of-type {
  margin-bottom: 24px; }

#frmEnquiry {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: 100%; }

/* forms.css floats/clears `form > div`; neutralised so the grid controls layout. */
#frmEnquiry .field {
  display: flex;
  flex-direction: column;
  float: none;
  clear: none;
  width: 100%;
  margin: 0;
  padding: 0; }

#frmEnquiry .field--full {
  grid-column: 1 / -1; }

/* width/float/padding-right are reset explicitly: forms.css floats
   `form > div > label` at 25% for desktop, which wraps these labels. */
#frmEnquiry label {
  width: 100%;
  float: none;
  padding-right: 0;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 6px 0;
  text-align: left; }

#frmEnquiry .req {
  color: #ff3200; }

#frmEnquiry .field-hint {
  font-size: 14px;
  color: #666;
  margin: 6px 0 0 0; }

#frmEnquiry input[type=text],
#frmEnquiry input[type=email],
#frmEnquiry textarea {
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 18px;
  padding: 10px;
  border: 1px solid #7f7f7f;
  border-radius: 2px; }

#frmEnquiry input[type=text]:focus,
#frmEnquiry input[type=email]:focus,
#frmEnquiry textarea:focus {
  outline: 0;
  border-color: #ff3200;
  box-shadow: 0 0 0 2px rgba(255, 50, 0, 0.15); }

#frmEnquiry textarea {
  min-height: 200px;
  resize: vertical; }

#frmEnquiry #submitFormContainer {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px; }

#frmEnquiry #submitFormContainer button {
  width: fit-content; }

/* Single column once two fields side by side would get cramped. */
@media screen and (max-width: 640px) {
  #frmEnquiry {
    grid-template-columns: 1fr; }
  #contact-container.enquiry-page {
    padding: 16px; }
  #contact-container.enquiry-page h1 {
    font-size: 220%; } }
