/* Theme toggles */

    /* Dark background (default) */
    .wo-gauge.wo-gauge-dark .progress-foreground {
        background-image: url('../img/bg_dark.png');
    }
    .wo-gauge.wo-gauge-dark .progress-text span {
        color: white;
    }
    .wo-gauge.wo-gauge-dark .progress-text span.risk {
        color: AD9AA9;
    }
    .wo-gauge.wo-gauge-dark .glass-background-color {
        filter: brightness(135%);
    }
    .wo-gauge.wo-gauge-dark .glass-border-color {
        filter: brightness(135%);
    }

    /* Light background */
    .wo-gauge.wo-gauge-light .progress-foreground {
        background-image: url('../img/bg_light.png');
    }
    .wo-gauge.wo-gauge-light .progress-text span {
        color: black;
    }
    .wo-gauge.wo-gauge-light .progress-text span.risk {
        color: #000000;
    }
    .wo-gauge.wo-gauge-light .glass-background-color {
        filter: brightness(110%);
    }
    .wo-gauge.wo-gauge-light .glass-border-color {
        filter: brightness(110%);
    }

/* Colour options */

    .wo-gauge.color-a { /* light theme - light blue */
        background-color: #4F758B;
    }

    .wo-gauge.color-b { /* light theme - purple */
        background-color: #7E5475;
    }

    .wo-gauge.color-c { /* light theme - dark blue */
        background-color: #320327;
    }

    .wo-gauge.color-d { /* dark theme - blue */
        background-color: #99ADC2;
    }

    .wo-gauge.color-e { /* dark theme - light blue */
        background-color: #B9C8D1;
    }

    .wo-gauge.color-f { /* dark theme - light pink */
        background-color: #C0ABB9;
    }

    .wo-gauge .primary-background-color {
        background-color: #AD9AA9;
    }

    .wo-gauge .secondary-background-color {
        background-color: #FF2E5B;
    }

    .wo-gauge .primary-border-color {
        border-color: #AD9AA9;
    }

/* Gauge styling and layout */

    .wo-gauge {
        display: block;
        position: relative;
        width: 100%;
    }

    /* Outer is responsible for enforcing the correct aspect ratio */
    .wo-gauge--outer {
        display: block;
        position: relative;
        width: 100%;
        height: 0;
        padding-top: 78%;
        overflow: hidden;
    }

    /* Inner is used to offset the gauge's position within it's outer rapper */
    .wo-gauge--inner {
        display: block;
        position: absolute;
        left: 0;
        top: 6%;
        width: 100%;
        height: 100%;
    }

    .wo-gauge .progress-text {
        position: absolute;
        top: 36%;
        left: 0;
        width: 100%;
        height: 60%;
        text-align: center;
    }

    .wo-gauge .progress-text span {
        display: block;
        font-size: 1em;
        margin: 0;
        padding: 0;
        line-height: 1em;
    }

    .wo-gauge .progress-text span.title {
        font-size: 1.45em;
        font-weight: normal;
    }

    .wo-gauge .progress-text span.score {
        font-family: "Objektiv Mk1", Arial, sans-serif;
        font-size: 4.8em;
        margin-top: 0.1em;
        font-weight: normal;
    }

    .wo-gauge .progress-text span.risk {
        font-family: "Objektiv Mk2", Arial, sans-serif;
        margin-top: 10%;
        font-size: 1.5em;
        font-weight: bold;
    }

    .wo-gauge .progress-text span.risk.very-high-risk {
        font-size: 1.4em;
    }
    .wo-gauge .progress-text span.risk.high-risk {
        font-size: 1.4em;
    }
    .wo-gauge .progress-text span.risk.high-medium-risk {
        font-size: 1.4em;
    }    
    .wo-gauge .progress-text span.risk.medium-risk {
        font-size: 1.4em;
    }
    .wo-gauge .progress-text span.risk.low-risk {
        font-size: 1.4em;
    }
    .wo-gauge .progress-text span.risk.low-medium-risk {
        font-size: 1.4em;
    }
    .wo-gauge .progress-text span.risk.very-low-risk {
        font-size: 1.4em;
    }

    /* Contains the overlay image */
    .wo-gauge .progress-foreground {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('../img/bg_dark.png');
        background-color: transparent;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
    }

    /* Contains the two progress halfs (left and right side) */
    .wo-gauge .progress-halves {
        position: absolute;
        top: 20%;
        left: 20%;
        width: 60%;
        height: 60%;
        top: 11.5%;
        height: 77%;
        transform: rotate(45deg);
        overflow: hidden;
    }

    /* Line marker style */
    .wo-gauge .progress-halves > .marker {
        float: left;
        border-radius: 100%;
        position: absolute;
        left: 0;
        top: 0;
        width: 30px;
        height: 30px;
        margin-left: -15px;
        margin-top: -15px;
        z-index: 500 !important;
    }

    /* Inner marker style to add the dot within the end marker */
    .wo-gauge .progress-halves > .marker > .marker-inner {
        display: block;
        position: relative;
        width: 40%;
        height: 40%;
        left: 30%;
        top: 30%;
        border-radius: 100%;
    }

    /* One half of the progress guage */
    .wo-gauge .progress-halves .progress-half {
        overflow: hidden;
        position: absolute;
        width: 50%;
        height: 100%;
    }

    /* The progress bar within one half of the gauge */
    .wo-gauge .progress-halves .progress-half .bar {
        position: absolute;
        border-width: 30px;
        border-style: solid;
        border-radius: 50%;
        height: 100%;
        width: 200%;
        transform: rotate(-180deg);
        clip: rect(0px, 0px, 0px, 0px); /* As IE/Edge does no support clip-path yet */
        /* clip-path: inset(0px 50% 0px 0px); */
    }

    /* First half sits on the left */
    .wo-gauge .progress-halves .progress-half--first {
        transform: rotate(0deg);
        left: 0;
        top: 0;
    }

    /* Second half sits on the right, rotated 180 degrees */
    .wo-gauge .progress-halves .progress-half--second {
        transform: rotate(180deg);
        right: 1px; /* Have it overlap slightly */
        top: 0;
    }
