/* One shared gap below the personal navigation, across all personal pages. */
body[data-page-controller="user"][data-page-action="changepwd"] .setBoxMine{box-sizing:border-box;max-width:100%;}
body .user-profile-nav~.contentBox.contentBox3,
body.brand-flow .user-profile-nav~.brand-page.user-company-page,
body.brand-flow .user-profile-nav~.brand-page.user-company-shell{
    margin-top:0!important;
    padding-top:calc(var(--site-nav-height,60px) + var(--site-subnav-height,60px) + 34px)!important;
}
body .user-profile-nav~.contentBox3 .followBoxMax{
    margin-top:0!important;
    padding-top:0!important;
}
body .user-profile-nav~.contentBox3 .followBoxMax>.cont,
body .user-profile-nav~.contentBox3 .followBoxMax>.cont>.left,
body .user-profile-nav~.contentBox3 .followBoxMax>.cont>.right{
    margin-top:0!important;
    padding-top:0!important;
}
body .user-profile-nav~.contentBox3 .foollwLeft,
body .user-profile-nav~.contentBox3 .submission-grid{
    margin-top:0!important;
}
body.mp-submit-flow .user-profile-nav~#mp-main{
    margin-top:calc(var(--site-nav-height,60px) + var(--site-subnav-height,60px) + 34px)!important;
}
/* On phones/tablets the personal navigation occupies normal document flow. */
@media(max-width:1380px){
    body .user-profile-nav~.contentBox.contentBox3,
    body.brand-flow .user-profile-nav~.brand-page.user-company-page,
    body.brand-flow .user-profile-nav~.brand-page.user-company-shell{
        padding-top:33px!important;
    }
    body.mp-submit-flow .user-profile-nav~#mp-main{margin-top:33px!important;}
}


/* Short personal-center pages keep the footer at the viewport bottom without a JS height estimate. */
body[data-user-center-layout="1"]{display:flex;flex-direction:column;min-height:100vh;box-sizing:border-box;}
body[data-user-center-layout="1"] [data-main-content]>.contentBox3{flex:1 0 auto;min-height:0!important;box-sizing:border-box;}
body[data-user-center-layout="1"] [data-main-content]>.brand-page{flex:1 0 auto;min-height:0!important;box-sizing:border-box;}
body[data-user-center-layout="1"]>.footer{flex-shrink:0;margin-top:auto!important;}
