.ch-activity-stream .activity-stream-header {margin-bottom: 16px;min-height: 35px;}
.ch-activity-stream .activity-stream-title {font-size: 18px;font-weight: bold;margin-top: 5px;display: inline-block;}
.activity-stream-search {float: right;margin-left: 20px;position: relative;}
.ch-activity-stream .activity-stream-create {display: inline-block;margin-top: 8px;}
.ch-activity-stream .activity-stream-search-toggle {display: none;float: right;margin-top: 4px;margin-left: 12px;margin-bottom:0px;margin-right:0px;font-size: 16px;padding:0px;background: none;border:none;}
.ch-activity-stream .activity-stream-search-form {position: relative;}
.ch-activity-stream #activity-stream-search-input {width: 276px; padding-right: 30px;}
.ch-activity-stream .activity-search-submit {background: none;border: none;position: absolute;right: 0;top: 0;padding-top: 11px;padding-bottom: 0px;line-height: 0;}
.ch-activity-stream .activity-search-submit img {height: 14px;}
.ch-activity-stream .activity-stream-filters {padding-bottom: 12px;margin-bottom: 12px;border-bottom: 1px solid #D8D8D8;}
.ch-activity-stream #filter-select {display: inline;}
.ch-activity-stream .current-page-pagination {background-color: #f7f7f7;padding-top: 20px;padding-bottom: 18px;margin-top: -12px;margin-bottom: 12px;padding-left: 18px;}
.ch-activity-stream .current-page-pagination .chPagination {margin: 0px;}
#ch-activity-stream-container > .ch-activity-simple-row:nth-child(2n-1) {background-color: #f7f7f7;border-radius: 10px;}
.ch-activity-simple-row {padding-top: 16px;padding-bottom: 17px;padding-left: 24px;display: flex;justify-content: space-between;}
.ch-activity-simple-row .author-image {
    height: 50px;
    width: 50px;
    min-width: 50px;
    border-radius: 30px;
    margin-right: 16px;
    display: block;
    float: left;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.ch-activity-simple-row .author-image img {display: none;}
.ch-activity-simple-row .discussion-info-wrap {max-width: calc(100% - 131px);width: 100%;}
.ch-activity-simple-row .discussion-info {float: left; display: flex; align-items: center;}
.ch-activity-simple-row .primary-taxonomy a {color: #0057b8;font-size: 14px;margin-bottom: 10px;display: block;}
.ch-grouppage .ch-activity-simple-row .primary-taxonomy {display: none;}
.ch-activity-simple-row .discussion-title {font-size: 16px;color: #000;}
.ch-activity-simple-row .thread-meta {margin-top: 13px;flex-shrink: 0;text-align: right;}
.ch-activity-simple-row .replies, .simple-row-heading-replies {width: 42px;display: inline-block;text-align: center;font-size: 12px;margin-right: 20px;}
.ch-activity-simple-row .last-activity, .simple-row-heading-last-activity {width: 42px;display: inline-block;text-align: center;font-size: 12px;margin-right: 24px;}
.simple-row-headings {margin-bottom: 12px;}
.simple-row-heading-topic {margin-left: 32px;font-size: 12px;}
#discussion-create-modal .thread-form-wrap-border {background:none;border-top: none;}
#discussion-create-modal #new-discussion {background:none;margin-bottom: 0px;}

.ch-group .ch-activity-stream .activity-stream-create {margin-top: 6px;font-size: 16px;}
@media (min-width: 992px) {
    .ch-group .ch-activity-stream-header-actions {flex-shrink: 0;}
}
@media (max-width: 767px) {
    .ch-activity-simple-row {display: block;}
    .ch-activity-simple-row .discussion-info-wrap {max-width: 100%;}
    .ch-activity-simple-row .thread-meta {clear: both; margin-top: 0px;}
    .ch-activity-stream .activity-stream-search {display: none;}
    .ch-activity-stream .activity-stream-search-toggle {display: inline-block;}
    .ch-activity-stream .activity-stream-header.mobile-activity-search-showing .activity-stream-title {display: none;}
    .ch-activity-stream .activity-stream-header.mobile-activity-search-showing .activity-stream-create {display: none;}
    .ch-activity-stream .activity-stream-header.mobile-activity-search-showing .activity-stream-search {display: block;float: left;width: calc(100% - 30px);margin-left: 0px;}
    .ch-activity-stream #activity-stream-search-input {width: 100%;}
    .ch-activity-stream .activity-stream-filters button {width: 100%;margin-bottom: 10px;}
    .ch-activity-stream .activity-stream-filters select {width: 100%;}
}
@media (max-width: 400px) {
    .ch-activity-stream .activity-stream-title {font-size: 16px;}
    .ch-activity-stream .activity-stream-create {font-size: 12px;}
    .ch-group  .ch-activity-stream .activity-stream-create {font-size: 16px;}
}
.activity-stream-header #directory-search-stats {margin-top:20px;}
