body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: Arial;
    height: 98%;
    background-color: var(--workflow-background);
}

/** nav **/
.progress-container {
    padding: 0px 40px 125px 0px;
}

.backToLogin {
    position: absolute;
    bottom: 15px;
}

.backToLogin span {
    color: #328efe;
    cursor: pointer;
}

.backToLogin span:hover {
    color: #fea02f;
    text-decoration: underline;
}

/** nothing to see here **/
.inconspicuous-class {
    width: 10px;
    height: 10px;
    margin-top: 1px;
    margin-left: 1px;
    top: 0;
    left: 0;
    position: absolute;
}


/*Circle CSS*/
.loader {
    display: flex;
    width: 120px;
    height: 120px;
    justify-content: center;
    align-items: center;
}
.loader .circle {
    position: absolute;
    width: 76px;
    height: 76px;
    opacity: 0;
    transform: rotate(225deg);
    animation-iteration-count: infinite;
    animation-name: orbit;
    animation-duration: 5.5s;
}
.loader .circle:after {
    content: '';
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 9px;
    background-color: var(--workflow-progressbar-text);
    /* Pick a color */
}
.loader .circle:nth-child(2) {
    animation-delay: 240ms;
}
.loader .circle:nth-child(3) {
    animation-delay: 480ms;
}
.loader .circle:nth-child(4) {
    animation-delay: 720ms;
}
.loader .circle:nth-child(5) {
    animation-delay: 960ms;
}
@keyframes orbit {
    0% {
        transform: rotate(225deg);
        opacity: 1;
        animation-timing-function: ease-out;
    }
    7% {
        transform: rotate(345deg);
        animation-timing-function: linear;
    }
    30% {
        transform: rotate(455deg);
        animation-timing-function: ease-in-out;
    }
    39% {
        transform: rotate(690deg);
        animation-timing-function: linear;
    }
    70% {
        transform: rotate(815deg);
        opacity: 1;
        animation-timing-function: ease-out;
    }
    75% {
        transform: rotate(945deg);
        animation-timing-function: ease-out;
    }
    76% {
        transform: rotate(945deg);
        opacity: 0;
    }
    100% {
        transform: rotate(945deg);
        opacity: 0;
    }
}

.icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    fill: none;
}

.hidden {
    visibility: hidden;
    display: none!important;
}

/*Progress CSS*/
.progress, .counter {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: flex-start;
    padding-top: 40px;
    width: 100%;
}

/*.step:first-child {
    margin-left: 24px;
}*/

.step {
    margin-top: 10px;
    height: 40px;
    flex-grow: 1;
    position: relative;
}

.step:last-child {
    flex-grow: 0;
}

.step-progress {
    position: relative;
    left: -110px;
    width: 100px;
    height: 0.25em;
    background: var(--workflow-special);
}
.icon-wrapper {
    text-align: left;
    display: flex;
    justify-content: center;
}

.step.done .step-progress:after {
    position: absolute;
    content: '';
    height: 0.25em;
    width: 0;
    background-color: var(--workflow-progressbar-load);
    animation: growLine 0.5s linear forwards;
}

.step.inProgress .step-progress:after {
    position: absolute;
    content: '';
    height: 0.25em;
    width: 0;
    background-color: var(--workflow-progressbar-load);
    animation: progress 0.5s linear forwards;
}

.step.inProgress .icon-checkmark {
    border-color: var(--workflow-main);
}



.icon-checkmark {
    /*position: absolute;*/
    top: -0.55em;
    left: -0.125em;
    border: 0.125em solid var(--workflow-special);
    background: var(--workflow-special);
    width: 1em;
    height: 1em;
    border-radius: 50%;
    padding: 0.125em;
    border-radius: 50%;
    transition: all 0.25s linear;
}
.step.done .icon-checkmark {
    background: var(--workflow-progressbar-load);
    border-color: var(--workflow-progressbar-load);
}

.icon-checkmark .path1 {
    stroke: var(--workflow-background-light);
    stroke-width: 4;
    stroke-linecap: square;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    fill: var(--workflow-special);
}
.step.done .icon-checkmark .path1 {
    stroke: var(--workflow-special);
}

.step-text {
    letter-spacing: 1px;
    font-weight: bold;
    color: var(--workflow-progressbar-placeHolder);
    margin-top: 14px;
    margin-left: 5px;
    /*opacity: 0;*/
    flex-grow: 2;
}

.step-info {
    min-width: 45px;
    letter-spacing: 1px;
    font-weight: bold;
    color: var(--workflow-progressbar-text);
    margin-top: 14px;
    margin-right: 5px;
    opacity: 0;
    flex-grow: 1;
    text-align: right;
}

.step.done .step-text {
    color:var(--workflow-progressbar-text);
    animation: fadeIn 0.5s ease forwards;
}

.step.inProgress .step-text, .step.inProgress .step-info {
    color: var(--workflow-progressbar-text);
    animation: fadeIn 0.5s linear forwards;
    opacity: 1;
}

.step.failed svg{
    stroke: var(--global-negative);
}

@keyframes dash {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes growLine {
    to {
        width: 100%;
    }
}

@keyframes dropText {
    to {
        padding-top: 1em;
        opacity: 1;
    }
}

/*@keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;}
}*/

@keyframes fadeIn {
    from {color: var(--workflow-progressbar-placeHolder);}
    to {color:  var(--workflow-progressbar-text);}
}


.step-check {
    display: block;
    transform-origin: 50% 50%;
    transform-style: preserve-3d;
    transition: transform 0.14s ease;
}
.step.failed .step-check input + div:before, .step.failed .step-check input + div:after {
    content: '';
    width: 3px;
    height: 16px;
    background: var(--global-negative);
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 5px;
}
.step.failed  .step-check input + div:before {
    opacity: 0;
    transform: scale(0.3) translate(-50%, -50%) rotate(45deg);
    animation: bounceInBefore 0.3s linear forwards 0.3s;
}
.step.failed  .step-check input + div:after {
    opacity: 0;
    transform: scale(0.3) translate(-50%, -50%) rotate(-45deg);
    animation: bounceInAfter 0.3s linear forwards 0.3s;
}

.step-check:active {
    transform: rotateX(30deg);
}
.step-check input {
    display: none;
}
.step-check input + div {
    border: 3px solid var(--workflow-progressbar-placeHolder);
    border-radius: 50%;
    position: relative;
    width: 44px;
    height: 44px;
}
.step-check input + div svg {
    fill: none;
    stroke-width: 3.6;
    stroke: var(--workflow-progressbar-text);
    stroke-linecap: round;
    stroke-linejoin: round;
    width: 44px;
    height: 44px;
    display: block;
    position: absolute;
    left: -3px;
    top: -3px;
    right: -3px;
    bottom: -3px;
    z-index: 1;
    stroke-dashoffset: 124.6;
    stroke-dasharray: 0 162.6 133 29.6;
    transition: all 0.4s ease 0s;
}
.step-check input:checked + div svg {
    stroke-dashoffset: 162.6;
    stroke-dasharray: 0 162.6 28 134.6;
    transition: all 0.4s ease 0.2s;
}
.step-check input:checked + div:before {
    opacity: 0;
    transform: scale(0.3) translate(-50%, -50%) rotate(45deg);
    animation: bounceInBeforeDont 0.3s linear forwards 0s;
}
.step-check input:checked + div:after {
    opacity: 0;
    transform: scale(0.3) translate(-50%, -50%) rotate(-45deg);
    animation: bounceInAfterDont 0.3s linear forwards 0s;
}
@keyframes bounceInBefore {
    0% {
        opacity: 0;
        transform: scale(0.3) translate(-50%, -50%) rotate(45deg);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.1) translate(-50%, -50%) rotate(45deg);
    }
    80% {
        opacity: 1;
        transform: scale(0.89) translate(-50%, -50%) rotate(45deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) translate(-50%, -50%) rotate(45deg);
    }
}
@keyframes bounceInAfter {
    0% {
        opacity: 0;
        transform: scale(0.3) translate(-50%, -50%) rotate(-45deg);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.1) translate(-50%, -50%) rotate(-45deg);
    }
    80% {
        opacity: 1;
        transform: scale(0.89) translate(-50%, -50%) rotate(-45deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) translate(-50%, -50%) rotate(-45deg);
    }
}
@keyframes bounceInBeforeDont {
    0% {
        opacity: 1;
        transform: scale(1) translate(-50%, -50%) rotate(45deg);
    }
    100% {
        opacity: 0;
        transform: scale(0.3) translate(-50%, -50%) rotate(45deg);
    }
}
@keyframes bounceInAfterDont {
    0% {
        opacity: 1;
        transform: scale(1) translate(-50%, -50%) rotate(-45deg);
    }
    100% {
        opacity: 0;
        transform: scale(0.3) translate(-50%, -50%) rotate(-45deg);
    }
}
html {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}
* {
    box-sizing: inherit;
}
*:before, *:after {
    box-sizing: inherit;
}

#waiting-screen {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 9999;
    background-color: #cfc9c39c;
}