﻿.dg_performance-scores__container.container {
    margin-top: 3rem;
    margin-bottom: 3rem;
    padding-left: 0;
    padding-right: 0;
}

.dg_performance-scores__container.container > .row {
    justify-content: center;
    justify-self: center;
    max-width: 1620px;
    width: 100%;
}

.dg_performance-scores__sheet {
    box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.1);
    padding: 35px;
}

/*performance graph*/
.dg_performance-scores__graph {
    padding: 15px;
}

.whs-rated {
    text-align: center;
}

    .facility-types .btn, .whs-rated .btn {
        background-color: #ff0031 !important;
        border-color: #ff0031 !important;
        box-shadow: none;
    }

    .facility-types .btn:hover, .whs-rated .btn:hover {
        background-color: #6d151f !important;
        border-color: #6d151f !important;
        box-shadow: inherit;
    }

.dg_performance-scores__graph-footer {
    display: grid;
    gap: 15px;
    justify-content: center;
}

.dg_performance-scores .legend-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

/*Info*/
.club-member .tile {
    background-color: #0B2228;
}

.club-member .last-updated {
    font-size: 16px;
}

/*scores table*/
.dg_performance-scores__sheet.scores-container {
    width: 100%;
    max-width: 1620px;
    padding: 18px;
    border: 1px solid #ececec;
    box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.1);
}

.dg_performance-scores__total-score {
    font-size: 12.8px;
}

.dg_performance-scores__info, .dg_performance-scores__help {
    color: #03131B;
}

.dg_performance-scores__table th {
    color: #8D8D93;
    background-color: #F5F5F5;
    font-weight: normal;
    font-size: 13px;
}

    .dg_performance-scores__table th span {
        font-weight: normal;
        font-size: 13px;
    }

.dg_performance-scores__table-row .score-differential .mps-icon-counting-score,
.dg_performance-scores__table-row .score-differential .mps-icon-penalty-score {
    margin-bottom: 8px;
}

.g_performance-scores__table-head tr th[align="center"]:nth-child(3),
.g_performance-scores__table-head tr th[align="center"]:nth-child(8) {
    text-align: initial;
}

.g_performance-scores__table-head tr th[align="center"]:last-child {
    text-align: inherit;
}

.g_performance-scores__table-head tr th[align="center"]:nth-child(9) {
    text-align: center;
}

.dg_performance-scores__table tbody tr.alt-row {
    background-color: initial;
}

    .dg_performance-scores__table tbody tr.alt-row:hover {
        background-color: rgba(0, 0, 0, 0.1);
    }

.dg_performance-scores .scorecard-minimum {
    width: 94vw;
}

.dg_performance-scores__footer-right .btn {
    align-content: center;
}

.dg_performance-scores__pagination .btn{
    align-content: center;
}

@media screen and (min-width: 820px) {
    .facility-types {
        display: flex;
        justify-content: center;
    }

    .dg_performance-scores .legend-wrapper {
        display: grid;
        grid-template-columns: initial;
        grid-auto-flow: column;
        gap: 15px;
    }

    .dg_performance-scores__graph-footer {
        display: flex;
        align-items: start;
        justify-content: space-between;
        margin-top: 10px;
    }

    .dg_performance-scores__graph-filters {
        margin-right: 10px;
    }

    .dg_performance-scores__sheet.scores-container {
        padding: 34px;
    }
}

@media screen and (min-width: 1200px) {
    .dg_performance-scores__container.container {
        padding: 10px 0;
    }

    .dg_performance-scores__graph-and-info {
        padding: 0 10px;
    }

    .dg_performance-scores__graph {
        padding: 0;
    }
}

.dg_performance-scores__legend-icon .mps-icon-not-eligible-for-handicapping,
.dg_performance-scores__legend-icon .mps-icon-penalty-score,
.dg_performance-scores__legend-icon .mps-icon-four-ball {
    margin-bottom: 0.6rem;
}