.icon {
    display: flex;
    transform: translateX(-50%);
    z-index: 9;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    padding: 6px;
    color:#B221AD;
    background-color: rgba(237,237,237,1);
    border-radius: 50%;
}
#InscriptionForm .title{
    border-bottom: 1px rgba(0,0,0,0.11) solid
}
#InscriptionForm .form-control{
    margin: 1rem 1rem;
    border: none
}
#InscriptionForm button{
    padding : 0rem;
    border : none;
    margin-top: 1rem;
    color: white;
}
#InscriptionForm .nextBtn{
    width:50%;
    background: var(--primary-color);
    margin-left: auto
}
#InscriptionForm .prevBtn{
    width:50%;
    background: rgba(0,0,0,0.11);
    color: #3f3f3f;
}
#InscriptionForm input{
    border: 2px rgba(0,0,0,0.11) solid !important;
    margin : 0rem 0rem !important;
}
#InscriptionForm fieldset{
    padding: 1rem;
    border-top: 1px solid;
    margin-top: 1rem;
}
#InscriptionForm textarea{
    width:100%
}
#InscriptionForm #ajoutFormation{
    width:100%;
    margin:1rem 0;
    font-size: 0.8rem;
}
#InscriptionForm input.invalid {
        border: 1px solid #ff1100 !important;
    }
#InscriptionForm textarea.invalid {
    border: 1px solid #ff1100 !important;
}
#InscriptionForm input[type=radio]{
    display: none;
    appearance: none;
    cursor: pointer;
}
#InscriptionForm input[type=radio] + label{
    width: 100%;
    padding: 15px;
    padding-left: 35px;
    cursor: pointer;
    border: 2px rgba(0,0,0,0.11) solid;
    border-radius: 5px;
    display: flex;
    align-items: center;
}
#InscriptionForm input:checked + label{
    border: none !important;
    outline: 2px solid var(--primary-color);
}

#InscriptionForm input:checked + label .icon{
    color:white;
    background-color: var(--primary-color);
}
/* ecran moins large */
.form-header {
    gap: 5px;
    text-align: center;
    font-size: .9em;
}
.form-header .stepIndicator {
    position: relative;
    flex: 1;
    padding-bottom: 30px;
    margin-top: 1.5rem;
}
.form-header .stepIndicator.active {
    font-weight: 600;
}
.form-header .stepIndicator .icon {
    position: absolute;
    left: 50%;
    bottom: -40%;
    width: 60px;
    height: 60px;
    padding: 14px;
    color: white; 
}
.form-header .stepIndicator.active .icon {
    background-color: var(--primary-color);
    z-index: 1000000000000;
}
.form-header .stepIndicator::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 50%;
    width: 100%;
    height: 3px;
    background-color: #f3f3f3;
}
.form-header .stepIndicator.active::after {
    background-color:var(--primary-color);
}
.form-header .stepIndicator:last-child:after {
    display: none;
}

/* ecran large */
.stepper-vertical{
    border-right: 1px rgba(0,0,0,0.11) solid;
    text-align:right;
    flex-direction:column;
    align-items: flex-end;
    padding-right: 50px;

}
.stepper-vertical .stepIndicatorVertical{
    margin: 40px 80px 65px 0;
    position: relative;
    
}
.stepper-vertical .stepIndicatorVertical.active {
    font-weight: 600;
}
.stepper-vertical .stepIndicatorVertical .icon {
    position: absolute;
    right: -130px;
    bottom: -110%;
    width: 80px;
    height: 80px;
    padding: 17px;
    color: white; 
}
.stepper-vertical .stepIndicatorVertical.active .icon {
    background-color: var(--primary-color);
}
.stepper-vertical .stepIndicatorVertical::after {
    content: "";
    position: absolute;
    right: -52px;
    bottom: -85px;
    height: 115px;
    width: 3px;
    background-color: #f3f3f3;
}
.stepper-vertical .stepIndicatorVertical.active::after {
    background-color:var(--primary-color);
}
.stepper-vertical .stepIndicatorVertical:last-child:after {
    display: none;
}

