$color-primary: #008AD8;
.chart-refresh-icon {
    // position: absolute;
    // right: 35px;
    color: green;
    cursor: pointer;
    display: inline-block;
    .dashicons {
        font-size: 16px;
        line-height: 16px;
        display: inline-block;
        margin-left: 5px;
    }
}
.chart_update_time {
    text-transform: capitalize;
    color: green;
    font-style: italic;
    margin: 7px 0;
    font-size: 12px;
    margin-bottom: 25px;
    line-height: 17px;
}
.wisdm-learndash-reports-course-progress-rate .wisdm-learndash-reports-chart-block {
    margin-left: 0;
}
.wisdm-learndash-reports-chart-block .graph-card-container.wisdm-learndash-reports-course-progress-rate .chart-title{
    margin-bottom: 10px;
}
.chart-title{
    text-align: left;
    font-weight: bold;
}

.chart-summary-course-progress-rate {
    display: flex;
    flex-direction: row;
    border-radius: 2px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.chart-summary-revenue-figure {
    text-align: left;
    border-right: 1px dashed #9191917a;
}

.chart-summary-revenue-figure .revenue-figure {
    color: $color-primary;
}

.summary-amount {
    font-weight: 800;
}

.chart-summary-revenue-figure > div , .chart-summary-revenue-particulars > div{
    text-align: left;
    padding:2px 5px;
}

.chart-summary-revenue-particulars{
    color:#6b6b6bf5;
}

.wisdm-ld-reports-upgrade-to-pro-front .description{
    font-style: normal;
    font-weight: bold;
    font-size: 12px;
    line-height: 16px;  
    color: #444444;
}

.wisdm-ld-reports-upgrade-to-pro-front .course-progress-rate-percent-change {
    display: none;
}

a.overlay.pro-upgrade {
    display: none;
}

.wisdm-ld-reports-upgrade-to-pro-front {
    position: relative;
}

.wisdm-ld-reports-upgrade-to-pro-front a.overlay.pro-upgrade {
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    line-height: 19px;
    /* identical to box height */
    text-align: center;
    color: #FFFFFF;
}

.wisdm-ld-reports-upgrade-to-pro-front a.overlay.pro-upgrade button {
    background: linear-gradient(0deg, #FFFFFF, #FFFFFF);
    border: 1px solid #C4C4C4;
    box-sizing: border-box;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    color: #008AD8;
    font-weight:normal;
}

.wisdm-ld-reports-upgrade-to-pro-front a.overlay.pro-upgrade span.upgrade-text {
    font-style: normal;
    font-weight: bold;
    font-size: 18px;
    line-height: 1.9;
    /* identical to box height */
    text-align: center;
    color: #FFFFFF;
    font-weight: 700;
}

.wisdm-ld-reports-upgrade-to-pro-front a.overlay.pro-upgrade {
    display:flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: white;
    position: absolute;
    opacity: 0;
    top: 0px;
    -webkit-transition: background-color 0.25s ease-in, opacity 0.25s ease-in; 
    transition: background-color 0.25s ease-in, opacity 0.25s ease-in;  
    text-align: center;
    border-radius: 4px;
}

.wisdm-ld-reports-upgrade-to-pro-front:hover a.overlay.pro-upgrade {
    width: 100%;
    height: 100%;
    display:flex;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    background-color: #000000;
    opacity: 0.8;
    top: 0px;
    -webkit-transition: background-color 0.25s ease-in, opacity 0.25s ease-in; 
    transition: background-color 0.25s ease-in, opacity 0.25s ease-in; 
    text-align: center;
    border-radius: 4px;
}

a.overlay:link {
    text-decoration: none;
}

.dashicons.dashicons-lock.ld-reports.top-corner {
    position: absolute;
    top: 11px;
    right:13px;
}

.wisdm-learndash-reports-chart-block .graph-card-container .chart-summary-course-progress-rate.wisdm-ld-reports-upgrade-to-pro-front {
    padding: 0px;
}

.revenue-particulars-wrapper, .revenue-figure-wrapper {
    padding: 20px 5px 20px 5px;
}

.wisdm-ld-reports-upgrade-to-pro-front {
    background: linear-gradient(0deg, #E5E5E5, #E5E5E5), #FFFFFF;
    border-radius: 4px;
}

.chart-summary-course-progress-rate .chart-summary-revenue-figure {
    padding-left: 15px;
}

.wisdm-learndash-reports-course-progress-rate{
    .chart-summary{
        .revenue-figure-wrapper{
            border: none;
            .chart-summary-revenue-figure{
                padding-left: 0;
            }
        }
        .revenue-particulars-wrapper{
            padding: 20px;
            padding-left: 0;
        }
    }
    .note {
        font-size: 12px;
        font-style: italic;
    }
}

.wisdm-learndash-reports-course-progress-rate{
    .chart-summary.wisdm-ld-reports-upgrade-to-pro-front{
        .revenue-figure-wrapper{
            padding: 20px;
        }
    }
}
.wisdm-learndash-reports-course-completion-table th,
.wisdm-learndash-reports-course-completion-table td {
    background-color: #fff;
    border-left: none;
    border-right: none;
}
.wisdm-learndash-reports-course-completion-table td {
    padding-left: 17px;
    line-height: 18px;
    max-width: 225px;
    vertical-align: middle;
}
.wisdm-learndash-reports-course-completion-table th {
    background-color: #494949;
    color: #fff;
    text-align: left;
    padding: 17px;
    .toggle {
        padding: 6px 25px 6px 8px;
        vertical-align: middle;
        line-height: 1;
        cursor: pointer;
        background-position: calc( 100% - 15px ) center !important;
        background-repeat: no-repeat !important;
        background-image: url("../../../../assets/images/sort.png");
    }
}
td span.course-name {
    display: inline-block;
    margin: 15px 9px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: 100%;
    line-height: 1.1;
}
.progress-percentage {
    display: inline-block;
    vertical-align: super;
    color: #26A0FC;
    font-weight: 700;
}

progress.progress {
    height: 20px;
    margin-right: 60px;
}

progress.progress::-webkit-progress-bar {
    background-color: #ddd;
    width: 100%;
}
progress.progress {
    background-color: #ddd;
}

/* value: */
progress.progress::-webkit-progress-value {
    background-color: #26A0FC !important;
}
progress.progress::-moz-progress-bar {
    background-color: #26A0FC !important;
}
progress.progress {
    color: #26A0FC;
}
.wisdm-learndash-reports-duration-filter-completion {
    position: absolute;
    right: 60px;
    width: 138px;
    font-weight: normal;
    font-size: 12px;
    z-index: 3;
    .selector-label {
        margin-bottom: 0px;
    }
}

.wisdm-learndash-reports-duration-filter-completion .select-control > div > div  {
    min-height: 35px;
}


.wisdm-learndash-reports-course-progress-rate .wisdm-learndash-reports-local-filters {
    margin-bottom: 30px;
}

.load-more-ajax {
    cursor: pointer;
    font-weight: 600;
    text-decoration: underline;
}

.wisdm-learndash-reports-course-progress-rate.graph-card-container .apexcharts-legend.apexcharts-align-center.apx-legend-position-right {
    max-height: 100%;
    max-width: 40%;
    background: #F7F7F7;
    border: 1px solid #E5E5E5;
    box-sizing: border-box;
    border-radius: 4px;
    height: auto;
}

.wisdm-learndash-reports-course-progress-rate .react-tabs__tab-list {
    position: relative;
    top: auto;
    left: auto;
    padding: 0;
    border-bottom: 2px solid #D6D8E7;
    margin-bottom: 40px !important;
}
.wisdm-learndash-reports-course-progress-rate .react-tabs__tab-panel .selector.lr-learner{
    display: inline-block;
    margin: 0 5px 0;
    &:last-child {
        @media screen and (max-width: 1433px){
            margin-top: 20px;
        }
    }
    .select-control {
        min-width: 175px;
        width: 175px;
    }
    &.learner-dd {
        display: block;
        .select-control {
            width: 100%;
        }
    }
}

.wisdm-learndash-reports-chart-block .wisdm-learndash-reports-course-progress-rate .react-tabs__tab-list .react-tabs__tab {
    background: transparent;
    padding: 6px;
    border: none !important;
    min-width: 20px;
    border-radius: 0;
    color: #A0A3BD;
    font-weight: 400;
    box-shadow: none;
    &.react-tabs__tab--selected {
        border-bottom: 2px solid #008AD8 !important;
        font-weight: 700;
        color: #008AD8;
    }
}

.wisdm-learndash-reports-chart-block .wisdm-learndash-reports-course-progress-rate .react-tabs__tab-list .react-tabs__tab--selected:after {
   content: none;
}

.progress_details_modal, .wrld-modal {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999;
}
.progress_details_modal > div, .wrld-modal > div {
    background-color: #fff;
    position: relative;
    padding: 45px 50px;
    max-height: 100%;
}

.wisdm-learndash-reports-course-completion-table {
    margin-top: 20px;
    overflow-y: auto;
    max-height: 500px;
    margin-bottom: 10px;
    &::-webkit-scrollbar {
        height: 10px;
        width: 4px;
        background: #e7e7e7;
    }
    &::-webkit-scrollbar-thumb:vertical {
        border-radius: 4px;
        background: #858585;
    }
    table {
        border-right: 1px solid #ddd;
        width: 100%;
    }
}

.progress_details_modal h1 {
    font-weight: 700;
    font-size: 22px;
    color: #222222;
}

.wisdm-learndash-reports-course-progress-rate.graph-card-container .apexcharts-legend.apexcharts-align-center.apx-legend-position-right {
    max-height: 100%;
    max-width: 40%;
    background: #F7F7F7;
    border: 1px solid #E5E5E5;
    box-sizing: border-box;
    border-radius: 4px;
    height: auto;
}

.ellipses {
    background-position: calc( 100% - 15px ) center !important;
    background-repeat: no-repeat !important;
    background-image: url("../../../../assets/images/ellipses.png");
    padding: 13px 20px 13px 20px;
    /* vertical-align: middle; */
    /* line-height: 1; */
    cursor: pointer;
    /* display: inline-block; */
    position: absolute;
    right: -40px;
    top: 32px;
}
.wisdm-learndash-reports-duration-filter-completion {
    @media screen and (max-width: 1280px){
        right: 35px;
        width: 100px;
        .selector-label {
            font-size: 10px;
        }
    }
}
.download_csv {
    display: block;
    padding: 14px 30px;
    position: absolute;
    border: 1px solid #ddd;
    right: -40px;
    z-index: 1000;
    background-color: white;
    font-weight: 600;
    top: 60px;
    cursor: pointer;
}