.nav-tabs[data-wizard] li {
    position: relative;
    padding: 0;
    margin: 4px 4px 4px 0;
    width: 100%;
    text-align: center;
    border-radius: 0;
}

.step-heading .nav-tabs[data-wizard] li {
    position: relative;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: center;
    border-radius: 0;
}

.nav-tabs[data-wizard] li>* {
    position: relative;
    padding: 1em 1.5em;
    cursor: default;
    text-align: left;
    font-weight: bold;
}

.nav-tabs[data-wizard] li.active>*,
.nav-tabs[data-wizard] li.validated.active>*,
.nav-tabs[data-wizard] li.validated.active a:hover {
    border-bottom: none;
}

.nav-tabs[data-wizard] li.validated>*,
.nav-tabs[data-wizard] li.validated a:hover {
    border-bottom: none;
    cursor: pointer;
}

ul[data-wizard] span.step-index {
    display: inline-block;
    padding: 10px 0 0 0;
    background: #ffffff;
    width: 35px;
    line-height: 100%;
    height: 35px;
    margin: auto;
    border-radius: 50%;
    border: 1px solid;
    font-weight: bold;
    font-size: 16px;
    color: #555;
    margin-right: 10px;
    text-align: center;
}

.btn-current-step span.step-index {
    display: inline-block;
    padding: 5px 0 0 0;
    background: #ffffff;
    width: 23px;
    height: 23px;
    line-height: 100%;
    margin: 2px 0px;
    border-radius: 50%;
    border: 1px solid;
    font-weight: bold;
    font-size: 12px;
    color: #555;
    margin-right: 2px;
    text-align: center;
}

.dropdown-menu[data-wizard] li>a {
    opacity: 0.7;
}

.dropdown-menu[data-wizard] li.validated>a,
.dropdown-menu[data-wizard] li.active>a {
    opacity: 1;
}

.nav-tabs[data-wizard],
.tab-content[data-wizard] {
    /* margin-top:20px; */
    width: 100%;
}

.tab-content[data-wizard]>.tab-pane {
    width: 100%;
}

.step-heading .nav-tabs[data-wizard] {
    margin-top: 0;
}

.modal-footer .panel-footer {
    background: transparent;
    border-top: none;
}

/*
|--------------------------------------------------------------------------
| Step Indicator
|--------------------------------------------------------------------------
*/

.step-indicator {
    text-align: center;
    padding: 5px 100px 2em;
    width: 100%;
    white-space: nowrap;
}

.step-indicator .step-indicator-item {
    display: inline-block;
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #dddddd;
    margin: 3px 25px;
    background: white;
}

.step-indicator .step-indicator-item:not(:first-child)::before {
    content: " ";
    position: absolute;
    top: calc(50% - 2px);
    right: calc(100% + 2px);
    width: 54px;
    height: 4px;
    background: #dddddd;
}

.step-indicator .step-indicator-item:not(.validated) a {
    cursor: default;
}

.step-indicator.step-indicator-vertical {
    padding: 5px;
    padding-bottom: 3em;
    padding-right: 200px;
    width: 100%;
    height: 100%;
}

.step-indicator.step-indicator-vertical .step-indicator-item {
    display: block;
    margin: 32px 3px 0px;
}

.step-indicator.step-indicator-vertical .step-indicator-item:not(.active) {
    display: block;
    margin: 32px 12.5px 0px;
}

.step-indicator.step-indicator-vertical .step-indicator-item:not(:first-child)::before {
    top: -34px;
    right: calc(50% - 2px);
    width: 4px;
    height: 34px;
}

.step-indicator .step-indicator-item.active {
    width: 50px;
    height: 50px;
}

.step-indicator .step-indicator-item .step-indicator-item-content {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.step-indicator .step-indicator-item .step-indicator-item-content,
.step-indicator .step-indicator-item .step-name {
    -webkit-transition: opacity 0.3s;
    -moz-transition: opacity 0.3s;
    -o-transition: opacity 0.3s;
    transition: opacity 0.3s;
}

.step-indicator .step-indicator-item .step-indicator-item-content:hover,
.step-indicator .step-indicator-item .step-name:hover {
    opacity: 0.8;
}

.step-indicator .step-indicator-item .step-name {
    display: block;
    position: absolute;
    top: calc(100% + 5px);
    right: calc(-130px + 50%);
    text-align: center;
    width: 260px;
    font-size: 1.2em;
}

.step-indicator.step-indicator-vertical .step-indicator-item .step-name {
    position: absolute;
    top: calc(50% - 0.6em);
    left: calc(100% + 10px);
    text-align: left;
    width: 180px;
    white-space: normal;
    word-break: break-word;
    overflow: hidden;
    height: 3em;
    line-height: 1.5em;
}

.step-indicator:not(.step-indicator-vertical) .step-indicator-item .step-name {
    display: none;
}

.step-indicator:not(.step-indicator-vertical) .step-indicator-item.active .step-name {
    display: block;
}

.step-indicator .step-indicator-item.validated.active .step-name {
    font-size: 1.35em;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
}

.step-indicator .step-indicator-item.validated.active a {
    font-size: 1.35em;
}

.dropdown-menu>li>a.no-white-space {
    white-space: normal;
}

.dropdown-menu:not(.datetimepicker)>li.text-left {
    text-align: left;
}


/*
|--------------------------------------------------------------------------
| Media Queries
|--------------------------------------------------------------------------
*/

@media only screen and (max-width: 991px) {
    .nav-tabs[data-wizard] li {
        width: 100%;
    }

    .nav-tabs[data-wizard] li:not(.active) {
        display: none;
    }

    .panel-footer.wizard-footer {
        padding: 5px 6px;
    }
}
