/*
    Common
*/

.custom-wizard,
.tabcontrol
{
    display: block;
    width: 100%;
    overflow: hidden;

}

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

.custom-wizard ul,
.tabcontrol ul
{
    list-style: none !important;
    padding: 0;
    margin: 0;
    left: 0px;
    display: none;
}

.custom-wizard ul > li,
.tabcontrol ul > li
{
    display: block;
    padding: 0;
}

/* Accessibility */
.custom-wizard > .steps .current-info,
.tabcontrol > .steps .current-info
{
    position: absolute;
    left: -999em;
}

.custom-wizard > .content > .title,
.tabcontrol > .content > .title
{
    position: absolute;
    left: -999em;
}



/*
    Wizard
*/

.custom-wizard > .steps
{
    position: relative;
    display: block;
    width: 100%;
}

.custom-wizard.vertical > .steps
{
    display: inline;
    float: left;
    width: 30%;
    position: fixed;
    width: 90px;
    left: 0px;
    z-index: 999;
    text-align: center;
    margin-top: 10px;
}

.custom-wizard > .steps .number
{
    font-size: 1.429em;
}

.custom-wizard > .steps > ul > li
{
    width: 25%;
}

.custom-wizard > .steps > ul > li,
.custom-wizard > .actions > ul > li
{
    float: left;
}

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

.custom-wizard > .steps a,
.custom-wizard > .steps a:hover,
.custom-wizard > .steps a:active
{
    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;
}

.custom-wizard > .steps .disabled a,
.custom-wizard > .steps .disabled a:hover,
.custom-wizard > .steps .disabled a:active
{
    background: #FFF;
    color: #B8C2D3;
    cursor: default;
}

.custom-wizard > .steps .current a,
.custom-wizard > .steps .current a:hover,
.custom-wizard > .steps .current a:active
{
    background: #FFF;
    color: #F5851F;
    cursor: default;
}

.custom-wizard > .steps .done a,
.custom-wizard > .steps .done a:hover,
.custom-wizard > .steps .done a:active
{
    background: #FFF;
    color: #192227;
}

.custom-wizard > .steps .error a,
.custom-wizard > .steps .error a:hover,
.custom-wizard > .steps .error a:active
{
    background: var(--error-dark);
    color: #fff;
}

.custom-wizard > .content
{
    background: transparent;
    display: block;
    margin: 0;
    min-height: 35em;
    overflow: hidden;
    position: relative;
    width: auto;
    padding: 0px;
    overflow-y: auto;
}

.custom-wizard.vertical > .content
{
    display: inline;
    float: left;
    margin: 0 2.5% 0.5em 0;
    width: 100%;
    position: relative;
    padding: 0px;
    height: auto;
    background: none !important;
    margin-bottom: 5%;
}

.custom-wizard > .content > .body
{
    float: left;
    position: absolute;
    width: 100%;
/*    padding: 2.5%;*/
}

.custom-wizard .content .body.current {
    position: relative;
}

.custom-wizard > .content > .body ul
{
    list-style: disc !important;
}

.custom-wizard > .content > .body ul > li
{
    display: list-item;
}

.custom-wizard > .content > .body > iframe
{
    border: 0 none;
    width: 100%;
    height: 100%;
}

.custom-wizard > .content > .body input
{
    /*display: block;
    border: 1px solid #ccc;*/
}

.custom-wizard > .content > .body input[type="checkbox"]
{
    display: inline-block;
}

.custom-wizard > .content > .body input.error
{
    background: rgb(251, 227, 228);
    border: 1px solid #fbc2c4;
    color: #8a1f11;
}

.custom-wizard > .content > .body label
{
    display: inline-block;
    margin-bottom: 0.5em;
}

.custom-wizard > .content > .body label.error
{
    color: #8a1f11;
    display: inline-block;
    margin-left: 1.5em;
}

.custom-wizard > .actions
{
    display: flex;
    align-items: center;
    text-align: right;
    flex-direction: column;
    width: 100%;
    position: fixed;
    left: 0px;
    bottom: 0px;
    padding: 20px calc(1.25rem * 0.5 + 3.75rem + 100px + 1.875rem);
    z-index: 999;
    background: #FFF;
    box-shadow: 0px -2px 20px rgba(30, 44, 80, 0.06);
}

.custom-wizard.vertical > .actions
{
    display: inline;
    float: right;
    padding-top: 0px;
    padding-right: 1.5%;
    padding-bottom: 15px;
    z-index: 9;
}

.custom-wizard > .actions > ul
{
    display: flex;
    text-align: right;
    list-style: none;
    width: 100%;
}

.custom-wizard > .actions > ul > li:not(:last-child)
{
    margin-right: 0.5em;
}

.custom-wizard > .actions > ul > li:not(:first-child)
{
    margin-left: 0.5em;
    margin-right: 0em;
}

.custom-wizard > .actions > ul > li:has(> a[href="#next"]) {
    width: 100%;
}

.custom-wizard > .actions .disabled a,
.custom-wizard > .actions .disabled a:hover,
.custom-wizard > .actions .disabled a:active
{
    display: flex;
    align-items: center;
    text-align: center;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border: none !important;
    background: var(--glass);
    padding: 12px;
    color: var(--text-placeholder);
}

.custom-wizard > .actions .disabled a[href="#previous"],
.custom-wizard > .actions .disabled a[href="#previous"]:hover,
.custom-wizard > .actions .disabled a[href="#previous"]:active
{
    color: var(--text-disabled) !important;
    pointer-events: none;
    background-color: var(--glass) !important;
    border-color: var(--glass) !important;
    box-shadow: none;
}

.custom-wizard > .actions a[href="#previous"],
.custom-wizard > .actions a[href="#previous"]:hover,
.custom-wizard > .actions a[href="#previous"]:active
{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px;
    padding-left: 10px;
    padding-right: 14px;
    border-color:var(--sunset-lightest);
    background: var(--sunset-lightest);
    border-radius: 50%;
    color: var(--text-action);
}

.custom-wizard > .actions .disabled a[href="#next"],
.custom-wizard > .actions .disabled a[href="#next"]:hover,
.custom-wizard > .actions .disabled a[href="#next"]:active
{
    color: var(--text-disabled) !important;
    pointer-events: none;
    background-color: var(--glass) !important;
    border-color: var(--glass) !important;
    box-shadow: none;
}

.custom-wizard > .actions a[href="#next"],
.custom-wizard > .actions a[href="#next"]:hover,
.custom-wizard > .actions a[href="#next"]:active
{
    display: flex;
    align-items: center;
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background: var(--sunset);
    background: var(--sunset);
    border-radius: 28px;
    padding: 12px;
    font-size: 16px;
    color: var(--text-decor);
    height: 48px;
    width: 100% !important;
}

.custom-wizard > .actions .disabled a[href="#finish"],
.custom-wizard > .actions .disabled a[href="#finish"]:hover,
.custom-wizard > .actions .disabled a[href="#finish"]:active
{
    color: var(--text-disabled) !important;
    pointer-events: none;
    background-color: var(--glass) !important;
    border-color: var(--glass) !important;
    box-shadow: none;
}

.custom-wizard > .actions a[href="#finish"],
.custom-wizard > .actions a[href="#finish"]:hover,
.custom-wizard > .actions a[href="#finish"]:active
{
    display: flex;
    align-items: center;
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background: var(--sunset);
    background: var(--sunset);
    border-radius: 28px;
    padding: 12px;
    font-size: 16px;
    color: var(--text-decor);
    height: 48px;
    width: 100% !important;
}

.custom-wizard > .loading
{
}

.custom-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;
    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 screen and (max-width: 1200px){
    .custom-wizard > .content {
        background: transparent;
        display: block;
        margin: 0;
        min-height: 35em;
        overflow: hidden;
        position: relative;
        width: auto;
        padding: 0px;
        position: relative;
        height: calc(var(--doc-height) - 157.3617px);
        max-height: calc(var(--doc-height) - 157.3617px);
        overflow-y: auto;
    }

    .custom-wizard .actions {
        padding: 20px calc(10px + 0.3125rem);
    }

    .custom-wizard > .actions a[href="#next"],
    .custom-wizard > .actions a[href="#next"]:hover,
    .custom-wizard > .actions a[href="#next"]:active
    {
        font-size: 16px;
        font-weight: 600;
    }
}