@media only screen and (min-width: 641px) {
    
    .gform_wrapper,
    .wsf-form:not(#logout-form,.inline-form) {
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        margin: 50px 0;
        padding: 50px 50px 20px;
        box-shadow: 2px 2px 5px rgba(0,0,0,0.08), -2px -2px 5px rgba(0,0,0,0.04);
    }
}

.gform_wrapper,
.wsf-form:not(#logout-form,.inline-form) {
    margin: 50px 0;
}

.wsf-form.inline-form {
    display: inline-block;
}

.wsf-form.inline-form + .wsf-form.inline-form {
    margin-left: 5px;
}

/* Form Title */

.wsf-form h2 {
    text-align: center;
    margin: 0 0 20px;
}

/* Alerts */

.wsf-alert p {
    font-weight: 400 !important;
}

/* Help text */

.wsf-form .wsf-help {
    color: #555;
    font-size: 13px;
}

.wsf-form .wsf-help-pre {
    margin-top: -5px;
    margin-bottom: 15px;
}

/* Read only */

input[readonly] {
    background-color: #eee !important;
    cursor: default;
    box-shadow: none !important;
}

/* Radio and Checkbox */

.wsf-form [data-type="radio"] label,
.wsf-form [data-type="checkbox"] label {
    font-size: 15px !important;
    font-weight: 400 !important;
    margin-top: 0px !important;
    margin-bottom: 10px !important;
}

/* Textarea */

.wsf-form textarea {
    min-height: 85px !important;
}

.wsf-form#mentoring-request-form textarea {
    min-height: 140px !important;
}

/* Labels */

.wsf-form label,
.wsf-form [data-type="radio"] > label,
.wsf-form [data-type="checkbox"] > label,
.wsf-form [data-type="checkbox"] label b {
    font-size: 17px !important;
    font-weight: 700 !important;
    margin-top: 20px !important;
    margin-bottom: 10px !important;
}

/* Agreement field */

.agreement {
    margin-top: 20px;
}

/* Logout */

.wsf-form#logout-form button {
    background: transparent;
    border: none;
	color: #555;
    font-size: 15px;
	transition: color 200ms linear !important;
    padding-right: 0;
}

.wsf-form#logout-form .wsf-bottom {
    text-align: right;
}

.wsf-form#logout-form button:hover {
	color: black;
}

/* Login */

.wsf-form#login-form,
.gf_login_form,
.gf_login_links { 
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.gf_login_form .gfield_required {
    display: none !important;
}

.gf_login_links {
    margin-top: 50px;
    padding-left: 50px;
    padding-right: 50px;
    text-align: center;
}

.gf_login_links a {
    font-size: 17px;
    padding: 5px 0;
    display: inline-block;
    float: none !important;
    border: none !important;
}

.gf_login_links a:hover {
    color: #000 !important;
}

.gform_fields {
    grid-row-gap: 20px !important;
}

.gfield_checkbox,
.gfield_radio {
    line-height: 1;
}

@media (min-width: 1025px) {
    .checkboxes-two-cols .gfield_checkbox .gchoice {
        display: inline-block;
        width: 50%;
    }
}

.gform_wrapper .gfield .ginput_container,
.gform_wrapper .gfield .gfield_description,
.gform_wrapper div.ginput_complex label,
.gform_wrapper input:not([type='radio']):not([type='checkbox']):not([type='submit']), 
.gform_wrapper select, 
.gform_wrapper textarea,
.gf_login_form .gform_button { 
    width: 100%;
}

.gform_wrapper input:not([type='radio']):not([type='checkbox']):not([type='file']):not([type='submit']), 
.gform_wrapper select, 
.gform_wrapper textarea {
    border-radius: 4px;
    background-color: #fff;
    border: 1px solid #bbb;
    color: black;
}

.gfield--type-fileupload .ginput_container_fileupload {
    padding: 15px 15px 0;
    border-top: 1px solid #bbb;
    border-right: 1px solid #bbb;
    border-left: 1px solid #bbb;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.gfield--type-fileupload > .gfield_description {
    padding: 0 15px 15px;
    border-bottom: 1px solid #bbb;
    border-right: 1px solid #bbb;
    border-left: 1px solid #bbb;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.gform_wrapper.gravity-theme .gfield_password_strength {
    font-size: 16px;
    margin-bottom: 10px;
}

.gfield_consent_label {
    font-size: 16px;
}

.button,
.gform_button,
input[type='submit'] {
    background-color: #97be09;
    border-radius: 4px;
    border-width: 0;
    color: white;
    font-weight: bold;
    font-size: 18px;
    padding: 10px 20px;
    margin: 0 10px 10px 0;
    display: inline-block;
    line-height: 1.3;
}

.button:hover,
.gform_button:hover,
input[type='submit']:hover {
    cursor: pointer;
    color: black;
}

/* Submit */

.wsf-form:not(#logout-form) .wsf-button {
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    padding: 0.6em 1.1em;
    border: none;
}

/* Basic User Avatar */

#basic-user-avatar-form p {
    font-size: 16px;
    margin: 0 0 15px;
}