/* Defaults */
/* html, body {
    font-family: 'Inter Regular';
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    height: 100%;
    margin: 0;
} */
body {overflow-y: unset !important;}
html, body .per_simulator {
    font-family: 'Inter Regular' !important;
}

.loading {
    background: #d52b1e;
    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);
    }
  }
  

.impo_simulator h1, h2, h3, h4, h5, h6 {
    color: #111322;
    font-family: Bw Gradual DEMO !important;
}

.impo_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;
}

.bold {font-weight: bold;}
.red_clr {color:#d52b1e;}
/* 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%;
    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 */
.impo_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: 60px;
}

.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: #d52b1e;
}

.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;
    width: 100%;
    z-index: 1;
    margin-top: 30px;
    margin-bottom: 30px;
}

.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 radio  */
.radio-container input[type="radio"] {
    opacity: 0;
    position: absolute;
}
.radio-container {
    display: flex;
    justify-content: center;
}

.radio-container .radio-label {
    display: inline-block;
    position: relative;
    padding: 10px 20px;
    margin: 5px;
    width: 90px;
    border-radius: 20px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: 2px solid #d52b1e;
}
.radio-container input[type="radio"]:checked + .radio-label {
    background-color: #dc0e07;
    color: #fff;
}
.radio-container input[type="radio"]:checked + .radio-label:before {
    content: "\e87f";
    font-family: 'Linearicons-Free';
    font-weight: bold;
    margin-right: 2px;
    margin-left: -2px;
}
/* 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: 12px}
.sim-form-group span.lnr {font-size: 20px}

.sim-form-group:has( > .error_valid) {
    border-color: #d52b1e66;
    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.bareme_infos {
    list-style-type: none;
    padding: 0;
}

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

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

.impo_results .impo_results_infos {
    background: #fcfcfd;
    border: 3px solid #e7ecf4;
    border-radius: 12px !important;
    padding: 20px;
}

.impo_results .impo_results_infos p {
    display: block;
    background: #d52b1e;
    padding: 12px;
    color: #fff;
    border-radius: 10px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}

.impo_results .header_title {
    margin: 40px 20px;
    text-align: center;
}

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

.impo_results .impo_pie_chart_box canvas {
    display: block;
    margin: 0 auto;
    text-align: center;
}
.impo_results .impo_pie_chart_box .impo_pie_chart {
    position: relative;
    width: 100%;
}

.impo_results .impo_pie_chart_box .impo_pie_chart span {
    position: absolute;
    font-weight: 700;
    font-size: 35px;
    color: #d52b1e;
    margin: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.impo_results .impo_pie_chart_box h2 {
    margin: 20px 0 0 0;
    text-align: center;
    font-size: 24px !important;
    font-weight: 700 !important;
}

.impo_results_infos h2 {
    font-size: 24px !important;
    font-weight: 700 !important;
}

/* 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: #d52b1e;
    line-height: 56px;
}

.sim-btn {
    font-weight: 700;
    width: 120px;
    text-align: center;
    border-radius: 30px;
    display: block;
    padding: 12px;
    font-size: 0.9375rem;
    text-decoration: none;
    margin-top: 25px;
}

.btn-white {
    color: #d52b1e !important;
    background: #fff !important;
}
.btn-red {
    background: #d52b1e !important;
    color: #fff !important;
}

/* Media queries */

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

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

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

    h1.qst-title {
        font-size: 23px;
        line-height: 30px;
    }
    .impo_results .header_title {margin: 30px 0;}
    .impo_results .header_title h1 {font-size: 24px;}
    .impo_results .impo_results_infos h2 {font-size: 18px;margin: 0px;}
}


/* 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;
}


