﻿
/* Link this stylesheet to topics where you want prominent step numbers */

/* ===== PROMINENT STEP NUMBERS ===== */

ol {
    counter-reset: step-counter;
    list-style-type: none;
    padding-left: 0;
    margin-left: 0;
}

ol > li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 45px;
    margin-bottom: 1rem;
}

ol > li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background-color: #2D8DCC;
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    text-align: center;
    line-height: 28px;
}

/* ===== DEFAULT: NESTED CIRCULAR BULLETS ===== */

ol > li > ul {
    list-style-type: none;
    padding-left: 0;
    margin-top: 0.5rem;
}

ol > li > ul > li {
    position: relative;
    padding-left: 25px;
}

ol > li > ul > li::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 0.5em;
    width: 6px;
    height: 6px;
    background-color: #2D8DCC;
    border-radius: 50%;
}

/* ===== OPTION: NUMBERED SUB-STEPS ===== */

ol > li > ul.substeps {
    counter-reset: sub-step-counter;
}

ol > li > ul.substeps > li {
    counter-increment: sub-step-counter;
    padding-left: 40px;
}

ol > li > ul.substeps > li::before {
    content: counter(step-counter) "." counter(sub-step-counter, lower-alpha);
    width: auto;
    height: auto;
    background-color: transparent;
    color: #2D8DCC;
    font-weight: 600;
    font-size: 0.9rem;
    top: 0;
    left: 0;
    border-radius: 0;
}