﻿/*
    Common 
*/

.wizard,
.tabcontrol
{
    display: block;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.wizard a,
.tabcontrol a
{
    outline: 0;
}

.wizard ul,
.tabcontrol ul
{
    list-style: none !important;
    padding: 0;
    margin: 0;
    text-align: center;
}

.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%;
}
.newFormWrapper .wizard .steps{order: 3;}
.newFormWrapper .wizard .steps ul{display: flex; align-items: center; justify-content: center; gap: 15px;}
.newFormWrapper .wizard .steps ul li{}
.newFormWrapper .wizard .steps ul li a{margin: 0; border-radius: 50%; width: 20px; height: 20px;}
.newFormWrapper .wizard .steps ul li.current a{background: #42bc99;}
.newFormWrapper .wizard .steps ul li.done a{background: #b1efdd;}
.newFormWrapper .wizard .steps ul li a .number{display: none;}

.wizard.vertical > .steps
{
    display: inline;
    float: left;
    width: 30%;
}

.wizard > .steps .number{width: 50px; height: 50px; line-height: 1; font-weight: 700; display: flex; align-items: center; justify-content: center;}
.wizard > .steps > ul > li.current .number{color: #123a2d;}
.wizard > .steps > ul > li.error .number{color: #fff;}

.wizard > .steps > ul > li
{
    /*width: calc(100% / 4);*/
}

.wizard > .steps > ul > li,
.wizard > .actions > ul > li
{
    /*float: left;*/
    display: inline-block;
}

.wizard.vertical > .steps > ul > li
{
    float: none;
    width: 100%;
}

.wizard > .steps a,
.wizard > .steps a:hover,
.wizard > .steps a:active
{margin: 10px; border-radius: 5px; display: block;}

.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: #ffc72c;
    color: #fff;
    cursor: default;
}

.wizard > .steps .done a,
.wizard > .steps .done a:hover,
.wizard > .steps .done a:active
{
    background: #ffe19b;
    color: #fff;
}

.wizard > .steps .error a,
.wizard > .steps .error a:hover,
.wizard > .steps .error a:active
{
    background: #ff3111;
    color: #fff;
}

.wizard > .content
{
    /*background: #fff;
    display: block;
    margin: 0.5em;
    min-height: 35em;
    overflow: hidden;
    position: relative;
    width: auto;
    border:1px solid #e7e9ed;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 10px;*/
}

.wizard.vertical > .content
{
    display: inline;
    float: left;
    margin: 0 2.5% 0.5em 2.5%;
    width: 65%;
}

.wizard > .content > .body
{
    float: left;
    position: absolute;
    width: 100%;
    height: 100%;
}

.wizard > .content > .body .mainTitle{color: #000; font-size: 26px; line-height: 1;}

.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
{
    /*display: block;
    border: 1px solid #ccc;
    border: none;
    height: 50px;
    padding: 0 15px;
    font-size: 15px;*/
}

.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
{
    /*display: inline-block;
    margin-bottom: 0.5em;*/
}

.wizard > .content > .body label.error
{
    /*color: #8a1f11;
    display: inline-block;
    margin-left: 1.5em;*/
    margin: 0;
    font-size: 14px;
    color: red;
}

.wizard > .actions
{
    position: relative;
    display: block;
    text-align: center;
    width: 100%;
}

.wizard.vertical > .actions
{
    display: inline;
    float: right;
    margin: 0 2.5%;
    width: 95%;
}

.wizard > .actions > ul
{
    /*display: inline-block;*/
    text-align: right;
    display: flex;
    gap: 15px;
}

.wizard > .actions > ul > li
{
    /*margin: 0 0.5em;*/
    flex: 1;
}

.wizard.vertical > .actions > ul > li
{
    margin: 0 0 0 1em;
}

.wizard > .actions a,
.wizard > .actions a:hover,
.wizard > .actions a:active
{
    background: #123a2d;
    color: #ffc72c;
    line-height: 50px;
    /*min-width: 250px;*/
    text-align: center;
    height: 50px;
    font-size: 20px;
    /*display: inline-flex;*/
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 5px 0;
    display: flex;
    background: #42bc99;
    color: #ffffff;
}

.wizard > .actions .disabled a,
.wizard > .actions .disabled a:hover,
.wizard > .actions .disabled a:active
{
    background: #eee;
    color: #aaa;
}

.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;
}


.wizard .content {
    min-height: 100px;
}
.wizard .content > .body {
    width: 100%;
    height: auto;
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.wizard .content .body.current {
    position: relative;
}

@media (min-width: 992px) {
    .wizard > .actions > ul{justify-content: center;}
    .wizard > .actions > ul > li{flex: none;}
    .wizard > .actions a, .wizard > .actions a:hover, .wizard > .actions a:active{min-width: 200px; height: 60px;}
}