#sf_form_salesforce_w2l_lead_12 {
    display: flex;
    flex-wrap: wrap;
}

.salesforce_w2l_lead #sf_form_salesforce_w2l_lead_12 input:not([type="submit"]) {
    border-bottom: 0 !important;
}

#sf_form_salesforce_w2l_lead_12 .sf_type_checkbox {
    margin-top: 26px !important;
}

#sf_form_salesforce_w2l_lead_12 .sf_field {
    flex: 1 0 40%;
    background: white;
    margin: 5px 10px 5px 10px;
    border-bottom: 1px solid #999999;
}

#sf_form_salesforce_w2l_lead_12 .sf_field_privacy, #sf_form_salesforce_w2l_lead_12 .sf_field_recaptcha {
    border-bottom: 0;
}

#sf_form_salesforce_w2l_lead_12 .sf_field input {
    margin: 0;
    padding: 15px;
    width: 100%;
    font-family: 'PT Sans', sans-serif;
    color: dimgrey;
}

#sf_form_salesforce_w2l_lead_12 .sf_field_privacy {
    flex: 1 0 100%;
    background: transparent;
}
#sf_form_salesforce_w2l_lead_12 .sf_field_recaptcha {
    flex: 1 0 100%;
    background: transparent;
}
#sf_form_salesforce_w2l_lead_12 .w2lsubmit {
    flex: 1 0 100%;
    margin: 10px;
}

#sf_form_salesforce_w2l_lead_12 .sf_type_checkbox input {
     margin: 0;
     padding: 15px;
     border-bottom: 0;
     width: 1.25em;
    color: dimgrey;
 }
#sf_form_salesforce_w2l_lead_12 .sf_type_checkbox p {
    margin-top: 0;
    color: dimgrey;
}
#sf_form_salesforce_w2l_lead_12 .sf_type_checkbox a {
    color: dimgrey;
    text-decoration: underline;
}
#sf_form_salesforce_w2l_lead_12 .sf_type_checkbox a:hover {
    color: #999999;
    text-decoration: underline;
}
#sf_form_salesforce_w2l_lead_12 select {
    -webkit-appearance: none;
    font-size: 17px;
    padding: 15px;
    width: 100%;
    border: none;
    font-family: 'PT Sans', sans-serif;
    background-image: linear-gradient(45deg, transparent 50%, gray 50%), linear-gradient(135deg, gray 50%, transparent 50%);
    background-position: calc(100% - 20px) calc(1em + 2px), calc(100% - 15px) calc(1em + 2px), calc(100% - 2.5em) 0.5em;
    background-size: 5px 5px, 5px 5px, 1px 1.5em;
    background-repeat: no-repeat;
    background-color: transparent;
    color: dimgrey;
}

@media(max-width: 768px) {
    #sf_form_salesforce_w2l_lead_12 .sf_field {
        flex: 1 0 90%;
    }
    .w2lsubmit {
        justify-content: left;
    }
}