.ch-grouppage-directory .search-sort-by {float:right;}
.ch-grouppage-directory .taxonomy-row {display: flex;flex-wrap: wrap;}
.taxonomy-row div[class^="col-"] {margin-bottom: 28px;}
.group-list-default {border:1px solid #EAEAEA; border-radius: 4px; padding: 20px;height: 100%;display: flex;flex-direction: column;justify-content: space-between;}
.group-list-default .taxonomy-title {display: flex;justify-content:space-between;}
.group-list-default .taxonomy-title p {margin-bottom: 0;overflow:hidden;}
.group-list-default .taxonomy-title .taxonomy-follow .btn-skel-generic {text-transform: none;}
.group-list-default .taxonomy-follow {margin-left: 20px;}
.group-list-default .taxonomy-meta {display: flex;margin-top: 10px;}
.group-list-default .taxonomy-meta .taxonomy-followers, .group-list-default .taxonomy-meta .taxonomy-restricted {margin-right: 20px;}
.group-list-shadedbox {height: 100%; border-radius: 20px; background-color: #f7f7f7;padding: 15px;}
.group-list-shadedbox .taxonomy-header {display: flex;align-items: center;padding-bottom: 15px;min-height: 75px;height: 70px;}
.group-list-shadedbox .taxonomy-header img {width: 60px;height: 60px;border-radius: 50%;margin-right: 18px;}
.group-list-shadedbox .taxonomy-header .taxonomy-title {font-size: 18px;overflow: hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;}
.group-list-shadedbox .taxonomy-content {border-top: 1px solid #eaeaea;padding-top: 12px;}
.group-list-shadedbox .taxonomy-content p {font-size: 14px;margin-bottom: 0px;overflow: hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 5;-webkit-box-orient: vertical;}
.group-list-shadedbox .taxonomy-content p ~ p{font-size: 14px;display: none;}

.ch-grouppage .ch-group-banner .banner-header {display: flex; justify-content: space-between;align-items: center;}
.ch-grouppage .ch-group-banner img {width: 120px;height:120px;}
.ch-grouppage .ch-group-banner .taxonomy-title h1 {margin-top:10px;margin-bottom: 10px;}
.ch-grouppage .ch-group-banner .taxonomy-follow .btn {margin-left:50px;}
.ch-grouppage .ch-group-banner .media {overflow:visible;display: flex;}
.ch-grouppage .ch-group-banner .media-left {flex-basis: 120px;flex-grow: 0;flex-shrink: 0;}
.ch-grouppage .ch-group-banner .media-body {overflow:visible;width: 100%;display: block;}

.ch-single-group-header {padding:24px;background: #000 linear-gradient(135deg, var(--ch-accent-color-alpha-60, #8889) 0%, var(--ch-accent-color, #888) 100%);color: #fff;font-size: 16px;line-height: 24px;}
.ch-single-group-header a {color: inherit;}
.ch-single-group-header a:hover, .ch-single-group-header a:focus {color: inherit;text-decoration: underline;}
.ch-single-group-header .ch-one-level-breadcrumb {margin-bottom: 24px;}
.ch-single-group-header .ch-one-level-breadcrumb path {fill: white !important;}
.ch-single-group-header h1 {font-size: 40px;line-height: 44px;margin-top:0px;margin-bottom: 8px;color:#fff;}
.ch-group-privacy {display: flex;align-items: center;}
.ch-group-privacy img {height: 16px; margin-right: 8px;}
.ch-single-group-header .ch-group-actions {margin-top:24px;}
.ch-single-group-header .taxonomy-follow > * {color: #fff;border-radius: 100px;padding:12px 26px;font-size: 16px;line-height: 24px;height:auto;}
.ch-single-group-header .taxonomy-follow > *:hover, .ch-single-group-header .taxonomy-follow > *:focus {text-decoration: underline;}
.ch-single-group-header .ch-button-follow {background: none !important;border: 1px solid #fff !important;font-size: 16px;line-height: 24px;}
.ch-single-group-header .ch-button-following {background-color: #ffffff1a !important;}
.ch-single-group-header .ch-button-following span {background-image: url(https://cdn.prod-carehubs.net/assets/icons/general/check-white.svg); background-repeat: no-repeat; background-position: left;padding-left: 30px;}
.ch-single-group-header .ch-button-following:hover, .ch-single-group-header button.ch-button-following:focus {color:#fff !important;}
.ch-single-group-header .entity-interactions {color:var(--ch-text-color, #000);}
.ch-single-group-header .entity-interactions .dropdown-toggle {color:#fff;}

.ch-grouppage .ch-tab-container {margin-top: 8px !important;margin-bottom: 32px;}
.ch-grouppage .ch-tab-container .nav-tabs {display: flex;justify-content:left;border-bottom: 1px solid #d8d8d8;}
.ch-grouppage .ch-tab-container .nav-tabs:before {display: none;}
.ch-grouppage .ch-tab-container .nav-tabs:after {display: none;}
.ch-grouppage .ch-tab-container .nav-tabs > li {margin-right: 0px;}
.ch-grouppage .ch-tab-container .nav-tabs > li a {font-size: 16px;line-height:20px;border:none;color: #080808;margin-right:0px;padding:14px 16px;}
.ch-grouppage .ch-tab-container .nav-tabs > li a:hover, .ch-grouppage .ch-tab-container .nav-tabs > li a:focus {border:none;cursor:pointer;border-bottom: 2px solid #0057b8;color:#0057b8; background: transparent;}
.ch-grouppage .ch-tab-container .nav-tabs > li.active a {border-bottom: 2px solid #0057b8;color:#0057b8; background: transparent;}
.ch-grouppage .ch-tab-container .mobile-tab-modal .tab-item a {padding: 24px;}
.ch-grouppage .ch-tab-container .nav > li > a:focus, .ch-tab-container.ch-tab-block:not(.display-vertical-tabs) .nav > li > a:hover {background:none;}

.ch-grouppage .ch-group-search-header .ch-search-field {margin:0px 0px 40px;}
.ch-grouppage .ch-group-search-header > label {font-size: 20px;line-height: 28px;margin:0px 0px 8px;font-weight: bold;}
.ch-grouppage .ch-group-search-header .ch-group-search-header-actions {border-top: 1px solid #d8d8d8;padding-top:22px;font-size:16px;line-height:24px;}
.ch-grouppage .ch-group-search-header .search-sort-by {margin-top: 32px;}
.ch-grouppage .ch-group-search-header .search-sort-by .form-group {display: flex;align-items: center;gap: 8px;}
.ch-grouppage .ch-group-search-header .search-sort-by label {font-size: 16px;line-height: 20px;font-weight: normal;}
.ch-grouppage .ch-group-search-header .search-sort-by select {font-size: 14px;line-height: 16px;padding: 14px 16px;height: auto;border-radius: 4px;border: 1px solid #949494;}
.ch-grouppage .ch-search-total-results {font-size: 16px;line-height: 24px;margin-top: 32px;font-weight: bold;}
.ch-grouppage .ch-search-badge-container .badge {font-size: 16px;line-height: 24px;font-weight: normal;color: #595959;background: #ebebeb;border-radius: 8px;padding:8px 16px;}
.ch-grouppage .ch-search-badge-container .badge svg {fill: #595959;}
.ch-grouppage p.ch-search-total-results {margin-bottom: 0px;}

.ch-grouppage .simple-row-headings {margin-top: 32px;}
.ch-grouppage .ch-activity-stream .activity-stream-title {font-size: 23px;margin-top: 0px;}

.ch-single-group-about {border-top: 1px solid #d8d8d8;padding-top:24px;margin-top:32px;}
.ch-single-group-about .ch-single-group-name {font-size:24px;line-height:32px;margin:0;}
.ch-single-group-about .ch-single-group-profile-picture-wrap {margin-top:24px;aspect-ratio: 1/1;max-width: 120px;}
.ch-single-group-about img {border-radius: 50%;object-fit: cover;width: 100%;height:100%;}
.ch-single-group-about .ch-single-group-description {margin-top:24px;font-size:20px;line-height: 28px;}
.ch-single-group-about .taxonomy-follow .ch-button-follow {color: #000;border-radius: 100px;padding:12px 26px;font-size: 16px;line-height: 24px;height:auto;border:1px solid #000;background:none !important;margin-top: 32px;}
.ch-single-group-about .ch-button-following {display: none;}

@media (max-width: 767px) {
    .ch-grouppage-directory .search-sort-by {width: 100%; margin-top: 16px;}
    .ch-grouppage-directory .search-sort-by select {width: 100%;}
    .ch-grouppage-directory .taxonomy-row {flex-direction: column;}

    .ch-grouppage .breadcrumb li:nth-last-child(3) {display:block !important;}
    .ch-grouppage .breadcrumb li:nth-last-child(2) {display:none !important;}
    .ch-grouppage .ch-group-banner .banner-header {display: block;}
    .ch-grouppage .ch-group-banner .taxonomy-follow .btn {width: 100%;display: block; margin: 16px 0;}
    .ch-grouppage .ch-group-banner .media-left {display: none;}

    .ch-single-group-header h1 {font-size: 32px;line-height: 40px;}
}
@media (min-width:768px) {
    .ch-grouppage .ch-group-search-header .ch-group-search-header-actions {border: none; padding-top:0;}
}

.ch-grouppage-directory .search-container .button-container {display: flex;justify-content: flex-end;align-items: center;}
.ch-grouppage-directory .search-container #interest-filter .checkbox {margin-top: 15px !important;margin-bottom: 10px;width: 33%;float: left;}
.ch-grouppage-directory .search-container #interest-filter button {clear: both;float: right;margin-top: 20px;text-transform: none;}
.ch-grouppage-directory #interest-filter-container {background: none;border-bottom: 1px solid #eaeaea;padding-bottom: 30px;margin-bottom: 30px !important;}
@media (max-width: 999px) {
    .ch-grouppage-directory .search-container #interest-filter .checkbox {width: 100%;float:none;}
}
@media (max-width: 767px) {
    .ch-grouppage-directory .search-container .button-container {display: block;}
    .ch-grouppage-directory .search-container .interest-toggle {width: 100%; float: none;}
    .ch-grouppage-directory .search-container #interest-filter button {width: 100%;float:none;}
}

/* related groups/pages */
.related-interests-widget .widget-title {margin-bottom: 10px;}
.related-interests-widget .widget-title .pull-right {font-weight: normal;}
.related-interests-widget .group-list-default {border: none;border-top:1px solid #ddd;padding:14px 0px 0px;border-radius: 0px;}
.related-interests-widget .group-list-default .taxonomy-meta {font-size: 12px;margin-top:8px;}
.related-interests-widget .taxonomy-follow button {padding: 2px 7px;font-size: 12px;}
.related-interests-widget .taxonomy-row div[class^="col-"] {margin-bottom: 14px;}
@media (min-width: 768px) and (max-width:991px) {
    .related-interests-widget .taxonomy-title {display: block;}
    .related-interests-widget .taxonomy-meta {display: block;}
    .related-interests-widget .group-list-default .taxonomy-follow {margin-left:0px;margin-top:5px;}
}
