/*****
 * LINECO Widget: Horizontal Fill Graph
 *
 * Note:
 *      Do not edit this directly; it comes from an external widget.
 *      Edit in the Widgets: Forms CSS file.
******/

/****
 * Horizontal Fill Graph v1.0.1
****/

    /* NOTE: I did the thing, and edited here. 
     * TODO: Put back where it goes, get real version number,
     * or put changes in other stylesheets. 
     */

.horiz-fill-graph {
    max-width: 100%;
    height: 1rem;
    padding: 0;
    border-radius: 1rem;
    background: #d1d5db;
}

.horiz-fill-graph::before {
    content: attr(data-percentage) '%';
    display: block;
    font-weight: bold;
    background: transparent;
    width: 3rem;
    height: 1rem;
    padding: 0;
    border-radius: 1rem;
    margin: 0;
    text-align: center;
}

.horiz-fill-graph.js-filled::before {
    background-color: #e4af24;
    color: transparent;
    text-align: left;
}

.horiz-fill-graph.js-filled.show-percent::before {
    color: #333;
}



.horiz-fill-graph-proper-container {
    overflow: hidden;
}

.horiz-fill-graph-proper {
    position: relative;
    border-radius: 50%;
    width: 100%;
    height: auto;
    padding-top: 100%;
}

.horiz-fill-graph-proper::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70%;
    height: 70%;
    margin: -35% 0 0 -35%;
    background-color: white;
    border-radius: 100%;
}
