#btnRetourMagasinT {
    margin: 20px 0 0 50px;
    padding: 5px 15px;
    background-color: #e2c7b2;
}

#btnRetourMagasinT a, #btnRetourMagasinT a:visited {
    color: #ffffff;
}

#livraisonForm {
    margin-top: 30px;
}


.container2LivraisonTunnel {

}

.containerTunnel > div {
    padding: 7px 30px;
    color: white;
}

.containerLivraisonTunnel {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
}

.containerLivraisonTunnel.disabled, #selectMagasin.disabled, #checkDomicile.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.container2t {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 81%;
    margin: auto;
    text-align: center;
}

.container2t--dom p {
    margin-left: 150px;
    font-weight: 600;
    color: #D86018;
}

.container2t--dom span {
    font-style: italic;
    font-weight: 500;
}

.t {
    color: #155243;
    font-size: 22px;
    font-weight: bold;
}

.livraison_checkbox {
    position: relative;
    display: flex;
    align-items: center;
    margin: 20px 0 20px 150px;
}

.livraison_checkbox label {
    cursor: pointer;
}

.livraison_checkbox input[type="checkbox"] {
    position: absolute;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.livraison_checkbox .checkbox {
    position: relative;
    display: block;
    height: 20px;
    width: 20px;
    margin-right: 10px;
    background-color: #f1f1f1;
    cursor: pointer;
}

.livraison_checkbox .checkbox::before {
    content: "✔";
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20px;
    width: 20px;
    margin-right: 10px;
    color: #ffffff;
    background-color: #155243;
    transform: scale(0);
    transition: transform 0.2s ease-in-out;
}

.livraison_checkbox input[type="checkbox"]:checked + .checkbox::before {
    transform: scale(1);
}

.labelMagasin {
    margin-top: 10px;
    margin-bottom: 10px;
    color: black;
    margin-left: 150px;
}

.btns--tunnel {
    margin: 20px 0;
}

.btns--tunnel .btn {
    padding: 5px 25px;
    font-size: 19px;
}

#btnValidLivraisonTunnel {
    background-color: #155243;
    opacity:0.2;
}

#btnValidLivraisonTunnel.show{
    opacity:1;
}
#btnValidLivraisonTunnel:hover {
    background-color: #D86018;
}

#listeMagasinLivraison {
    color: #c28368;
    background-color: #f1f1f1;
    border: 1px solid #D86018;
    padding: 10px 30px;
    margin-left: 10px;
    cursor: pointer;
    -webkit-appearance: auto;
    -moz-appearance: auto;
    appearance: auto;
}

.driveON {
    padding: 30px 15px;
    font-weight: bold;
    color: #2c433b;
    border: 2px solid #2c433b;
    margin: 5px;
    cursor: pointer;
}

.driveON.selected {
    background-color: #da5f1b;
    color: white;
    border: 2px solid #ebc8a8;
}

.driveOFF {
    padding: 30px 15px;
    font-weight: bold;
    color: #2c433b;
    border: 2px solid #2c433b;
    opacity: 0.3;
    margin: 5px;
}

#driveDispo {
    margin-top: 30px;
}

#driveDispo1 {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#driveDispo2 {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.item_date {
    padding: 7px 30px;
    background-color: #2c433b;
    color: white;
}

#date_dispo {
    margin-top: 25px;
    display: flex;
    justify-content: space-evenly;
    position: relative;
}

.drive_date {
    display: flex;
    padding: 10px 20px;
    margin: 6px;
    background-color: #e2c7b2;
    color: white;
    border-radius: 7px;
    cursor: pointer;
}

.drive_date.active {
    background-color: #D86018;
}

.drive_alert {
    text-align: center;
    margin: 20px;
}

#driveFlecheGauche {
    left: -60px;
}

#driveFlecheDroite {
    right: -60px;
}

#driveFlecheGauche, #driveFlecheDroite {
    cursor: pointer;
    top: 15px;
    position: absolute;
}

@media all and (max-width: 1300px) {
    .container2t--dom p {
        margin-left: 0;
    }

    .livraison_checkbox {
        margin-left: 0;
    }
}

@media all and (max-width: 950px) {
    #driveDispo1 {
        justify-content: center;
    }

    #driveDispo2 {
        justify-content: center;
    }
}

@media all and (max-width: 567px) {
    .labelMagasin {
        margin-left: 0;
        text-align: center;
    }
}

@media all and (max-width: 505px) {
    #date_dispo {
        width: calc(100% - 140px);
    }
}

@media all and (max-width: 742px) {
    .cLivraisonTunnel {
        flex-direction: column;
    }

    .cLivraisonTunnel > span {
        height: 30px;
        width: 8px;
        background-color: #e2c7b2;
    }
}