#pgLeadForm {
    background-color: transparent;
    width: 95vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1rem 3rem;
    min-height: 33rem;
}

#pgLeadForm form {
    width: 100%;
}

#pgLeadForm div[data-buying-for] .flex-container .flex-column {
    max-width: 27rem;
}

#pgLeadForm .pgBtn {
    background: #9A30F5;
}

#pgLeadForm section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#hsFormContainer {
    min-width: 80%;
    min-height: 25rem;
    display: flex;
    justify-content: center;
}

.hs-main-font-element {
    display: flex;
    justify-content: center;
}

#pgLeadForm div[data-form-title] {
    font-size: 2.65rem;
    padding-bottom: 2rem;
}

#hsFormContainer fieldset {
    min-width: 90%;
}

#hsFormContainer .hs-error-msgs {
    margin-left: .5rem;
    margin-top: -10px;
}

#pgLeadForm section fieldset h1 {
    color: #262B32;
    padding-bottom: 2rem;
    line-height: 2.25rem;
    margin: .0rem 0 3rem;
    font-size: 22px;
}

#pgLeadForm > div[data-form-header] {
    display: none;
}

#pgLeadForm div[data-form-footer] {
    margin-top: 0;
}

#pgLeadForm div[data-form-footer] h3 {
    font-size: 1.4rem;
    font-weight: bold;
    color: #262B32;
}

#pgLeadForm div[data-form-footer] a {
    text-decoration: underline;
    color: #2c73ff;
    font-weight: bold;
    font-size: 1.4rem;
}

#pgLeadForm div[data-slide-nav] {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 4rem;
    margin-top: 2rem;
}

#pgLeadForm div[data-slide-nav] a[data-slide-nav="back"] {
    display: none;
}

#pgLeadForm div[data-slide-nav] .pgBtn {
    text-transform: uppercase;
    padding: 1.25rem 7rem;
    background: #B7BBC1;
    max-width: 24rem;
    border: none;
}

#pgLeadForm input, #pgLeadForm select {
    border-radius: 5px;
    font-size: 1.2rem;
    max-width: 98%;
    white-space: normal;
    min-height: 4.5rem;
}

.inputs-list label {
    display: flex !important;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
}

.inputs-list input {
    margin-bottom: 0 !important;
}

@media only screen and (min-width: 500px) {
    #hsFormContainer {
        min-height: 18rem;

    }

    #pgLeadForm div[data-slide-nav] {
        margin-top: 2rem;
    }
}

@media screen and (max-width: 639px){
    #hsFormContainer fieldset {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #hsFormContainer .hs-form-field {
        width: 96%;
        display: flex;
        flex-direction: column;
        align-items: initial;
    }

    #pgLeadForm select {
        font-size: 1.1rem !important;
    }

    #pgLeadForm div[data-form-footer] h3 {
        font-size: 1.25rem;
    }

    #pgLeadForm div[data-form-footer] a {
        font-size: 1.25rem;
    }
}

@media only screen and (min-width: 800px) {
    #pgLeadForm section fieldset h1 {
        padding-bottom: 0;
    }
}

@media only screen and (max-width: 1249px) {
    #hsFormContainer {
        min-width: 100%;
    }
}

@media screen and (min-width: 1250px) {
    #hsFormContainer {
        width: 70%;
        max-width: 77rem;
    }
}