.form-control {
    border-color: transparent;
    border-radius: .125rem;
}

.form-control:focus {
    box-shadow: none;
    border-color: transparent;
}

.form-control__outline--light,
.form-control__outline--light:focus {
    background: none;
    border-color: var(--white);
    color: var(--white);
}

.form-control__outline--light + .form-label,
.form-control__outline--light:focus + .form-label{
    color: var(--white);
}

/*.form-control:valid {
    border-color: var(--bs-success);
    padding-right: calc(1.5em + .75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}*/

/*.form-control:invalid:focus {
    border-color: var(--bs-danger);
    padding-right: calc(1.5em + .75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}*/

.form-floating {
    color: var(--primary-color);
}

.form-check-input,
.form-check-label {
    cursor: pointer;
}

.form-check-input[type="checkbox"] {
    border-radius: .125rem;
}

.form-check-input:checked {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.form-check-input:focus {
    box-shadow: none;
    border-color: var(--secondary-color);
}

.form-check-input__outline--light {
    background-color: transparent;
    color: var(--white);
}

.form-check-input__outline--light + .form-check-label {
    color: var(--white);
}

.form-check-input__outline--light:checked {
    background-color: transparent;
    border-color: var(--white);
}

.form-check-input__outline--light:focus {
    border-color: var(--white);
}

.custom-hs-form fieldset.form-columns-1,
.custom-hs-form fieldset.form-columns-2 {
    --bs-gutter-y: 1rem;
    --bs-gutter-x: 1rem;
    display: flex;
    flex-wrap: wrap;
    margin-right: calc(-.5 * var(--bs-gutter-x));
    margin-left: calc(-.5 * var(--bs-gutter-x));
    max-width: none;
}

.custom-hs-form fieldset.form-columns-1 > *,
.custom-hs-form fieldset.form-columns-2 > * {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    float: none !important;
}

.custom-hs-form .hs-form-field {
    margin-bottom: 1rem;
}

.custom-hs-form .hs-form-field > label {
    font-size: .875rem;
    color: var(--white);
    margin-bottom: .5rem;
}

.custom-hs-form .hs-form-field .input {
    margin-right: 0 !important;
}

.custom-hs-form .hs-form-field.hs-fieldtype-text .hs-input,
.custom-hs-form .hs-form-field.hs-fieldtype-phonenumber .hs-input,
.custom-hs-form .hs-form-field.hs-fieldtype-textarea .hs-input,
.custom-hs-form .hs-form-field.hs-fieldtype-select .hs-input {
    display: block;
    height: calc(3.5rem + calc(var(--bs-border-width) * 2));
    padding: 1rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.25;
    color: var(--bs-body-color);
    background-color: var(--bs-form-control-bg);
    background-clip: padding-box;
    border: var(--bs-border-width) solid transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: .125rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.custom-hs-form .hs-form-field.hs-fieldtype-text .hs-input,
.custom-hs-form .hs-form-field.hs-fieldtype-phonenumber .hs-input:not(.hs-fieldtype-intl-phone select):not(.hs-fieldtype-intl-phone input),
.custom-hs-form .hs-form-field.hs-fieldtype-textarea .hs-input,
.custom-hs-form .hs-form-field.hs-fieldtype-select .hs-input {
    width: 100% !important;
}

.custom-hs-form .hs-form-field.hs-fieldtype-select .hs-input {
	appearance: auto;
}

.custom-hs-form .hs-form-field .hs-input:focus {
    outline: none;
}

.custom-hs-form .hs-form-field .hs-input.hs-fieldtype-intl-phone {
    display: flex;
    gap: .5rem;
    background: none;
    padding: 0;
}

.custom-hs-form .hs-form-field .hs-input.hs-fieldtype-intl-phone::after {
    content: none;
}

.custom-hs-form .hs-form-field .hs-input.hs-fieldtype-intl-phone input {
    width: 70% !important;
}

.custom-hs-form .hs-form-field .hs-input.hs-fieldtype-textarea {
    height: 100px;
}

.custom-hs-form .hs-form-field.hs-fieldtype-booleancheckbox .inputs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-hs-form .hs-form-field.hs-fieldtype-booleancheckbox input {
    position: absolute;
    left: 0;
    z-index: -1;
    opacity: 0;
}

.custom-hs-form .hs-form-field.hs-fieldtype-booleancheckbox input + span {
    display: block;
    cursor: pointer;
    position: relative;
    padding-left: 2rem;
    line-height: 1;
    font-size: .875rem;
}

.custom-hs-form .hs-form-field.hs-fieldtype-booleancheckbox input + span::before,
.custom-hs-form .hs-form-field.hs-fieldtype-booleancheckbox input + span::after {
    content: "";
    position: absolute;
    border-radius: .125rem;
}

.custom-hs-form .hs-form-field.hs-fieldtype-booleancheckbox input + span::before {
    left: 0;
    width: 1.5rem;
    height: 1.5rem;
    margin-right: .875rem;
    border: 1px solid var(--white);
}

.custom-hs-form .hs-form-field.hs-fieldtype-booleancheckbox input + span::after {
    top: .375rem;
    left: .375rem;
    width: .75rem;
    height: .75rem;
    background: none;
}

.custom-hs-form .hs-form-field.hs-fieldtype-booleancheckbox input:checked + span::after {
    background: var(--white);
}

.custom-hs-form .hs-form-field.hs-fieldtype-booleancheckbox .hs-error-msgs {
    padding-left: 2rem;
}

.custom-hs-form .hs-submit .hs-button {
    width: 100%;
    display: inline-block;
    background: var(--secondary-color);
    position: relative;
    padding: 1rem 3rem;
    line-height: 1.3;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--light);
    border: 1px solid var(--secondary-color);
    border-radius: .125rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 300ms cubic-bezier(0.4, 0, 0.2, 1) all;
}

.custom-hs-form .hs-submit .hs-button:hover {
    filter: brightness(90%);
}

.custom-hs-form .hs_error_rollup {
    margin-bottom: 1rem;
}

.custom-hs-form .hs-error-msgs {
    /*position: absolute;*/
    list-style: none;
    padding: 0;
    margin: 0;
    color: #f97d7d;
    line-height: 1;
}
.custom-hs-form .hs-error-msg {
    font-size: .75rem;
}

.custom-hs-form.style--outline .hs-form-field .hs-input {
    background: none;
    color: var(--white);
    border-color: var(--white);
}

.custom-hs-form.style--outline .hs-submit .hs-button {
    background: none;
    border-color:var(--light);
}

.custom-hs-form.style--outline .hs-submit .hs-button:hover {
    background-color: var(--light);
    color: var(--primary-color);
}

.newsletter-form .custom-hs-form fieldset.form-columns-1,
.newsletter-form .custom-hs-form fieldset.form-columns-2 {
    --bs-gutter-y: 3rem;
    --bs-gutter-x: 3rem;
}

.newsletter-form .custom-hs-form .hs-form-field {
    margin-bottom: 1.5rem;
}

.newsletter-form .custom-hs-form .hs-submit {
    text-align: right;
}

.newsletter-form .custom-hs-form .hs-submit .hs-button {
    width: auto;
}

@media (min-width: 768px) {
    .newsletter-form .custom-hs-form .hs-form-field {
        margin-bottom: 3rem;
    }
}