$color-primary: #008AD8;
.wisdm-learndash-reports-total-revenue-earned .wisdm-learndash-reports-chart-block {
    margin-right: 15px;
}
.total-revenue-earned-container{
    display: flex;
    flex-direction: row;
    border-radius: 2px;
    padding: 5px;
    line-height: 1;
}

.total-revenue-earned-icon {
    max-width: 78px;
}

.total-revenue-earned-icon {
    flex:2;
}

.total-revenue-earned-details {
    text-align: left;
    flex:3;
    padding-left: 25px;
}

.total-revenue-earned-text {
    font-weight: 800;
    margin-bottom: 7px;
}

.total-revenue-earned-figure {
    font-weight: 700;
    font-size: 28px;
    color: $color-primary;
    margin-bottom: 7px;
}

.total-revenue-earned-percent-change {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    visibility: visible;
    padding-right: 6px;
}

span.dashicons.dashicons-arrow-up-alt.ld-reports {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #5cba0a;
    color: white;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

span.dashicons.dashicons-arrow-down-alt.ld-reports {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #dd3f2c;
    color: white;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.total-revenue-earned-percent-change span.change-value {
    margin: 0px 4px;
}

span.change-value-positive {
    margin: 0px 4px;
    color: #5cba0a;
}

span.change-value-negative {
    margin: 0px 4px;
    color: #dd3f2c;
}

.total-revenue-earned-percent-change .udup ~ span{
    color: #1AB900;
}

.total-revenue-earned-percent-change .uddown ~ span{
    color: #DC0000;
}