.profile-fields .label {
  color: inherit;
  display: table-cell;
  font-size: inherit;
}

#buddypress div.profile h4 {
  margin-bottom: 26px;
  margin-top: 26px;
}

#buddypress table thead {
  color: inherit;
}

#buddypress table.notifications thead {
  border-left: 1px solid #d9dbde;
}

#buddypress input[type=submit] {
  vertical-align: top;
}

.site-main .entry-content ul.acfb-holder {
  margin-left: 0;
}

#buddypress table.notification-settings thead {
  color: #ffffff;
}

#buddypress table.profile-settings .select-wrapper {
  width: 100%;
}

#buddypress table.profile-settings th.title {
  width: auto;
}

#buddypress .activity-list .activity-content .activity-header img.avatar {
  margin: 0 5px 0px 0 !important;
}

#buddypress #profile-edit-form ul.button-nav {
  margin-left: 0;
}

#buddypress div.item-list-tabs#subnav ul li.last {
  padding-top: 24px;
}

#buddypress div.item-list-tabs ul li.last {
  margin: 0 0 24px;
}

#buddypress form#whats-new-form #whats-new-options select {
  margin-top: 0;
}

@media (max-width: 767px) {
  #buddypress div.item-list-tabs ul li.last {
    float: none;
  }

  #buddypress div.item-list-tabs#subnav ul li.last {
    clear: both;
  }

  #buddypress div.activity-meta a {
    margin-bottom: 10px;
    display: inline-block;
    min-height: 0;
  }

  #buddypress div.activity-comments > ul {
    padding: 0 0 0 0px;
  }

  #buddypress form#whats-new-form p.activity-greeting {
    line-height: 1;
  }

  #buddypress div.item-list-tabs ul {
    overflow: hidden;
  }

  #buddypress div.message-search {
    float: none;
    margin: 24px 0 0;
  }

  #buddypress div.message-search input {
    margin-bottom: 24px;
  }

  #buddypress ul.item-list li div.action {
    position: relative;
    top: 0;
  }

  #buddypress ul.item-list li div.item-desc {
    width: auto;
  }
}
