/* Defaults */
body {overflow-y: unset !important;}
html, body .per_simulator {
    font-family: 'Inter Regular' !important;
}

.loading {
    background: #7832E4;
    height: 100vh;
    width: 100%;
    position: absolute;
    z-index: 16;
}

.loading.visible {display: block; /* Show the loading spinner */}
.loading {display: none; /* Hide the loading spinner by default */}

.loading span span {
    width: 4rem;
    height: 4rem;
    position: absolute;
    margin: 0 auto;
    border-radius: 50%;
    border: 0.6rem solid rgb(255 255 255 / 30%);
    border-top-color: #ffffff;
    animation: 1.5s spin infinite linear;
}

.loading > span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 82px;
    height: 82px;
}
  
  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }

  #verifyloading.lnr-sync {
    display: inline-block; /* Ensures the element has a layout */
    animation: rotate 2s linear infinite; /* Adjust the duration and timing function as needed */
  }
  
  @keyframes rotate {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
  

.per_simulator h1, h2, h3, h4, h5, h6 {
    color: #111322;
    font-family: Bw Gradual DEMO !important;
}
.per_simulator h1 {
    font-size: 30px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 38px !important;
    text-align: center !important;
}
.sec_title {
    font-size: 28px !important;
    font-weight: 600 !important;
}
.px_0 {padding-left: 0 !important;padding-right: 0 !important;}
.px_15 {padding-left: 15px;padding-right: 15px;}

.mb_40 {
    margin-bottom: 40px !important;
}

.mb_60 {
    margin-bottom: 60px !important;
}

.bold {font-weight: bold;}
.violet_clr {color:#7832E4;}
/* Form Styles */
.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* Container */

.container {
    width: 100%;
    max-width: 1200px; /* Adjust as needed */
    margin: 0 auto; /* Center the container */
    padding: 20px; /* Add padding as needed */
    box-sizing: border-box; /* Include padding and border in the total width/height */
}
.container-fluid {
    width: 100%;
    height: 100vh;
    margin-right: auto;
    margin-left: auto;
}

.row::after {
    content: "";
    clear: both;
    display: table;
}


.full_w {
    width: 100%;
    box-sizing: border-box;
    float: left;
    padding-right: 15px;
    padding-left: 15px;
}
.half_w {
    width: 50%;
    flex: 1;
    box-sizing: border-box;
    float: left;
    padding-right: 15px;
    padding-left: 15px;
}

.w40 {
    width: 40%;
    box-sizing: border-box;
    float: left;
    padding-right: 15px;
    padding-left: 15px;
}

.w60 {
    width: 60%;
    box-sizing: border-box;
    float: left;
    padding-right: 15px;
    padding-left: 15px;
}

.img-sec-container {
    background-image: linear-gradient(#e9c8f3, #8eb2e4);
}


.form-sec-container,
.img-sec-container {
    display: flex;
    flex-direction: column;
    height: 100vh; /*100% of the viewport height*/
    flex: 0 0 auto; /* Maintain their original height */
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 80%;
    margin-top: -93px;
    max-width: 455px;
}
.img-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.img-fluid {
    max-width: 100%;
    max-height: 245px;
    margin: auto;
    display: block;
}

/* Multistep form */
.per_simulator {background: #fcfcfd;}
.multistep.wizard :is(.steps, .content span.title) {
    display: none !important;
}

header.header-simulation {
    align-items: center;
    display: flex;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    justify-content: space-between;
    width: 100%;
}
.header-simulation .logo-desktop {
    margin-bottom: 8px;
    margin-left: 15px;
    margin-top: 30px;
    width: 109px;
    height: 64px;
}

.multistep.wizard .actions ul li a {
    font-weight: 700;
    width: 140px;
    text-align: center;
    border-radius: 30px;
    display: block;
    padding: 12px;
    font-size: 0.9375rem;
    text-decoration: none;
    color: #fff;
    background: #7832E4;
}

.multistep.wizard .actions ul li {
    list-style-type: none;
    display: inline-block;
    margin: 0;
    flex: 1;
}

.multistep.wizard .actions ul li.disabled {
    display: none;
}

.multistep.wizard .actions {
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 60px;
    width: 100%;
    z-index: 1; /* Adjust z-index if needed */
}

.multistep.wizard .actions ul {
    display: flex;
    gap: 10px;
    padding: 0;
    list-style: none;
    margin: 0;
}

.multistep.wizard {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    flex: 1;
}

form#multistep_sim.laststep {
    border: 2px solid #404040;
    padding: 41px 12px;
    border-radius: 20px;
    width: 43%;
    margin: 105px auto;
}

.form-sec-container .page-content {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}
.sim-form-group input {
    background-color: transparent;
    border: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    outline: none;
    padding: 10px 14px;
    width: 100%;
}


/* custom select start  */
/* Country prefix */
.select2-container--default .select2-results>.select2-results__options {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
.select2-container--countryPrefix .selection .select2-selection {
    outline: none;
    border: none;
    box-shadow: none;
    background: #e7ecf4;
    border-radius: 0;
}
.select2-container--countryPrefix ul.select2-results__options li img {
    width: 19px;
    vertical-align: text-top;
}

.select2-container--countryPrefix ul.select2-results__options li span {
    height: 100%;
    display: block;
}

.select2-container--countryPrefix .selection .select2-selection > span {height: 100%;}
.select2-container--countryPrefix .selection .select2-selection > span > span img {height: fit-content;margin-right: 5px;}
.select2-container--countryPrefix .selection .select2-selection > span > span {display: flex;line-height: 26px;}
.select2-container--countryPrefix .select2-selection--single .select2-selection__rendered {padding-left: 5px;padding-right: 10px;}
/* other select2 */
span.select2 .select2-selection {
    background: #fff;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(16,24,40,.05);
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    height: 44px;
    padding: 10px 14px;
    width: 100%;
}

span.select2:not(.select2-container--countryPrefix) {
    width: 100% !important;
    display: block;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 23px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    right: 10px;
    top: 0px;
}
/* custom select ends */

.sim-form-group {
    align-items: center;
    background-color: #fff;
    border: 1px solid #b9c0d4;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(16,24,40,.05);
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    font-size: 16px;
    font-weight: 400;
    height: 44px;
    justify-content: space-between;
    line-height: 24px;
    margin-top: 10px;
    overflow: hidden;
    transition: .2s;
    width: 100%;
}


.sim-form-group span.symb {
    font-weight: 700;
    color: #3d5f9d;
    padding: 10px;
}
.sim-form-group span.symb:not(span.lnr) {font-size: 20px}
.sim-form-group span.lnr {font-size: 20px}

.sim-form-group:has( > .error_valid) {
    border-color: #7832E466;
    box-shadow: 0 0 2px 3px rgb(255 0 0 / 10%);
}
span.error_valid {
    color: #d52b1e;
    display: block !important;
    font-size: 15px;
    text-align: center;
}
ul.nbParFisc_infos {
    list-style-type: none;
    padding: 0 !important;
    margin: 9px 0 0px !important;
}

ul.nbParFisc_infos li {
    font-size: 13px;
    margin-bottom: 3px;
    color: #5d6b98;
}

/* resultat page */
.bg_gradient {background-image: linear-gradient(#e9c8f3, #8eb2e4);}
.per_results {
    background: #fcfcfd;
    margin-bottom: 14px;
}
/* .per_results .row .half_w {
    margin: 20px 0;
} */

.per_results .per_results_infos p {
    display: block;
    background: #7832E4;
    border-bottom: 3px solid #4d10ac;
    padding: 8px;
    color: #fff;
    border-radius: 22px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}
.per_results .per_results_infos h2 {
    margin: 10px 0;
    font-size: 24px !important;
    font-weight: 600 !important;
}

.box-s {
    box-shadow: 0px 0px 17px 5px rgba(16,24,40,.05);
}


h1.infos_results_title {
    padding: 7px 0 !important;
    background: #F1F1F1;
    box-sizing: border-box;
    margin: 0 0 25px 0 !important;
    font-size: 23px !important;
}

.per_results_cont .half_w:nth-child(2) {
    border: 1px solid #f1f1f1;
    position: relative;
    box-sizing: border-box;
    padding: 15px;
}

.per_pie_chart_box {
    position: relative;
    width: 100%;
    height: 100%;
}

.per_pie_chart_box .pie_chart {
    border: 45px solid #7832e4;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    text-align: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.per_pie_chart_box .pie_chart > span span#mnt_avant_per2 {
    font-size: 27px;
    font-family: Bw Gradual DEMO;
    font-weight: 700;
    color: #7832e4;
}

.per_pie_chart_box .pie_chart > span span#mnt_avant_per_dec {
    font-size: 18px;
}

.per_results .per_results_cont {
    display: flex;
    background: #fcfcfd;
    border: 3px solid #e7ecf4;
    border-radius: 12px !important;
    padding: 20px;
}
.per_results .header_title {
    margin: 40px 20px;
    text-align: center;
}

.per_results .header_title h1 {
font-size: 30px;
}

.per_results .per_pie_chart_box canvas {
    display: block;
    margin: 0 auto;
    text-align: center;
}
.per_results .per_pie_chart_box .per_pie_chart {
    position: relative;
    width: 100%;
}

.per_results .per_pie_chart_box .per_pie_chart span {
    position: absolute;
    font-weight: 700;
    font-size: 35px;
    color: #7832E4;
    margin: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.per_results .per_pie_chart_box h2 {
    margin: 20px 0 0 0;
    text-align: center;
}

/* Réduisez le montant d'impôts css */

.reduisez_mnt {
    padding: 25px 15px;
    border: 2px solid #404040;
    border-radius: 20px;
}

.reduisez_mnt .header_txt h2 {
    font-size: 31px;
    text-align: center;
    font-weight: 800;
    line-height: 39px;
}

.reduisez_mnt .header_txt h2 span {
    display: block;
    font-size: 48px;
    font-weight: 900;
    color: #7832E4;
    line-height: 56px;
}

.sim-btn {
    font-weight: 700;
    width: 150px;
    text-align: center;
    border-radius: 30px;
    display: block;
    padding: 12px;
    font-size: 0.9375rem;
    text-decoration: none;
    margin-top: 25px;
}
a.sim-btn:focus {
    color: white !important;
    outline: none;
}
.btn-white {
    color: #7832E4;
    background: #fff;
}
.btn-red {
    background: #7832E4;
    color: #fff;
}


/* Media queries */

/* Small devices (landscape phones, 576px and up) */
/* Medium devices (tablets, 768px and up) */
@media (max-width: 768px) {
    .half_w {
        width: 100%;
    }
    .per_results .per_results_cont {
        flex-direction: column !important;
    }
    .w40, .w60 {width: 100%;}
    .reduisez_mnt, .nos_conseils {text-align: center;}
    .sim-btn {margin: 0 auto;}

    form#multistep_sim.laststep {
        padding: 0px 10px;
        border-radius: 20px;
        width: 90%;
        margin: 60px auto;
    }

    .per_simulator .multistep.wizard .actions {
        position: unset !important;
        margin-top: 30px !important;
        bottom: unset !important;
    }
    .multistep.wizard .actions ul li a {
        width: 140px;
    }
    .per_simulator .multistep.wizard.laststep .actions {
        bottom: 15px !important;
    }

    h1.qst-title {
        font-size: 23px !important;
        line-height: 30px !important;
    }
    .per_results .header_title {margin: 30px 0;}
    .per_results .header_title h1 {font-size: 24px;}
    .per_results .per_results_infos h2 {
        font-size: 18px !important;
        margin: 10px 0px !important;
    }
    .per_pie_chart_box .pie_chart {
        border: 36px solid #7832e4;
        width: 260px !important;
        height: 260px !important;
        margin: 0 auto 30px auto;
        position: unset !important;
        transform: unset !important;
    }
    .per_pie_chart_box .pie_chart > span span#mnt_avant_per2 {
        font-size: 24px !important;
    }
    img.responsive-img {
        width: 100%;
    }
    .form-sec-container, .img-sec-container {
        height: 90vh !important;
    }
}


/* temp */
footer.wp-block-template-part,
header.wp-block-template-part {
    display: none;
}

.wp-block-group.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained {
    display: none;
}


