/* Fields */
form {
  font-weight: 500;
}


.hs-form-field,
.legal-consent-container {
  margin-bottom: 1.4rem;
}

/* Labels */

form label {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 4px;
}

.hs-fieldtype-checkbox > label,
.hs-fieldtype-radio > label,
.hs-fieldtype-booleancheckbox > label {
  margin-bottom: 1.25rem;
}

/* Form Title */
.form-title {
  margin-bottom: 0;
}

/* Help text */

form legend {
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
}

/* Inputs */

form input[type=text],
form input[type=search],
form input[type=email],
form input[type=password],
form input[type=tel],
form input[type=number],
form input[type=file],
form select,
form textarea {
  display: inline-block;
  font-size: 0.875rem;
  padding: 0.875rem;
  width: 100%;
}

form textarea {
  resize: vertical;
  min-height: 80px;
}

form fieldset {
  max-width: 100% !important;
}

/* Inputs - checkbox/radio */

form .inputs-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

form .inputs-list > li {
  display: block;
  margin: 0.7rem 0;
}

form .inputs-list input,
form .inputs-list span {
  vertical-align: middle;
}

.hs-form-checkbox-display,
.hs-form-radio-display,
.hs-form-booleancheckbox-display {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  
}

form input[type=checkbox],
form input[type=radio] {
  --secondary-color:#666;
  width: 16px !important;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 16px;
  flex: 0 0 16px;
  height: 16px;
  cursor: pointer;
  margin-right: 0.45rem;
  display: inline-block;
  vertical-align: text-top;
  border: 1px solid var(--secondary-color);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin-top:1px !important;
}

form input[type=radio] {
  border-radius: 50%;
}

form input[type=checkbox]:checked,
form input[type=radio]:checked {
  --primary-color:#1a73e8;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: var(--primary-color);
}

form input[type=checkbox]:checked {
  background-image: url('https://go.ashlingpartners.com/hubfs/assets-2025-s2/check-white.svg');
  background-size: 10px;
}

form input[type=radio]:checked {
  background-image: url('https://go.ashlingpartners.com/hubfs/assets-2025-s2/dot-white.svg');
  background-size: 10px;
}

.hs-form-checkbox-display > span,
.hs-form-radio-display > span,
.hs-form-booleancheckbox-display > span {
  font-weight: 400;
}

/* Inputs - date picker */

.hs-dateinput {
  position: relative;
}

.hs-dateinput:before {
  content:'\01F4C5';
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
}

.fn-date-picker .pika-table thead th {
  color: #FFF;
}

.fn-date-picker td.is-selected .pika-button {
  border-radius: 0;
  box-shadow: none;
}

.fn-date-picker td .pika-button:hover,
.fn-date-picker td .pika-button:focus {
  border-radius: 0 !important;
  color: #FFF;
}

/* Inputs - file picker */

form input[type=file] {
  background-color: transparent;
  border: initial;
  padding: initial;
}

/* Headings and text */

form .hs-richtext,
form .hs-richtext p {
/*   font-size: 0.875rem; */
/*   margin: 0 0 1.4rem; */
}

form .hs-richtext img {
  max-width: 100% !important;
}

/* GDPR */

.legal-consent-container .hs-form-booleancheckbox-display > span,
.legal-consent-container .hs-form-booleancheckbox-display > span p {
  margin-left: 0 !important;
}

/* Validation */

.hs-form-required {
  color: #EF6B51;
}

.hs-input.invalid.error {
  border-color: #EF6B51;
}

.hs-error-msg {
  color: #EF6B51;
  margin-top: 0.35rem;
}

/* Submit button */

form input[type=submit],
form .hs-button {
  cursor: pointer;
  display: inline-block;
  text-align: center;
  transition: all 0.15s linear;
  white-space: normal;
  border: none;
}

/* Captcha */

.grecaptcha-badge {
/*   margin: 0 auto; */
}

{% if ( get_asset_version("@hubspot/search_input") == "1" ) %}
  /* Search button input field and suggestions */
  .body-container-wrapper .hs-search-field__button {
    padding: 15px;
  }

  .body-container-wrapper .hs-search-field__bar--button-inline .hs-search-field__button {
    margin-left: 6px;
    margin-bottom: 0;
  }

  .body-container-wrapper .hs-search-field__button svg {
    height: 15px;
    fill: #fff;
  }

  .body-container-wrapper .hs-search-field__bar > form > .hs-search-field__input {
    padding: 10px;
  }

  .body-container-wrapper .hs-search-field__suggestions li a {
    color: #494A52;
    padding: 0.35rem 0.7rem;
    text-decoration: none;
    transition: background-color 0.3s;
  }
{% endif %}

@media (min-width: 768px) {
  .hs-form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-column-gap: 20px;
    -moz-column-gap: 20px;
    column-gap: 20px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
  .hs-form .hs-form-field {
    width: 100%;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
  }
/*   .hs-form .hs-recaptcha.hs-form-field {
    width: 50%;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    -webkit-box-ordinal-group: 13;
    -ms-flex-order: 12;
    order: 12;
  } */
  .hs-form .hs_submit {
    width: 100%;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 100%;
  }
}

@media (min-width: 1200px) {
  .hs-fieldtype-checkbox .inputs-list,
  .hs-fieldtype-radio .inputs-list {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .hs-fieldtype-checkbox .inputs-list>li,
  .hs-fieldtype-radio .inputs-list>li {
    flex: 0 0 calc(50% - 20px);
    width: calc(50% - 20px);
    margin: 0;
  }
}

  


.themeForm-mod form fieldset label[placeholder],
.themeForm-mod form fieldset label[placeholder] span {
  color: #000;
  font-size: 16px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 162.5% !important;
}
.themeForm-mod form textarea {
  min-height:48px;
  height:48px;
}
.themeForm-mod form input[type="submit"] {
  color: #FFF;
  font-family: Roboto;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.themeForm-mod form .hs-richtext a {
  text-decoration:underline !important;
}
.themeForm-mod form .hs-richtext 
.themeForm-mod form .hs-richtext > p:last-child {
  margin-bottom:0px !important;
}
.themeForm-mod form .hs-richtext p,
.themeForm-mod form .hs-richtext,
.themeForm-mod form label:not(.hs-error-msg) {
  color:#000 !important;
}
.themeForm-mod form input[type=color], 
.themeForm-mod form input[type=date], 
.themeForm-mod form input[type=datetime-local], 
.themeForm-mod form input[type=datetime], 
.themeForm-mod form input[type=email], 
.themeForm-mod form input[type=file], 
.themeForm-mod form input[type=month], 
.themeForm-mod form input[type=number], 
.themeForm-mod form input[type=password], 
.themeForm-mod form input[type=search], 
.themeForm-mod form input[type=tel], 
.themeForm-mod form input[type=text], 
.themeForm-mod form input[type=time], 
.themeForm-mod form input[type=url], 
.themeForm-mod form input[type=week], 
.themeForm-mod form select, 
.themeForm-mod form textarea {
  -webkit-appearance: none;
  border: 1px solid #ccc !important;
  color:#000 !important;
}
.themeForm-mod .hs-form-field>label, .themeForm-mod li.hs-form-booleancheckbox label {
  font-size:12px !important;
}
.themeForm-mod form.hs-form fieldset .hs-form-field {
  padding-right:0px !important;
}
.themeForm-mod .hs-form-field>label, .themeForm-mod li.hs-form-booleancheckbox label {
  line-height:1.6 !important;
}