.feedback-header {
    color: white;
    background: url("../img/bgs/feedback/building.webp") no-repeat center;
    background-size: cover;
    text-align: center;
    height: 300px;
}

.feedback-header div {
    background: #00000055;
    box-sizing: border-box;
    height: 100%;
    padding: 80px 48px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feedback-header h1 {
    margin-top: 48px;
    font-size: 48px !important;
}

.feedback-content {
    padding: 16px;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.sort-panel {
    display: flex;
    flex-direction: row;
    align-items: center;

    font-weight: 600;
    color: #6b6b6b;
}

.sort-panel p, .sort-panel label {
    white-space: nowrap;
}

.average {
    margin-top: 8px;
    margin-right: 36px;
}

#average {
    background: #085596;
    color: white;
    padding: 6px 8px 4px;
    font-size: 22px;
    margin: 0;
}

#average em {
    font-size: 16px;
    font-style: oblique;
    opacity: 0.6;
}

#total-s {
    margin: 0;
    font-size: 16px;
    text-align: center;
    color: #323232;
    border-top: 1px solid #ccc;
    padding-top: 6px;
    display: none;
}

#percent {
    margin: 4px 2px;
    font-size: 14px;
}

#total {
    margin-right: auto;
    margin-top: 24px;
}

.filters {
    display: flex;
    flex-direction: row;
}

.filter {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.filters select {
    margin: 0 4px;
    padding: 6px 8px 4px;
    border: 2px solid #085596;
    border-radius: 0;
    background: white;
    color: #085596;
    font-weight: 600;
    font-family: inherit;
    height: 32px;
    cursor: pointer;
}

.filters label {
    color: #444;
    margin-left: 12px;
}

@media screen and (max-width: 770px) {
    #total {
        display: none;
    }

    #total-s {
        display: block;
    }

    .average {
        margin-right: auto;
    }
}

@media screen and (max-width: 570px) {
    .filters {
        flex-direction: column;
        align-items: flex-end;
    }

    #limit, label[for="limit"] {
        margin-top: 6px;
    }

    select {
        width: 88px;
    }
}

.sort-panel, #feedback-list {
    width: 100%;
}

#feedback-list {
    border-top: 1px solid #ccc;
    margin: 18px 48px;
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}