.hbspt-form .hs-form  {
    display: flex;
    flex-wrap: wrap;
    -moz-column-gap: 16px;
    column-gap: 16px;
    row-gap: 32px;
    margin: 24px 0 0 0;
}

.hbspt-form .hs-form fieldset{
 width: 100%;
 max-width: 100%;
 display: flex;
 -moz-column-gap: 16px;
 column-gap: 16px;
 row-gap: 32px;
}

.hbspt-form .hs-form label{
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    color: #1f1f1f;;
}

.hs-form .hs-form-field select, 
.hs-form .hs-form-field input, 
.hs-form .hs-form-field textarea{
    color: #1f1f1f;
    width: 100%;
    padding: 0 10px 0 10px;
    margin: 8px 0 0;
    border: 1px solid #1f1f1f;
    background-color: rgba(0, 0, 0, 0);
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    box-shadow: unset!important;
    border-radius: 0!important;
}

.hs-form .hs-form-field select:focus, 
.hs-form .hs-form-field input:focus, 
.hs-form .hs-form-field textarea:focus{
    border-color: #1f1f1f;
}

.hs-form .hs-form-field select, 
.hs-form .hs-form-field input{
    height: 41px;
}

.hs-form .hs-form-field textarea{
    height: 140px;
    resize: none!important;
}

.hs-form fieldset .hs-form-field .no-list {
    display: block;
    padding: 0;
    margin: 0px;
    list-style-type: none;
}

.hs-form .input{
    margin: 0!important;
}

.hs-form fieldset.form-columns-1 .hs-input{
    width: 100%!important;
}

.hs-form fieldset.form-columns-1 .hs-fieldtype-text{
   max-width: calc(50% - 8px);
   width: 100%;
}

.hs-form fieldset.form-columns-1{
    max-width: 100%;
}

.hs-form .hs_message {
    width: 100%;
}

.hs-form fieldset .hs-form-field .no-list label{
    font-size: 14px;
    line-height: 18px;
    font-weight: 400;
}

.hs-form .hs-error-msgs,
.hs-form .hs-error-msg {
    color: red!important;
}

.hs-form .invalid {
    border-color: red!important;
}

.hs-form .inputs-list{
    margin: 0;
    padding: 0;
    list-style-type: none;
    color: #000;
    display: flex;
    flex-direction: column;
    text-align: left;
    font-size: 14px;
    max-width: unset;
    overflow: unset;
    padding: 0;
    font-family: inherit;
    line-height: 14px;
}

.hs-form .multi-container{
    color: #000;
}

.hs-form input[type="checkbox"]{
    height: auto;
    margin: 0;
    min-width: 13px;
    max-width: 13px;
}

.hs-form .hs-form-booleancheckbox-display,
.hs-form .hs-form-checkbox-display {
    display: flex!important;
    gap: 5px;
}

.hs-form .hs-form-booleancheckbox-display span{
    margin: 0!important;
}

.hs-form .hs-button {
    color: #fff;
    border: 1px solid #006eff;
    background-color: #006eff;
    font-family: inherit;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 44px;
    text-transform: uppercase;
    letter-spacing: normal;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    display: inline-block;
    vertical-align: top;
    height: 44px;
    padding: 0 12px 0 12px;
    transition: all .2s ease;
    width: 150px;
    border-radius: 0;
    margin-top: 0;
}

.hs-form .hs-button:hover{
    background-color: #1f1f1f;
}

.hs-form .hs_submit {
    width: 100%;
    text-align: right;
}

.hs-form .error {
    background-color: transparent!important;
}

.legal-consent-container{
    display: flex;
    flex-direction: column;
    gap: 12px;
        font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    color: #000;
}

.hs-fieldtype-textarea{
    width: 100%;
}

@media screen and (max-width:768px){
    .hs-form fieldset{
        flex-direction: column;
        row-gap: 16px;
    }
    .hs-form fieldset.form-columns-1 .hs-fieldtype-text{
        max-width: 100%;
    }
    .hs-form input:not([type="checkbox"]),
    .hs-form select {
        width: 100%!important;
    }
    .hs-form .hs-form-booleancheckbox-display, .hs-form .hs-form-checkbox-display{
        align-items: flex-start;
    }
    .hs-form input[type="checkbox"]{
        position: relative;
        top: 7px;
    }
    .hs-form .hs-button{
        width: 100%!important;
    }
}