#roster ul#rosterlist > div > li {
    min-height: 0;
}

#roster ul#rosterlist > div > li {
    display: none;
    position: relative;
}

#roster ul#rosterlist > div:not(.empty) {
    height: 5rem;
    overflow: hidden;
}

#roster ul#rosterlist > div#spinner {
    height: 8rem;
}

#roster ul#rosterlist > div li:first-child p:before {
    font-family: "Material-Design-Iconic-Font";
    content: "\f2fb";
    display: inline-block;
    float: left;
    margin-right: 1rem;
}

#roster ul#rosterlist > div.groupshown li:first-child p:before {
    font-family: "Material-Design-Iconic-Font";
    content: "\f2f9";
}

#roster ul#rosterlist > div.groupshown {
    height: 100%;
}

#roster ul#rosterlist > div > li:not(.offline):not(.server_error) {
    display: list-item;
}

#roster ul#rosterlist.offlineshown > div.groupshown > li {
    display: list-item;
}

/* Search */
#roster.search ul#rosterlist li:not(.found) {
    display: none;
}
