/* override simplex step title styles */
.opc .step-title{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    transition: background-color 0.5s;
}
.opc .step-title h2{
    font-size: 0.9em;
    text-transform: unset;
}

.opc .step-title .number{
    font-size: 0.9em;
    flex: 0 0 auto;
}

.opc .step-title:hover{
    background-color: #DDD;
    transition: none;
}

/* additional steps styling */
.opc .step-dropdown-icon{
    margin-left: auto;
    padding-left: 0.5em;
}

.steps-container{
    position: relative;
    text-align: left;
    min-height: 20em; /* set to height of side image */
}

.step-title, .step-description{
    padding-right: 1em;
    width: 50%;
}

.step-title{
    cursor: pointer;
    position: relative;
}

.step-description{
    padding: 1em;
}

.step-container{
    padding-right: 2em;
    margin-bottom: 1em;
}


.step-picture.aside{
    position: absolute;
    top: 0;
    right: 0;
    left: 50%;
    height: 20em; /* set to height of side image */
    opacity: 0;
    transition: all 0.5s;
}

.step-picture.inline{
    margin-top: 1em;
    height: 10em; /* set to height of images on mobile */
    display: none;
}

.step-container.hover .step-picture{
    opacity: 1;
}
/* image shown when the user is not hovering any step */
.step-picture.default{
    background: url('placeholder-img/Step3-Protoweb.gif') no-repeat center center;
    background-size: cover;
}

/* images of each step */
.step-register .step-picture{
    background: url('placeholder-img/Step1-Protoweb.gif') no-repeat center center;
    background-size: cover;
}

.step-fill-in .step-picture{
    background: url('placeholder-img/Step2-Protoweb.gif') no-repeat center center;
    background-size: cover;
}
.step-upload .step-picture{
    background: url('placeholder-img/Step3-Protoweb.gif') no-repeat center center;
    background-size: cover;
}

.step-price-request .step-picture{
    background: url('placeholder-img/Step4-Protoweb.gif') no-repeat center center;
    background-size: cover;
}
.step-confirm .step-picture{
    background: url('placeholder-img/Step5-Protoweb.gif') no-repeat center center;
    background-size: cover;
}


/* on small screens, the images are shown underneath each step description */
@media screen and (max-width:767px){
    .steps-container{
        min-height: unset;
    }

    .step-picture.inline{
        display: block;
    }

    .step-picture.aside{
        display: none;
    }

    .step-title, .step-description{
        width: 100%;
    }

    .step-container{
        padding-right: 0;
    }
}