﻿
.steps {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: flex-start;
}

.step-item {
    display: inline-block;
    position: relative;
}

    .step-item + .step-item {
        margin-left: 5px;
    }

@media (min-width: 480px) {
    .step-item + .step-item {
        margin-left: 10px;
    }
}

@media (min-width: 768px) {
    .step-item + .step-item {
        margin-left: 36px;
    }
}

.step-item + .step-item::before {
    content: '\f287';
    font-family: 'Ionicons';
    font-size: 16px;
    font-weight: 400;
    color: #c0ccda;
    position: absolute;
    top: 50%;
    left: -26px;
    line-height: 0;
    display: none;
}

@media (min-width: 768px) {
    .step-item + .step-item::before {
        display: block;
    }
}

.step-item.active .step-link {
    color: #0168fa;
}

.step-item.active .step-number,
.step-item.active .step-icon {
    background-color: #0168fa;
    border-color: #0168fa;
    color: #fff;
}

.step-item.active ul li.complete a {
    color: #0168fa;
    text-decoration: line-through;
}

.step-item.active ul li.active a {
    color: #0168fa;
}

.step-item.active ul li.disabled a {
    color: #97a3b9;
}

.step-item.disabled .step-link {
    color: #8392a5;
    cursor: default;
}

.step-item.disabled .step-number,
.step-item.disabled .step-icon {
    border-color: #8392a5;
    color: #8392a5;
}

.step-item.disabled .step-desc {
    color: #8392a5;
}

.step-item.disabled ul a {
    color: #8392a5;
}

.step-item.complete .step-link {
    color: #10b759;
}

.step-item.complete .step-number,
.step-item.complete .step-icon {
    background-color: #10b759;
    border-color: #10b759;
    color: #fff;
}

.step-item.complete ul li.complete a {
    color: #10b759;
    text-decoration: line-through;
}

.step-item ul {
    position: relative;
    margin: 5px 0 -15px 12px;
    padding: 0;
    list-style: none;
    border-left: 1px solid rgba(72, 94, 144, 0.16);
    padding-left: 26px;
}

@media (min-width: 576px) {
    .step-item ul {
        margin-left: 16px;
    }
}

.step-item ul a {
    color: #8392a5;
    display: block;
}

.step-item:last-child ul {
    margin-bottom: 0;
}

.step-link {
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 12px;
    color: #1b2e4b;
}

@media (min-width: 576px) {
    .step-link {
        font-size: 13px;
    }
}

@media (min-width: 992px) {
    .step-link {
        font-size: 14px;
    }
}

.step-link:hover, .step-link:focus {
    color: #1b2e4b;
}

.step-link > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin-left: 12px;
}

    .step-link > div span {
        display: block;
    }

    .step-link > div .step-title {
        margin-left: 0;
    }

.step-number {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Inter UI", Roboto, sans-serif;
    color: #8392a5;
    border: 2px solid #8392a5;
    border-radius: 100%;
}

@media (min-width: 768px) {
    .step-number {
        width: 32px;
        height: 32px;
    }
}

.step-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid #8392a5;
    color: #8392a5;
    border-radius: 100%;
}

    .step-icon svg {
        width: 20px;
        height: 20px;
    }

.step-title {
    margin-left: 5px;
    width: 50px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (min-width: 375px) {
    .step-title {
        width: 60px;
    }
}

@media (min-width: 480px) {
    .step-title {
        width: 100px;
    }
}

@media (min-width: 576px) {
    .step-title {
        margin-left: 10px;
        width: auto;
        white-space: normal;
    }
}

@media (min-width: 768px) {
    .step-title {
        width: auto;
        overflow: visible;
        text-overflow: inherit;
    }
}

.step-desc {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: #8392a5;
}

.steps-sm .step-item + .step-item::before {
    font-size: 12px;
}

.steps-sm .step-link {
    font-size: 11px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, "Inter UI", Roboto, sans-serif;
    text-transform: uppercase;
    letter-spacing: .2px;
}

.steps-sm .step-number {
    width: 25px;
    height: 25px;
}

.steps-lg .step-link {
    font-size: 12px;
}

@media (min-width: 576px) {
    .steps-lg .step-link {
        font-size: 14px;
    }
}

@media (min-width: 992px) {
    .steps-lg .step-link {
        font-size: 16px;
    }
}

.steps-lg .step-number {
    width: 32px;
    height: 32px;
}

@media (min-width: 576px) {
    .steps-lg .step-number {
        width: 38px;
        height: 38px;
    }
}

@media (min-width: 992px) {
    .steps-lg .step-number {
        width: 42px;
        height: 42px;
    }
}

.steps-lg .step-title {
    display: flex;
    flex-direction: column;
}

    .steps-lg .step-title span {
        display: block;
        line-height: 1.2;
    }

.steps-justified {
    display: flex;
    align-items: center;
}

    .steps-justified .step-item {
        flex: 1;
    }

        .steps-justified .step-item + .step-item::before {
            display: none;
        }

    .steps-justified .step-link {
        width: 100%;
    }

.steps-tab .step-item + .step-item {
    margin-left: 1px;
}

    .steps-tab .step-item + .step-item::before {
        display: none;
    }

.steps-tab .step-item.active .step-link {
    background-color: #0168fa;
    color: #fff;
}

.steps-tab .step-item.active .step-number {
    border-color: #fff;
}

.steps-tab .step-item.complete .step-link {
    background-color: #10b759;
    color: #fff;
}

.steps-tab .step-item.complete .step-number {
    border-color: #fff;
}

.steps-tab .step-item.disabled .step-number {
    border-color: #e3e7ed;
}

.steps-tab .step-link {
    background-color: #eff2f5;
    padding: 5px 7px;
}

@media (min-width: 576px) {
    .steps-tab .step-link {
        padding: 8px 15px;
    }
}

.steps-vertical {
    display: flex;
    flex-direction: column;
}

    .steps-vertical .step-item + .step-item {
        margin-left: 0;
        margin-top: 25px;
    }

        .steps-vertical .step-item + .step-item::before {
            content: '';
            position: absolute;
            top: -20px;
            left: 12px;
            height: 15px;
            width: 1px;
            background-color: #cdd4e0;
            display: block;
        }

@media (min-width: 576px) {
    .steps-vertical .step-item + .step-item::before {
        left: 16px;
    }
}

.steps-vertical .step-title {
    width: auto;
    white-space: normal;
}

.steps-vertical.steps-tab .step-item + .step-item {
    margin-top: 1px;
}

.steps-vertical.steps-sm .step-item + .step-item::before {
    left: 12px;
}
