/* One visual language for quote forms across ES Marketing service pages. */
.es-required-email{display:block;margin:8px 0 12px;font-size:12px;font-weight:760;color:#2c4262}
.es-required-email input{display:block;width:100%;min-height:45px;margin:6px 0 0;padding:11px 12px;border:1px solid #d4dfeb;border-radius:10px;box-sizing:border-box}
.es-marketing-consent{display:flex!important;align-items:flex-start;gap:9px;margin:10px 0;font-size:12px;line-height:1.5;color:#4d607a}
.es-marketing-consent input[type="checkbox"]{width:17px!important;min-width:17px!important;height:17px!important;min-height:17px!important;margin:1px 0 0!important;padding:0!important;flex:none}
dialog.es-lead-dialog,
body.lp dialog.lp-dialog,
body.market dialog.es-market-lead {
  width:min(570px,calc(100vw - 28px));
  max-height:min(92dvh,850px);
  overflow-y:auto;
  border:1px solid #dfe8f4;
  border-radius:24px;
  background:#fff;
  box-shadow:0 30px 90px #071b3e66;
  color:#132441;
}
dialog.es-lead-dialog {padding:30px 31px 27px}
dialog.es-lead-dialog::backdrop,
body.lp dialog.lp-dialog::backdrop,
body.market dialog.es-market-lead::backdrop {
  background:#0a193ca8;
  backdrop-filter:blur(5px);
}
dialog.es-lead-dialog .close,
body.lp dialog.lp-dialog .close,
body.market dialog.es-market-lead .modal-close {
  float:right;
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  padding:0;
  border:0;
  background:#eef3fa;
  color:#263b5b;
  border-radius:11px;
  font-size:22px;
  line-height:1;
  box-shadow:none;
}
dialog.es-lead-dialog h2,
body.lp dialog.lp-dialog h2,
body.market dialog.es-market-lead h2 {
  margin:0 42px 6px 0;
  font-weight:850;
  font-size:clamp(25px,3.5vw,30px);
  line-height:1.23;
  letter-spacing:-.038em;
  color:#122745;
}
dialog.es-lead-dialog .es-lead-intro,
body.lp dialog.lp-dialog .lp-dialog-lead {
  margin:0 0 20px;
  font-size:13px;
  line-height:1.65;
  color:#63748c;
}
.es-lead-form {display:grid;gap:12px}
.es-lead-form label,
body.lp dialog.lp-dialog #quoteForm>label,
body.lp dialog.lp-dialog #quoteForm .lp-form-grid label {
  display:block;
  margin:0;
  font-size:12px;
  font-weight:760;
  color:#2c4262;
  line-height:1.45;
}
.es-lead-grid {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
.es-lead-form input:not([type="checkbox"]),
.es-lead-form select,
.es-lead-form textarea,
body.lp dialog.lp-dialog #quoteForm input:not([type="checkbox"]),
body.lp dialog.lp-dialog #quoteForm select,
body.lp dialog.lp-dialog #quoteForm textarea,
body.market dialog.es-market-lead #inquiryForm input,
body.market dialog.es-market-lead #inquiryForm textarea {
  display:block;
  width:100%;
  min-width:0;
  margin:6px 0 0;
  min-height:45px;
  padding:11px 12px;
  border:1px solid #cdd9e8;
  border-radius:11px;
  outline:none;
  font:500 14px/1.4 system-ui,Arial,sans-serif;
  background:#fff;
  color:#162c4b;
  box-shadow:none;
}
.es-lead-form input[readonly] {background:#f3f6fb;color:#51647d}
.es-lead-form textarea,
body.lp dialog.lp-dialog #quoteForm textarea,
body.market dialog.es-market-lead #inquiryForm textarea {min-height:80px;resize:vertical}
.es-lead-form input:focus-visible,
.es-lead-form select:focus-visible,
.es-lead-form textarea:focus-visible,
body.lp dialog.lp-dialog #quoteForm :is(input,select,textarea):focus-visible,
body.market dialog.es-market-lead #inquiryForm :is(input,textarea):focus-visible {
  border-color:#2875f1;
  outline:3px solid #b9d2ff;
  outline-offset:0;
}
.es-lead-form span[aria-hidden="true"] {color:#1260ed}
.es-lead-selection {
  padding:10px 12px;
  border:1px dashed #d3dff0;
  border-radius:11px;
  background:#f7faff;
  font-size:12px;
  font-weight:700;
  color:#667b99;
}
.es-lead-selection.has-selection {background:#eaf3ff;border-color:#c9dfff;color:#1959ad}
.es-lead-form label.es-lead-consent,
.es-lead-consent,
body.lp dialog.lp-dialog #quoteForm label.lp-consent {
  display:flex;
  align-items:flex-start;
  gap:9px;
  margin:2px 0 0;
  font-weight:500;
  font-size:11px;
  line-height:1.55;
  color:#50647d;
}
.es-lead-consent input,
body.lp dialog.lp-dialog #quoteForm .lp-consent input {
  appearance:auto;
  accent-color:#1464ee;
  flex:none;
  width:16px;
  height:16px;
  min-height:0;
  margin:1px 0 0;
}
.es-lead-submit,
body.lp dialog.lp-dialog #quoteForm button.lp-button,
body.market dialog.es-market-lead #inquiryForm button[type="submit"] {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  width:100%;
  min-height:49px;
  margin:0;
  border:0;
  border-radius:12px;
  background:#1464ed;
  color:#fff;
  font-weight:800;
  font-size:14px;
  cursor:pointer;
}
.es-lead-status {font-size:12px;color:#0b715d;margin:0;min-height:0}
.es-lead-hint,
body.lp dialog.lp-dialog .lp-form-note,
body.market dialog.es-market-lead .form-hint {
  margin:0;
  padding:12px 13px;
  border-radius:11px;
  background:#f0f5fd;
  color:#5a6b83;
  font-size:11px;
  line-height:1.65;
}
.es-lead-hint a {font-weight:800;color:#145dcc;text-decoration:none}
.es-lead-privacy-note {margin:2px 0 0;color:#65758e;font-size:12px;line-height:1.55}
body.lp dialog.lp-dialog #quoteForm {display:grid;gap:12px}
body.lp dialog.lp-dialog #quoteForm .lp-form-grid {gap:12px}
body.lp dialog.lp-dialog #quoteForm .lp-consent {margin-top:2px}
body.market dialog.es-market-lead .modal-body {padding:29px 30px}
body.market dialog.es-market-lead #inquiryForm {display:grid;gap:12px}
body.market dialog.es-market-lead #inquiryForm[hidden] {display:none}
body.market dialog.es-market-lead #inquiryForm .input-group {margin:0}
body.market dialog.es-market-lead #inquiryForm .field-label {margin:0;font-size:12px}
body.market dialog.es-market-lead #inquiryForm input,
body.market dialog.es-market-lead #inquiryForm textarea {margin:6px 0 0}
body.market dialog.es-market-lead #inquiryForm .es-lead-consent input {
  flex:none;
  width:16px;
  min-height:0;
  height:16px;
  margin:1px 0 0;
}
body.market dialog.es-market-lead .form-hint {order:4}
body.market dialog.es-market-lead #inquiryForm button[type="submit"] {order:3}
@media(max-width:540px){
  dialog.es-lead-dialog,
  body.lp dialog.lp-dialog,
  body.market dialog.es-market-lead {width:calc(100vw - 20px);max-height:93dvh;border-radius:20px}
  dialog.es-lead-dialog {padding:22px 18px}
  .es-lead-grid,
  body.lp dialog.lp-dialog #quoteForm .lp-form-grid {grid-template-columns:1fr;gap:12px}
  .es-lead-form input:not([type="checkbox"]),.es-lead-form select,.es-lead-form textarea,
  body.lp dialog.lp-dialog #quoteForm input:not([type="checkbox"]),
  body.lp dialog.lp-dialog #quoteForm select,
  body.lp dialog.lp-dialog #quoteForm textarea,
  body.market dialog.es-market-lead #inquiryForm input,
  body.market dialog.es-market-lead #inquiryForm textarea {font-size:16px;min-height:46px}
  body.market dialog.es-market-lead .modal-body {padding:23px 18px}
}
