.flex {
    display: flex;
}

/* ---------- FORM FIELDS ----------*/
#insurance-form label {
    text-align: left;
    font-size: 16px;
}

#insurance-form .control-group {
    margin-bottom: 5px;
}

#page-delivery #insurance-form input, #page-delivery #insurance-form select {
    width: 97%;
    height: 36px;
    border-radius: 5px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

#insurance-form input[type=number]::-webkit-inner-spin-button,
#insurance-form input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

#insurance-form .control-label {
    color: #424242;
}

#insurance-form .datepicker {
    padding: 0;
}


#insurance-form .newRadio + span {
    margin-right: 30px;
}

.help img {
    width: 12px !important;
    height: 12px !important;
    cursor: pointer;
    overflow: hidden;
    font-size: 75%;
    line-height: 0;
    vertical-align: top;
    padding: 0!important;
}

#insurance-form input {
    width: 97%;
}

#insurance-form .tooltip-inner {
    max-width: 400px;
}

#insurance-form .datepicker span svg {
    transform: scale(0.7) translate(-56px, 0px);
    position: absolute;
    pointer-events: none;
}

#insurance-form .autocomplete-section {
    position: absolute;
    background: #FFFFFF;
    width: 44%;
    border: 1px solid #CECECE;
    margin-top: -15px;
    border-radius: 3px;
    padding: 1px;
}

#insurance-form .autocomplete-items {
    margin: 5px;
}

/* ---------- END FORM FIELDS ----------*/

/* ---------- ALERTS/ERROR FORM FIELDS ----------*/

#insurance-form .error {
    color: #FC5653;
}

#insurance-form .control-group.error {
    border-color: #FC5653;
}

#insurance-form .control-group.error input {
    border-color: #FC5653;
}

.error svg {
    fill: #FC5653;
}

#insuranceFormModal {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    width: 750px;
    border-radius: 17px;
    padding: 20px;
}

.modal__header {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    letter-spacing: 0;
}

#insuranceFormModal .modal__header svg {
    height: 60px;
    width: 60px;
    margin-right: 10px;
}

.modal__header .modal__header__title {
    margin-left: 10px;
}

#insuranceFormModal .modal__content {
    font-size: 18px;
    letter-spacing: 0;
    margin: 36px;
}

.modal__actions {
    display: flex;
    justify-content: space-around;
}

.modal__actions .btn {
    height: 50px;
    width: 300px;
    line-height: 22px;
    border-radius: unset;
}

#insuranceOffersModal {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    width: 750px;
    border-radius: 17px;
    padding: 20px;
}

#insuranceOffersModal .btn-gris-blanc {
    border-radius: unset;
}

#insuranceOffersModal .modal__header {
    margin-bottom: 40px;
    align-items: baseline;
    justify-content: space-between;
}

#insuranceOffersModal .modal__header__title {
    width: 600px;
}

#insuranceOffersModal .btn {
    height: 60px;
}

#insuranceOffersModal .insurance-offers #insurance-offers-form .selected-offer .junction {
    display: none;
}

#insuranceOffersModal .insurance-offers #insurance-offers-form .legend {
    width: 300px;
    align-self: center;
}

#insuranceOffersModal .insurance-offers #insurance-offers-form {
    margin-left: 40px;
    margin-right: 35px;
    margin-top: 0;
}

#insuranceOffersModal .modal__text {
    margin: 0 35px 5px;
}

#insuranceOffersModal #insurance-only-leasing .modal__text {
    margin: -10px 35px 20px;
}

#insuranceOffersModal .guaranties {
    margin: 0 35px 5px;
}

#insurance-only-leasing div.guarantee {
    display: flex;
    align-items: baseline;
    align-content: space-between;
}

#insurance-only-leasing div.guarantee {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

#insurance-only-leasing .offer-price {
    position: absolute;
    right: 65px;
    top: 150px;
    font-size: 22px;
    border-top: 1px solid #D4D4D4;
    border-bottom: 1px solid #D4D4D4;
    padding: 10px;
}

#insurance-only-leasing div.guarantee .guarantee-option {
    display: flex;
    align-items: baseline;
}

/* ---------- Mobile offers ----------*/
.insurance-offers__list {
    display: flex;
    justify-content: space-around;
}

/* ---------- END Mobile offers ----------*/


/* ---------- END ALERTS/ERROR FORM FIELDS ----------*/

/* ---------- INSURANCE STEPS ----------*/

#insurance-steps {
    margin-top: auto;
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

#insurance-steps .insurance-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 5px;
    flex: 1;
}

#insurance-steps .insurance-step .insurance-step-icon {
    margin-bottom: 10px;
}

#insurance-steps .insurance-step:not(.insurance-step-0)::before {
    position: absolute;
    content: "";
    border-bottom: 3px solid #CECECE;
    border-radius: 2px;
    width: 87%;
    top: 18px;
    right: 59%;
    z-index: 2;
}

#insurance-steps .insurance-step:not(.insurance-step-0).active::before,
#insurance-steps .insurance-step:not(.insurance-step-0).completed::before {
    border-bottom: 3px solid #F7385B;
}

#insurance-steps .insurance-step .insurance-step-icon::before {
    display: block;
    height: 18px;
    width: 18px;
    content: "";
    border-radius: 50%;
    border: 3px solid #CECECE;
    /*border: 3px solid #F7385B;*/
    -ms-transform: translate(0px, 10px); /* IE 9 */
    -webkit-transform: translate(0px, 10px); /* Chrome, Safari, Opera */
    transform: translate(0px, 10px);
}

#insurance-steps .insurance-step.active .insurance-step-icon::before{
    border: 3px solid #F7385B;
}

#insurance-steps .insurance-step.completed .insurance-step-icon::before {
    background-image: url("/assets/img/services-assurance/step-check-assurance.svg");
    border: none;
}

/* ---------- END INSURANCE STEPS ----------*/

/* ---------- FORM ITERATION ----------*/

.form-iterations {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 10px;
}

.form-iteration {
    background: #F8F9FB 0 0 no-repeat padding-box;
    box-shadow: 0 3px 6px #00000029;
    border-radius: 5px;
    margin: 6px;
    flex: 1 1 auto;
    padding: 6px;
}

.form-iteration__title {
    font-weight: bold;
}

/* ----------END FORM ITERATION ----------*/

/* ---------- BLOCK PERSONAE ----------------- */

.block_assurance > p {
    margin-top: 2rem;
}

.card__examples {
    display: flex;
}

#page-delivery .card__examples {
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.card__offre-assurance.slick-slide {
    min-height: 500px;
}

.card__offre-assurance {
    position: relative;
    width: 245px;
    height: 500px;
    border-radius: 15px;
    background-color: white;
    box-shadow: 0px 10px 20px #0000001A;
}

.card__offre-img {
    border-radius: 15px;
    clip-path: ellipse(67% 76% at 61% 17%);
}

.card__offre-text {
    color: #7B7B7B;
    padding: 0 1rem;
    height: 30%;
    font-size: 14px;
    margin-bottom: 1rem;
}

.card__offre-specs {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: absolute;
    margin: 0 auto;
    width: calc(100% - 2rem);
    bottom: 5px;
    height: 30%;
    padding: 0 1rem 1rem 1rem;
}

.card__offre-apartir {
    margin: 0.5rem 0 0.25rem 0;
    color: #AFAFAF;
    font-size: 14px;
}

.card__offre-specs-bonus {
    color: #AFAFAF;
}

.card__offre-specs-title {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 22px;
    text-align: center;
}

.card__offre-price-container {
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: solid 1px #d4d4d4;
    border-bottom: solid 1px #d4d4d4;
    padding: 10px 0;
}

.card__offre-price {
    position: relative;
    bottom: -2px;
    color: #FB4968;
    font-size: 18px;
}

.card__offre-price > span {
    font-size: 16px;
}

/* ---------- END BLOCK PERSONAE----------------- */

/* ------------------------------------------ */


/* ----------Offre ASSURANCE----------------- */
#offers-backgrounds {
    display: flex;
}

#offers-backgrounds .leasing,
#offers-backgrounds .creditOrCash {
    position: relative;
    border-radius: 15px;
    background: #FCF4F5;
    z-index: -1;
    text-align: center;
    padding-top: 15px;
    height: 460px;

}

#offers-backgrounds .creditOrCash {
    left: 412px;
    top: 19%;
    width: 320px;
}

#offers-backgrounds .leasing {
    left: 448px;
    top: 19%;
    width: 80px;
}

#page-delivery .insurance-offers {
    margin-top: -480px;
    margin-right: 20px;
}

.insurance-offers #insurance-offers-form {
    display: grid;
    margin-top: 80px;
}

#insurance-offers-form .legend {
    width: 390px;
    margin: 0;
}

#insurance-offers-form .offer-price,
#insurance-offers-form .guarantee,
#insurance-offers-form .option {
    text-align: center;
    padding-bottom: 5px;
}

#insurance-offers-form .offer-name,
#insurance-offers-form .offer-price,
#insurance-offers-form .guarantee,
#insurance-offers-form .option {
    padding-top: 5px;
    padding-bottom: 5px;
    background: #F8F9FB;
    border-right: 2px solid #D4D4D4;
    border-left: 2px solid #D4D4D4;
    width: 110px;
    margin: 0 0 0 7px;
}

#insurance-offers-form .offer-name {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 15px 15px 0 0;
    border-top: 2px solid #D4D4D4;
    text-align: center;
    height: 60px;
}

#insurance-offers-form .offer-name label {
    margin: 0;
}

#insurance-offers-form .offer-name p {
    max-width: 90px;
    margin-left: -15px;
}

#insurance-offers-form .offer-name p {
    max-width: 90px;
    margin-left: -15px;
}

#insurance-offers-form .offer-price::before,
#insurance-offers-form .offer-price::after {
    content: '';
    display: block;
    border-top: 1px solid #D4D4D4;
    margin-left: 10px;
    margin-right: 10px;
}

#insurance-offers-form .offer-price::before {
    padding-top: 10px;
}

#insurance-offers-form .offer-price::after {
    margin-top: 5px;
}

#insurance-offers-form .guarantee:not(.grid-latest-row)::after {
    content: '';
    display: block;
    border-top: 1px dashed #D4D4D4;
    margin-left: 10px;
    margin-right: 10px;
}

#insurance-offers-form .guarantee-optional .guarantee-option {
    position: absolute;
    margin-top: -2px;
}

#insurance-offers-form .guarantee-optional label {
    left: 10px;
    padding: 0 0 0 70px;
}

h1 {
    font-size: 30px;
    font-weight: bolder;
}

#insurance-offers-form .guarantee-optional label .option-price {
    padding-left: 10px;
    padding-right: 10px;
    background: #FFFFFF;
    box-shadow: 0 3px 6px #00000029;
    border-radius: 10px;
    font-size: 12px;
    color: #707070;
    font-weight: bolder;
}

.main.formulaire .bloc-formulaire input[type="checkbox"]:not(:checked) + label:before {
    background: #FFFFFF;
}


#insurance-offers-form .offer-name label span {
    left: 10px;
}

#insurance-offers-form .grid-latest-row {
    border-bottom: 2px solid #D4D4D4;
    border-radius: 0 0 15px 15px;
}


.grid-row-1.grid-column-4::before {
    content: url("/assets/img/services-assurance/recommande-pour-vous.svg");
    position: absolute;
    transform: translate(-51px, -30px);
    z-index: 1;
}

.grid-row-1.grid-column-4::after {
    content: "Recommandée";
    position: absolute;
    transform: translate(0px, -33px);
    background: #EF4C67;
    border-radius: 15px;
    padding-left: 15px;
    padding-top: 4px;
    width: 115px;
    height: 20px;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: bolder;
    text-transform: uppercase;
}

#insurance-offers-form .selected-offer.offer-name,
#insurance-offers-form .selected-offer.offer-price,
#insurance-offers-form .selected-offer.guarantee,
#insurance-offers-form .selected-offer.option {
    color: #FB4968;
    border-color: #F7385B;
    background-color: #ffffff;
    box-shadow: 3px 4px 4px 0 rgb(0 0 0 / 16%);
}

#insurance-offers-form .selected-offer.guarantee-included svg path,
#insurance-offers-form .selected-offer.guarantee-optional.checked svg path,
#insurance-offers-form .selected-offer .guarantee-optional.checked svg path{
    fill: #FB4968;
}

#insurance-offers-form .selected-offer.guarantee-optional.checked p,
#insurance-offers-form .selected-offer .guarantee-optional.checked p{
    color: #FB4968;
}

.main.formulaire .bloc-formulaire .selected-offer input[type="checkbox"]:checked + label:after {
    color: #FB4968;
}

.mentions-gris {
    margin-top: 20px;
}

#insurance-offers-form .junction {
    display: none;
}
#insurance-offers-form .offer-details {
    display: none;
}
#insurance-offers-form .offer-details.selected-offer {
    display: block;
    position: absolute;
    border: 2px solid #FB4968;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 3px 4px 4px 0 rgb(0 0 0 / 16%);
}

#insurance-offers-form .selected-offer .junction {
    display: block;
    position: absolute;
}

#insurance-offers-form .selected-offer .junction img {
    height: 36px;
    width: 61px;
    transform: translate(24px, -1px);
}

#insurance-offers-form .selected-offer .junction::before {
    left: -9px;
    box-shadow: inset -6px 0 4px -2px rgb(0 0 0 / 16%);
}

#insurance-offers-form .selected-offer .junction::after {
    right: -6px;
    box-shadow: inset 6px 0 4px -2px rgb(0 0 0 / 16%);
}

#insurance-offers-form .selected-offer .junction::before, #insurance-offers-form .selected-offer .junction::after {
    content: "";
    width: 20px;
    height: 22px;
    background: transparent;
    position: absolute;
    top: 0;
    border-radius: 100%;
    box-sizing: border-box;
    transform: translate(28px, 6px);
}

#insurance-packs {
    border: 2px solid #FB4968;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 3px 4px 4px 0 rgb(0 0 0 / 16%);
}

.insurance-pack .item {
    display: flex;
    justify-content: space-between;
}

.insurance-pack__desc .item {
    padding-right: 250px;
    border-bottom: 1px dashed #AFAFAF;
}

.insurance-pack__desc * {
    margin: 5px 0px;
}

.insurance-loader {
    position: absolute;
    top: 30%;
    left: 56%;
    height: 50px;
    width: 50px;
    background: url(/assets/img/ajax-loader.gif) center center no-repeat;
}

a.continue-without-insurance {
    color: #AFAFAF;
}

div.continue-without-insurance {
    display: flex !important;
    justify-content: flex-end;
}

div.continue-without-insurance a {
    color: #AFAFAF !important;
    text-decoration: underline;
    font-size: 18px;
}
.offer-details-size-faker, .offer-details {
    margin: 20px auto 20px;
    height: 490px;
    left: 4%;
    text-align: center;
    width: 93vw;
}
.pack-junction-mobile {
    transform: translate(141px, 52px) !important;
}
.pack-junction-mobile img{
    height: 46px !important;
    transform: translate(24px, -1px)!important;
}
.pack-junction-mobile:after,
.pack-junction-mobile:before {
    transform: translate(30px, 6px) !important;
}
.offer-details *:not(.junction) {
    align-items: center;
    height: 46px;
    padding-bottom: 10px;
}
.offer-details svg {
    padding-right: 5px;
}
.tooltip-inner {
    height: auto !important;
}
.grid-column-1 {
    grid-column: 1;
}

.grid-column-2 {
    grid-column: 2;
}

.grid-column-3 {
    grid-column: 3;
}

.grid-column-4 {
    grid-column: 4;
}

.grid-column-5 {
    grid-column: 5;
}

.grid-row-1 {
    grid-row: 1;
}

.grid-row-2 {
    grid-row: 2;
}

.grid-row-3 {
    grid-row: 3;
}

.grid-row-4 {
    grid-row: 4;
}

.grid-row-5 {
    grid-row: 5;
}

.grid-row-6 {
    grid-row: 6;
}

.grid-row-7 {
    grid-row: 7;
}

.grid-row-8 {
    grid-row: 8;
}

.grid-row-9 {
    grid-row: 9;
}

.grid-row-10 {
    grid-row: 10;
}

.grid-row-11 {
    grid-row: 11;
}

.grid-row-12 {
    grid-row: 12;
}

@media screen and (max-width: 1200px) {
    #insurance-offers-form .legend {
        width: 200px;
    }

    #offers-backgrounds .creditOrCash {
        left: 230px;
    }

    #offers-backgrounds .leasing {
        left: 260px;
    }
}

@media screen and (max-width: 1002px) {
    #page-delivery .block_assurance .block {
        padding: 10px;
    }

    #insuranceFormModal,#insuranceOffersModal {
        position: fixed !important;
        width: 100%;
        height: 100%;
        left: 0%;
        top: 0%;
        margin: 0;
        padding: 0;
        border-radius: unset;
    }

    .modal__header {
        margin-top: 10%;
    }

    .modal__actions{
        position: fixed;
        bottom: 0;
    }
    .modal__actions .btn {
        height: auto;
        width: auto;
        margin: 10px;
    }

    .modal__content {
        text-align: center;
    }
}
@media screen and (max-width: 768px) {
    #insurance-offers-form .selected-offer .junction::before, #insurance-offers-form .selected-offer .junction::after {
        transform: translate(31px, 6px);
    }
    #insurance-offers-form .selected-offer .junction::after {
        right: 4px;
    }
    #offers-backgrounds .creditOrCash {
        left: 7%;
        width: 60%;
    }

    #offers-backgrounds .leasing {
        left: 19%;
        width: 12%;
    }

    #offers-backgrounds .leasing,
    #offers-backgrounds .creditOrCash {
        height: 140px;
    }

    #insurance-offers-form .offer-name,
    #insurance-offers-form .offer-price,
    #insurance-offers-form .guarantee,
    #insurance-offers-form .option {
        width: auto;
    }

    #page-delivery .insurance-offers {
        margin-top: -180px;
    }

    #insurance-offers-form .offer-price {
        border-bottom: 2px solid #D4D4D4;
        border-radius: 0 0 15px 15px;
    }

    #insurance-offers-form .offer-price::after {
        content: none;
    }

    .insurance-pack__desc .item {
        padding-right: 0;
    }
    #insurance-offers-form .offer-name,
    #insurance-offers-form .offer-price,
    #insurance-offers-form .guarantee,
    #insurance-offers-form .option {
        padding: 10px;
    }
    #insurance-offers-form .offer-name {
        height: 90px;
    }
    #insurance-offers-form .offer-price {
        height: 80px;
    }

    #insurance-offers-form .selected-offer .junction {
        z-index: 2;
        transform: translate(8px, -7px);
    }
    #insurance-offers-form .legend {
        width: auto;
        padding-top: 14px;
        margin-left: 10px;
    }

    #insurance-offers-form .flex:not(:last-of-type) .legend::after {
        content: "";
        position: absolute;
        border-bottom: 1px dashed #D4D4D4;
        width: 80vw;
        margin-top: 22px;
        left: 5vw;
    }
    #insurance-offers-form .guarantee-optional {
        margin-right: 22px;
        margin-top: 24px;
    }

    #insurance-offers-form .guarantee-optional .guarantee-option {
        position: relative;
    }

    #insurance-offers-form .guarantee-optional .guarantee-option label p{
        position: absolute;
        right: -83vw;
        margin-top: -5px;
        width: 120px;
        height: 19px;
    }


    #insurance-offers-form .guarantee-optional label {
         left: unset;
         padding: 0;
    }
    #insuranceOffersModal .modal__text, #insuranceOffersModal #insurance-offers-form{
        width: 75vw;
    }
}

@media screen and (max-width: 500px) {
    #insurance-offers-form .selected-offer .junction {
        transform: translate(0px, -7px);
    }
    .insurance-pack .item:nth-child(1){
        text-align: end;
    }

    #insurance-offers-form .legend {
        width: 64vw;
        height: 50px;
    }
    #insurance-offers-form .guarantee-optional .guarantee-option label p{
        right: -91vw;
        margin-top: -18px;
        width: 90px;
        height: 36px;
    }

}

@media screen and (max-width: 500px) {
    #insurance-steps .insurance-step:not(.insurance-step-0)::before {
        width: 50px;
        right: 72%;
    }
}
@media screen and (max-width: 375px) {
    .insurance-offers__list {
        margin-left: -20px;
    }

    #offers-backgrounds .creditOrCash {
        left: 10px;
        width: 170px;
    }

    #offers-backgrounds .leasing {
        left: 58px;
        width: 50px;
    }

    #insurance-offers-form .offer-name,
    #insurance-offers-form .offer-price,
    #insurance-offers-form .guarantee,
    #insurance-offers-form .option {
        width: 70px;
    }

    #page-delivery .insurance-offers {
        margin-top: -160px;
    }
    .insurance-pack .item *{
        margin: 0 10px
    }

    #insurance-offers-form .selected-offer .junction {
        z-index: 2;
        transform: translate(-12px, -7px);
    }
}