.sidebar {
    top: 30px;
    height: calc(100% - 50px);
}

.sidebar .form-group {
    height: 100%;
}

.sidebar .form-group .panel {
    max-height: calc(100% - 34px);/*34px is height of searchbar*/
    overflow-y: auto;
}

.sidebar .form-group .panel.paging {
    margin-bottom: 10px;
    max-height: calc(100% - 65px);/*34px is height of searchbar*/
}

.filter-page-buttons {
    display: flex;
    justify-content: center;
}

.filter-page-buttons span {
    margin-right: 10px;
}

.filter-page-button {
    background-color: white;
    border: none;
    outline: none;
    margin-right: 10px;
    border-radius: 5px;
    border: solid 1px whitesmoke;
    padding: 4px;
    width: 35px;
}

.filter-page-button:last-child {
    margin-right: 0px;
}

.filter-page-button.active {
    background-color: #d9edf7;
    border-color: #bce8f1;
}

.sidebar .list-group {
    cursor: pointer;
}

.sidebar .list-group li:nth-child(even),
.sidebar .list-group a:nth-child(even) {
    color: #333;
    background-color: #f5f5f5;
    border-color: #ddd;
}

.sidebar .list-group li:nth-child(even).active, 
.sidebar .list-group a:nth-child(even).active {
    background-color: #337ab7;
    color: #fff;
    z-index: 0;
}

.sidebar .list-group-item.active {
    background-color: #337ab7;
    color: #fff;
    z-index: 0;
}

.loading::after {
    font-family: 'Font Awesome 5 Free';
    content: '\f110';
    animation: fa-spin 2s infinite linear;
    position: absolute;
    right: 16px;
    cursor: pointer;
    pointer-events: auto;
    z-index: 5;
    top: 5px;
    font-size: 20px;
    right: 24px;
    font-weight: 900;
}