.header--simulateur {
    top: 0;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

.header--simulateur .wp-block-spacer {
    height: 50px !important;
}

.simulateur_wrapper, 
.is-layout-constrained > .simulateur_wrapper {
    padding: 60px 0;
	margin-right: 400px !important;
}

.simulateur_wrapper.simulateur--grande-collecte_wrapper,
.is-layout-constrained > .simulateur_wrapper.simulateur--grande-collecte_wrapper {
	padding: 8px 0 !important;
    margin-right: auto !important;
}

.simulateur--grande-collecte_wrapper .gform_fields {
	grid-row-gap: 24px !important;
}

.simulateur .gf_page_steps {
    /* position: fixed;
    top: 83px;
    left: 50%;
    display: flex; */
    display: none;
    gap: 3rem;
    justify-content: center;
    align-items: center;
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    color: var(--wp--custom--color--neutral--500);
    border: none !important;
    transform: translateX(-50%);
    z-index: 100;
}

.simulateur .gf_step {
    position: relative;
    display: flex !important;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 24px;
    height: 24px;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 8px;
    border: 1px solid var(--wp--custom--color--neutral--300);
}

.simulateur .gf_step + .gf_step::before {
    content: '';
    position: absolute;
    top: calc(50% - 1px);
    left: calc(-2rem - 1px);
    display: flex !important;
    width: 1rem;
    height: 2px;
    border-radius: 2px;
    background-color: var(--wp--custom--color--neutral--300);
}

.simulateur .gf_step .gf_step_label {
    display: none !important;
}

.simulateur_wrapper.gform_wrapper.gravity-theme .gf_step_number {
	display: table-cell !important;
}

.simulateur .gf_step .gf_step_number {
	height: 100% !important;
	width: 100% !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    color: var(--wp--custom--color--neutral--500) !important;
	background-color: transparent !important;
	border: none !important;
}

.simulateur .gf_step_active {
    border-color: var(--wp--custom--color--primary--500) !important;
    background-color: var(--wp--custom--color--primary--500) !important;
}

.simulateur .gf_step_active .gf_step_number {
    color: var(--wp--custom--color--neutral--050) !important;
}

.simulateur .gf_step_completed {
    border-color: var(--wp--custom--color--primary--100) !important;
    background-color: var(--wp--custom--color--primary--100) !important;
}

.simulateur .gf_step_completed .gf_step_number {
    font-size: 0 !important;
}

.simulateur .gf_step_completed .gf_step_number::before, 
.simulateur .gf_step_completed .gf_step_number::after {
    display: none !important;
}

.simulateur_wrapper .gf_step::after {
    display: none !important;
}

.simulateur .gf_step_completed::after {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M13.8047 3.52859C14.0651 3.78894 14.0651 4.21105 13.8047 4.4714L6.4714 11.8047C6.21106 12.0651 5.78894 12.0651 5.5286 11.8047L2.19526 8.4714C1.93491 8.21105 1.93491 7.78894 2.19526 7.52859C2.45561 7.26824 2.87772 7.26824 3.13807 7.52859L6 10.3905L12.8619 3.52859C13.1223 3.26824 13.5444 3.26824 13.8047 3.52859Z' fill='%230F695F'/%3E%3C/svg%3E") !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    display: block !important;
    width: 16px !important;
    height: 16px !important;
	background-color: transparent !important;
    transform: translate(-50%, -50%);
}

.simulateur--grande-collecte_wrapper .gform_description,
.simulateur--grande-collecte_wrapper b {
	font-weight: 800;
}

.simulateur .gfield_label {
    margin-bottom: 24px !important;
    font-size: 28px !important;
    font-weight: 900 !important;
    color: var(--wp--custom--color--primary--500);
}

.simulateur .sideright h2 {
    margin-top: 16px !important;
    margin-bottom: 16px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    color: var(--wp--preset--color--contrast) !important;
}

.simulateur--grande-collecte .ginput_complex {
    grid-row-gap: 24px;
}

.simulateur .gfield_radio {
    gap: 24px;
    flex-direction: column;
    max-width: 800px;
}

.simulateur .gfield_radio .gchoice {
    position: relative;
    width: 100%;
}

.simulateur .gfield_radio .gform-field-label {
    width: 100%;
    max-width: 100% !important;
    padding: 24px 24px 24px 56px;
    font-weight: 700;
    background-color: var(--wp--custom--color--neutral--050);
    border: 1px solid var(--wp--custom--color--neutral--300);
    border-radius: 8px;
    cursor: pointer;
}

.simulateur .gfield_radio .small {
    margin-top: 8px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--wp--custom--color--neutral--500);
}

.simulateur .gfield_radio input[type="radio"] {
    position: absolute;
    top: 50%;
    left: 24px;
    margin-right: 1rem;
    transform: translateY(-50%);
    z-index: 1;
}

.simulateur .gfield_radio input[type="radio"]:checked + .gform-field-label {
    position: relative;
    border-width: 2px;
    border-color: var(--wp--custom--color--primary--500);
}

.simulateur .simulateur_radioboxes .gfield_radio {
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 850px;
}

.simulateur .simulateur_radioboxes .gfield_radio .gchoice {
    align-items: stretch;
    width: 256px;
}

.simulateur .simulateur_radioboxes .gfield_radio input[type="radio"]:checked + .gform-field-label::before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Crect width='24' height='24' rx='12' fill='%230F695F'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M17.8047 7.52827C18.0651 7.78862 18.0651 8.21073 17.8047 8.47108L10.4714 15.8044C10.2111 16.0648 9.78894 16.0648 9.5286 15.8044L6.19526 12.4711C5.93491 12.2107 5.93491 11.7886 6.19526 11.5283C6.45561 11.2679 6.87772 11.2679 7.13807 11.5283L10 14.3902L16.8619 7.52827C17.1223 7.26792 17.5444 7.26792 17.8047 7.52827Z' fill='white'/%3E%3C/svg%3E");
    position: absolute;
    top: -8px;
    right: -8px;
}

.simulateur .simulateur_radioboxes .gfield_radio .gform-field-label {
    width: 100%;
    max-width: 100%;
    padding: 24px;
    text-align: center;
}

.simulateur .simulateur_radioboxes .gfield_radio .gform-field-label img {
    max-height: 72px;
    object-fit: contain;
}

.simulateur .simulateur_radioboxes .gfield_radio input[type="radio"] {
    display: none;
}

.simulateur--grande-collecte_wrapper .gchoice {
	align-items: flex-start !important;
}

.simulateur--grande-collecte_wrapper .gchoice .gform-field-label {
    font-size: 14px !important;
}

.simulateur .gform_page_footer {
    gap: 48px;
    justify-content: flex-start !important;
}

.simulateur--grande-collecte .gform_page_footer {
    justify-content: center !important;
}

.simulateur .gform_page_footer .back {
	display: flex;
	align-items: center;
}

.simulateur .gform_page_footer .back .gform_previous_button {
    display: flex;
    flex-direction: row;
    gap: var(--wp--preset--spacing--20);
    align-items: center;
    padding: 1rem 2rem 1rem 0 !important;
	margin-top: 10px !important;
    font-size: var(--wp--preset--font-size--s);
    font-weight: 700;
    text-decoration: none !important;
    color: var(--wp--preset--color--primary);
    background-color: transparent !important;
    border-color: transparent;
}

.simulateur .gform_page_footer .back::before {
    content: '';
    display: block;
    height: 1rem;
    width: 1rem;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='16' viewBox='0 0 17 16' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6.02729 3.52876C6.28764 3.26841 6.70975 3.26841 6.9701 3.52876L10.9701 7.52876C11.2305 7.78911 11.2305 8.21122 10.9701 8.47157L6.9701 12.4716C6.70975 12.7319 6.28764 12.7319 6.02729 12.4716C5.76694 12.2112 5.76694 11.7891 6.02729 11.5288L9.55589 8.00016L6.02729 4.47157C5.76694 4.21122 5.76694 3.78911 6.02729 3.52876Z' fill='%23F6F7FA'/%3E%3C/svg%3E");
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='16' viewBox='0 0 17 16' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6.02729 3.52876C6.28764 3.26841 6.70975 3.26841 6.9701 3.52876L10.9701 7.52876C11.2305 7.78911 11.2305 8.21122 10.9701 8.47157L6.9701 12.4716C6.70975 12.7319 6.28764 12.7319 6.02729 12.4716C5.76694 12.2112 5.76694 11.7891 6.02729 11.5288L9.55589 8.00016L6.02729 4.47157C5.76694 4.21122 5.76694 3.78911 6.02729 3.52876Z' fill='%23F6F7FA'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    background-color: var(--wp--preset--color--primary);
    transform: scale(-1);
}

.simulateur .gform_page_footer .gform_next_button {
	padding: 18px 76px 18px 48px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6.91009 4.41076C7.23553 4.08533 7.76317 4.08533 8.0886 4.41076L13.0886 9.41076C13.414 9.7362 13.414 10.2638 13.0886 10.5893L8.0886 15.5893C7.76317 15.9147 7.23553 15.9147 6.91009 15.5893C6.58466 15.2638 6.58466 14.7362 6.91009 14.4108L11.3208 10L6.91009 5.58928C6.58466 5.26384 6.58466 4.7362 6.91009 4.41076Z' fill='white'/%3E%3C/svg%3E");
    background-position: 137px center;
    background-repeat: no-repeat;
}

.simulateur .sideright {
	position: absolute;
    top: 0;
    right: 0;
    height: 100%;
	width: 400px;
	padding: 62px 42px;
	background-color: var(--wp--preset--color--base);
}

@media screen and (max-width: 1024px) {
    .header--simulateur .header__logo-container {
        margin: 0 !important;
    }

    .header--simulateur .wp-block-spacer {
        flex-basis: 80px !important;
    }

    .simulateur_wrapper,
    .is-layout-constrained > .simulateur_wrapper {
        margin-right: auto !important;
    }

    .simulateur .gf_page_steps {
        top: 60px;
    }

    .simulateur .simulateur_radioboxes .gfield_radio {
        justify-content: center;
    }

    /* .simulateur .sideright {
        position: relative;
        top: auto;
        width: calc(100% + 5rem);
        margin-left: -2.5rem;
    } */

	.simulateur .sideright {
		top: 100%;
    	left: 0;
    	height: fit-content;
    	width: 100vw;
    	padding: 42px;
    	margin-top: -25rem;
	}

	.simulateur .gform_footer, 
    .simulateur .gform_page_footer {
		margin-bottom: 17rem !important;
	}
}

@media (max-width: 641px) {
    .simulateur .gf_page_steps {
        flex-direction: row !important;
    }
}

@media (max-width: 640px) {
    .simulateur--grande-collecte .ginput_complex span {
        margin-bottom: 0;
    }
}