﻿
.my-vital-stats {
    padding: 30px;
    width: 380px;
    background: #FFFFFF;
    border-radius: 3rem;
    position: relative;
    box-shadow: 0px 3px 8px rgba(0,0,0,0.2);
    margin: 30px auto;
}

    .my-vital-stats h4 {
        color: #e30137;
        font-size: 24px;
    }

    .my-vital-stats .handicap-index {
        font-weight: normal;
        font-size: 60px;
        line-height: 42px;
        padding-top: 40px;
        padding-bottom: 10px;
        border-bottom: 2px solid #e30137;
    }

    .my-vital-stats .low-handicap-index {
        padding-top: 10px;
        font-size: 16px;
    }

    .my-vital-stats .small-text {
        font-size: 14px;
        color: #03131B;
        margin-top: 26px;
        margin-bottom: 16px;
    }

    .my-vital-stats .topcornerimage {
        display: none;
    }

    .my-vital-stats .tile {
        color: #FFFFFF;
        background: #333333;
        border-radius: 2px;
        padding: 11px 15px;
        width: 99px;
    }

        .my-vital-stats .tile:first-child, .my-vital-stats .tile:nth-child(2) {
            margin-right: 11px;
        }

        .my-vital-stats .tile .stat-number {
            font-size: 1.8rem;
        }

        .my-vital-stats .tile .stat-caption {
            font-size: 12px;
            margin-top: 4px;
        }

    .my-vital-stats .last-updated {
        margin-top: 0;
        margin-bottom: 14px;
    }

    .my-vital-stats .score-entered-asterisk {
        font-family: sans-serif;
    }

    .my-vital-stats .score-entered-today {
        display: flex;
        margin-top: 14px;
    }

        .my-vital-stats .score-entered-today .score-entered-asterisk {
            font-size: 55px;
            margin-right: 9px;
            margin-bottom: -25px;
            margin-top: -4px;
        }

/* make my perf mobile friendly */
@media (min-width: 321px) {
    .my-vital-stats {
        /*margin: 20px;*/
        float: none !important;
        width: calc(100% - 40px);
    }

        .my-vital-stats .small-text {
            float: none;
        }

    .tiles {
        float: none;
    }

    .my-chart {
        margin-left: 0;
        max-width: calc(100% - 5px);
        flex: 0 0 100%;
    }

    .table-text--name {
        font-size: 14px;
    }
}

@media (min-width: 1200px) {
    .my-vital-stats {
        /*margin-top: -100px;*/
        float: right !important;
        width: 380px;
    }

        .my-vital-stats .handicap-index {
            padding-top: 40px;
            border-bottom: 1px solid #BFC4C8;
        }

        .my-vital-stats .small-text {
            float: none;
            margin-top: 26px;
        }

    .tiles {
        float: none;
        margin-top: 0;
    }

    .my-chart {
        margin-right: 20px;
        margin-left: 10px;
        width: 100%;
        max-width: 90.66667%;
        flex: 0 0 90.66667%;
    }

    .table-text--name {
        font-size: 15px;
    }
}
/* /make my perf mobile friendly */

/* Chart JS */
.my-performance {
    margin-top: 10px;
}

    .my-performance h4 {
        margin-bottom: 30px;
        font-size: 18px;
        color: #e30137;
        font-weight: 700;
    }

@media all and (min-width:321px) and (max-width: 500px) {
    .legend-wrapper {
        padding-left: 2rem !important;
    }

        .legend-wrapper .legend {
            font-size: 1.2rem;
        }

    .filter-label-container {
        margin-bottom: .5rem;
    }
}

.legend-wrapper .legend {
    margin-right: 18px;
}

.legend-wrapper .label {
    margin-top: 4px;
}

.legend-wrapper .shape {
    border-radius: 50%;
    width: 10px;
    height: 10px;
    margin-right: 7px;
}

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

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

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

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

.my-performance .filter-label {
    margin-right: 10px;
}

.badge-pill {
    font-weight: normal;
    padding: 7px 8px 3px 8px;
    margin-right: 10px;
    cursor: pointer;
}

.badge-primary {
    background-color: #8D8D93;
    color: #FFFFFF;
}

    .badge-primary.active {
        background-color: #e30137;
        color: #ffffff;
    }

.my-name.friends-name {
    font-size: 2.4rem;
}