
#friends-party-list {
    display:none;
    position:fixed;
    cursor: default;
    bottom: var(--friends-list-btn-height);
    right: calc(var(--party-btn-width) + var(--messages-btn-width) - 4rem);;
    width: var(--friends-list-container-width);
    height: 24rem;
    background: var(--primary-friends-color);
    color:white;
    z-index: 80;
    padding: 0.5rem;
}
#friends-party-btn {
    /* position:fixed; */
    display:flex;
    justify-content: center;
    align-items: center;
    /* right: calc(var(--friends-list-btn-width) + var(--messages-btn-width)); */
    /* bottom: 0rem; */
    /* margin:0; */
    width: var(--party-btn-width);
    height: var(--friends-list-btn-height);
    /* background: var(--primary-friends-color); */
}
#friends-party-notification-count {
    position:absolute;
    display:none;
    justify-content: center;
    align-items: center;
    left: -0.75rem;
    top: -0.75rem;
    background: red;
    width: 1.5rem;
    height: 1.5rem;
    padding-top:2px;
    border-radius:200px;
    color:white;
    fill: currentColor;
    z-index: 50;
}
#friends-party-img {
    width:1.75rem;
    height:1.75rem;
}
#friends-party-friends {
    position: absolute;
    width:4rem;
    height:90%;
    padding: 0.2rem;
    left:-1rem;
    z-index:20;
    background: var(--primary-friends-color);
    white-space: nowrap;
}
#friends-party-friends:hover {
    width:16rem;
}
#friends-party-messages {
    position:absolute;
    left:4rem;
    display:flex;
    flex-direction: column;
    padding-top:20px;
    height: 95%;
    width: calc(var(--friends-list-container-width) - var(--party-btn-width) - 1rem);
    background: var(--primary-friends-color);
    z-index:10;
}
#friends-message-form {
    margin-top:auto;
}
#friends-party-friends-members {
    overflow-x:hidden;
    overflow-y:auto;
}
#friends-party-friends-members div.active {
    background:white;
    color:black;
}
.friends-party-member {
    padding:0.25rem;
}
.friends-party-friend-message {
    float:left;
    background: rgb(81, 81, 81);
    color: white;
}
.friends-party-self-message {
    margin-left:auto;
    background: yellow;
    color: black;
}
#friends-party-user-messages {
    overflow:auto;
    padding-bottom: 0.25rem;
    margin-bottom: 1rem;
}
#friends-party-user-messages > div {
    display: flex;
    flex-direction: column;
}
#friends-party-user-messages div div:nth-child(even) {
    font-size: 1rem;
    padding: 0.3rem 0.5rem 0.3rem 0.5rem;
    max-width: 100%;
    width: fit-content;
}
#friends-party-user-messages div div:nth-child(odd) {
    font-size: 1rem;
    background: rgba(211, 211, 211, 0.253);
    padding: 0.2rem 0.4rem 0.2rem 0.4rem;
    max-width: 100%;
    width: fit-content;
}

#send-friend-message-input {
    margin-top:auto;
}
#friends-party-user-messages::-webkit-scrollbar { width: 15px; height: 15px; }

#friends-party-user-messages::-webkit-scrollbar-track { background: #51555d; border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 6px solid transparent; border-bottom: 6px solid transparent; background-clip: padding-box; }

#friends-party-user-messages::-webkit-scrollbar-corner { background: unset; }

#friends-party-user-messages::-webkit-scrollbar-thumb { background: #888; border-radius: 20px; border: 4px solid transparent; background-clip: content-box; }

#friends-party-user-messages::-webkit-scrollbar-thumb:hover { background: #555; border: 4px solid transparent; background-clip: content-box; }

#friends-party-invite-container {
    position: fixed;
    bottom: var(--friends-list-btn-height);
    right: 0;
    margin: 1rem;
    z-index:100;
}