/* Integration with the existing Bootstrap-based theme; component layout comes from octheme-base. */
.contact-form-container { text-align: left;}
.contact-form-container > .container { width: 100%; padding: 0; }
.contact-form legend { font-size: inherit; border-bottom: 0; line-height: inherit; }
.contact-form .field-group { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.contact-form .label-wrap { flex-wrap: wrap; justify-content: flex-start; align-items: center; white-space: normal; padding-top: 0; margin: 0; }
.contact-form .label-txt { min-width: 0; max-width: 100%; margin: 0; line-height: 1.6; overflow-wrap: anywhere; }
.contact-form .form-input-text { box-sizing: border-box; min-width: 0; max-width: 100%; }
.contact-form .input-wrap { min-width: 0; }
.contact-form .select-group { display: block; width: 100%; padding: 0; border: 0; background: transparent; }
.contact-form .input-wrap:focus-within .select-group { box-shadow: none; }
.contact-form .form-input-select {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 46px;
  padding: 10px 36px 10px 12px;
  border: 1px solid #d0ceca;
  border-radius: 6px;
  background-color: #fff;
  line-height: 1.5;
  cursor: pointer;
}
.contact-form .agree-label { font-weight: normal; }
.contact-form [hidden], #oc_confirm_error[hidden] { display: none; }
.confirm-inputs-modal { z-index: 10000; text-align: left; }
.confirm-inputs-dialog { max-height: calc(100dvh - 32px); overflow-y: auto; }
.confirm-inputs-label, .confirm-inputs-value { overflow-wrap: anywhere; }
.confirm-inputs-modal .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
#oc_confirm_error { color: #b42318; margin: 16px 0; }
#content.oc-contact-thanks-page { padding-bottom: 64px; }
.oc-contact-thanks { max-width: 960px; padding: 64px 20px 0; text-align: center; }
.oc-contact-thanks-content { overflow-wrap: anywhere; }
.oc-contact-thanks-content h1,
.oc-contact-thanks-content h2,
.oc-contact-thanks > .ttl { margin: 0 0 28px; font-size: 26px; line-height: 1.7; font-weight: 700; }
.oc-contact-thanks-content p { margin: 0 0 16px; line-height: 1.9; }
.oc-contact-thanks-content > :last-child { margin-bottom: 0; }
.oc-contact-thanks-content a,
.oc-contact-thanks > p a { color: #007d77; text-decoration: underline; }
.oc-contact-thanks-actions { margin-top: 40px; }
.oc-contact-thanks .oc-contact-thanks-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 320px;
  max-width: 100%;
  min-height: 54px;
  padding: 14px 24px;
  border: 1px solid #007d77;
  border-radius: 4px;
  background: #007d77;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  white-space: normal;
  text-decoration: none;
  transition: background-color .2s, border-color .2s;
}
.oc-contact-thanks .oc-contact-thanks-home:hover,
.oc-contact-thanks .oc-contact-thanks-home:focus {
  background: #00635e;
  border-color: #00635e;
  color: #fff;
  text-decoration: none;
}
.oc-contact-thanks .oc-contact-thanks-home:focus-visible { outline: 3px solid #007d77; outline-offset: 4px; }
@media (max-width: 767px) {
  .contact-form-container { padding: 32px 16px 48px; }
  .contact-form .field-group { min-width: 0; }
  #content.oc-contact-thanks-page { padding-bottom: 48px; }
  .oc-contact-thanks { padding-top: 40px; }
  .oc-contact-thanks-content h1,
  .oc-contact-thanks-content h2,
  .oc-contact-thanks > .ttl { font-size: 20px; }
  .oc-contact-thanks-actions { margin-top: 32px; }
}
