.section--bofu-form--container.border-radius--8 {
  border-top: 6px solid #0a6cff;
}

{# Re-arrange the legal content and button #}
.section--simple-form.section--simple-form-disclaimer--below form{
  display: flex;
  flex-flow: column;
  align-items: flex-start;
}

.section--simple-form form.hs-form .inputs-list label{
  display: flex !important;
  align-items: flex-start !important;
  line-height: 1.4em !important;
}

.section--simple-form form.hs-form .inputs-list .hs-form-checkbox:not(:last-child) label{
  margin-bottom: 6px !important;
}

.section--simple-form.section--simple-form-disclaimer--below .form-columns-1:has(>.legal-consent-container){
  -webkit-box-ordinal-group: 3;
  order: 3;
  margin-top: 20px;
}

.section--simple-form.section--simple-form-disclaimer--default form div[class*="LEGAL_CONSENT"] .inputs-list{
  margin-top: 0px !important;
}

.section--simple-form.section--simple-form-disclaimer--default div[class*="LEGAL_CONSENT"] .hs-form-booleancheckbox{
  margin-top: 0px !important;
}

.section--simple-form.section--simple-form-disclaimer--below .hs-richtext p:last-child{
  margin-bottom: 0px !important; 
}

{# End Re-arrange the legal content and button #}

.form--all--color--white form label span,
.form--all--color--white form.hs-form label {
  color: white;
}
.form--all--color--white form .legal-consent-container p,
.form--all--color--white form .legal-consent-container p * {
  color: white !important;
}

.section--bofu-form--container {
  background: #ffffff;
}

.hs_cos_wrapper.form-title {
  display: none;
}

.section--bofu-form--container form .hs-richtext h5,
.section--bofu-form--container form .hs-richtext h6{
  color: var(--neutral700);
}

.section--bofu-form--container form .hs-richtext>:first-child{
  margin-top: 0 !important;
}

.input-style--grey form.hs-form input[type="email"].hs-input,
.input-style--grey form.hs-form input[type="number"].hs-input,
.input-style--grey form.hs-form input[type="password"].hs-input,
.input-style--grey form.hs-form input[type="tel"].hs-input,
.input-style--grey form.hs-form input[type="text"].hs-input,
.input-style--grey form.hs-form select.hs-input,
.input-style--grey form.hs-form textarea.hs-input,
.input-style--grey .production--form input[type="email"],
.input-style--grey .production--form input[type="number"],
.input-style--grey .production--form input[type="password"],
.input-style--grey .production--form input[type="tel"],
.input-style--grey .production--form input[type="text"],
.input-style--grey .production--form select,
.production--form textarea {
  border: 1px solid #eef1f4;
  background-color: #f9fafb;
}

form.hs-form input[type="email"].hs-input,
form.hs-form input[type="number"].hs-input,
form.hs-form input[type="password"].hs-input,
form.hs-form input[type="tel"].hs-input,
form.hs-form input[type="text"].hs-input,
form.hs-form select.hs-input,
form.hs-form textarea.hs-input,
.production--form input[type="email"],
.production--form input[type="number"],
.production--form input[type="password"],
.production--form input[type="tel"],
.production--form input[type="text"],
.production--form select,
.production--form textarea {
  font-size: 18px;
}

.grid form.hs-form.stacked .actions .hs-button {
  min-width: 215px;
}

.grid form.hs-form .field{
  width: 100%;
}

.form-btn-alignment--left form.hs-form.stacked .actions .hs-button {
  text-align: left;
}

.form-btn-alignment--center form.hs-form.stacked .actions .hs-button {
  text-align: center;
}

.section--simple-form form .legal-consent-container .hs-richtext p,
.section--simple-form form .legal-consent-container ul li p,
.section--simple-form form .legal-consent-container ul li p *,
.section--simple-form form .legal-consent-container ul li label {
  font-size: 13px;
  line-height: 1.2em;
}

.section--simple-form form .legal-consent-container .hs-richtext p:first-of-type {
  margin-top: 0px !important;
}

.section--simple-form form .legal-consent-container .hs-richtext p:last-of-type {
  margin-bottom: 30px;
}

.section--simple-form form .legal-consent-container .hs-form-booleancheckbox-display > span {
  margin-left: 0px;
}

.section--simple-form form .legal-consent-container ul li p,
.section--simple-form form .legal-consent-container p *,
.section--simple-form form label[for*="LEGAL_CONSENT"] {
  color: var(--neutral500) !important;
}

.section--simple-form form div[class*="LEGAL_CONSENT"] .hs-form-booleancheckbox {
  margin-bottom: 0px !important;
  margin-top: 15px !important;
}

.section--simple-form form div[class*="LEGAL_CONSENT"] .inputs-list {
  margin-bottom: 0px !important;
}

.section--simple-form .grid form.hs-form .hs-form-field > .input {
  margin-bottom: 25px;
  margin-right: 0;
}

.section--simple-form .grid form.hs-form .hs-form-checkbox-display input,
.section--simple-form .grid form.hs-form .hs-form-booleancheckbox-display input{
  flex-shrink: 0;
} 

.section--simple-form form.hs-form.stacked .actions {
  text-align: left;
}

{# Button Hack to Add Arrow #}
.section--simple-form form.hs-form.stacked .actions{
  background-image: none!important;
  border-radius: 50px;
  border-style: solid!important;
  border-width: 2px!important;
  box-shadow: none!important;
  -moz-box-sizing: border-box!important;
  -webkit-box-sizing: border-box!important;
  box-sizing: border-box!important;
  color: #fff;
  display: inline-block;
  font-family: proxima-nova,Helvetica Neue,Arial,sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.006em;
  line-height: 1.25em;
  max-width: -webkit-fill-available;
  outline: none!important;
  text-align: center;
  text-decoration: none;
  width: auto;
  position: relative;
}

.section--simple-form form.hs-form.stacked .actions .hs-button {
  position: relative;
  padding: 15px 44px 15px 25px;
  z-index: 10;
  min-width: unset;
  border: none !important;
}

.section--simple-form .btn--faux{
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  color: rgba(0,0,0,0);
}

.section--simple-form .btn--faux img{ 
  margin-left: 8px;
  z-index: 10;
  position: relative;
  vertical-align: middle;
  display: inline-block;
  top: calc(50% - 10.5px);
  filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(257deg) brightness(104%) contrast(101%);
}

