.c_UP_404 h1
  margin-bottom: 1em;
  font-size: 22px; // or too big
  font-weight: normal;
  color: #070707;  // darker, since gray background

.s_Tb_Ln-Grps
  font-size: 120%;

.esProfile_isYou
  font-size: 18px;
  margin-left: 1ex;
// Why did I add this? Add a comment about that the next time.
//h1:first-child .esProfile_isYou:first-child
//  margin-left: 0;

.esUP > .nav
  margin-bottom: 16px;

.dw-user-bar
  padding: 15px 15px 12px;
  margin: 20px 0 12px;
  background: hsl($uiHue, 0%, 91%);

  nav.dw-sub-nav
    padding: 0; // no idea why React-Bootstrap adds .dw-sub-nav twice, on the 'nav' too

  .dw-sub-nav
    a
      line-height: 12px;

.s_UP_AvtrAboutBtns
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;

.s_UP_Avtr
  vertical-align: top;
  padding-right: 30px;

.s_UP_AboutBtns
  flex: 1;
  vertical-align: top;
  padding-right: 3px;


.s_UP_AvtrAboutBtns
  h1, h2
    font-size: 26px;
    margin: 0;
    padding: 0;

  h2
    font-size: 18px;
    margin: 12px 0 8px;
    .dw-is-what
      font-family: sans-serif;
      font-size: 80%;

.s_UP_AdminB,
.s_UP_SendMsgB
  float: right;

.s_UP_AdminB
  color: #333 !important; // not blue link color

.esUP_FN
  margin-bottom: 18px !important;

.s_UP_Ab
  .c_TagL_AddB
    margin: 0 5px 0 9px;

.s_UP_Ab_Bio
  margin-bottom: 13px;

.s_UP_Ab_Webs,
.s_UP_Ab_Loc
  font-size: 14px;
  margin-bottom: 5px;

.s_UP_Ab_Webs_Ln
  font-family: monospace;
  font-size: 90%;

.s_UP_Ab_Webs_Ln,
.s_UP_Ab_Loc_Tx
  margin-left: 0.5ch;

.s_UP_Ab_EmPfB
  margin-left: 1ch;


.s_UP_Ab_Stats
  color: hsl(0, 0%, 33%);
  margin-top: 14px;

.s_UP_Ab_Stats_Stat
  display: inline-block;
  margin-right: 15px;

.s_UP_Ab_Stats_Stat_Groups
  display: inline-block;

.s_UP_Ab_Stats_Stat_Groups_Group
  display: inline-block;
  list-style-type: none;
  padding: 0;
  margin: 0 0 0 0.8ex;
  &:not(:last-child)::after
    content: ',';

.dw-invites-table
  margin-top: 20px;
  td, th
    &:not(:last-child)
      padding-right: 20px;

.esNotfs
  .esNotf
    color: hsl($uiHue, 80%, 38%);
  li
    list-style: none;
    padding: 8px 0;

.s_Dfs li
  list-style-type: none;
  margin: 0;
  color: hsl(0, 0%, 41%);

a.s_Dfs_Df
  color: hsl(0, 0%, 9%);
  display: block;
  vertical-align: top;
  padding: 6px 12px;
  border-top: 1px solid hsl(0, 0%, 84%);
  &:hover
    background: hsl(207, 90%, 97%);
    text-decoration: none;

.s_Dfs_Df_Wht
  float: left;
  min-height: 50px;
  font-weight: bold;
  width: 85px;

.s_Dfs_Df_Ttl
  margin-bottom: 5px;

.s_Dfs_Df_Ttl,
.s_Dfs_Df_Txt
  margin-left: 95px;


.s_UP_Avtr
  .esMedAvtr-missing
    background: white;
  .esAvtr-ltr
    width: 124px;
    height: 124px;
    font-size: 70px;
    line-height: 120px;
    vertical-align: middle;
    margin: 23px;
    position: relative;
    top: -5px;
    cursor: default;

.esMedAvtr // medium sized avatar
  position: relative;
  $maxWidth = 180px;
  min-width: 170px;
  max-width: $maxWidth;
  min-height: 170px; // if no photo uploaded
  &:hover
    .esMedAvtr_uplBtn
        visibility: visible;
  img
    max-width: $maxWidth;
    max-height: 200px;

.esMedAvtr_uplBtn  // upload button
  position: absolute;
  visibility: hidden;
  bottom: 10px;
  // Place in the middle:
  left: 50%;
  transform: translateX(-50%);


.esMedAvtr_uplBtn
  color: white;
  border-top: 1px solid white;

.esMedAvtr-missing  // no avatar uploaded, it's misssing
  .esMedAvtr_uplBtn
    visibility: visible;


// Panels, common
// -------------------------

.esUP .form-group
  margin: 19px 0 15px;


// Activity, summary
// -------------------------

.s_UP_Act_Stats h2
  margin: 8px 0 15px 10px;


// Activity, posts
// -------------------------

.s_UP_Act_Hdn
  font-style: italic;
  margin-bottom: 22px;

.s_UP_Act_Nav
  display: table-cell;
  vertical-align: top;
  width: 150px;
  padding-right: 20px;
  li
    float: none;
    word-break: break-all;

.s_UP_Act_List
  display: table-cell;
  vertical-align: top;
  padding-top: 10px;

.s_UP_Act_Ps_P
  position: relative;
  list-style: none;
  margin: 4px 0 16px 9px;
  padding-bottom: 20px;
  border-bottom: 1px solid hsl(0, 0%, 89%);
  .dw-p-bd
    margin: 0;
  .dw-p-bd-blk > p:last-child
    margin-bottom: 0;  // so same amount of whitespace as a -blk with text only, no <p>

.s_UP_Act_Ps .esAvtr
  width: 40px;
  height: 40px;
  img
    width: 40px;
    height: 40px;
  line-height: 40px;
  top: 0;
  margin: 0;
  font-size: 18px;
  z-index: 3;

.s_UP_Act_Ps_P_Link,
.s_UP_Act_Ps .dw-p-hd
  padding-left: 53px !important;

.s_UP_Act_Ps_P_Link
  margin-bottom: 6px;
  display: inline-block;
  font-size: 15px;
  &:before
    font-size: 14px;
    margin-right: 7px;
  &:hover:before
    text-decoration: none;
  &.icon-chat:before
    font-size: 16px;
    position: relative;
    top: 1px;

.s_UP_Act_Ps .dw-p-hd
  margin-bottom: 8px !important;

.s_UP_Act_Ps .dw-ar-p-hd
  opacity: 1 !important;


// Notifications
// -------------------------

.s_UP_Nfs_PfsL
  margin: 2em 0 1em;
  a
    font-weight: bold;
    margin: 0 0.4ch;


// Invites
// -------------------------

.dw-invites-table thead th
  border-bottom: 1px solid #ccc;

.s_InvsL td
  padding: 5px 0;

.s_InvsL
  .esP_By_U,
  .esP_By_F
    color: hsl($uiHue, 80%, 45%);


// Preferences
// -------------------------

.s_ConfAllMemInst
  font-size: 135%;
  margin-top: 10px;
  display: inline-block;
  a
    text-decoration: underline;
    font-weight: bold;

.s_UP_Prefs .input-group
  width: 100%;

.s_UP_Prefs input
  max-width: 430px;

#t_UP_Prefs_AboutMeTA
  min-height: 70px;

.s_UP_Prefs_ChangeUNB,
.s_UP_Prefs_ChangeEmailB,
.s_UP_Prefs_ChangePwB
  border: none;
  font-size: $postFontSize;
  color: hsl(207, 80%, 41%);
  vertical-align: baseline;
  padding: 2px 8px;
  margin-left: 3px;

.s_UP_Prefs_UN_Help
  color: hsl(0, 50%, 30%);

.s_UP_Prfs_Ntfs .dw-notf-level
  margin: 0 10px;

.s_UP_Prfs_Ntfs_NotSeeCats
  margin-top: 25px;

.s_UP_Prfs_Ntfs_Cs_C
    margin-bottom: 15px;

.s_UP_Prfs_Ntfs_Cs_C_Name
  font-weight: bold;

.s_UP_Prfs_Ntfs_Cs_C_SubCs
  list-style: circle;
  margin-left: 0.5em;

// Emails, logins
// -------------------------

.s_UP_EmLg
  h3:first-child
    margin-top: 10px;
  h3
    margin-top: 43px;

.s_UP_EmLg_EmL_It
  color: hsl(0, 0%, 30%);

.s_UP_EmLg_EmL_It_Em
  color: black;
  padding: 2px 0;
  font-family: monospace;

.s_UP_EmLg_EmAdded
  font-size: 125%;
  background: hsl($uiHue, 80%, 96%);
  padding: 8px 12px;
  display: inline-block;
  margin: 0 0 10px;

.s_UP_EmLg_LgL_It_Un,
.s_UP_EmLg_LgL_It_Em
  font-family: monospace;
  margin-left: 4px;
  font-size: 90%;

.s_UP_EmLg_LgL_It_How
  text-transform: capitalize;
  font-weight: bold;

.s_UP_EmLg_StatusExpl
  color: #6a6a6a;

.c_SessL_Sess_EndB
  margin-left: 1ex;

