/*-------------------------------------------------*/
/* =  friends.begin
/*-------------------------------------------------*/

.friends,
.friends-head,
.friends-body,
.friends-foot {
    width: 100%;
}

.friends-body {
    padding-top: 10px;
    padding-bottom: 25px;
}

.friends-title,
.friends-count {
    font-size: 16px;
    color: rgb(190, 190, 190);
    font-weight: 700;
}

.friends-count {
    font-weight: 500;
}

.friends-count-online {
    color: #fff;
    font-weight: 700;
}

.friends-invite-title {
    font-size: 16px;
    color: #fff;
    font-weight: 700;
}

.friends-invite {
    text-align: center;
}

.friends-invite .social > li {
    padding: 7px 10px;
    background: linear-gradient(45deg, rgba(17, 75, 116, 1) 0%, rgba(11, 94, 152, 1) 100%);
    border-radius: 3px;
}

.friends-invite .social > li + li {
    margin-left: 6px;
}

.friends-how-work {
    cursor: pointer;
    margin-top: 30px;
    text-align: center;
}

.friends-body-inner {
    height: 330px;
    overflow-y: auto;
    margin-bottom: 10px;
}

.friends-list {
    padding-left: 0;
}

.friends-list-item {
    list-style: none;
    margin-bottom: 15px;
    cursor: pointer;
}

.friends-list-inner {
    display: table;
    width: 100%;
}

.friends-list-col {
    display: table-cell;
    vertical-align: middle;
}

.friends-list-col:first-of-type {
    width: 32px;
    min-width: 32px;
}

.friends-list-name {
    font-size: 12px;
    margin: 0;
    color: #a8a8a8;
    font-weight: 600;
}

.friends-list-avatar,
.friends-list-avatar > img {
    position: relative;
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.friends-list-avatar {
    line-height: 24px;
    background: #a8a8a8;
    text-align: center;
}

.friends-list-avatar:before {
    content: "\f007";
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 12px;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #212f3b;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.friends-list-avatar > img {
    display: block;
}

.friends-status {
    padding-left: 32px;
    font-size: 10px;
    color: #a8a8a8;
    font-weight: 600;
    margin-top: 5px;
}

.friends-status-inner {
    padding-left: 18px;
    position: relative;
    display: block;
}

.friends-status-inner:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #4a4d50;
    margin-top: -7px;
}

.friends-list-item.online .friends-list-name {
    color: #fff;
}

.friends-list-item.online .friends-status-inner:before {
    background: #57ff7b;
}

@media screen and (max-width: 991px) {
    .friends {
        border-top: 1px solid rgba(0, 251, 244, 0.29);
    }

    .friends-head,
    .friends-foot {
        width: 50%;
        padding-top: 22px;
        padding-bottom: 22px;
    }

    .friends-head {
        width: 50%;
    }

    .friends-body {
        padding-top: 0;
        padding-bottom: 0;
    }

    .friends-body-inner {
        max-height: 100%;
    }

    .friends-invite-title {
        margin-right: 10px;
    }

    .friends-title,
    .friends-count {
        font-size: 29px;
        margin-bottom: 0;
    }

    .friends-title {
        color: #fff;
        font-weight: 600;
    }

    .friends-count {
        margin-left: 5px;
    }

    .friends-list-item {
        padding: 15px 10px;
        margin-bottom: 0;
    }

    .friends-list-col:first-of-type {
        width: 75px;
        min-width: 75px;
    }

    .friends-status {
        padding-left: 75px;
        margin-top: -5px;
    }

    .friends-list-name {
        /* padding-left: 22px; */
        position: relative;
    }
    /* 
    .friends-list-name:before {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #4a4d50;
        margin-top: -7px;
    } */

    .friends-list-item.online .friends-list-name:before {
        background: #57ff7b;
    }

    .friends-list-item:nth-of-type(odd) {
        background-color: #2d2d2e;
    }

    .friends-list-avatar::before {
        display: none;
    }

    .friends-list-avatar,
    .friends-list-avatar > img {
        display: block;
        width: 58px;
        height: 58px;
        border-radius: 50%;
        -o-object-fit: cover;
        object-fit: cover;
    }

    .friends-list-avatar {
        background: #a4a4a5 url("assets/img/avatar-placeholder.png") no-repeat center center;
        background-size: cover;
    }

    .friends-list-avatar,
    .friends-list-avatar > img {
        position: relative;
        z-index: 9;
    }

    .friends-list-item:hover {
        background: #000;
    }

    .friends-list-item:nth-of-type(odd):hover {
        background-color: #454547;
    }
}

@media screen and (max-width: 767px) {
    .friends {
        padding-left: 15px;
        padding-right: 15px;
        width: calc(100% + 30px);
        margin-left: -15px;
    }

    .friends-head {
        padding-left: 15px;
    }

    .friends-foot {
        /* padding-right: 15px; */
    }

    .friends-title,
    .friends-count {
        font-size: 25px;
    }

    .friends-title {
        color: #00fbf4;
    }
}

@media screen and (max-width: 576px) {
    .friends-list-col:first-of-type {
        width: 50px;
        min-width: 50px;
    }

    .friends-title,
    .friends-count {
        font-size: 18px;
    }

    .friends-head,
    .friends-invite {
        display: block !important;
    }

    .friends-count {
        margin-left: 0;
        margin-top: 5px;
    }

    .friends-invite-title {
        margin-right: 0;
        font-size: 14px;
    }

    .friends-list-avatar,
    .friends-list-avatar > img {
        width: 40px;
        height: 40px;
    }

    .friends-list-name {
        padding-left: 15px;
    }

    .friends-list-name:before {
        top: 50%;
        width: 8px;
        height: 8px;
        margin-top: -5px;
    }
}

/*-------------------------------------------------*/
/* =  friends.end
/*-------------------------------------------------*/
