﻿:root {
    --background-color: #FFFFFF;
    --primary-color: #E66A53;
}

.stepper-form-container {
    width: 400px;
    position: relative;
    margin: auto;
}

@media (min-width: 576px) {
    .stepper-form-container {
        width: 450px;
    }
}

@media (min-width: 768px) {
    .stepper-form-container {
        width: 700px;
    }
}

@media (min-width: 992px) {
    .stepper-form-container {
        width: 800px;
    }
}
.steps {
    padding: 24px 0;
    box-shadow: 0px 10px 15px -5px rgba(0, 0, 0, 0.3);
    background-color: #FFF;
    list-style: none;
}
/************************************************/

.step {
    position: relative;
    counter-increment: list;
    padding: 0px 45px;
}

.step:not(:last-child) {
    padding-bottom: 20px;
}

.step::before {
    display: inline-block;
    content: '';
    position: absolute;
    top: 0;
    left: 21px;
    height: 100%;
    width: 10px;
    border-left: 2px solid #ccc;
}

.step::after {
    content: '';
    display: inline-block;
    position: absolute;
    top: 0;
    left: 25px;
    width: 12px;
    height: 12px;
    border: 2px solid #CCC;
    border-radius: 50%;
    background-color: #FFF;
}

.step.is-done::before {
    border-left: 2px solid green;
}

.step.is-done::after {
    content: "✔";
    font-size: 10px;
    color: #FFF;
    text-align: center;
    border: 2px solid green;
    background-color: green;
}

.step::before {
    border-left: 2px solid green;
}

.step::after {
    content: counter(list);
    padding-top: 0px;
    width: 24px;
    height: 24px;
    top: 0px;
    left: 10px;
    font-size: 14px;
    text-align: center;
    color: green;
    border: 2px solid green;
    background-color: white;
}

/********************************************************/
/*
    .steps::before {
        content: '';
        display: inline-block;
        position: absolute;
        top: 0;
        height: 24px;
        width: 1px;
        background-color: rgba(0, 0, 0, 0.2);
        left: calc(50px / 2);
        border-left: 2px solid #CCC;
        z-index: 1;
    }

    .steps::after {
        height: 13px;
        width: 13px;
        background-color: var(--primary-color);
        box-shadow: 0px 0px 5px 0px var(--primary-color);
        border-radius: 30px;
        left: calc(50px / 2);
        bottom: 24px;
        transform: translateX(-45%);
        z-index: 2;
        content: '';
        position: absolute;
        top: 0;
        left: 15px;
        width: 10px;
        height: 100%;
        border-left: 2px solid #CCC;
    }
.step {
    padding: 0 20px 24px 50px;
    position: relative;
    transition: all 0.4s ease-in-out;
    background-color: #FFF;
    counter-increment: list;
}

    .step::before {
        content: '';
        display: inline-block;
        position: absolute;
        left: calc(40px / 2);
        height: 100%;
        width: 10px;
    }

    .step::after {
        content: counter(list);
        display: inline-block;
        position: absolute;
        top: 0;
        left: calc(40px / 2);
        width: 24px;
        height: 24px;
        border: 2px solid green;
        border-radius: 50%;
        background-color: #FFF;
        font-size: 14px;
        color: green;
        text-align: center;
    }
    */
.step.minimized {
    background-color: #FFF;
    transition: background-color 0.3s ease-in-out;
    cursor: pointer;
}
.header {
    user-select: none;
    font-size: 16px;
    color: rgba(0, 0, 0, 0.6);
}

.subheader {
    user-select: none;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.4);
}

.step-content {
    transition: all 0.3s ease-in-out;
    overflow: hidden;
    position: relative;
    margin-top: 10px;
}

.step.minimized > .step-content {
    height: 0px;
}

/*    .step-content.one {
                    height: 460px;
                    width: 100%;
                    background-color: rgba(0, 0, 0, 0.05);
                    border-radius: 4px;
                    margin-top: 10px;
                }

                .step-content.two {
                    height: 600px;
                    width: 100%;
                    background-color: rgba(0, 0, 0, 0.05);
                    border-radius: 4px;
                    margin-top: 10px;
                }

                .step-content.three {
                    height: 400px;
                    width: 100%;
                    background-color: rgba(0, 0, 0, 0.05);
                    border-radius: 4px;
                    margin-top: 10px;
                }
            */
.next-btn {
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
    margin: 10px;
    /*        position: absolute;
                    top: 50%;
                margin: 20px 40px;
                border: 0;
                padding: 10px 20px;
                border-radius: 4px;
                background-color: blue;
                color: #FFF;
                transition: background-color 0.3s ease-in-out;
                cursor: pointer;
                transform: translate(-50%, -50%); */
}

.close-btn {
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
    margin: 10px;
    /*        position: absolute;
                    top: 50%;
                    left: 50%;
                 margin: 20px 40px;
                border: 0;
                padding: 10px 20px;
                border-radius: 4px;
                background-color: rgb(255, 0, 255);
                box-shadow: 0 5px 10px -3px rgba(0, 0, 0, 0.3);
                color: #FFF;
                transition: background-color 0.3s ease-in-out;
                cursor: pointer;
                transform: translate(-50%, -50%);
        */
}

/* Irrelevant styling things */
/*        .close-btn:hover {
                    background-color: rgba(255, 0, 255, 0.6);
                }

                .close-btn:focus {
                    outline: 0;
                }

            .next-btn:hover {
                background-color: rgba(255, 0, 0, 0.6);
            }

            .next-btn:focus {
                outline: 0;
            }
        */
.step.minimized:hover {
    background-color: rgba(0, 0, 0, 0.06);
}

/*Old stuff - clean up */
/*.steps {
                    padding: 24px 0;
                    box-shadow: 0px 10px 15px -5px rgba(0, 0, 0, 0.3);
                    background-color: #FFF;
                }

                    .steps::before {
                        content: '';
                        position: absolute;
                        top: 0;
                        height: 24px;
                        width: 1px;
                        background-color: rgba(0, 0, 0, 0.2);
                        left: calc(50px / 2);
                        z-index: 1;
                    }

                    .steps::after {
                        content: '';
                        position: absolute;
                        height: 13px;
                        width: 13px;
                        background-color: var(--primary-color);
                        box-shadow: 0px 0px 5px 0px var(--primary-color);
                        border-radius: 15px;
                        left: calc(50px / 2);
                        bottom: 24px;
                        transform: translateX(-45%);
                        z-index: 2;
                    }

                .step {
                    padding: 0 20px 24px 50px;
                    position: relative;
                    transition: all 0.4s ease-in-out;
                    background-color: #FFF;
                }

                    .step::before {
                        content: '';
                        position: absolute;
                        height: 13px;
                        width: 13px;
                        background-color: rgb(198, 198, 198);
                        border-radius: 15px;
                        left: calc(50px / 2);
                        transform: translateX(-45%);
                        z-index: 2;
                    }

                    .step::after {
                        content: '';
                        position: absolute;
                        height: 100%;
                        width: 1px;
                        background-color: rgb(198, 198, 198);
                        left: calc(50px / 2);
                        top: 0;
                        z-index: 1;
                    }

                    .step.minimized {
                        background-color: #FFF;
                        transition: background-color 0.3s ease-in-out;
                        cursor: pointer;
                    }

                .header {
                    user-select: none;
                    font-size: 16px;
                    color: rgba(0, 0, 0, 0.6);
                }

                .subheader {
                    user-select: none;
                    font-size: 14px;
                    color: rgba(0, 0, 0, 0.4);
                }

                .step-content {
                    transition: all 0.3s ease-in-out;
                    overflow: hidden;
                    position: relative;
                    margin-top: 10px;
                }

                .step.minimized > .step-content {
                    height: 0px;
                }*/

/*    .step-content.one {
                            height: 460px;
                            width: 100%;
                            background-color: rgba(0, 0, 0, 0.05);
                            border-radius: 4px;
                            margin-top: 10px;
                        }

                        .step-content.two {
                            height: 600px;
                            width: 100%;
                            background-color: rgba(0, 0, 0, 0.05);
                            border-radius: 4px;
                            margin-top: 10px;
                        }

                        .step-content.three {
                            height: 400px;
                            width: 100%;
                            background-color: rgba(0, 0, 0, 0.05);
                            border-radius: 4px;
                            margin-top: 10px;
                        }
                    */
/*.next-btn {
                    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
                    margin: 10px;*/
/*        position: absolute;
                            top: 50%;
                        margin: 20px 40px;
                        border: 0;
                        padding: 10px 20px;
                        border-radius: 4px;
                        background-color: blue;
                        color: #FFF;
                        transition: background-color 0.3s ease-in-out;
                        cursor: pointer;
                        transform: translate(-50%, -50%); */
/*}

                .close-btn {
                    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
                    margin: 10px;*/
/*        position: absolute;
                            top: 50%;
                            left: 50%;
                         margin: 20px 40px;
                        border: 0;
                        padding: 10px 20px;
                        border-radius: 4px;
                        background-color: rgb(255, 0, 255);
                        box-shadow: 0 5px 10px -3px rgba(0, 0, 0, 0.3);
                        color: #FFF;
                        transition: background-color 0.3s ease-in-out;
                        cursor: pointer;
                        transform: translate(-50%, -50%);
                */
/*}*/

/* Irrelevant styling things */
/*        .close-btn:hover {
                            background-color: rgba(255, 0, 255, 0.6);
                        }

                        .close-btn:focus {
                            outline: 0;
                        }

                    .next-btn:hover {
                        background-color: rgba(255, 0, 0, 0.6);
                    }

                    .next-btn:focus {
                        outline: 0;
                    }
                */
/*.step.minimized:hover {
                    background-color: rgba(0, 0, 0, 0.06);
                }*/
