﻿
/*.wrapper {
    width: 330px;
    font-family: "Helvetica";
    font-size: 14px;
    border: 1px solid #ccc;
}
*/
.StepProgress {
    position: relative;
    padding-left: 45px;
    list-style: none;
}

    .StepProgress::before {
        display: inline-block;
        content: "";
        position: absolute;
        top: 0;
        left: 15px;
        width: 10px;
        height: 100%;
        border-left: 2px solid #ccc;
    }

.StepProgress-item {
    position: relative;
    counter-increment: list;
}

    .StepProgress-item:not(:last-child) {
        padding-bottom: 20px;
    }

    .StepProgress-item::before {
        display: inline-block;
        content: "";
        position: absolute;
        left: -30px;
        height: 100%;
        width: 10px;
    }

    .StepProgress-item::after {
        content: "";
        display: inline-block;
        position: absolute;
        top: 0;
        left: -35px;
        width: 12px;
        height: 12px;
        border: 2px solid #ccc;
        border-radius: 50%;
        background-color: #fff;
    }

    .StepProgress-item.is-done::before {
        border-left: 2px solid #1c7eaf;
    }

/*    content: "✔";*/
    .StepProgress-item.is-done::after {
        content: "";
        font-size: 10px;
        color: #fff;
        text-align: center;
        border: 2px solid #1c7eaf;
        background-color: #1c7eaf;
    }

    .StepProgress-item.current::before {
        border-left: 2px solid #1c7eaf;
    }
    /*content: counter(list);*/
    .StepProgress-item.current::after {
        content: "";
        padding-top: 1px;
        width: 19px;
        height: 18px;
        top: -4px;
        left: -39px;
        font-size: 14px;
        text-align: center;
        color: #1c7eaf;
        border: 2px solid #1c7eaf;
        background-color: white;
    }

.StepProgress strong {
    display: block;
}


.ui-dialog .ui-dialog-buttonpane button {
    background-color: #1c7eaf;
    color: #fff;
    text-shadow: 0 0 black;
    height: 40px;
    width: 150px;
    float: right;
}



.navigation_menu {
    width: 100%;
}

.navigation_tabs {
    counter-reset: step;
}

    /* one item */
    .navigation_tabs li:first-child:nth-last-child(1) {
        width: 100%;
    }

    /* two items */
    .navigation_tabs li:first-child:nth-last-child(2),
    .navigation_tabs li:first-child:nth-last-child(2) ~ li {
        width: 49%;
    }

    /* three items */
    .navigation_tabs li:first-child:nth-last-child(3),
    .navigation_tabs li:first-child:nth-last-child(3) ~ li {
        width: 30.3333%;
    }

    /* four items */
    .navigation_tabs li:first-child:nth-last-child(4),
    .navigation_tabs li:first-child:nth-last-child(4) ~ li {
        width: 24%;
    }

    /* five items */
    .navigation_tabs li:first-child:nth-last-child(5),
    .navigation_tabs li:first-child:nth-last-child(5) ~ li {
        width: 19%;
    }

    /* six items */
    .navigation_tabs li:first-child:nth-last-child(6),
    .navigation_tabs li:first-child:nth-last-child(6) ~ li {
        width: 16%;
    }

    .navigation_tabs li {
        list-style: none;
        display: inline-block;
        position: relative;
        text-align: center;
        cursor: pointer;
    }

a {
    color: #000;
}

.navigation_tabs li a {
    text-decoration: none;
}

.navigation_tabs li:before {
    content: counter(step);
    counter-increment: step;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border: 1px solid #ddd;
    border-radius: 100%;
    display: block;
    text-align: center;
    margin: 0 auto 10px auto;
    background-color: #fff;
}

.navigation_tabs li:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 5px;
    background-color: #ddd;
    top: 13px;
    left: -50%;
    z-index: -1;
}

.navigation_tabs li:first-child:after {
    content: none;
}

.navigation_tabs li.tab_active,
.navigation_tabs li.tab_inactive,
.navigation_tabs li.tab_active a,
.navigation_tabs li.tab_inactive a {
    color: green;
}

    .navigation_tabs li.tab_active a:hover,
    .navigation_tabs li.tab_inactive a:hover {
        font-weight: bold;
    }


    .navigation_tabs li.tab_active:before {
        border-color: green;
    }

    .navigation_tabs li.tab_inactive:before {
        border-color: green;
        background-color: green;
        color: #fff;
        content: "\2713";
    }


    .navigation_tabs li.tab_inactive + li:after {
        background-color: green;
    }

    /* display summary*/
    details {
    background: #eee;
    padding: .5rem 1rem;
    list-style: none;
}



summary {
    cursor: pointer;
    list-style: none;
}

    summary > * {
        display: inline;
    }
