/* /SIMULATEUR */

:root {
    --pink-color: #000000;
    --marron: #973116;
    --light-green: #E0F1EB;
    --dark-green: #0E2A11;
}

ul.tool-wrapper {

    margin-top: 60px !important;

    flex-direction: row;

    display: flex;
    width: 100%;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-evenly;
    align-items: center;

    list-style: none;
    margin: 0;
    padding: 0;

}

li.elt-tool-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px 0px;
    margin-bottom: 60px;
    box-shadow: rgb(149 157 165 / 20%) 0px 8px 24px;
    border-radius: 5px;

    width: 300px;
    height: 575px;
}

p.detail-garage {
    padding: 20px;
    border-top: 1px solid #9B9B9B;
}

li.elt-tool-list>a {
    padding: 15px;
    font-weight: 800;
    font-family: 'Noto Sans';
}

a.cta-simu {
    padding: 10px !important;
    background: var(--marron);
    width: 100%;
    text-align: center;
    margin-top: -20px;
    display: block;
}

.cta-simu-multi {
    padding: 10px !important;
    background: var(--marron);
    width: 100%;
    text-align: center;
    margin-top: -20px;
    display: block;
    margin-top: 5px;
}

img.full {
    width: 100% !important;
    margin: 0% !important;
    border-radius: 0px !important;
}

/* GARAGE 3X6 TEST */

span.price-added {
    width: 100%;
    text-align: center;
    /*background: var(--marron);*/
    color: white;
    background: #002B0E;
    height: 35px;
    display: flex;
    /* justify-content: center; */
    justify-content: space-around;
    align-items: center;
    font-weight: 600;
    border-radius: 5px 5px 0px 0px;
    transition: .2s;
}

@media (orientation:portrait) {
    .row .col-sm:last-child {
        /* padding-bottom: 200px;*/
    }


    ul.tool-wrapper {
        flex-direction: column;
    }
}

p.card-text-radio {
    padding: 20px;
}

p.card-text-radio-poly {
    padding: 15px;
}

.cust-card {
    width: 80%;
    margin-left: 10%;
    /* box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px; */
}

.card.cust-card {
    border: 0px solid white !important;
    border: none !important;
}

img.card-img-top {
    width: 100%;
    /* margin-left: 15%;
    margin-right: 15%; */
}

.col-sm {
    padding: 30px 0px;
}

button.btn.btn-primary {
    background: var(--marron);
    border: 1px solid var(--marron);
    color: white;
}

[type=radio] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 70%;
    left: 0;
}


/* IMAGE STYLES */

[type=radio]+img {
    cursor: pointer;
}


/* CHECKED STYLES */

[type=radio]:checked+img {
    outline: 4px solid var(--marron);
    border-radius: 5px;
}

label:has(input:checked) .price-added,
label:has(input:checked) img {
    background-color: var(--marron);
    outline: 4px solid var(--marron);
    font-weight: bold;
    transition: .2s;
}


label.radio-button-centered {
    display: block;
    margin: 0 auto;
}

div#staticBackdrop {
    background: rgba(0, 0, 0, 0.5);
}

h1.main-title {
    background-color: #E0F1EB !important;
    color: #0E2A11 !important;
    width: calc(100vw - 305px) !important;
    text-align: center !important;
    left: 0 !important;
    padding: 30px;
    font-size: 40px !important;
    position: relative !important;
}

h2.title-simulateur {
    font-size: 32px !important;
    color: #0E2A11 !important;
    margin-bottom: 5px !important;

}

h3.under-title {
    color: var(--dark-green) !important;
    margin-top: 20px !important;
    font-size: 25px !important;
}

small.sub-title {
    font-size: 18px !important;
    color: #0E2A11 !important;
    font-weight: 200 !important;
}

.price {
    position: fixed;
    margin-left: 0px !important;
    bottom: 0;
    width: calc(100% - 305px);
    color: var(--marron);
    /* background: var(--marron); */
    background: #DCF2EB;
    display: flex;
    /* flex-wrap: nowrap; */
    flex-direction: row;
    align-content: space-around;
    justify-content: space-around;
    align-items: center;
    padding: 20px 0px;
    font-weight: bold;
}

h3.mt-5.mb-5 {
    margin-top: 0 !important;
}


/* FIN 3X6 TEST*/

.flex-label {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.allLabel {
    margin: 0 auto;
}


/* Garage */

/* .reset-margin {
    margin-left: 10px;
}

.col-sm {
    max-width: 25 !important;
}

.card {
    max-width: 73%;
} */

.card.cust-card {
    max-width: fit-content;
    margin: 0;
}

.col-sm {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.imgSimulateur {
    width: 50%;
}

.container.porte-service>.row>.col-sm>.card.cust-card {
    height: 100%;

}


/* Envoi du devis */

.form-group.civilite {
    width: 15%;
}





.contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Ticket de caisse */

.modal-dialog {
    max-width: 90% !important;
    width: 100% !important;
    margin: 5% !important;
}

.modal-content {
    bottom: 30px;
    height: 600px !important;
    overflow-y: scroll;
}

.modal-body {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.contact-form {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: start;
    flex-direction: column;
    border-left: 1px solid #C4C1C1;
    margin-left: -70px;
}

.contact-form>input,
.contact-form>select {
    width: 70%;
    border: 1px solid var(--green-color);
    border-radius: 5px;
    height: 35px;
    margin-bottom: 5px;
}

.contact-form>label {
    width: 70%;
    color: #252525;
    font-weight: 600;
}

input#comments {
    height: 100px;
}

p#garage-type {
    width: 100%;
    padding: 0 70px;
    line-height: 40px;
}

p#garage-type>span>span {
    color: #252525;
}

@media (orientation:portrait) {
    p#garage-type {
        width: 100%;
        padding-bottom: 20px;
        line-height: 40px;
        border-bottom: 1px solid #C4C1C1;
    }

    .contact-form {
        padding-top: 20px;
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: start;
        flex-direction: column !important;
        border-left: none !important;
    }

    .modal-body {
        display: flex;
        flex-direction: column !important;
        justify-content: center;
        align-items: center;
    }
}

.btn-devis {
    color: white !important;
}

h5#staticBackdropLabel {
    padding-left: 0 !important;
}

@media (orientation:portrait) {
    .flex-label {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .imgSimulateur {
        width: 100%;
    }

    .allLabel {
        padding: 20px 0px;
    }
}

.allLabel {
    padding: 0px 30px;
}

.modal-body.infos {
    display: flex;
    flex-direction: column;
}

div#infos-modal {
    background-color: rgba(0, 0, 0, 0.5);
}

.align-check {
    display: flex;
    flex-direction: row-reverse;
}

.checkbox-consent {
    margin-left: 10px;
}

@media screen and (max-width: 680px) {

    .modal-body {
        display: flex;
        justify-content: center;
        align-items: flex-end !important;
        flex-direction: row;
    }
}

.tooltip-wrapper {
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    right: 20px;
    position: relative;
    top: 13px;
    z-index: 1;
}

.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #002B0E;
    color: white;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 22px;
    cursor: pointer;
    position: absolute;
    top: -28px;
}

.tooltip-text {
    visibility: hidden;
    background-color: white;
    color: var(--dark-green);
    text-align: left;
    padding: 5px 8px;
    border-radius: 5px;
    margin-top: 40px;
    position: absolute;
    z-index: 2;
    /* top: 50%; */
    left: 20px;
    transform: translateY(-50%);
    white-space: nowrap;
    font-size: 14px;
    border: 2px solid var(--light-green);
    width: 333px;
    text-wrap: auto;
}

.tooltip-title {
    color: var(--marron) !important;
    font-weight: bold;
    font-size: 18px;
    /* background-color: var(--light-green); */
    width: 100%;
    display: block;
}

.tooltip-wrapper:hover .tooltip-text {
    visibility: visible;
}

/* TEST FORM DUREE */

.option-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 700px;
}

/* Cacher les boutons radio natifs */
.option-input {
    display: none;
}

/* Style de base du label */
.option-label {
    border: 1px solid #003218;
    border-radius: 4px;
    background-color: #dff4ee;
    padding: 20px;
    font-size: 1.2rem;
    color: #003218;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Style appliqué lorsque l'input correspondant est sélectionné */
.option-input:checked+.option-label {
    background-color: #002d10;
    color: #ffffff;
}


select#transport-livraison {
    background: #DCF2EB;
    border-color: #002B0E;
    color: #002B0E;
    font-weight: bold;
    padding: 20px 40px;
}

select#prefix {
    background: #DCF2EB;
    border: 1px solid #002B0E !important;
    color: #002B0E;
    padding: 0px 20px;
    height: 50px;
}

.final-form {
    background: #DCF2EB !important;
    border: 1px solid #002B0E !important;
    color: #002B0E !important;
    font-weight: bold !important;
    padding: 20px 40px !important;
}

/* .row {
    overflow-y: scroll;
    height: 110vh;
} */
.col-sm-contact {
    display: flex;
    flex-direction: column;
}

.contact-form {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-content: flex-start;
    justify-content: space-evenly;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-left: 0px !important;
    border: none !important;
}

.container {
    padding: 0px 80px !important;
}

.infinite-content-area.infinite-item-pdlr.infinite-sidebar-style-none.clearfix {
    padding: 0px !important;
    margin-top: 0px !important;
}

.infinite-body-front .gdlr-core-container,
.infinite-body-front .infinite-container {
    padding: 0 !important;
}

.infinite-content-container.infinite-container {
    margin: 0px !important;
}

.step {
    width: 100vw !important;
}

.container,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
    max-width: calc(100vw - 305px) !important;
}

/* form#formSurMesure {
    width: calc(100vw - 305px) !important;
    height: calc(100vh - 235px) !important;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    overflow: auto;
} */

form#formSurMesure {
    height: 110vh !important;
}