﻿/*
    Common 
*/

.wizard,
.tabcontrol {
    display: block;
    width: 100%;
    overflow: hidden;
}

    .wizard a,
    .tabcontrol a {
        outline: 0;
    }

    .wizard ul,
    .tabcontrol ul {
        list-style: none !important;
        padding: 0;
        margin: 0;
    }

        .wizard ul > li,
        .tabcontrol ul > li {
            display: block;
            padding: 0;
        }

    /* Accessibility */
    .wizard > .steps .current-info,
    .tabcontrol > .steps .current-info {
        position: absolute;
        left: -999em;
    }

    .wizard > .content > .title,
    .tabcontrol > .content > .title {
        position: absolute;
        left: -999em;
    }



    /*
    Wizard
*/

    .wizard > .steps {
        position: relative;
        display: block;
        width: 100%;
        margin-bottom: 30px;
    }

    .wizard.vertical > .steps {
        display: inline;
        float: left;
        width: 30%;
    }

    .wizard > .steps .number {
        display: none; /*display: inline-block;*/
        font-size: 1.3rem;
        font-weight: 700;
        width: 40px; /*height:40px; line-height:40px;*/
        text-align: center;
        margin: 0 auto;
    }

        .wizard > .steps .number + i {
            display: block;
            font-size: 30px;
            line-height: normal;
        }

    .wizard > .steps .disabled i,
    .wizard > .steps .disabled a:hover i,
    .wizard > .steps .disabled a:active i {
        background: #f3f2ee;
        cursor: default;
    }

    .wizard > .steps .current a i,
    .wizard > .steps .current a:hover i,
    .wizard > .steps .current a:active i {
        background: var(--theme-background);
        color: #fff;
        cursor: default;
    }

    .wizard > .steps .name {
        display: block;
    }

    .wizard > .steps > ul {
        display: flex;
    }

        .wizard > .steps > ul > li {
            width: 25%;
        }

            .wizard > .steps > ul > li + li a {
                /*margin-left:15px;*/
            }

    /*.wizard > .steps > ul > li,
.wizard > .actions > ul > li
{
    float: left;
}*/

    .wizard.vertical > .steps > ul > li {
        float: none;
        width: 100%;
        position: relative;
    }

    .wizard > .steps a {
        color: var(--theme-background);
        font-size: 1rem;
        font-weight: 500;
        height: 100%;
        display: block;
        width: auto;
        /*margin: 0 0.5em 0.5em;*/
        /*padding: 1em 1em;*/
        text-decoration: none;
        text-align: center;
        /*-webkit-border-radius: 40px;
    -moz-border-radius: 40px;
    border-radius: 40px;*/
    }

        .wizard > .steps a:hover,
        .wizard > .steps a:active {
        }

    /*.wizard > .steps .disabled a,
.wizard > .steps .disabled a:hover,
.wizard > .steps .disabled a:active
{
    background: #eee;
    color: #aaa;
    cursor: default;
}

.wizard > .steps .current a,
.wizard > .steps .current a:hover,
.wizard > .steps .current a:active
{
    background: var(--theme-background);
    color: #fff;
    cursor: default;
}*/

    .wizard > .steps .done a i,
    .wizard > .steps .done a:hover i,
    .wizard > .steps .done a:active i {
        background: var(--theme-border-grid-td);
        color: #fff;
    }

    .wizard > .steps .error a i,
    .wizard > .steps .error a:hover i,
    .wizard > .steps .error a:active i {
        background: #ff3111;
        color: #fff;
    }

    .wizard > .content {
        /*background: #eee;
    display: block;
    margin: 0.5em;
    min-height: 400px;*/
        overflow: hidden;
        position: relative;
        width: auto;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
    }

    .wizard.vertical > .content {
        display: inline;
        float: left;
        margin: 0 2.5% 0.5em 2.5%;
        width: 65%;
        overflow: auto;
        background: #f7f7f7;
        border: 1px solid #ccc;
    }

    .wizard > .content > .body {
        /*float: left;
    width: 95%;
    height: 95%;
    padding: 2.5%;*/
    }

        .wizard > .content > .body ul {
            list-style: disc !important;
        }

            .wizard > .content > .body ul > li {
                display: list-item;
            }

        .wizard > .content > .body > iframe {
            border: 0 none;
            width: 100%;
            height: 100%;
        }

        .wizard > .content > .body input,
        .wizard > .content > .body .form-control {
            font-size: inherit;
            border: 1px solid #ccc;
        }

            .wizard > .content > .body input[type="checkbox"] {
                display: inline-block;
            }

            .wizard > .content > .body input.error {
                background: rgb(251, 227, 228);
                border: 1px solid #fbc2c4;
                color: #8a1f11;
            }



        .wizard > .content > .body label.error {
            color: #8a1f11;
            display: inline-block;
            margin-left: 1.5em;
        }

    .wizard > .actions {
        position: relative;
        display: block;
        text-align: right;
        width: 100%;
        padding: 10px;
        margin-top: 15px;
        background: #f5f5f5;
        border-radius: 5px;
    }

    .wizard.vertical > .actions {
        display: inline;
        float: right;
        margin: 0 2.5%;
        width: 95%;
    }

    .wizard > .actions > ul {
        display: flex;
        text-align: right;
    }

        .wizard > .actions > ul > li:nth-child(2),
        .wizard > .actions > ul > li:nth-child(3) {
            margin-left: auto;
        }

        .wizard > .actions > ul > li:nth-child(1) a:before {
            content: "\f141";
            font-family: Material Design Icons;
            margin-right: 8px;
        }

        .wizard > .actions > ul > li:nth-child(2) a:after {
            content: "\f142";
            font-family: Material Design Icons;
            margin-left: 8px;
        }

    .wizard.vertical > .actions > ul > li {
        margin: 0 0 0 1em;
    }

    .wizard > .actions a {
        background: var(--theme-background);
        color: #fff;
        display: block;
        padding: 0.5em 1em;
        text-decoration: none;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
    }

        .wizard > .actions a:hover,
        .wizard > .actions a:active {
            background: var(--warning);
            color: #fff;
        }

    .wizard > .actions .disabled a,
    .wizard > .actions .disabled a:hover,
    .wizard > .actions .disabled a:active {
        background: var(--theme-border-grid-td);
        color: #fff;
    }

    .wizard > .loading {
    }

        .wizard > .loading .spinner {
        }



    /*
    Tabcontrol
*/

    .tabcontrol > .steps {
        position: relative;
        display: block;
        width: 100%;
    }

        .tabcontrol > .steps > ul {
            position: relative;
            margin: 6px 0 0 0;
            top: 1px;
            z-index: 1;
        }

            .tabcontrol > .steps > ul > li {
                float: left;
                margin: 5px 2px 0 0;
                padding: 1px;
                -webkit-border-top-left-radius: 5px;
                -webkit-border-top-right-radius: 5px;
                -moz-border-radius-topleft: 5px;
                -moz-border-radius-topright: 5px;
                border-top-left-radius: 5px;
                border-top-right-radius: 5px;
            }

                .tabcontrol > .steps > ul > li:hover {
                    background: #edecec;
                    border: 1px solid #bbb;
                    padding: 0;
                }

                .tabcontrol > .steps > ul > li.current {
                    background: #fff;
                    border: 1px solid #bbb;
                    border-bottom: 0 none;
                    padding: 0 0 1px 0;
                    margin-top: 0;
                }

                .tabcontrol > .steps > ul > li > a {
                    color: #5f5f5f;
                    display: inline-block;
                    border: 0 none;
                    margin: 0;
                    padding: 10px 30px;
                    text-decoration: none;
                }

                    .tabcontrol > .steps > ul > li > a:hover {
                        text-decoration: none;
                    }

                .tabcontrol > .steps > ul > li.current > a {
                    padding: 15px 30px 10px 30px;
                }

    .tabcontrol > .content {
        position: relative;
        display: inline-block;
        width: 100%;
        height: 35em;
        overflow: hidden;
        border-top: 1px solid #bbb;
        padding-top: 20px;
    }

        .tabcontrol > .content > .body {
            float: left;
            position: absolute;
            width: 95%;
            height: 95%;
            padding: 2.5%;
        }

            .tabcontrol > .content > .body ul {
                list-style: disc !important;
            }

                .tabcontrol > .content > .body ul > li {
                    display: list-item;
                }

@media (max-width:767px) {
    .wizard > .steps a {
        font-size: 0.7rem;
        padding: 15px 3px;
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border-radius: 4px;
    }

    .wizard > .steps > ul > li + li a {
        margin-left: 5px;
    }


    .wizard > .steps ul > li {
        display:block!important; width: 100%;
    }
    .wizard > .steps ul > li.current{
        display:block!important; width: 100%;
    }
}
