/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Global
# Theme Specific Fixes
    # BuddyBoss
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# Global
--------------------------------------------------------------*/
.widget_bp_friend_follow_suggestion_widget ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.widget_bp_friend_follow_suggestion_widget > ul > li {
    margin-bottom: 1em;
}

.bp-nouveau .widget_bp_friend_follow_suggestion_widget > ul > li .list-wrap,
.widget_bp_friend_follow_suggestion_widget > ul > li .list-wrap {
    width: 100%;
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.buddypress.widget.widget_bp_friend_follow_suggestion_widget ul.item-list li .item-avatar,
.widget_bp_friend_follow_suggestion_widget > ul > li .item-avatar {
    float: left;
}

.bp-nouveau .widget-area .widget.buddypress.widget_bp_friend_follow_suggestion_widget #members-list li .item,
.widget_bp_friend_follow_suggestion_widget > ul > li .list-wrap .item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%;
    margin-left: 0;
}

.widget_bp_friend_follow_suggestion_widget .item-meta {
    font-size: 12px;
}

.widget_bp_friend_follow_suggestion_widget .item-meta ul li {
    margin-bottom: 0 !important;
}

.widget_bp_friend_follow_suggestion_widget .generic-button a,
.widget_bp_friend_follow_suggestion_widget .generic-button button {
    background: #fff !important;
    border-color: #ccc !important;
    border-style: solid !important;
    border-width: 1px !important;
    border-radius: 0 !important;
    color: #555 !important;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    font-weight: 400 !important;
    outline: 0;
    padding: .3em .5em !important;
    text-align: center !important;
    text-decoration: none;
    width: auto !important;
    min-height: 100% !important;
    line-height: 1 !important;
    display: inline-block !important;
    font-size: 0 !important;
    border-radius: 4px !important;
}

.widget_bp_friend_follow_suggestion_widget .generic-button a:before,
.widget_bp_friend_follow_suggestion_widget .generic-button button:before {
    content: "\f234";
    font-family: "bpffs-icons" !important;
    font-size: 16px;
    width: 35px;
    height: 35px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.widget_bp_friend_follow_suggestion_widget .generic-button.pending_friend a:before,
.widget_bp_friend_follow_suggestion_widget .generic-button.pending_friend button:before {
    content: "\f235";
}

.widget_bp_friend_follow_suggestion_widget .generic-button.follow-button a:before,
.widget_bp_friend_follow_suggestion_widget .generic-button.follow-button button:before {
    content: "\f4fc";
}

.widget_bp_friend_follow_suggestion_widget .generic-button.follow-button.following a:before,
.widget_bp_friend_follow_suggestion_widget .generic-button.follow-button.following button:before {
    content: "\f235";
}

.widget_bp_friend_follow_suggestion_widget .generic-button a:hover,
.widget_bp_friend_follow_suggestion_widget .generic-button button:hover,
#buddypress .widget_bp_friend_follow_suggestion_widget div.generic-button a:hover {
    background: #ededed !important;
    color: #555 !important;
    border-color: #ccc !important;
    border-style: solid !important;
    border-width: 1px !important;
}

/* tooltip */
.widget_bp_friend_follow_suggestion_widget .item-meta .friendship-button{
  position: relative;
}
.widget_bp_friend_follow_suggestion_widget .item-meta .friendship-button .friendship-button:after {
    white-space: nowrap;
    position: absolute;
    z-index: 99999;
    top: 6px;
    left: -85px;
    opacity: 0;
    visibility: hidden;
    transform: translate(10px, 0);
    transition: all 0.3s ease-in-out 0s;
    padding: 0 15px;
    border-radius: 100px;
    background-color: #3e3f5e;
    color: #fff;
    font-size: 13px;
    line-height: 25px;
}
.widget_bp_friend_follow_suggestion_widget .item-meta .friendship-button .friendship-button.not_friends:after{
  content:"Connect" !important;
}
.widget_bp_friend_follow_suggestion_widget .item-meta .friendship-button:hover .friendship-button:after{
    opacity: 1 !important;
    visibility: visible !important;
    transform: translate(0px, 0) !important;
}
.widget_bp_friend_follow_suggestion_widget .generic-button .friendship-button.pending_friend.requested:after {
    content:"Cancel Request" !important;
    left: -126px !important;
}

/*--------------------------------------------------------------
## Layout 2
--------------------------------------------------------------*/
.widget_bp_friend_follow_suggestion_widget .bffs_horizontal_layout{
  overflow: hidden;
  position: relative;
}

.widget_bp_friend_follow_suggestion_widget .bffs_horizontal_layout .bffs-slide .list-wrap{
    border-radius: 7px;
    overflow: hidden !important;
    border: 1px solid #ddd;
    padding:0 !important;
    margin: 0 !important;
}

.widget_bp_friend_follow_suggestion_widget .bffs_horizontal_layout .item {
    padding: 15px !important;
    margin:0 !important;
    text-align: center;
}

.widget_bp_friend_follow_suggestion_widget .bffs_horizontal_layout .item-meta .generic-button a,
.widget_bp_friend_follow_suggestion_widget .bffs_horizontal_layout .item-meta .generic-button button {
    position: relative;
    font-size: 15px !important;
    font-weight: 500 !important;
    padding: 12px 22px !important;
    line-height: 1 !important;
    border:none !important;
    border-radius: 6px !important;
    color: #fff !important;
    background: #0964c7 !important;
    display: flex !important;
    margin:12px 0 0;
    width: 100%;
    transition: all 0.3s;
    overflow: hidden;
   text-overflow: ellipsis;
   display: -webkit-box;     /* fallback */
   max-height: 32px;      /* fallback */
   -webkit-line-clamp: 1; /* number of lines to show */
   -webkit-box-orient: vertical;
}
.widget_bp_friend_follow_suggestion_widget .bffs_horizontal_layout .item-meta .generic-button a:hover,
.widget_bp_friend_follow_suggestion_widget .bffs_horizontal_layout .item-meta .generic-button button:hover{
    background:#074490 !important;
}
.widget_bp_friend_follow_suggestion_widget .bffs_horizontal_layout .item-meta .friendship-button .friendship-button:after{
  display: none !important;
}
.widget_bp_friend_follow_suggestion_widget .bffs_horizontal_layout .generic-button a:before,
.widget_bp_friend_follow_suggestion_widget .bffs_horizontal_layout .generic-button button:before{
  height: auto;
  width: auto;
  margin-right: 8px;
}

.widget_bp_friend_follow_suggestion_widget .bffs_horizontal_layout .item-avatar img.avatar {
    width: 100% !important;
    height: 230px !important;
    object-fit: cover;
    border-radius: 0 !important;
    max-width: 100% !important;
}
.widget_bp_friend_follow_suggestion_widget .bffs_horizontal_layout .item-avatar {
    margin-right: 0 !important;
}

.widget_bp_friend_follow_suggestion_widget .bffs_horizontal_layout .item-meta .generic-button{
    position: relative;
    display: flex;
    justify-content: center;
}

.widget_bp_friend_follow_suggestion_widget .bffs_horizontal_layout .bffs-button-next:after,
.widget_bp_friend_follow_suggestion_widget .bffs_horizontal_layout .bffs-button-prev:after {
    font-size: 18px;
    color: #000;
}
.widget_bp_friend_follow_suggestion_widget .bffs_horizontal_layout .bffs-button-prev,
.widget_bp_friend_follow_suggestion_widget .bffs_horizontal_layout .bffs-button-next {
    background: rgba(255,255,255,0.6);
    padding: 5px;
    height: 35px;
    left: -20px;
    opacity: 0;
    visibility: hidden;
    transform: translate(10px, 0);
    transition: all 0.3s ease-in-out 0s;
    border-radius: 5px;
}
.widget_bp_friend_follow_suggestion_widget .bffs_horizontal_layout .bffs-button-next{
  left: auto;
  right: -20px;
}
.widget_bp_friend_follow_suggestion_widget .bffs_horizontal_layout:hover .bffs-button-prev,
.widget_bp_friend_follow_suggestion_widget .bffs_horizontal_layout:hover .bffs-button-next {
  left: -2px;
  opacity: 1;
  visibility: visible;
  transform: translate(0, 0);
}
.widget_bp_friend_follow_suggestion_widget .bffs_horizontal_layout:hover .bffs-button-next {
  left: auto;
  right:-2px;
}
.widget_bp_friend_follow_suggestion_widget .bffs_horizontal_layout #members-list li{
  margin:0 !important
}




/*--------------------------------------------------------------
## BuddyBoss
--------------------------------------------------------------*/
.widget_bp_friend_follow_suggestion_widget .bp-tooltip:before,
.widget_bp_friend_follow_suggestion_widget .bp-tooltip:after {
    display: none !important;
}

.bb-grid .widget_bp_friend_follow_suggestion_widget .generic-button a i,
.bb-grid .widget_bp_friend_follow_suggestion_widget .generic-button button i {
    padding: .3em .5em !important;
}

.theme-buddyx .widget_bp_friend_follow_suggestion_widget #members-list li .item,
.theme-buddyx-pro .widget_bp_friend_follow_suggestion_widget #members-list li .item {
    padding-left:8px !important;
}

/*--------------------------------------------------------------
Youzify
--------------------------------------------------------------*/
.youzify-sidebar .widget_bp_friend_follow_suggestion_widget h3 {
    margin: 0;
    color: #858f94;
    font-size: 15px;
    font-weight: 500;
    line-height: 22px;
    padding: 15px 35px;
    letter-spacing: initial;
    background: #fff;
    position: relative;
    margin-bottom: 25px !important;
    border-radius: 4px 4px 0 0;
}
.youzify-sidebar .widget_bp_friend_follow_suggestion_widget h3:before {
    content: "\f129";
    width: 35px;
    height: 35px;
    line-height: 35px;
    margin-right: 10px;
    font-family: "Font Awesome 5 Free";
    font-size: 13px;
    color: #8b8b8b;
    font-weight: 700;
    border-radius: 100px;
    text-align: center;
    display: inline-block;
    background-color: #f2f2f2;
}
.youzify-sidebar .widget_bp_friend_follow_suggestion_widget .item-avatar {
    margin-right: 10px;
}
.youzify-sidebar .widget_bp_friend_follow_suggestion_widget .generic-button a:before{
    margin-right: 0;
}
