/** 
 * steps.js是基于原生JavaScript的组件，可用于展示步骤条、时间轴等。
 * time：2018-09-22
 * version：1.0
 * by 樊小书生: http://www.fxss5201.cn/
 * github: https://github.com/fxss5201/steps
 */
 .steps {
    display: flex;
    padding: 10px;
    box-sizing: border-box;
}
.steps-horizontal {
    white-space: nowrap;
}
.steps-vertical {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.steps-center {
    text-align: center;
}
.step {
    position: relative;
    flex-shrink: 1;
}
.steps-horizontal .step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.steps-horizontal.steps-center .step {
    align-items: center;
}
.steps-vertical .step {
    display: flex;
}
.step-line-box {
    position: relative;
    width: 100%;
    margin-bottom: 10px;
}
.steps-vertical .step-line-box {
    flex-grow: 0;
    width: auto;
    margin-right: 10px;
    margin-bottom: 0;
}
.step-line {
    position: absolute;
    height: 2px;
    top: 17px;
    left: 0;
    right: 0;
    border-color: inherit;
    background-color: #c0c4cc;
}
.steps-vertical .step-line {
    width: 2px;
    top: 0;
    bottom: 0;
    left: 11px;
    height: 100%;
}
.steps-center .step-line {
    left: 50%;
    right: -50%;
}
.step-icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    font-size: 14px;
    box-sizing: border-box;
    background: #fff;
    transition: .15s ease-out;
    border-radius: 50%;
    border: 2px solid;
    border-color: inherit;
}
.step-icon-number {
    display: inline-block;
    user-select: none;
    text-align: center;
    font-weight: 700;
    line-height: 1;
    color: inherit;
}
.step-icon-bullets {
    display: inline-block;
    user-select: none;
    width: 14px;
    height: 14px;
    background-color: currentColor;
    border-radius: 50%;
}
.step-title {
    white-space: pre-line;
    padding-right: 10%;
    font-size: 22px;
    margin-bottom: 10px;
}
.steps-vertical .step-title {
    text-align: right;  
    line-height: 24px;
    padding: 0 0 8px 0;
    margin: 0 10px 0 0;
}
.step-description {
    white-space: pre-line;
    padding-right: 10%;
    font-size: 14px;
    line-height: 22px;
    font-weight: 400;
    margin: -5px 0 10px 0;
}
.steps-horizontal .step:last-child .step-title,
.steps-horizontal .step:last-child .step-description {
    padding-right: 0;
}
.steps-vertical .step-description {
    line-height: 20px;
    padding: 0 0 8px 0;
    margin: 0 10px 0 0;
}
.steps-center .step-title,
.steps-center .step-description {
    padding-right: 0;
}
.steps .step:last-child .step-line {
    display: none;
}

.step-default-class {
    color: #999;
    border-color: #999;
}
.step-finish-class {
    color: #55a722;
    border-color: #55a722;
}
.step-finish-line-bg {
    background-color: #55a722;
}
