/*
Theme Name: PS Lupin
Description: PS Lupin corporate website. Converted from supplied HTML.
Version: 1.0.96
Text Domain: pslupin
*/
.wpcf7-form .wpcf7-form-control-wrap{display:block;width:100%}
.wpcf7-form .wpcf7-radio .wpcf7-list-item{display:block;margin:0 0 .6em}
.wpcf7-form .wpcf7-acceptance input{width:auto}
.wpcf7-form .wpcf7-submit{cursor:pointer}

/* Contact Form 7: existing table-based forms. */
.contact-section .wpcf7-form > table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  border: 0;
}
.contact-section .wpcf7-form > table th,
.contact-section .wpcf7-form > table td {
  box-sizing: border-box;
  border: 0;
  border-top: 1px solid #ccc;
  padding: 24px 20px;
  vertical-align: middle;
  text-align: left;
}
.contact-section .wpcf7-form > table tr:last-child > * { border-bottom: 1px solid #ccc; }
.contact-section .wpcf7-form > table th { width: 240px; background: #f4f4f4; font-size: 15px; }
.contact-section .wpcf7-form > table th strong { display: inline-block; margin-left: 8px; padding: 2px 5px; background: var(--red, #c94c43); color: #fff; font-size: 11px; font-weight: 400; }
.contact-section .wpcf7-form > table td p { margin: 0; }
.contact-section .wpcf7-form > table input,
.contact-section .wpcf7-form > table select,
.contact-section .wpcf7-form > table textarea {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  border: 1px solid #bbb;
  border-radius: 0;
  background: #fff;
  color: #222;
  font: inherit;
  font-size: 15px;
}
.contact-section .wpcf7-form > table textarea { min-height: 180px; height: 180px; resize: vertical; }
.contact-section .wpcf7-form > table .wpcf7-form-control-wrap + .wpcf7-form-control-wrap { margin-top: 12px; }
.contact-section .wpcf7-form .privacy {
  box-sizing: border-box;
  max-height: 400px;
  overflow-y: auto;
  margin: 50px 0 28px;
  padding: 30px;
  border: 1px solid #ccc;
  background: #fafafa;
  font-size: 14px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.contact-section .wpcf7-form .privacy p { margin: 0 0 14px; font-size: 14px; line-height: 1.9; }
.contact-section .wpcf7-form .privacy .privacy_title { font-size: 21px; font-weight: 700; margin-bottom: 24px; }
.contact-section .wpcf7-form .privacy_block { margin-top: 24px; }
.contact-section .wpcf7-form .privacy_clause { font-weight: 700; }
.contact-section .wpcf7-acceptance { display: block; text-align: center; margin: 28px 0; }
.contact-section .wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.contact-section .wpcf7-acceptance label { display: inline-flex; align-items: baseline; gap: 10px; text-align: left; }
.contact-section .wpcf7-acceptance input { flex-shrink: 0; width: 18px; height: 18px; }
.contact-section .wpcf7-submit {
  display: block;
  margin: 30px auto 0;
  min-width: 260px;
  max-width: 100%;
  padding: 17px 40px;
  border: 0;
  background: var(--red, #c94c43);
  color: #fff;
  font: inherit;
  font-weight: 700;
}
.contact-section .wpcf7-submit:disabled { opacity: .55; cursor: not-allowed; }
@media (max-width: 768px) {
  .contact-section .wpcf7-form > table,
  .contact-section .wpcf7-form > table tbody,
  .contact-section .wpcf7-form > table tr,
  .contact-section .wpcf7-form > table th,
  .contact-section .wpcf7-form > table td { display: block; width: 100%; }
  .contact-section .wpcf7-form > table th { padding: 16px; }
  .contact-section .wpcf7-form > table td { padding: 18px 0; border-top: 0; }
  .contact-section .wpcf7-form > table tr:last-child th { border-bottom: 0; }
  .contact-section .wpcf7-form .privacy { padding: 20px; max-height: 350px; }
}

/* Keep job-choice radio controls beside their labels, on the right. */
.contact-section .wpcf7-form > table .wpcf7-radio .wpcf7-list-item {
  display: block;
  margin: 0 0 16px;
}
.contact-section .wpcf7-form > table .wpcf7-radio .wpcf7-list-item:last-child { margin-bottom: 0; }
.contact-section .wpcf7-form > table .wpcf7-radio .wpcf7-list-item label,
.contact-section .wpcf7-form > table .wpcf7-radio .wpcf7-list-item:not(:has(label)) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  cursor: pointer;
}
.contact-section .wpcf7-form > table .wpcf7-radio .wpcf7-list-item-label {
  order: 0;
  min-width: 0;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.contact-section .wpcf7-form > table .wpcf7-radio input[type="radio"] {
  order: 1;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 0 8px 0 0;
  padding: 0;
  accent-color: var(--red, #c94c43);
}

.contact-section .wpcf7-form > fieldset.hidden-fields-container {
  display: none;
}
