/*!
 * SmartWizard v4.3.x
 * jQuery Wizard Plugin
 * http://www.techlaboratory.net/smartwizard
 *
 * Created by Dipu Raj
 * http://dipuraj.me
 *
 * Licensed under the terms of MIT License
 * https://github.com/techlab/SmartWizard/blob/master/LICENSE
 */

/* SmartWizard Theme: Circles */

.sw-theme-circles {
    .sw-container {
        min-height: 300px;
    }

    .step-content {
        padding: 10px 0;
        background-color: #fff;
        text-align: start;
    }

    .sw-toolbar {
        background: #fff;
        padding-inline-start: 10px;
        padding-inline-end: 10px;
        margin-block-end: 0 !important;
    }
}

.nav.nav-tabs.step-anchor {
    border-block-end: 0 !important;
}

.sw-theme-circles {

    .sw-toolbar-bottom {
        border-block-start-color: #ddd !important;
        border-block-end-color	: #ddd !important;
    }

    > ul.step-anchor {
        position: relative;
        background: #fff;
        border: none;
        list-style: none;
        margin-block-end: 40px;

        &:before {
            content: " ";
            position: absolute;
            inset-block-start: 50%;
            inset-block-end: 0;
            width: 100%;
            height: 5px;
            background-color: #f5f5f5;
            border-radius: 3px;
            z-index: 0;
        }

        > li {
            border: none;
            margin-inline-start: 40px;
            z-index: 98;

            > a {
                border: 2px solid #f5f5f5;
                background: #f5f5f5;
                width: 75px;
                height: 75px;
                text-align: center;
                padding: 28px 0;
                border-radius: 50%;
                -webkit-box-shadow: inset 0px 0px 0px 3px #fff !important;
                box-shadow: inset 0px 0px 0px 3px #fff !important;
                text-decoration: none;
                outline-style: none;
                z-index: 99;
                color: #5c6287;
                background: #f5f5f5;
                line-height: 1;

                &:hover {
                    color: #5c6287;
                    background: #f5f5f5;
                    border-width: 2px;
                }

                > small {
                    position: relative;
                    inset-block-end: -40px;
                    color: #ccc;
                }
            }

            &.clickable > a:hover {
                color: #4285f4 !important;
            }

            &.active > a {
                border-color: #7673e6;
                color: #fff;
                background: #7673e6;

                > small {
                    color: #7673e6;
                }
            }

            &.done > a {
                border-color: #f4f5f5;
                color: #5c6287;
                background: #f4f5f5;

                > small {
                    color: #f4f5f5;
                }
            }

            &.danger > a {
                border-color: #d9534f;
                color: #d9534f;
                background: #fff;

                > small {
                    color: #d9534f;
                }
            }

            &.disabled > a {
                color: #eee !important;

                &:hover {
                    color: #eee !important;
                }
            }
        }
    }
}

/* Responsive CSS */
@media screen and (max-width: 480px) {
    .sw-theme-circles > ul.step-anchor > li {
        > a {
            width: 100%;
            height: 100%;
            border-radius: 0;
        }

        margin: 0 auto;
        margin-block-end: 1rem;

        &:last-child {
            margin-block-end: 0;
        }
    }
}
