/* Wizard */

.wizard {
    display: block;
    width: 100%;
    overflow: hidden;
    a {
        outline: 0;
    }
    ul {
        list-style: none;
        padding: 0;
        margin: 0;
        >li {
            display: block;
            padding: 0;
        }
    }
    >.steps {
        .current-info {
            position: absolute;
            left: -999em;
        }
        position: relative;
        display: block;
        width: 100%;
        .number {
            font-size: $default-font-size;
        }
        >ul {
            >li {
                width: 25%;
                @media (max-width: 767px) {
                    width: 50%;
                }
                float: left;
                text-align: center;
            }
        }
        a {
            display: block;
            width: auto;
            margin: 0 0.5em 0.5em;
            padding: 1em 1em;
            text-decoration: none;
            -webkit-border-radius: 5px;
            -moz-border-radius: 5px;
            border-radius: 5px;
            font-size: $default-font-size;
            font-weight: 600;
            &:hover {
                display: block;
                width: auto;
                margin: 0 0.5em 0.5em;
                padding: 1em;
                text-decoration: none;
                -webkit-border-radius: 5px;
                -moz-border-radius: 5px;
                border-radius: 5px;
            }
            &:active {
                display: block;
                width: auto;
                margin: 0 0.5em 0.5em;
                padding: 1em;
                text-decoration: none;
                -webkit-border-radius: 5px;
                -moz-border-radius: 5px;
                border-radius: 5px;
            }
        }
        .disabled {
            a {
                background: color(gray-lightest);
                color: color(gray);
                cursor: default;
                &:hover {
                    background: color(gray-lightest);
                    color: color(gray);
                    cursor: default;
                }
                &:active {
                    background: color(gray-lightest)e;
                    color: color(gray);
                    cursor: default;
                }
            }
        }
        .current {
            a {
                background: $primary;
                color: color(white);
                cursor: default;
                &:hover {
                    background: $primary;
                    color: color(white);
                    cursor: default;
                }
                &:active {
                    background: $primary;
                    color: color(white);
                    cursor: default;
                }
            }
        }
        .done {
            a {
                background: lighten($primary, 20%);
                color: color(white);
                &:hover {
                    background: lighten($primary, 20%);
                    color: color(white);
                }
                &:active {
                    background: lighten($primary, 20%);
                    color: color(white);
                }
            }
        }
        .error {
            a {
                background: $danger;
                color: #fff;
                &:hover {
                    background: $danger;
                    color: #fff;
                }
                &:active {
                    background: $danger;
                    color: #fff;
                }
            }
        }
    }
    >.content {
        >.title {
            position: absolute;
            left: -999em;
        }
        background: $white;
        display: block;
        margin: 0.5em;
        min-height: 24em;
        overflow: auto;
        position: relative;
        width: auto;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        border: 1px solid $border-color;
        >.body {
            float: left;
            position: absolute;
            width: 95%;
            height: 95%;
            padding: 2.5%;
            ul {
                list-style: disc;
                >li {
                    display: list-item;
                }
            }
            >iframe {
                border: 0 none;
                width: 100%;
                height: 100%;
            }
            input {
                display: block;
                border: 1px solid $border-color;
            }
            input[type="checkbox"] {
                display: inline-block;
            }
            input.error {
                background: rgb(251, 227, 228);
                border: 1px solid lighten($danger, 20%);
                color: $danger;
            }
            label {
                display: inline-block;
                margin-bottom: 0.5em;
            }
            label.error {
                color: $danger;
                display: inline-block;
                margin-left: 1.5em;
            }
        }
    }
    >.actions {
      padding-top: 20px;
        >ul {
            >li {
                float: left;
                margin: 0 0.5em;
            }
            display: inline-block;
            text-align: right;
        }
        position: relative;
        display: block;
        text-align: right;
        width: 100%;
        a {
          @extend .btn;
          @extend .btn-primary;
        }
        .disabled {
            a {
              @extend .btn-secondary;
            }
        }
    }
    &.vertical {
        >.steps {
            display: inline;
            float: left;
            width: 30%;
            @media (max-width: 767px) {
                width: 42%;
            }
            >ul {
                >li {
                    float: none;
                    width: 100%;
                    text-align: left;
                }
            }
        }
        >.content {
            display: inline;
            float: left;
            margin: 0 2.5% 0.5em 2.5%;
            width: 65%;
            @media (max-width: 767px) {
                width: 52%;
            }
        }
        >.actions {
            display: inline;
            float: right;
            margin: 0 2.5%;
            width: 95%;
            @media (max-width: 767px) {
                margin: 0;
                width: 100%;
            }
            >ul {
                >li {
                    margin: 0 0 0 1em;
                }
            }
        }
    }
}