/********************/
/*Formulaires wizard*/
/********************/
#steps {
    list-style: none;
    width: 100%;
    overflow: hidden;
    margin: 0px;
    padding: 0px;
    text-align: center;
}
#steps li:before {
    content: "";
    display: none;
}
#makeWizard {
    background-color: #b0232a;
    color: #fff;
    padding: 5px 10px;
    text-decoration: none;
    font-size: 18px;
}
#makeWizard:hover {
    background-color: #000;
}
#steps .number {
    border-radius: 50%;
    width: 40px; 
    height: 40px;
    line-height: 38px;
    background-color: #fff;
    padding: 0;
    margin: 0;
    text-align: center;
    display: inline-block;
    vertical-align: top;
    position: relative;
    font-size: 25px;
    border-width: 1px;
    border-style: solid;
    z-index: auto;
}
#steps li {
    display: inline-block;
    position: relative;
    padding: 0 10px;
}
#steps li.current {
    color: #000;
}
/*#steps span.title {
    position: absolute;
    left: 50%;
    top: 45px;
    width: 140px;
    font-size: 10px;
    margin-left: -70px;
    text-align: center;
}*/



/* test 20/02/2023 */
#steps {
    width: 100%;
}
#steps li:before {
    content: "";
    display: none
}

#steps .number {
    width: 40px;
    height: 40px;
    line-height: 38px;
    /* margin: 0 40px 60px; */
    padding: 0;
    border-radius: 50%;
    text-align: center;
    vertical-align: top;
    font-size: 20px;
    border-width: 1px;
    border-style: solid;
    border-color: #ddd;
    background-color: #fff;
    color: #bbb;
    z-index: auto;
}

#bt_envoyer,
#step1commands,
#step2commands,
#step3commands {
    margin-top: 15px;
}

#steps li {
    list-style: none;
    padding: 0 10px;
    margin: 0;
}
#steps li a:hover,
#steps li a:focus{
    background: none;
    text-decoration:none;
}
#steps li:before,
#steps li:after,
#texte #steps li:before,
#texte #steps li:after{
    display: none;
}

#steps span.title {
    display: block;
    /* position: absolute; */
    /* left: 50%; */
    /* top: 45px; */
    /* width: 140px; */
    font-size: 13px !important;
    /* margin-left: -70px; */
    text-align: center;
    /*padding: 0 15px;*/
    padding: 0;
    line-height: 1em;
    margin-top: 1em;
}

#steps span.prefixe {
    position: absolute;
    top: 10px;
    left: 5px
}

#steps li.done a .number {
    background-color: rgba(85, 85, 85, .5)
}

#steps li.done a .number,
#steps li.done a:active .number,
#steps li.done a:hover .number {
    background: #aaa;
    color: #fff
}

#steps li.current .number {
    display: block;
    position: relative;
    background-color: #bbb;
    /* border-color: #969696; */
    color: #fff;
}

#steps li.disabled .number {
    background-color: #eee;
    cursor: default
}
#steps li.disabled .number,
#steps li.disabled .title {
    color: #4c4c4c;
}
#steps li.disabled .title {
    cursor: default
}



/* form paiement Andalys */
    
#form_paiement_andalys.wizard{
    overflow: initial;
}
#form_paiement_andalys .loader {
    float: left;
    margin: 0 11px 0 0;
    color: #FFFFFF;
    display: none;
}

#form_paiement_andalys.wizard ul.typeahead {
    overflow-y: auto;
/*    max-height: 80px;*/
}

#form_paiement_andalys #libel_affaire table {
    width: auto;
    margin: 0 auto;
}
    
#paiement .disabled .btn-default {
    visibility: hidden;
}


/*************************/
/*********RESPONSIVE******/
/*************************/
@media only screen and (min-width:768px) {
    .wizard ul{
        justify-content: center; 
    }

    #steps li.done span.number:after {
        background-color: #aaa
    }
    #steps>ul,
    #steps {
        display: flex;
        margin: 2em 0;
        justify-content: space-between;
        width: 100%;
    }
    #steps li{
        display: flex;
        flex:1;
        text-align: center;
        flex-direction: column;
        align-items: center;
    }
    #steps li:first-child:before{
        display: none;
    }
    #steps li:before,
    #steps li:after, 
    #steps li.current:after {
        display: block;
        content: "";
        width: 50%;
        height: 5px;
        position: absolute;
        top: 17px;
        z-index: -1;
    }
    #steps li:before {
        left: 0;
    }

    #steps li.current:before {
        right: 30px;
    }
    #steps li:first-child .number:before,
    #steps li:last-child:after {
        display: none;
        content: "";
    }
    
    
    #steps li a{
        display: flex;
        padding: 0;
        width: 100%;
        text-align: center;
        justify-content: center;
        flex-direction: column;
    }
    #steps li:before,
    #steps li:after {
        background-color: #ddd;
    }
    #steps li:after {
        left: 50%;
    }
    #steps li.current:after {
        left: 50%;
    }
    #steps li.number:before {
        right: 100%;
        background-color: rgba(85, 85, 85, .5)
    }
    #steps li:first-child .number:before,
    #steps li:last-child:after {
        display: none;
        content: ""
    }
    #steps span.title {
        max-width: 140px;
    }
    #texte #steps li,
    #steps li {
        padding: 0;
    }
    #steps li.first .number {
        margin-left: 0
    }
    #steps li.first .title {
        /* margin-left: -100px */
    }
    #steps li.last .number {
        margin-right: 0
    }
    #steps li.last .title {
        /* margin-left: -50px */
    }
}
@media only screen and (min-width:1200px) {
    #steps li:after,
    #steps li.current:after,
    #steps li.current:before {
        /*width: 170px;*/
        /* width: 100%; */
    }
}
@media only screen and (min-width:1600px) {
/*     #steps li:after,
    #steps li.current:after,
    #steps li.current:before {
        width: 180px;

    } */
}
@media only screen and (max-width:767px) {
    #steps {
        margin: 1em 0;
    }
    .wizard ul{
    flex-wrap: nowrap;
    overflow-y: auto;
    }
}