/* Hubspot embed forms */
div[class^='hs-form'] {
  width: 100%;
}

.hbspt-form {
  font-family: inherit;
  border: 2px solid #3E577D;
  box-shadow: 8px -8px 0 0 #3E577D;
  padding: 24px;
  background-color: #ffffff;
  width: 100%;
  color: #282828;
  margin-top: 12px;
  margin-bottom: 12px;

}

.newsletter-input-group .hbspt-form {
  font-family: inherit;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

.newsletter-input-group > div {
  width: 100%;
}

.newsletter-input-group form[class^='hs-form'] {
  display: flex;
  align-items: center;
  justify-content: end;
  width: 100%;
}

.newsletter-input-group form[class^='hs-form'] label {
  margin-bottom: 12px;
}

.newsletter-input-group .hbspt-form input[type='submit'] {
  border-radius: 0 4px 4px 0;
  height: 62px;
}

.newsletter-input-group .hbspt-form .hs-email {
  flex: 0 0 65%;
  height: 118px;
}

.newsletter-input-group .hbspt-form .hs-submit {
  height: 62px;
}

.newsletter-input-group .hbspt-form .hs-input {
  border-radius: 4px 0 0 4px;
  min-height: 58px;
  margin-bottom: 0;
}

form[class^='hs-form'] label {
  display: block;
  margin-bottom: 8px;
  font-weight: normal;
}

form[class^='hs-form'] ul.hs-error-msgs {
  padding-left: 0;
  list-style-type: none;
}

form[class^='hs-form'] label.hs-error-msg {
  margin-bottom: 16px;
  font-weight: normal;
  font-size: 12px;
  color: #d62828;
}

form[class^='hs-form'] .inputs-list {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

form[class^='hs-form'] .input {
  padding: 0;
  border: none;
}

form[class^='hs-form'] .hs-input {
  border-radius: 4px;
  border: 1px solid #b6b6b6;
  min-height: 58px;
  margin-bottom: 16px;
  padding: 18.5px 14px;
  width: 100%!important;
  font-family: inherit;
  font-size: 1.125rem;
}

form[class^='hs-form'] textarea[class^='hs-input'] {
  min-height: 150px;
}

form[class^='hs-form'] hs-input:hover,
form[class^='hs-form'] hs-input:focus {
  border: 1px solid #3E577D;
  outline: none !important;
}

form[class^='hs-form'] div[data-field-id='str::first'] {
  width: 49%;
  float: left;
}

form[class^='hs-form'] div[data-field-id='str::last'] {
  width: 49%;
  float: right;
}

form[class^='hs-form'] input[type='submit'] {
  min-height: 58px;
  padding: 12px 16px;
  background-color: #3E577D;
  color: #ffffff;
  font-weight: 600;
  outline: 0;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
}

form[class^='hs-form'] input[type='submit']:hover {
  color: #EDF1FA;
}

form[class^='hs-form'] .legal-consent-container .input {
  min-height: 40px;
}

form[class^='hs-form'] .legal-consent-container .hs-richtext {
  font-size: 0.875rem;
  margin-bottom: 1rem;
  line-height: 18px;
}

form[class^='hs-form'] input[type='checkbox'] {
  width: 20px !important;
  height: 20px !important;
  padding: 0;
  min-height: unset;
  margin-right: 8px;
  position: relative;
}

form[class^='hs-form'] input[type='checkbox']:checked {
  background-color: #3E577D;
  border: 1px solid #3E577D;
}

form[class^='hs-form'] input[type='checkbox']:checked:after {
  position: absolute;
  top: 4px;
  left: 2px;
  content: '';
  display: block;
  width: 12px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

form[class^='hs-form'] input[type='checkbox'] + span {
  font-size: 0.875rem;
  margin-left: 1rem;
}

