.demo-min-form .form-required::after{
    display: none;
}

.percent-step{
    width: 250px;
    margin-right: 0;
    margin-left: auto;
    text-align: center;
    font-weight: normal;
}

.percent-barre{
    width: 100%;
    border: 1px solid #162056;
    height: 15px;
    border-radius: 50px;
}
.percent-barre::after{
    content: " ";
    border-radius: 50px;
    display: block;
    background-color: #162056;
    height: 100%;
}
.percent-barre.percent-0::after{
    width: 0%;
}
.percent-barre.percent-17::after{
    width: 17%;
}
.percent-barre.percent-25::after{
    width: 25%;
}
.percent-barre.percent-33::after{
    width: 38%;
}
.percent-barre.percent-38::after{
    width: 38%;
}
.percent-barre.percent-50::after{
    width: 50%;
}
.percent-barre.percent-63::after{
    width: 63%;
}
.percent-barre.percent-67::after{
    width: 63%;
}
.percent-barre.percent-75::after{
    width: 75%;
}
.percent-barre.percent-83::after{
    width: 88%;
}
.percent-barre.percent-88::after{
    width: 88%;
}

form.custom-simulateur .custom-control-label{
    font-weight: normal;
    width: 100%;
}

form.custom-simulateur .custom-control-label::before {
    background-color: #FFF;
    border: 1px solid #162056;
    border-radius: 5px;
}

.hide-legend legend{
    display: none;
}
form.custom-simulateur >.row{
    margin-left: 0;
    margin-right: 0;
}
form.custom-simulateur .bullet{
    background-color: #162056;
    padding: 5px;
    border-radius: 50%;
    color: #FFF;
    width: 35px;
    display: inline-block;
    text-align: center;
    margin-right: 10px;
}

form.custom-simulateur .step{
    background-color: #f4f4f4;
    border-radius: 10px;
    padding: 20px 15px;
    position: relative;
    margin-bottom: 50px;
    margin-left: -15px;
    margin-right: -15px;
}
form.custom-simulateur .step.step-1,
form.custom-simulateur .step.step-10{
    background-color: transparent!important;
}
form.custom-simulateur .step.step-1{
    background-image: url("/themes/custom/images/simul_image.png");
    background-position: right center;
    padding-right: 33%;
    background-size: auto 80%;
    background-repeat: no-repeat;
    padding-left: 0;
}
form.custom-simulateur .step.step-1 p{
    font-weight: normal;
}

form.custom-simulateur .btn-nous-contacter{
    background-color: #fff !important;
    border-color:#162056 !important;
    color:#162056 !important;
}
form.custom-simulateur .btn-nous-contacter:hover{
    background-color: #162056 !important;
    border-color:#162056 !important;
    color:#fff !important;
}
form.custom-simulateur .custom-radio .custom-control-input:checked~.custom-control-label::before,
form.custom-simulateur  .checkbox .custom-control-input:checked~.custom-control-label::before{
    background-color: #FFF !important;
}
form.custom-simulateur .custom-control-label::before{
    width: 1.5rem;
    height: 1.5rem;
    /*outline: none!important;*/
    user-select: initial!important;
    pointer-events: initial!important;
    top: 0;
}

form.custom-simulateur div.custom-radio{
    margin-left: 0;
    min-height: 24px;
}
form.custom-simulateur .custom-radio .custom-control-input:checked~.custom-control-label::after{
    top: 50%;
    left: 4px;
    background-color: #162056;
    background-image: none;
    width: 1rem;
    height: 1rem;
    transform: translateY(-50%);
    border-radius: 3px;
}
form.custom-simulateur .custom-control-input:checked~.custom-control-label::after {
    background-color: #162056;
    background-image: none;
}

form.custom-simulateur  .checkbox .custom-control-input:checked~.custom-control-label::after {
    top: 50%;
    left: 4px;
    background-color: #162056;
    background-image: none;
    width: 1rem;
    height: 1rem;
    transform: translateY(-50%);
    border-radius: 3px;
}

form.custom-simulateur .custom-control{
    padding-left: 2rem;
    display: flex;
    align-items: center;
    margin-top: 15px;
}
form.custom-simulateur .custom-control:first-of-type{
    margin-top: 0px;
}
form.custom-simulateur .custom-radio .custom-control-input ~.custom-control-label::before,
form.custom-simulateur .custom-radio .custom-control-input ~.custom-control-label::after{
    border-radius: 50%!important;
}

@-webkit-keyframes ball-spin-fade-loader {
    50% {
      -webkit-transform: scale(0.4);
              transform: scale(0.4); }
    100% {
      -webkit-transform: scale(1);
              transform: scale(1); } }
  
  @keyframes ball-spin-fade-loader {
    50% {
      -webkit-transform: scale(0.4);
              transform: scale(0.4); }
    100% {
      -webkit-transform: scale(1);
              transform: scale(1); } }
  
.ball-spin-fade-loader {
    position: relative;
    top: 35px;
    left: 60px; 
    transform: scale(1.5);
}
.ball-spin-fade-loader > div:nth-child(1) {
    top: 25px;
    left: 0;
    -webkit-animation: ball-spin-fade-loader 1s -0.96s infinite linear;
            animation: ball-spin-fade-loader 1s -0.96s infinite linear; }
.ball-spin-fade-loader > div:nth-child(2) {
    top: 17.04545px;
    left: 17.04545px;
    -webkit-animation: ball-spin-fade-loader 1s -0.84s infinite linear;
            animation: ball-spin-fade-loader 1s -0.84s infinite linear; }
.ball-spin-fade-loader > div:nth-child(3) {
    top: 0;
    left: 25px;
    -webkit-animation: ball-spin-fade-loader 1s -0.72s infinite linear;
            animation: ball-spin-fade-loader 1s -0.72s infinite linear; }
.ball-spin-fade-loader > div:nth-child(4) {
    top: -17.04545px;
    left: 17.04545px;
    -webkit-animation: ball-spin-fade-loader 1s -0.6s infinite linear;
            animation: ball-spin-fade-loader 1s -0.6s infinite linear; }
.ball-spin-fade-loader > div:nth-child(5) {
    top: -25px;
    left: 0;
    -webkit-animation: ball-spin-fade-loader 1s -0.48s infinite linear;
            animation: ball-spin-fade-loader 1s -0.48s infinite linear; }
.ball-spin-fade-loader > div:nth-child(6) {
    top: -17.04545px;
    left: -17.04545px;
    -webkit-animation: ball-spin-fade-loader 1s -0.36s infinite linear;
            animation: ball-spin-fade-loader 1s -0.36s infinite linear; }
.ball-spin-fade-loader > div:nth-child(7) {
    top: 0;
    left: -25px;
    -webkit-animation: ball-spin-fade-loader 1s -0.24s infinite linear;
            animation: ball-spin-fade-loader 1s -0.24s infinite linear; }
.ball-spin-fade-loader > div:nth-child(8) {
    top: 17.04545px;
    left: -17.04545px;
    -webkit-animation: ball-spin-fade-loader 1s -0.12s infinite linear;
            animation: ball-spin-fade-loader 1s -0.12s infinite linear; }
.ball-spin-fade-loader > div {
    background-color: #162056;
    width: 15px;
    height: 15px;
    border-radius: 100%;
    margin: 2px;
    -webkit-animation-fill-mode: both;
            animation-fill-mode: both;
    position: absolute; }

#form-step{
    position: relative;
}
.ajax-progress-custom{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2em;
    background-color: #FFF;
    text-align: center;
}
form.custom-simulateur .ajax-progress-custom.pos-relative{
    padding: 2em;
    background-color: #FFF;
    text-align: center;
    margin: 0 auto;
    position: relative;
    display: block;
    font-weight: normal;
}

form.custom-simulateur .ajax-progress-custom .loader{
    margin: 0 auto;
    margin-bottom: 20px;
    width: 100px;
    height: 100px;
}

form.custom-simulateur .form-actions{
    margin-top: 2em;
    text-align: center;
}

form.custom-simulateur .step.step-1 .form-actions{
    text-align: left;
}


form.custom-simulateur legend{
    font-size: 1rem;
}

form.custom-simulateur .form-text{
    margin-top: 0;
}

form.custom-simulateur .step h4{
    margin-bottom: 0;
}

form.custom-simulateur .checkbox .custom-control-input:checked~.custom-control-label::after, 
form.custom-simulateur .custom-radio .custom-control-input:checked~.custom-control-label::after{
    top: 12px;
}

form.custom-simulateur #form-wrapper #form-wrapper{
    max-width: 100%;
    padding: 0;
}

form.custom-simulateur .btn.disabled, form.custom-simulateur .btn:disabled{
    cursor: not-allowed;
}
form.custom-simulateur .btn.disabled:hover, form.custom-simulateur .btn:disabled:hover{
    border-color: #162056!important;
    background-color: #162056!important;
    color: #fff;
}

label.ui-field-range{
    display: block;
}
form.custom-simulateur .ui-widget-header{
    background-color: #162056;
}
@media screen and (max-width: 991px){
    form.custom-simulateur .step label{
        width: 100%;
    }
    form.custom-simulateur .step h4 >span:last-of-type{
        display: inline-block;
        width: 90%;
        vertical-align: top;
    }

    form.custom-simulateur .step.step-1{
        padding-right: 0;
        padding-top: 400px;
        background-size: 100% auto;
        background-position: center top;
    }
    body form.custom-simulateur .step.step-1 .form-actions{
        text-align: center;
    }
}
@media screen and (max-width: 576px){
    form.custom-simulateur .step h4 >span:last-of-type{
        vertical-align: middle;
        display: contents;
    }
    form.custom-simulateur .step.step.step-2 h4 >span:last-of-type{
        display: inline-block;
        width: 80%;
        vertical-align: top;
    }

    form.custom-simulateur .step.step-1{
        padding-top: 280px;
    }
    form.custom-simulateur .form-actions button:last-of-type{
        margin-top: 1em;
    }
    .percent-step {
        width: 150px;
        font-size: 0.75rem;
    }
    form.custom-simulateur .bullet{
        height: 35px;
        padding-top: 7px;
    }
    form.custom-simulateur label.custom-control-label{
        line-height: 1.6;
    }
    form.custom-simulateur .btn-nous-contacter{
        display: block;
        margin: 0 auto;
    }
}