﻿.handicap-info-icon-container {
    vertical-align: super;
    text-decoration: none;
    margin-left: 8px;
}

.handicap-info-icon {
    font-size: 16px;
}

.dg_performance-scores__sheet {
    border: 1px solid #ececec;
    padding: 40px 40px;
    background-color: #fff;
    box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .dg_performance-scores__sheet {
        border: none;
        box-shadow: none;
        padding: 0;
    }
}

.dg_performance-scores__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 20px;
}

.dg_performance-scores__head-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.dg_performance-scores__branding {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-height: 24px;
    text-align: right;
}

.dg_performance-scores__branding--my-scores {
    margin: 8px 0;
}

.dg_performance-scores__branding-text {
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
}

.dg_performance-scores__branding-logo,
.dg_performance-scores__handicap-index-logo {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    flex-shrink: 0;
    object-fit: contain;
}

.dg_performance-scores__branding-logo {
    max-height: 20px;
}

.dg_performance-scores__handicap-index-logo {
    max-height: 90px;
}

    .dg_performance-scores__head-actions .btn-primary {
        padding: 10px 15px;
    }

.dg_performance-scores__body {
    position: relative;
    overflow-x: auto;
    min-height: 300px;
}

.dg_performance-scores__loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.7);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: start;
    gap: 5px;
    z-index: 1;
    justify-content: center;
    padding-top: 80px;
}


.dg_performance-scores__title-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dg_performance-scores__info,
.dg_performance-scores__help {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 16px;
}

.dg_performance-scores__table {
    width: 100%;
    min-width: 800px;
}

    .dg_performance-scores__table thead {
        background-color: #000;
        color: #fff;
    }

    .dg_performance-scores__table th {
        padding: 20px;
        white-space: nowrap;
    }

        .dg_performance-scores__table th[align=center] {
            text-align: center;
        }

        .dg_performance-scores__table th i {
            margin-left: 5px;
            cursor: pointer;
        }

    .dg_performance-scores__table tbody tr {
        border-bottom: 1px solid lightgrey;
        cursor: pointer;
    }

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

        .dg_performance-scores__table tbody tr.score-divider {
            border-bottom: 4px solid #000;
        }

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

        .dg_performance-scores__table tbody tr.combined-row {
            border-bottom: none;
        }

    .dg_performance-scores__table tbody td {
        padding: 20px;
    }

        .dg_performance-scores__table tbody td.col-hd {
            padding-left: 40px;
        }

        .dg_performance-scores__table tbody td > div {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
        }

        .dg_performance-scores__table tbody td.col-hd > div {
            justify-content: start;
        }

    .dg_performance-scores__table tbody tr.expanded {
        border-bottom: 1px solid #e8e8e8;
    }

    .dg_performance-scores__table tbody .child-row {
        border-bottom: 2px solid transparent;
    }

        .dg_performance-scores__table tbody .child-row.expanded {
            border-bottom: 2px solid #000;
        }

        .dg_performance-scores__table tbody .child-row:hover {
            background-color: transparent;
            cursor: default;
        }

        .dg_performance-scores__table tbody .child-row > td {
            padding: 0;
        }

    .dg_performance-scores__table tbody .score-details {
        overflow: hidden;
        height: 0;
        opacity: 0;
        max-height: 0;
        width: 100%;
        transition: all 0.3s ease;
    }

    .dg_performance-scores__table tbody .score-details__loader {
        text-align: center;
    }

    .dg_performance-scores__table tbody .score-details__inner {
        padding: 20px;
        width: 100%;
        position: relative;
    }

    .dg_performance-scores__table tbody .close-btn {
        appearance: none;
        border: none;
        background: none;
        font-size: 26px;
        position: absolute;
        right: 10px;
        top: 10px;
    }

.whs-rated {
    margin-top: 20px;
}

@media (max-width: 768px) {
    .dg_performance-scores .scorecard-minimum {
        position: relative;
        padding-top: 20px;
    }

    .dg_performance-scores__table tbody .scorecard-minimum .close-btn {
        position: absolute;
        top: -10px;
        font-size: medium;
    }

    .dg_performance-scores__table tbody .score-details__inner > .close-btn {
        display: none;
    }

    .dg_performance-scores__sheet {
        padding: 20px;
    }
}

.score-details__loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(3px);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
}

.dg_performance-scores .row-content__header {
    padding-top: 1.4rem;
    padding-bottom: 1.4rem;
}

.dg_performance-scores .row-content__key {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.dg_performance-scores .key {
    display: flex;
    align-items: center;
    gap: 3px;
}

.dg_performance-scores .score {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 4rem;
    height: 4rem;
    font-weight: 600;
    font-size: 1.4rem;
    position: relative;
}

.dg_performance-scores .key__icon {
    width: 20px;
    height: 20px;
    font-size: 12px;
    letter-spacing: 0.01em;
    font-weight: 300;
}

.dg_performance-scores .key__text {
    font-size: 1.2rem;
    letter-spacing: 0.01em;
    padding-left: 1rem;
}

.dg_performance-scores .score.is-eagle {
    background-color: #49D190;
    font-weight: 400;
}

.dg_performance-scores .score.is-birdie {
    background-color: #FE4F47;
    font-weight: 400;
}

.dg_performance-scores .score.is-na {
    color: #fff;
    background-color: #051219;
    font-weight: 400;
    border-radius: 0;
}

    .dg_performance-scores .score.is-na:after {
        background: none;
        border: 1px solid #FFF;
        content: "";
        display: block;
        position: absolute;
        top: 2px;
        left: 2px;
        right: 2px;
        bottom: 2px;
        pointer-events: none;
    }

.dg_performance-scores .score.is-par {
    color: #051219;
    background-color: rgba(0, 0, 0, 0);
    font-weight: 400;
}

.dg_performance-scores .score.is-bogey {
    background-color: #188DE2;
    font-weight: 400;
    border-radius: 0;
}

.dg_performance-scores .score.is-bogey2 {
    background-color: #051219;
    font-weight: 400;
    border-radius: 0;
}

    .dg_performance-scores .score.is-bogey2:after {
        background: none;
        border: 1px solid #FFF;
        content: "";
        display: block;
        position: absolute;
        top: 2px;
        left: 2px;
        right: 2px;
        bottom: 2px;
        pointer-events: none;
    }

.dg_performance-scores .key__icon.score.is-bogey2 > span {
    width: 16px;
    height: 16px;
    border: 1px solid #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dg_performance-scores .score.is-total {
    color: #051219;
    text-align: center;
}


.dg_performance-scores .key__icon.score:after {
    border: none !important;
}

.dg_performance-scores .row-content__body {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    padding-bottom: 0;
    margin-bottom: 2rem;
    border-top: 1px solid #BFC4C8;
    border-bottom: 1px solid #BFC4C8;
}

.dg_performance-scores .score.is-bogey2 span,
.dg_performance-scores .score.is-bogey span,
.dg_performance-scores .score.is-na span,
.dg_performance-scores .score.is-birdie span,
.dg_performance-scores .score.is-eagle span,
.dg_performance-scores .key__icon span {
    color: #fff;
}

.dg_performance-scores .score.is-par span {
    color: #000;
}

@media (min-width: 992px) {
    .dg_performance-scores .row-content__col--left {
        border-right: 1px solid #BFC4C8;
    }
}

.dg_performance-scores .score--text {
    color: #000000;
    font-size: 13px;
    font-weight: 400;
}

.dg_performance-scores .score-container {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dg_performance-scores .row-content__col--left .score {
    justify-content: flex-start;
}

.row-content__scroll {
    position: relative;
    width: calc(100% - (40px * 2));
    flex: 0 0 calc(100% - (40px * 2));
    max-width: calc(100% - (40px * 2));
    overflow: auto;
}

.show-leaderboard-mobile-swipe.remove-swipe .row-content__scroll__mobile-swipe {
    opacity: 0;
    visibility: hidden;
    transition: all .5s linear 2s;
}

.score-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.data-holes-is-out .score-container--out {
    display: flex;
}

.row-content__scroll .score {
    position: relative;
}

.score-container--out-in .score--text {
    color: #051219;
}

.row-content__col--right {
    background-color: #F5F5F6;
    border-left: 2px solid #BFC4C8;
    text-align: center;
}

.row-content__scroll__mobile-swipe {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    opacity: 0;
    visibility: hidden;
}


.dg_performance-scores .text-left {
    text-align: left !important;
}

.dg_performance-scores .border-left {
    border-left: 1px solid darkgrey !important;
}

.dg_performance-scores .text-right {
    text-align: right !important;
}

.dg_performance-scores .border-right {
    border-right: 1px solid darkgrey !important;
}

.dg_performance-scores .open-score {
    text-decoration: none;
    color: var(--color-3);
}

.dg_performance-scores .score-details__footer {
    margin-top: 10px;
}

.dg_performance-scores .competition-score {
    font-weight: bold;
}

.dg_performance-scores .open-score-link {
    margin-top: 20px;
    display: flex;
    gap: 5px;
    align-items: center;
    text-decoration: none;
}

/**** SCORE COMMENTS ****/
.dg_performance-scores .score-comments {
    font-size: 15px;
    margin-bottom: 20px;
    margin-top: 20px;
}

.dg_performance-scores .score-comments__title {
    margin-bottom: 10px;
}

.dg_performance-scores .score-comments input,
.dg_performance-scores .score-comments button {
    font-size: 15px;
}

.dg_performance-scores .score-comments input {
    padding: 22px 10px;
    border: none;
    border-left: 1px solid #000;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
}

.dg_performance-scores .score-comments button:active,
.dg_performance-scores .score-comments .form-control:focus {
    outline: none;
}

.dg_performance-scores .score-comments button {
    height: 100%;
    border-color: #000;
    background-color: #000;
    color: #fff;
}

    .dg_performance-scores .score-comments button:hover {
        background-color: #fff;
        color: #000;
    }

.dg_performance-scores .score-comments .friend-comment {
    padding: 18px;
    background-color: #ececec;
    border-radius: 20px;
}

.dg_performance-scores .score-comments .my-photo-container {
    width: 45px;
    height: 45px;
    margin-right: 0;
    float: right;
}

    .dg_performance-scores .score-comments .my-photo-container svg {
        width: 100%;
        height: 100%;
        flex: 1 1 100%;
        display: flex;
        border-radius: 50%;
        background-color: #ececec;
        padding: 8px;
        color: #0F2A31;
        vertical-align: middle;
        fill: currentColor;
        stroke: currentColor;
    }

.dg_performance-scores .score-comments .score-comments__item {
    margin-top: 15px;
}

    .dg_performance-scores .score-comments .score-comments__item .my-photo-container > img {
        border-radius: 50%;
    }

@media (max-width: 575px) {
    .dg_performance-scores .score-comments .my-photo-container {
        float: left !important;
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .dg_performance-scores .scorecard-full, .score-legend {
        display: none !important;
    }
}

.dg_performance-scores .scorecard-minimum table {
    font-size: 14px;
    width: 100% !important;
}

    .dg_performance-scores .scorecard-minimum table tr.bg-grey {
        background-color: #c7c7c7;
    }

    .dg_performance-scores .scorecard-minimum table tr.bg-light-grey {
        background-color: #f3f3f3;
    }

    .dg_performance-scores .scorecard-minimum table td {
        vertical-align: middle;
        padding: 6px 2px;
    }

    .dg_performance-scores .scorecard-minimum table:not(.text-left) td {
        text-align: center;
    }

    .dg_performance-scores .scorecard-minimum table td span.is-eagle {
        background-color: #49D190;
        color: #333;
        border: 2px solid #00964e;
        border-radius: 50%;
        width: 22px;
        height: 22px;
        display: inline-grid;
        line-height: 18px;
        text-align: center;
    }

    .dg_performance-scores .scorecard-minimum table td span.is-birdie {
        background-color: #FE4F47;
        color: #fff;
        border: 1px solid #840600;
        border-radius: 50%;
        width: 22px;
        height: 22px;
        display: inline-grid;
        line-height: 21px;
        text-align: center;
    }

    .dg_performance-scores .scorecard-minimum table td span.is-par {
        background-color: #fff;
        width: 22px;
        height: 22px;
        text-align: center;
    }

        .dg_performance-scores .scorecard-minimum table td span.is-par.bordered {
            border: 1px solid #e8e8e8;
            display: inline-grid;
            line-height: 21px;
        }

    .dg_performance-scores .scorecard-minimum table td span.is-bogey {
        background-color: #188DE2;
        color: #fff;
        border: 1px solid #003d69;
        width: 22px;
        height: 22px;
        display: inline-grid;
        line-height: 21px;
        text-align: center;
    }

    .dg_performance-scores .scorecard-minimum table td span.is-bogey2,
    .dg_performance-scores .scorecard-minimum table td span.is-na {
        background-color: #051219;
        color: #fff;
        border: 2px solid #777;
        width: 22px;
        height: 22px;
        display: inline-grid;
        line-height: 18px;
        text-align: center;
    }

.dg_performance-scores .scorecard-minimum {
    display: block;
    width: 85vw;
    margin-left: -20px;
}

.dg_performance-scores .close-btn-minimum {
    appearance: none;
    border: none;
    background: none;
    font-size: 26px;
    right: 10px;
    top: 10px;
    text-align:end;
}

.dg_performance-scores .btn.disabled {
    cursor: wait;
    opacity: 0.4;
}

@media (min-width: 768px) {
    .dg_performance-scores .table__row-content.content-is-active {
        border-bottom: 1px solid #8D8D93;
        border-top: 1px solid lightgrey;
    }

    .dg_performance-scores .row-content__scroll {
        width: calc(100% - (70px * 2));
        flex: 0 0 calc(100% - (70px * 2));
        max-width: calc(100% - (70px * 2));
    }

    .dg_performance-scores .scorecard-minimum {
        display: none;
    }
}

.dg_performance-scores .scores-table-legend {
    margin-bottom: 20px;
}

.dg_performance-scores__footer {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-top: 20px;
}

    .dg_performance-scores__footer nav a:not([href]) {
        pointer-events: none;
        opacity: 0.4;
    }

.dg_performance-scores__pagination {
    display: flex;
    align-items: center;
    gap: 15px;
}

    .dg_performance-scores__pagination > div {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 14px;
    }

.dg_performance-scores__filters {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

@media (max-width: 992px) {
    .dg_performance-scores__footer {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
}

.dg_performance-scores__graph-and-info {
    display: flex;
    align-items: start;
    justify-content: space-between;
    margin-bottom: 30px;
}

.dg_performance-scores__graph-body {
    position: relative;
}

    .dg_performance-scores__graph-body .dg_performance-scores__loader {
        padding-top: 20px;
        position: static;
        justify-content: start;
    }

        .dg_performance-scores__graph-body .dg_performance-scores__loader.dg_performance-scores__loader--absolute {
            padding-top: 0;
            position: absolute;
            justify-content: center;
            align-items: center;
        }

.dg_performance-scores__graph {
    width: 70%;
    padding-right: 15px;
}

.dg_performance-scores__graph-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 12px;
}

.dg_performance-scores__graph-title h4 {
    margin-bottom: 0;
}

.dg_performance-scores__stats-box {
    width: 33%;
    padding-left: 15px;
    min-width: 410px;
    position: relative;
}

.dg_performance-scores__stats-logo-panel {
    min-height: 140px;
    margin-bottom: 16px;
    padding: 20px 24px;
    border: 1px solid #ececec;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .dg_performance-scores__stats-box .dg_performance-scores__sheet {
        min-height: 300px;
        padding: 30px;
    }

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

.dg_performance-scores .legend-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

    .dg_performance-scores .legend-wrapper .label {
        font-size: 12px;
        white-space: nowrap;
    }

.dg_performance-scores .legend {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dg_performance-scores .filter-container .btn-primary {
    padding: 12px 20px;
    background-color: #e2e2e2;
}

    .dg_performance-scores .filter-container .btn-primary.focus {
        background-color: #c0c0c0;
    }

.dg_performance-scores .filter-container--mobile {
    display: none;
}

@media all and (max-width: 992x) {
    .dg_performance-scores .filter-container--desktop {
        display: none;
    }

    .dg_performance-scores .filter-container--mobile {
        display: flex;
    }
}

@media all and (max-width: 1200px) {
    .dg_performance-scores__graph-and-info {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .dg_performance-scores__stats-box,
    .dg_performance-scores__graph {
        width: 100%;
        padding: 0;
    }
}

@media (max-width: 768px) {
    .dg_performance-scores__head,
    .dg_performance-scores__graph-title {
        flex-direction: column;
        align-items: flex-start;
    }

    .dg_performance-scores__branding,
    .dg_performance-scores__head-actions {
        width: 100%;
        justify-content: flex-end;
        text-align: left;
    }

    .dg_performance-scores__branding--my-scores {
        justify-content: center;
        margin-bottom: 0;
    }

    .dg_performance-scores__branding-text {
        white-space: normal;
    }
}
.dg_performance-scores .vital-stats__title {
    font-size: 24px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.dg_performance-scores .handicap-index {
    padding-top: 40px;
    border-bottom: 1px solid grey;
    padding-bottom: 10px;
}

    .dg_performance-scores .handicap-index span {
        font-weight: normal;
        font-size: 60px;
        line-height: 42px;
    }

.dg_performance-scores .score-entered-asterisk {
    font-family: sans-serif;
}

.dg_performance-scores .vital-stats__info {
    margin-top: 15px;
}

    .dg_performance-scores .vital-stats__info + .vital-stats__info {
        margin-top: 2px;
    }


.dg_performance-scores .handicap-status, .low-handicap-index {
    margin-top: 15px;
    font-size: 16px;
    padding-top: 0px !important;
    margin-bottom: -12px !important;
}

.dg_performance-scores .low-handicap-index-short {
    margin-top: 0px;
    font-size: 16px;
    padding-top: 0px !important;
    margin-bottom: -12px !important;
}

.dg_performance-scores .club-member {
    margin-top: 25px;
}

    .dg_performance-scores .club-member .small-text {
        font-size: 14px;
        color: #03131B;
    }

.dg_performance-scores .tiles {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.dg_performance-scores .tile {
    background: #000;
    border-radius: 2px;
    padding: 11px 15px;
    width: 99px;
}

.dg_performance-scores .stat-caption,
.dg_performance-scores .stat-number {
    color: #fff;
}

.dg_performance-scores .stat-caption {
    font-size: 12px;
    margin-top: 4px;
}

.dg_performance-scores .last-updated {
    margin-top: 20px;
    font-size: 12px;
}

.dg_performance-scores .score-entered-today {
    display: flex;
    margin-top: 14px;
    font-size: 12px;
}

.dg_performance-scores .legend .shape {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dg_performance-scores .legend-handicap .shape {
    background-color: #006E69;
    border: 1.5px solid #54D3B7;
}

.dg_performance-scores .legend-counter .shape {
    background-color: #E7B241;
    border: 1.25px solid #FBE39A;
}

.dg_performance-scores .legend-noncounter .shape {
    background-color: #E63D38;
    border: 1.25px solid #F7BAAA;
}

.dg_performance-scores .legend-history .shape {
    background-color: #1856DD;
    border: 1.25px solid #71A3F4;
}

.dg_performance-scores .dg_performance-scores__graph-filters {
    display: flex;
    align-items: center;
    gap: 5px;
}

    .dg_performance-scores .dg_performance-scores__graph-filters .badge {
        background-color: #8D8D93;
        color: #fff;
        cursor: pointer;
    }

        .dg_performance-scores .dg_performance-scores__graph-filters .badge.active {
            background-color: #000;
        }



.dg_performance-scores .custom-offcanvas {
    position: fixed;
    top: 0;
    right: -577px; /* Initially hidden */
    width: 577px;
    height: 100%;
    opacity: 0;
    background: white;
    box-shadow: -3px 0 5px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease-in-out, opacity 0.5s ease-in-out;
    z-index: 1050;
    overflow-y: auto;
}

.dg_performance-scores .custom-offcanvas__inner {
    position: relative;
}

    .dg_performance-scores .custom-offcanvas__inner .close-btn {
        font-size: 28px;
        position: absolute;
        top: 15px;
        right: 25px;
        z-index: 2;
    }


.show-legends .custom-offcanvas {
    right: 0;
    opacity: 1;
}

body.show-legends {
    padding-right: 15px;
    overflow: hidden;
}


/* Background overlay */
.dg_performance-scores .offcanvas-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
    z-index: 21;
    backdrop-filter: blur(5px);
}

.show-legends .offcanvas-backdrop {
    opacity: 1;
    visibility: visible;
}

.dg_performance-scores .offcanvas-title {
    font-size: 32px;
}

.dg_performance-scores .offcanvas-header {
    position: fixed;
    background-color: #fff;
    padding: 20px 30px;
    width: 565px;
    z-index: 1;
}

.dg_performance-scores .offcanvas-body {
    padding: 100px 30px 30px;
    z-index: 0;
}

.dg_performance-scores .dg_performance-scores__legend {
    display: flex;
    gap: 20px;
    align-items: start;
}

    .dg_performance-scores .dg_performance-scores__legend.center-aligned {
        align-items: center;
    }

    .dg_performance-scores .dg_performance-scores__legend + .dg_performance-scores__legend {
        margin-top: 25px;
    }

.dg_performance-scores__legend-icon {
    width: 30px;
    min-width: 30px;
    display: flex;
    justify-content: center;
}



.dg_performance-scores__legend-body h5 {
    font-size: 15px;
}

.dg_performance-scores__legend-body p {
    margin-top: 10px;
}

.dg_performance-scores .fa-spin {
    -webkit-animation: fa-spin 2s infinite linear;
    animation: fa-spin 2s infinite linear;
}

@media (max-width: 580px) {
    .dg_performance-scores .custom-offcanvas,
    .dg_performance-scores .offcanvas-header {
        width: 100%;
    }
}

[class*="mps-icon-"] {
    width: 22px;
    height: 22px;
    display: inline-block;
    transform: translateY(2px);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.mps-icon--with-value {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.mps-icon-counting-score {
    background-image: url('/controls-vue/my-performance-and-scores/icons/counting-score.png');
}

.mps-icon-awaiting-approval {
    background-image: url('/controls-vue/my-performance-and-scores/icons/awaiting-approval.png');
}

.mps-icon-casual {
    background-image: url('/controls-vue/my-performance-and-scores/icons/casual.png');
}

.mps-icon-confirming-social {
    background-image: url('/controls-vue/my-performance-and-scores/icons/confirming-social.png');
}

.mps-icon-not-eligible-for-handicapping {
    background-image: url('/controls-vue/my-performance-and-scores/icons/not-eligible-for-handicapping.png');
}

.mps-icon-four-ball {
    background-image: url('/controls-vue/my-performance-and-scores/icons/four-ball.png');
}

.mps-icon-no-score {
    background-image: url('/controls-vue/my-performance-and-scores/icons/no-score.png');
}

.mps-icon-no-score-approved {
    background-image: url('/controls-vue/my-performance-and-scores/icons/no-score-approved.png');
}

.mps-icon-illigitimate {
    background-image: url('/controls-vue/my-performance-and-scores/icons/illigitimate.png');
}

.mps-icon-combined-9hole {
    background-image: url('/controls-vue/my-performance-and-scores/icons/combined-9hole.png');
}

.mps-icon-unattached-9hole {
    background-image: url('/controls-vue/my-performance-and-scores/icons/unattached-9hole.png');
}

.mps-icon-competition-score {
    background-image: url('/controls-vue/my-performance-and-scores/icons/competition-score.png');
}

.mps-icon-penalty-score {
    background-image: url('/controls-vue/my-performance-and-scores/icons/penalty-score.png');
}

.mps-label-exceptional-score::before {
    content: 'ESR';
}

[class*="mps-label-"] {
    margin-right: 2px;
}

.mps-label-official-adjustment::before {
    content: 'Adj';
}

.mps-label-includes-expected-score {
    font-size: x-large;
    margin-top: -5px !important;
}

.mps-label-includes-expected-score::before {
    content: '*';
}

.dg_performance-scores__profile {
    margin-top: 30px;
    margin-bottom: 10px;
}

.dg_performance-scores__profile--link {
    text-transform: uppercase;
}

.dg_performance-scores__profile--name {
    margin-top: 20px;
}

.dg_performance-scores .input-group-append .btn, 
.dg_performance-scores .input-group-prepend .btn {
    z-index: 1;
}

.dg_performance-scores .key__icon.is-eagle span {
    align-self: center;
    line-height: 10px !important;
}

.input-user-comment .input-group .form-control {
    border-bottom: 1px solid #D9DADB;
    border-top: 0;
    border-left: 0;
    border-right: 0;
}

.dg_performance-scores .score-comments button {
    border-color: #007bff;
    background-color: transparent;
    color: #007bff;
}

    .dg_performance-scores .score-comments button:hover {
        background-color: #007bff;
        color: #fff;
    }

@media screen and (max-width: 760px) {
    .score-comments .input-user-comment, .score-comments .friend-comment {
        max-width: 320px;
    }
}