/* Hand-written additions to the Webflow styles (webflow/css/ is generated by the importer). */

/* Enquiry page: the agency designed the enquiry form as a modal; on enquiry.php the same panel sits in the page. */
.section_enquiry {
  padding-top: 8rem;
  padding-bottom: 5rem;
}

.enquiry-error {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid #a33;
  color: #a33;
}

.enquiry-thanks > * + * {
  margin-top: 1.5rem;
}

/* "Enquire" buttons are converted to links to enquiry.php by the importer. A <button> centres its
   content vertically and horizontally; a link doesn't, so do the same here. */
.kr-enquire-link {
  align-content: center;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .section_enquiry {
    padding-top: 3rem;
  }
}

/* Webflow's .text-field gives the select the same fixed height and top/bottom padding as the text
   inputs, which leaves too little room inside a <select> on some browsers (notably Windows), so
   letters with descenders (g, p, y) are clipped. A select centres its text vertically itself, so
   drop the vertical padding; the height, and so the underline position, stay the same. */
.text-field.w-select {
  padding-top: 0;
  padding-bottom: 0;
  line-height: normal;
}
