/*stepper*/

div.step-wrapper {
    position: relative;
}

ul.steppers {
    position: relative;
    display: flex;
    overflow: auto;
    counter-reset: section;
    white-space: nowrap;
    justify-content: space-between;
}

ul.steppers .step .step-title {
    line-height: 5.25em;
    height: 5.25em;
    margin: 0;
    padding: 0 2em 0 2em;
    max-width: 14em;
    min-width: 8em;
    white-space: nowrap;
    overflow-y: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

ul.steppers .step-title:before {
    position: absolute;
    counter-increment: section;
    content: counter(section);
    height: 1.75em;
    width: 1.75em;
    color: #fff;
    background-color: #b2b2b2;
    border-radius: 50%;
    text-align: center;
    line-height: 1.75em;
    font-weight: 400;
    transition: background-color .4s cubic-bezier(.4, 0, .2, 1);
    font-size: 1rem;
    top: 0.5em;
    left: 50%;
    transform: translateX(-50%);
}

ul.steppers .step.active:not(:last-of-type)::after,
ul.steppers .step:not(:last-of-type)::after {
    content: '';
    position: absolute;
    display: inline-block;
    width: 24%;
    top: 1.4em;
    margin-left: -2.5em;
    height: 1px;
    background: #2D3748;
}

ul.steppers .step.active .step-title::before,
ul.steppers .step.done .step-title::before {
    background-color: #2196f3;
}

ul.steppers .step.active .step-title>span,
ul.steppers .step.done .step-title>span {
    font-weight: bold;
}

ul.steppers .step-title>span {
    position: absolute;
    top: 75%;
    left: 0;
    width: 100%;
    text-align: center;
    transform: translateY(-50%);
}

div.step-contents {
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: calc(100vh - 9.28em - 3em);
}

div.step-contents>div {
    position: absolute;
    display: block;
    padding: 0 1.2em;
    left: -100%;
    width: 100%;
    /* overflow: hidden; */
    transition: left .4s cubic-bezier(.4, 0, .2, 1);
}

div.step-contents>.active {
    left: 0 !important;
}

div.step-contents>div.active~div {
    left: 100%;
}

@media only screen and (min-width: 601px) {
    div.step-wrapper {
        min-height: calc(100vh - 5.6em);
    }
}

@media only screen and (max-width: 600px) {
    ul.steppers .step .step-title {
        line-height: 4.25em;
        height: 4.25em;
    }
    div.step-contents {
        min-height: calc(60vh - 9.28em);
    }
    ul.steppers .step.done .step-title::before {
        background-color: transparent;
        font-weight: bold;
        font-size: 1.5em;
        content: "\2713";
        top: 0;
    }
}