/* HubSpot forms styling, DD */

.site-content .hbspt-form label {
  display: block;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4285;
  color: var(--ast-global-color-0);
  margin-bottom: 6px;
}

.site-content .hbspt-form .hs-form-field > label {
  /* hide labels from FE */
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.site-content .hbspt-form label .hs-form-required {
  display: inline-block;
  margin-left: 2px;
}

.site-content .hbspt-form > form > * {
  display: block;
  margin-bottom: 16px;
  max-width: 100%;
}

.site-content .hbspt-form fieldset:has(+ .hs_error_rollup) {
  margin-bottom: 0;
}

.site-content .hbspt-form fieldset:has(+ .hs_submit.hs-submit) {
  margin-bottom: 4px;
}

.site-content .hbspt-form fieldset.form-columns-2 {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-content .hbspt-form fieldset.form-columns-2 .hs-form-field {
  font: none;
  width: 100%;
}

.site-content .hbspt-form fieldset div.input {
  margin: 0;
}

/* default */
.site-content .hbspt-form textarea,
.site-content .hbspt-form input[type="text"],
.site-content .hbspt-form input[type="number"],
.site-content .hbspt-form input[type="email"],
.site-content .hbspt-form input[type="url"],
.site-content .hbspt-form input[type="password"],
.site-content .hbspt-form input[type="search"],
.site-content .hbspt-form input[type="reset"],
.site-content .hbspt-form input[type="tel"],
.site-content .hbspt-form input[type="date"],
.site-content .hbspt-form select {
  color: var(--ast-global-color-1);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  background-color: var(--ast-global-color-5);
  border: 1px solid #d0d6dd;
  box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
  display: block;
  appearance: none;
  min-width: 100%;
  padding: 9px 14px;
  height: auto;
  border-radius: 8px;
  transition: border-color 0.4s, box-shadow 0.4s;
}

/* textarea */
.site-content .hbspt-form textarea {
  min-height: 120px;
  resize: none;
}

/* select */
.site-content .hbspt-form fieldset select {
  background: #fff url(../../icons/icon-down-dark.svg) no-repeat
    calc(100% - 14px) center;
  padding-right: 35px;
}

/* custom select */
.site-content .hbspt-form select.error:has(+ .select2),
.site-content .hbspt-form [data-select2-id] select {
  display: none;
}

.site-content .hbspt-form .select2-hidden-accessible {
  max-width: 100%;
  min-width: 1px;
}

.site-content .hbspt-form select.error + .select2.select2-container {
  min-width: 100%;
  width: 100%;
}

.site-content
  .hbspt-form
  select.error
  + .select2.select2-container:not(.select2-container--open)
  .select2-selection--single {
  border-color: #fda29b;
}

.site-content .select2-container {
  width: 100% !important;
}

.site-content .select2-container .select2-selection--single {
  height: auto;
  background-color: var(--ast-global-color-5);
  border: 1px solid #d0d6dd;
  box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
  border-radius: 8px !important;
  max-width: 100%;
}

.site-content .select2-container .select2-selection__arrow {
  height: 100%;
  width: 44px;
  background: transparent url(../../icons/icon-down-dark.svg) no-repeat center;
}

.site-content .select2-container .select2-selection__arrow b {
  display: none;
}

.site-content
  .select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ast-global-color-1);
  padding: 10px 44px 10px 14px;
  height: auto;
  display: block;
  white-space: wrap;
}

.select2-container--default .select2-dropdown.select2-dropdown--above {
  margin-top: -10px;
}

.select2-container--default .select2-dropdown.select2-dropdown--below {
  margin-top: 15px;
}
.select2-container--open .select2-dropdown.select2-dropdown--above,
.select2-container--open .select2-dropdown.select2-dropdown--below {
  border-radius: 4px;
  border: 1px solid #d0d6dd;
}

.select2-container--default .select2-dropdown {
  border-color: #d0d6dd;
}

.select2-container--default .select2-results__option {
  padding: 10px 14px;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #2e4667;
  transition: background-color 0.4s;
  max-width: 100%;
  margin: 0;
}

.select2-container--default .select2-results__option--selected {
  background: #eff6ff url(../../icons/icon-check-large.svg) no-repeat
    calc(100% - 17px) center;
  color: var(--ast-global-color-1);
}

.select2-container--default
  .select2-results__option--highlighted.select2-results__option--selectable {
  background: #eff6ff url(../../icons/icon-check-large.svg) no-repeat
    calc(100% - 17px) center;
  color: var(--ast-global-color-1);
}

/* checkboxes */
.site-content .hbspt-form > form > * ul.inputs-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-content
  .hbspt-form
  > form
  > *
  ul.inputs-list
  label:has(input[type="checkbox"])
  input[type="checkbox"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  opacity: 0;
  cursor: pointer;
}

.site-content
  .hbspt-form
  > form
  > *
  ul.inputs-list
  label:has(input[type="checkbox"])
  input[type="checkbox"]
  + span {
  padding-left: 24px;
  margin: 0;
  position: relative;
}

.site-content
  .hbspt-form
  > form
  > *
  ul.inputs-list
  label:has(input[type="checkbox"])
  input[type="checkbox"]
  + span:after {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 16px;
  height: 16px;
  background: var(--ast-global-color-3);
  border: 1px solid var(--ast-global-color-2);
  border-radius: 4px;
}

.site-content
  .hbspt-form
  > form
  > *
  ul.inputs-list
  label:has(input[type="checkbox"])
  input[type="checkbox"]
  + span:before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 16px;
  height: 16px;
  background: transparent url(../../icons/icon-check.svg) no-repeat center;
  z-index: 2;
  scale: 0;
  opacity: 0;
  transition: opacity 0.2s, scale 0.2s;
}

.site-content
  .hbspt-form
  > form
  > *
  ul.inputs-list
  label:has(input[type="checkbox"])
  input[type="checkbox"]:checked
  + span:before {
  scale: 1;
  opacity: 1;
}

/* radio */
.site-content .hs-fieldtype-radio .hs-field-desc {
  display: block;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4285;
  color: var(--ast-global-color-0);
  margin-bottom: 8px;
  padding: 0;
}

.site-content .hs-fieldtype-select + .hs-form-field {
  margin-top: 16px;
}

.site-content li.hs-form-radio:last-child label {
  margin-bottom: 0;
}

.site-content .hbspt-form ul.inputs-list label:has(input[type="radio"]) {
  position: relative;
}

.site-content
  .hbspt-form
  > form
  > *
  ul.inputs-list
  label:has(input[type="radio"])
  input[type="radio"]
  + span {
  padding-left: 24px;
  margin: 0;
  position: relative;
}

.site-content
  .hbspt-form
  ul.inputs-list
  label:has(input[type="radio"])
  input[type="radio"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  opacity: 0;
  cursor: pointer;
}

.site-content
  .hbspt-form
  ul.inputs-list
  label:has(input[type="radio"])
  input[type="radio"]
  + span:after {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  width: 16px;
  height: 16px;
  background: var(--ast-global-color-3);
  border: 1px solid var(--ast-global-color-2);
  border-radius: 50%;
}

.site-content
  .hbspt-form
  ul.inputs-list
  label:has(input[type="radio"])
  input[type="radio"]
  + span:before {
  content: "";
  position: absolute;
  top: 4px;
  left: 3px;
  width: 10px;
  height: 10px;
  background: var(--ast-global-color-2);
  border-radius: 50%;
  z-index: 2;
  scale: 0;
  opacity: 0;
  transition: opacity 0.2s, scale 0.2s;
}

.site-content
  .hbspt-form
  ul.inputs-list
  label:has(input[type="radio"])
  input[type="radio"]:checked
  + span:before {
  scale: 1;
  opacity: 1;
}

/* placeholder */
.site-content .hbspt-form textarea::placeholder,
.site-content .hbspt-form input[type="text"]::placeholder,
.site-content .hbspt-form input[type="number"]::placeholder,
.site-content .hbspt-form input[type="email"]::placeholder,
.site-content .hbspt-form input[type="url"]::placeholder,
.site-content .hbspt-form input[type="password"]::placeholder,
.site-content .hbspt-form input[type="search"]::placeholder,
.site-content .hbspt-form input[type="reset"]::placeholder,
.site-content .hbspt-form input[type="tel"]::placeholder,
.site-content .hbspt-form input[type="date"]::placeholder {
  color: var(--ast-global-color-1);
  opacity: 1;
}

/* focus */
.site-content .hbspt-form textarea:focus,
.site-content .hbspt-form input[type="text"]:focus,
.site-content .hbspt-form input[type="number"]:focus,
.site-content .hbspt-form input[type="email"]:focus,
.site-content .hbspt-form input[type="url"]:focus,
.site-content .hbspt-form input[type="password"]:focus,
.site-content .hbspt-form input[type="search"]:focus,
.site-content .hbspt-form input[type="reset"]:focus,
.site-content .hbspt-form input[type="tel"]:focus,
.site-content .hbspt-form input[type="date"]:focus,
.site-content .hbspt-form select:focus {
  border-color: #73839a;
  box-shadow: 0px 1px 2px rgba(22, 49, 86, 0.05),
    0px 0px 0px 4px rgba(22, 49, 86, 0.15);
}

/* error */
.site-content .hbspt-form textarea.error,
.site-content .hbspt-form input[type="text"].error,
.site-content .hbspt-form input[type="number"].error,
.site-content .hbspt-form input[type="email"].error,
.site-content .hbspt-form input[type="url"].error,
.site-content .hbspt-form input[type="password"].error,
.site-content .hbspt-form input[type="search"].error,
.site-content .hbspt-form input[type="reset"].error,
.site-content .hbspt-form input[type="tel"].error,
.site-content .hbspt-form input[type="date"].error,
.site-content .hbspt-form select.error {
  border-color: #fda29b;
  background: #fff url(../../icons/icon-alert-circle.svg) no-repeat
    calc(100% - 14px) center;
}

/* error/focus */
.site-content .hbspt-form fieldset input[type="text"].error:focus,
.site-content .hbspt-form fieldset input[type="number"].error:focus,
.site-content .hbspt-form fieldset input[type="email"].error:focus,
.site-content .hbspt-form fieldset input[type="url"].error:focus,
.site-content .hbspt-form fieldset input[type="password"].error:focus,
.site-content .hbspt-form fieldset input[type="search"].error:focus,
.site-content .hbspt-form fieldset input[type="reset"].error:focus,
.site-content .hbspt-form fieldset input[type="tel"].error:focus,
.site-content .hbspt-form fieldset input[type="date"].error:focus,
.site-content .hbspt-form fieldset select.error:focus {
  border: 1px solid #fda29b;
  box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05), 0px 0px 0px 4px #fee4e2;
  background: #fff url(../../icons/icon-alert-circle.svg) no-repeat
    calc(100% - 14px) center;
}

.site-content .hbspt-form ul.hs-error-msgs.inputs-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
  margin: 6px 0 0 0;
}

.site-content .hbspt-form ul.hs-error-msgs .hs-main-font-element,
.site-content .hbspt-form ul.hs-error-msgs .hs-error-msg {
  font-size: 14px;
  line-height: 1.4285;
  color: #f04438;
  margin-bottom: 0;
}

.site-content .hbspt-form .hs_error_rollup {
  margin-bottom: 16px;
}

/* legal */
.site-content .legal-consent-container .hs-form-booleancheckbox {
  cursor: pointer;
}

.site-content .legal-consent-container .hs-richtext {
  font-size: 14px;
  line-height: 1.4285;
  color: var(--ast-global-color-0);
}

.site-content .legal-consent-container .hs-form-booleancheckbox-display p {
  display: inline;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4285;
  color: var(--ast-global-color-0);
}

.site-content .legal-consent-container .hs-form-booleancheckbox-display p a {
  position: relative;
  z-index: 5;
}

.site-content .legal-consent-container label.hs-form-booleancheckbox-display {
  margin-bottom: 0;
  position: relative;
}

.site-content .legal-consent-container .field.hs-form-field {
  margin-bottom: 16px;
}

/* submit */
.site-content .hs_submit.hs-submit input[type="submit"] {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
  display: block;
  width: 100%;
  padding: 9px;
  color: var(--ast-global-color-5);
  transition: all 0.4s;
}

.site-content .hs_submit.hs-submit input[type="submit"]:focus {
  box-shadow: 0px 1px 2px rgba(22, 49, 86, 0.05),
    0px 0px 0px 4px rgba(22, 49, 86, 0.15);
}

/* orange submit button button */
.site-content
  .has-form-with-orange-btn
  .hs_submit.hs-submit
  input[type="submit"] {
  background-color: #f04e23;
  border-color: #f04e23;
}

.site-content
  .has-form-with-orange-btn
  .hs_submit.hs-submit
  input[type="submit"]:hover {
  background-color: #c43f1c;
  border-color: #c43f1c;
}

.site-content
  .has-form-with-orange-btn
  .hs_submit.hs-submit
  input[type="submit"]:focus {
  box-shadow: 0px 1px 2px rgba(240, 78, 35, 0.05),
    0px 0px 0px 4px rgba(240, 78, 35, 0.15);
}

/* Single Job Template - form styling */

.single-post-form.careers-form {
  padding: 48px;
  background: #e8f7f6;
  border-radius: 24px;
  margin-bottom: 95px;
}

.single-post-form.careers-form .single-post-form-title {
  font-size: 40px;
  line-height: 1.2;
  text-align: center;
  color: #163156;
}

.single-post-form.careers-form .hbspt-form .hs-form fieldset {
  max-width: 100%;
  margin: 0;
  gap: 0;
}

.single-post-form.careers-form
  .hbspt-form
  .hs-form
  fieldset.form-columns-2
  .hs-form-field {
  width: 100%;
  float: none;
}

.single-post-form.careers-form .hbspt-form .hs-form fieldset .hs-form-field {
  margin-bottom: 24px;
}

.single-post-form.careers-form
  .hbspt-form
  .hs-form
  fieldset.form-columns-2
  .input {
  margin: 0;
}

.single-post-form.careers-form
  .hbspt-form
  .hs-form
  fieldset.form-columns-1
  .input {
  margin: 0;
}

.single-post-form.careers-form
  .hbspt-form
  .hs-form
  fieldset.form-columns-1
  .hs-input {
  width: 100%;
}

/* file */
.single-post-form.careers-form
  .hbspt-form
  .hs_attachment.hs-attachment
  div.input {
  position: relative;
  padding: 24px 14px;
  background: #ffffff;
  border: 1px dashed #d0d6dd;
  box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
  border-radius: 8px;
  margin-bottom: 6px;
}

.single-post-form.careers-form
  .hbspt-form
  .hs_attachment.hs-attachment
  .hs-file-hint {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4285;
  color: #2e4667;
}

.single-post-form.careers-form
  .hbspt-form
  .hs_attachment.hs-attachment
  .hs-file-text {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #2e4667;
  display: flex;
  align-items: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  padding-right: 80px;
}

.single-post-form.careers-form
  .hbspt-form
  .hs_attachment.hs-attachment
  .hs-file-text:before {
  content: "";
  background: #fff url(../../icons/icon-upload.svg) no-repeat center;
  background-size: contain;
  min-width: 20px;
  height: 20px;
  display: block;
  margin-right: 8px;
}

.single-post-form.careers-form
  .hbspt-form
  .hs_attachment.hs-attachment
  .has-uploaded-file
  .hs-file-text {
  font-weight: 500;
}

.single-post-form.careers-form
  .hbspt-form
  .hs_attachment.hs-attachment
  .has-uploaded-file
  .hs-file-text:before {
  background: #fff url(../../icons/icon-check-circle.svg) no-repeat center;
  background-size: contain;
}

.single-post-form.careers-form
  .hbspt-form
  .hs_attachment.hs-attachment
  .hs-file-text
  span {
  cursor: pointer;
  font-weight: 700;
  text-decoration: underline;
  color: #f04e23;
  margin-left: 5px;
}

.single-post-form.careers-form
  .hbspt-form
  .hs_attachment.hs-attachment
  input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  opacity: 0;
  white-space: nowrap;
}

.single-post-form.careers-form
  .hbspt-form
  .hs_attachment.hs-attachment
  .hs-remove-file {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: #fff url(../../icons/icon-remove.svg) no-repeat center;
  background-size: 20px;
  font-size: 0;
  z-index: 20;
  cursor: pointer;
  transition: opacity 0.4s;
}

.single-post-form.careers-form
  .hbspt-form
  .hs_attachment.hs-attachment
  .hs-remove-file:hover {
  opacity: 0.7;
}

/* default */
.single-post-form.careers-form .hbspt-form textarea,
.single-post-form.careers-form .hbspt-form input[type="text"],
.single-post-form.careers-form .hbspt-form input[type="number"],
.single-post-form.careers-form .hbspt-form input[type="email"],
.single-post-form.careers-form .hbspt-form input[type="url"],
.single-post-form.careers-form .hbspt-form input[type="password"],
.single-post-form.careers-form .hbspt-form input[type="search"],
.single-post-form.careers-form .hbspt-form input[type="reset"],
.single-post-form.careers-form .hbspt-form input[type="tel"],
.single-post-form.careers-form .hbspt-form input[type="date"],
.single-post-form.careers-form .hbspt-form select {
  color: var(--ast-global-color-1);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  background-color: var(--ast-global-color-5);
  border: 1px solid #d0d6dd;
  box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
  display: block;
  appearance: none;
  min-width: 100%;
  padding: 9px 14px;
  height: auto;
  border-radius: 8px;
  transition: border-color 0.4s, box-shadow 0.4s;
}

/* focus */
.single-post-form.careers-form .hbspt-form textarea:focus,
.single-post-form.careers-form .hbspt-form input[type="text"]:focus,
.single-post-form.careers-form .hbspt-form input[type="number"]:focus,
.single-post-form.careers-form .hbspt-form input[type="email"]:focus,
.single-post-form.careers-form .hbspt-form input[type="url"]:focus,
.single-post-form.careers-form .hbspt-form input[type="password"]:focus,
.single-post-form.careers-form .hbspt-form input[type="search"]:focus,
.single-post-form.careers-form .hbspt-form input[type="reset"]:focus,
.single-post-form.careers-form .hbspt-form input[type="tel"]:focus,
.single-post-form.careers-form .hbspt-form input[type="date"]:focus,
.single-post-form.careers-form .hbspt-form select:focus {
  border-color: #73839a;
  box-shadow: 0px 1px 2px rgba(22, 49, 86, 0.05),
    0px 0px 0px 4px rgba(22, 49, 86, 0.15);
}

/* error */
.single-post-form.careers-form .hbspt-form textarea.error,
.single-post-form.careers-form .hbspt-form input[type="text"].error,
.single-post-form.careers-form .hbspt-form input[type="number"].error,
.single-post-form.careers-form .hbspt-form input[type="email"].error,
.single-post-form.careers-form .hbspt-form input[type="url"].error,
.single-post-form.careers-form .hbspt-form input[type="password"].error,
.single-post-form.careers-form .hbspt-form input[type="search"].error,
.single-post-form.careers-form .hbspt-form input[type="reset"].error,
.single-post-form.careers-form .hbspt-form input[type="tel"].error,
.single-post-form.careers-form .hbspt-form input[type="date"].error,
.single-post-form.careers-form .hbspt-form select.error {
  border-color: #fda29b;
  background: #fff url(../../icons/icon-alert-circle.svg) no-repeat
    calc(100% - 14px) center;
}

/* error/focus */
.single-post-form.careers-form
  .hbspt-form
  fieldset
  input[type="text"].error:focus,
.single-post-form.careers-form
  .hbspt-form
  fieldset
  input[type="number"].error:focus,
.single-post-form.careers-form
  .hbspt-form
  fieldset
  input[type="email"].error:focus,
.single-post-form.careers-form
  .hbspt-form
  fieldset
  input[type="url"].error:focus,
.single-post-form.careers-form
  .hbspt-form
  fieldset
  input[type="password"].error:focus,
.single-post-form.careers-form
  .hbspt-form
  fieldset
  input[type="search"].error:focus,
.single-post-form.careers-form
  .hbspt-form
  fieldset
  input[type="reset"].error:focus,
.single-post-form.careers-form
  .hbspt-form
  fieldset
  input[type="tel"].error:focus,
.single-post-form.careers-form
  .hbspt-form
  fieldset
  input[type="date"].error:focus,
.single-post-form.careers-form .hbspt-form fieldset select.error:focus {
  border: 1px solid #fda29b;
  box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05), 0px 0px 0px 4px #fee4e2;
  background: #fff url(../../icons/icon-alert-circle.svg) no-repeat
    calc(100% - 14px) center;
}

.single-post-form.careers-form .hbspt-form ul.hs-error-msgs.inputs-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
  margin: 6px 0 0 0;
}

.single-post-form.careers-form
  .hbspt-form
  ul.hs-error-msgs
  .hs-main-font-element,
.single-post-form.careers-form .hbspt-form ul.hs-error-msgs .hs-error-msg {
  font-size: 14px;
  line-height: 1.4285;
  color: #f04438;
  margin-bottom: 0;
}

.single-post-form.careers-form .hbspt-form .hs_error_rollup {
  margin-bottom: 16px;
}

.single-post-form.careers-form .hbspt-form label {
  display: block;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4285;
  color: var(--ast-global-color-0);
  margin-bottom: 6px;
}

.single-post-form.careers-form .hbspt-form label .hs-form-required {
  margin-left: 4px;
}

.single-post-form.careers-form
  .hbspt-form
  .legal-consent-container
  .hs-richtext {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4285;
  color: #163156;
}

.single-post-form.careers-form
  .hbspt-form
  .legal-consent-container
  .hs-richtext
  p:last-child {
  margin: 0;
}

/* submit */
.single-post-form.careers-form .hbspt-form .hs_submit.hs-submit {
  text-align: center;
  margin-top: 20px;
}

.single-post-form.careers-form
  .hbspt-form
  .hs_submit.hs-submit
  input[type="submit"] {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
  padding: 11px 20px;
  display: inline-block;
  color: var(--ast-global-color-5);
  transition: all 0.4s;
}

.single-post-form.careers-form
  .hbspt-form
  .hs_submit.hs-submit
  input[type="submit"]:focus {
  box-shadow: 0px 1px 2px rgba(22, 49, 86, 0.05),
    0px 0px 0px 4px rgba(22, 49, 86, 0.15);
}

@media (max-width: 1023px) {
  .single-post-form.careers-form {
    padding: 32px;
  }
}

@media (max-width: 767px) {
  .single-post-form.careers-form {
    padding: 24px 16px;
    margin-bottom: 65px;
  }

  .single-post-form.careers-form .single-post-form-title {
    font-size: 30px;
    line-height: 1.2666;
  }

  .single-post-form.careers-form
    .hbspt-form
    .hs_attachment.hs-attachment
    .hs-file-text {
    width: 280px;
  }
}

@media (max-width: 374px) {
  .single-post-form.careers-form
    .hbspt-form
    .hs_attachment.hs-attachment
    .hs-file-text {
    width: 150px;
    font-size: 0;
  }

  .single-post-form.careers-form
    .hbspt-form
    .hs_attachment.hs-attachment
    .has-uploaded-file
    .hs-file-text {
    font-size: 14px;
  }

  .single-post-form.careers-form
    .hbspt-form
    .hs_attachment.hs-attachment
    .hs-file-text
    span {
    margin-left: 0;
    font-size: 14px;
  }
}

/* Footer Form */
footer.ast-custom-footer p:has(script),
footer.ast-custom-footer p:empty {
  display: none;
}

footer.ast-custom-footer .hbspt-form {
  margin-top: 14px;
}

footer.ast-custom-footer .hbspt-form .hs-form-field > label {
  /* hide labels from FE */
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

footer.ast-custom-footer .hbspt-form .form-columns-2 {
  display: flex;
  gap: 12px;
}

footer.ast-custom-footer .hbspt-form .form-columns-1 div.input,
footer.ast-custom-footer .hbspt-form .form-columns-2 div.input {
  margin: 0 !important;
  width: 100%;
}

footer.ast-custom-footer .hbspt-form textarea,
footer.ast-custom-footer .hbspt-form input[type="text"],
footer.ast-custom-footer .hbspt-form input[type="number"],
footer.ast-custom-footer .hbspt-form input[type="email"],
footer.ast-custom-footer .hbspt-form input[type="url"],
footer.ast-custom-footer .hbspt-form input[type="password"],
footer.ast-custom-footer .hbspt-form input[type="search"],
footer.ast-custom-footer .hbspt-form input[type="reset"],
footer.ast-custom-footer .hbspt-form input[type="tel"],
footer.ast-custom-footer .hbspt-form input[type="date"],
footer.ast-custom-footer .hbspt-form select {
  color: var(--ast-global-color-1);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  background-color: var(--ast-global-color-5);
  border: 1px solid #e8eaee;
  box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
  display: block;
  appearance: none;
  min-width: 100%;
  padding: 9px 14px;
  height: auto;
  border-radius: 8px;
  transition: border-color 0.4s, box-shadow 0.4s;
  color: #2e4667;
}

footer.ast-custom-footer .hbspt-form textarea::placeholder,
footer.ast-custom-footer .hbspt-form input[type="text"]::placeholder,
footer.ast-custom-footer .hbspt-form input[type="number"]::placeholder,
footer.ast-custom-footer .hbspt-form input[type="email"]::placeholder,
footer.ast-custom-footer .hbspt-form input[type="url"]::placeholder,
footer.ast-custom-footer .hbspt-form input[type="password"]::placeholder,
footer.ast-custom-footer .hbspt-form input[type="search"]::placeholder,
footer.ast-custom-footer .hbspt-form input[type="reset"]::placeholder,
footer.ast-custom-footer .hbspt-form input[type="tel"]::placeholder,
footer.ast-custom-footer .hbspt-form input[type="date"]::placeholder {
  color: var(--ast-global-color-1);
  opacity: 1;
}

footer.ast-custom-footer .hbspt-form fieldset {
  margin-bottom: 12px;
  width: 100%;
  max-width: 100% !important;
}

footer.ast-custom-footer fieldset:has(+ .hs_submit.hs-submit) {
  margin-bottom: 4px;
}

footer.ast-custom-footer .hbspt-form .inputs-list {
  list-style: none;
  margin: 0;
}

footer.ast-custom-footer .hbspt-form ul.hs-error-msgs .hs-main-font-element,
footer.ast-custom-footer .hbspt-form ul.hs-error-msgs .hs-error-msg {
  font-size: 10px;
  line-height: 1.4285;
  color: #fff;
  margin-bottom: 0;
  margin-top: 5px;
}

footer.ast-custom-footer .hbspt-form > form > * ul.inputs-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

footer.ast-custom-footer
  .hbspt-form
  > form
  > *
  ul.inputs-list
  label:has(input[type="checkbox"])
  input[type="checkbox"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  opacity: 0;
  cursor: pointer;
}

footer.ast-custom-footer
  .hbspt-form
  > form
  > *
  ul.inputs-list
  label:has(input[type="checkbox"])
  input[type="checkbox"]
  + span {
  padding-left: 24px;
  margin: 0;
  position: relative;
}

footer.ast-custom-footer
  .hbspt-form
  > form
  > *
  ul.inputs-list
  label:has(input[type="checkbox"])
  input[type="checkbox"]
  + span:after {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 16px;
  height: 16px;
  background: var(--ast-global-color-3);
  border: 1px solid #fff;
  border-radius: 4px;
}

footer.ast-custom-footer
  .hbspt-form
  > form
  > *
  ul.inputs-list
  label:has(input[type="checkbox"])
  input[type="checkbox"]
  + span:before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 16px;
  height: 16px;
  background: transparent url(../../icons/icon-check.svg) no-repeat center;
  z-index: 2;
  scale: 0;
  opacity: 0;
  transition: opacity 0.2s, scale 0.2s;
}

footer.ast-custom-footer
  .hbspt-form
  > form
  > *
  ul.inputs-list
  label:has(input[type="checkbox"])
  input[type="checkbox"]:checked
  + span:before {
  scale: 1;
  opacity: 1;
}

/* legal */
footer.ast-custom-footer .legal-consent-container .hs-form-booleancheckbox {
  cursor: pointer;
}

footer.ast-custom-footer .legal-consent-container .hs-richtext {
  font-size: 14px;
  line-height: 1.4285;
  color: #fff;
}

footer.ast-custom-footer
  .legal-consent-container
  .hs-form-booleancheckbox-display
  p {
  display: inline;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
}

footer.ast-custom-footer
  .legal-consent-container
  .hs-form-booleancheckbox-display
  p
  a {
  position: relative;
  z-index: 5;
  color: #fff;
  text-decoration: underline;
}

footer.ast-custom-footer
  .legal-consent-container
  .hs-form-booleancheckbox-display
  p
  a:hover {
  color: var(--ast-global-color-2);
}

footer.ast-custom-footer
  .legal-consent-container
  label.hs-form-booleancheckbox-display {
  margin-bottom: 0;
  position: relative;
  color: #fff;
}

/* submit */
footer.ast-custom-footer .hs_submit.hs-submit input[type="submit"] {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
  display: block;
  padding: 10px 46px 9px 18px;
  border-color: #f04e23;
  transition: all 0.4s;
  background: #f04e23 url("/wp-content/uploads/2024/09/icon-bell.svg") no-repeat
    calc(100% - 18px) center;
}

footer.ast-custom-footer .hs_submit.hs-submit input[type="submit"]:focus {
  box-shadow: 0px 1px 2px rgba(22, 49, 86, 0.05),
    0px 0px 0px 4px rgba(22, 49, 86, 0.15);
}

footer.ast-custom-footer .hs_submit.hs-submit input[type="submit"]:hover {
  background-color: #c43f1c;
  border-color: #c43f1c;
}

footer.ast-custom-footer .hs_submit.hs-submit input[type="submit"]:focus {
  box-shadow: 0px 1px 2px rgba(240, 78, 35, 0.05),
    0px 0px 0px 4px rgba(240, 78, 35, 0.15);
}

footer.ast-custom-footer .hbspt-form .hs_error_rollup {
  margin-bottom: 6px;
}

/* error */
footer.ast-custom-footer .hbspt-form textarea.error,
footer.ast-custom-footer .hbspt-form input[type="text"].error,
footer.ast-custom-footer .hbspt-form input[type="number"].error,
footer.ast-custom-footer .hbspt-form input[type="email"].error,
footer.ast-custom-footer .hbspt-form input[type="url"].error,
footer.ast-custom-footer .hbspt-form input[type="password"].error,
footer.ast-custom-footer .hbspt-form input[type="search"].error,
footer.ast-custom-footer .hbspt-form input[type="reset"].error,
footer.ast-custom-footer .hbspt-form input[type="tel"].error,
footer.ast-custom-footer .hbspt-form input[type="date"].error,
footer.ast-custom-footer .hbspt-form select.error {
  border-color: #fda29b;
  background: #fff url(../../icons/icon-alert-circle.svg) no-repeat
    calc(100% - 10px) center;
}

/* submitted-message*/

footer.ast-custom-footer .hbspt-form .submitted-message {
  color: #fff;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

@media (max-width: 767px) {
  footer.ast-custom-footer .hbspt-form .form-columns-2 {
    flex-direction: column;
  }

  footer.ast-custom-footer .hbspt-form .form-columns-2 .hs-form-field {
    min-width: 100%;
  }

  footer.ast-custom-footer .hs_submit.hs-submit input[type="submit"] {
    width: 100%;
    background: #f04e23;
    padding: 9px 18px;
  }
}
