.clear-both {
    clear: both;
}

/* VALIDATION D'UN ARTICLE */
/* ======================= */

#bandeau {
    position: fixed;
    top: 50%;
    right: 0;
    left: 0;
    margin: 0 auto;
    border: 1px solid var(--text-color);
    background-color: var(--background-color);
    z-index: 99999999;
    text-align: center;
}
#main-commande #bandeau {
    padding: 20px 30px;
    border: none;
    font-size: 1rem;
    display: none;
    background-color: var(--background-color);
    border: 1px solid var(--accent-color);
    -webkit-box-shadow: -3px 2px 25px 0 rgba(0, 0, 0, .2);
    -moz-box-shadow: -3px 2px 25px 0 rgba(0, 0, 0, .2);
    box-shadow: -3px 2px 25px 0 rgba(0, 0, 0, .2);
    border-radius: 5px;
}
.ajout_panier {
    color: #FFFFFF;
    background-color: var(--secondary-color);
    padding: 12px 20px;
    cursor: pointer;
    transition-property: color, background-color;
    transition-duration: .3s;
    transition-timing-function: ease-in-out;
    border-radius: var(--button-border-radius);
    text-align: center;
    
}
/* BANDEAU COMMANDE */
/* ================ */

.bandeau_commande {
    width: 100%;
    background-color: #313130;
    height: 135px;
    padding: 40px 30px;
    -webkit-transition: all .2s ease-in;
    -moz-transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    transition: all .2s ease-in;
    position: relative;
    margin-top: 10px;
}
.bandeau_commande:hover {
    background-color: #1b1b1b;
}
.bandeau_commande a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.bandeau_commande p {
    font-size: 30px;
    color: #FFFFFF;
    font-family: 'Cookie', cursive;
    line-height: 26px;
    position: relative;
    text-align: left;
    max-width: 300px;
    margin: 0 auto;
}
.bandeau_commande p::before {
    font-family: 'Material Icons';
    content: 'arrow_forward';
    position: absolute;
    right: 0px;
    top: 15px;
    -webkit-font-feature-settings: 'liga' 1;
    -moz-font-feature-settings: 'liga' 1;
    font-feature-settings: 'liga' 1;
}
.bandeau_commande p span {
    font-size: 23px;
    color: var(--accent-color);
}

/* COMMANDE PAGE */
/* ============= */

.commande-page .colonne_centre {
    max-width: 1400px;
    margin: 50px auto;
    padding: 0 10px 50px 10px;
}
.commande-page .titre_titro {
    padding: 0 30px;
}

/* RECAP COMMANDE */
/* ============== */

.recap-commande .item-produit {
    display: flex;
    flex-direction: row;
    max-width: 100%;
    margin: 25px 0;
    flex-wrap: wrap;
    position: relative;
    max-width: 100%;
}
.recap-commande .item-formule {
    display: flex;
    flex-direction: row;
    max-width: 100%;
    margin: 25px 0;
    flex-wrap: wrap;
    position: relative;
    max-width: 100%;
}
.recap-commande .item-formule p:nth-child(1) {
    width: 65%;
    font-size: .8em !important;
    max-height: 40px;
    overflow: hidden;
}
.recap-commande .item-formule p.ss_total {
    font-size: 1em !important;
}
.recap-commande .item-formule div p:nth-child(1) {
    width: 100%;
    text-align: right;
}
.recap-commande .item-formule div {
    width: 34%;
}
.recap-commande .item-produit .nom-article {
    width: 37%;
    padding-left: 5px;
    line-height: 14px !important;
    font-size: .8em;
    max-height: 40px;
    overflow: hidden;
}
.recap-commande .item-produit .ss_total {
    width: 39%;
    text-align: right;
    margin-top: 0 !important;
}
.recap-commande .item-boisson .ss_total {
    width: 56%;
}
.recap-commande .item-boisson .nom-article {
    width: 60%;
    position: relative;
}
.recap-commande .item-boisson .delete-produit {
    top: 30px;
    left: 0;
}
.recap-commande .item-boisson {
    min-height: 60px;
}
.recap-commande .item-formule .ss_total {
    margin-top: 0 !important;
    text-align: right;
}
.recap-commande.item-produit div {
    position: absolute;
    right: 0;
    top: 25px;
    max-width: 60px;
}
.recap-commande .item-produit  input {
    position: absolute;
    right: 5px;
    top: 32px;
    max-width: 70px;
    max-height: 30px;
}
.recap-commande .item-formule div p.delete-formule {
    position: absolute;
    right: -44px;
    top: 18px;
    max-height: 20px;
}
.recap-commande .item-formule div {
    position: relative;
    display: flex;
}

/* RECAP CACHE */
/* =========== */

#main-commande .recap-commande {
    position: fixed;
    background-color: var(--background-color);
    width: 85%;
    padding: 10px;
    overflow: scroll;
    max-height: 450px;
    z-index: 10;
    right:-85%;
    -webkit-box-shadow: -3px 2px 25px 0 rgba(0, 0, 0, .2);
    -moz-box-shadow: -3px 2px 25px 0 rgba(0, 0, 0, .2);
    box-shadow: -3px 2px 25px 0 rgba(0, 0, 0, .2);
}
#main-commande #button-hide-commande {
    position: fixed; 
    right: 0;
    z-index: 10;
    top: 90px;
    display: block;
}
.logo_panier {
    background-color: var(--background-color);
    position: relative;
    border-radius: 3px;
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent-color);
}
.logo_panier::after {
    top: 0;
    content: '';
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 90%;
    height: 90%;
    display: block;
    background-image: url('./gifs/commande.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    z-index: 10;
}
.item-panier {
    position: absolute;
    left: -40px;
    top: 0;
}
.item-panier:hover {
    cursor: pointer;
}
p#nbitems {
    position: absolute;
    top: 5px;
    left: -17px;
    width: 25px;
    height: 25px;
    display: block;
    background-color: var(--background-color);
    text-align: center;
}

/* FORMULE */
/* ======= */

#formule-form input[type="radio"],
#formule-form label {
    margin-right: 10px !important;
}
span.valider-formule {
    display: block;
    margin-top: 20px;
    width: 200px;
    text-align: center;
    background-color: var(--accent-color);
    padding: 12px 22px;
    color: #FFFFFF;
    cursor: pointer;
}
.warning-formule {
    color: var(--error-color);
    text-align: center;
    display: none;
}
div.ui-tabs-panel {
    border-top: 5px solid var(--primary-color-lighten);
    clear: both;
    padding: 10px;
}
#tabs ul li {
    list-style: none;
    margin: 0 1px 0 0;
    float: left;
    padding: 0 !important;
    background: none;
}
#tabs ul li a {
    font-size: 15px;
    text-decoration: none;
    background-color: var(--primary-color);
    color: #FFFFFF !important;
    padding: 10px;
    display: block;
    -webkit-transition: all 600ms ease;
    -moz-transition: all 600ms ease;
    -ms-transition: all 600ms ease;
    -o-transition: all 600ms ease;
    transition: all 600ms ease;
}
#tabs ul li.ui-tabs-active a,
#tabs ul li a:hover {
    background-color: var(--primary-color-lighten);
}

.options-produit {
    display: none;
}
.options-produit.optionSelector label{
  font-size: .8em;
  min-width:200px;
  margin: 0!important;
  font-weight: 600;
}
.options-produit.optionSelector{
    display: flex!important;
    align-items: center;
}
.commande-page .colonne_centre.page_contact{
    min-width:750px 
}
@media screen and (max-width:960px){
    .commande-page .colonne_centre{
        min-width: auto;   
    }
}
/* COMPTE CLIENT */
/* ============= */

.mon_compte {
    position: relative;
    background-color: #313130;
    width: 50px;
    height: 44px;
    margin-top: 10px!important;
    margin-bottom: 20px!important;
    margin: 0 auto;
}
.mon_compte a {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}
.mon_compte:hover::before {
    width: 45%;
    height: 46%;
    top: 13px;
    left: 15px;
}
.mon_compte::before {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 65%;
    height: 66%;
    top: 8px;
    left: 9px;
    background-image: url('./gifs/image_profile.png');
    background-size: cover;
    transform: scale(1);
    -webkit-transition: all .2s ease-in;
    -moz-transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    transition: all .2s ease-in;
}
.mon_compte::after {
    content: 'Mon compte';
    width: 100px;
    position: absolute;
    top: 50px;
    left: -27px;
    right: 0;
    margin: auto;
}

/* DETAIL BDD */
/* ========== */

.left_detail {
    max-width: 490px;
    margin: 0 auto;
}
.left_detail img {
    object-fit: cover;
    height: 300px;
}
.right_detail h2 {
    color: var(--accent-color);
    font-size: 1.125em;
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    display: none;
}
.right_detail {
    padding: 50px 30px 0;
}
p.prix_detail {
    color: var(--text-color);
    font-size: 1.125em !important;
    font-weight: 500;
    text-align: center;
    margin-bottom: 30px;
}
.catalogue-detail p.bouton_simple,
.item_detail p.bouton_commande {
    text-align: center !important;
    display: block;
}

/* LISTING BDD BOISSONS */
/* ==================== */

body.boissons .item_bdd2 .content_image {
    display: none;
}
body.boissons .item_bdd2 {
    width: 300px;
    padding: 0;
}
body.boissons #catalogue_contenu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
body.boissons #catalogue_contenu div:nth-last-child(1) {
    width: 100%;
}
.boissons .prix_unit {
    margin-bottom: 0;
}
.boissons .titre_listing {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin: 10px 0;
}
.boissons .titre_listing p {
    max-width: 85%;
}
.boissons .titre_listing::before {
    position: absolute;
    left: 0;
    right: 0;
    content: '';
    width: 100%;
    height: 1px;
    display: block;
    bottom: 0;
    margin: 0 auto;
    background-color: var(--accent-color);
}

/* LISTING */
/* ======= */

.catalogue-listing #catalogue_categorie_souscategorie {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}
.catalogue-listing #catalogue_categorie_souscategorie a {
    padding: 15px;
    border: 1px solid var(--accent-color);
    border-radius: 40px;
    margin: 5px;
}
.catalogue-listing #catalogue_categorie_souscategorie a:hover {
    background-color: var(--accent-color) !important;
    color: #FFFFFF;
}

/* PARTIE COMMANDE 2 */
/* ================= */

.formule-page {
    padding: 30px 0;
}
.formule-page h1 {
    margin-bottom: 50px;
    position: relative;
    margin-top: 25px;
    text-align: left;
}
.formule-page h1::before {
    content: '';
    width: 50px;
    height: 60px;
    background-image: url('./gifs/picto_menu.png');
    position: absolute;
    top: -62px;
    margin: auto;
    z-index: 999;
    left: 0;
}
#formule {
    position: relative;
}
#commande-off {
    width: 96%;
    height: 230px;
    position: relative;
    margin-bottom: 40px;
    padding: 30px 0;
}
#commande-off p {
    text-align: center;
    color: #FFFFFF;
    position: absolute;
    right: 0;
    left: 0;
    bottom: 28%;
    padding: 15px;
    font-size: 16px;
    margin: auto;
    background-color: var(--error-color);
}
h2#pizzas,
h2#plats,
h2#desserts,
h2#boissons,
h2#liste-formules {
    color: var(--secondary-color);
    border-bottom: 1px solid var(--secondary-color);
}
#formule p {
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
    margin-top: 5em;
    transition: all .3s ease-in-out;
}
#formule h2 {
    text-align: center;
    color: #FFFFFF;
}
#formule a::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
#formule:hover p {
    color: var(--accent-color);
    background-color: #FFFFFF;
}
#formule::before {
    content: '';
    background-image: url('./gifs/image_formule.png');
    width: 260px;
    background-size: contain;
    height: 80px;
    position: absolute;
    top: 90px;
    right: 0;
    left: 0;
    margin: auto;
}
#formule-form h2 {
    position: relative;
    margin-bottom: 30px;
    border-bottom: 1px solid;
    padding-bottom: 20px;
}
#formule-form h2::before {
    content: '';
    width: 49px;
    height: 50px;
    float: left;
    margin-right: 10px;
    margin-top: -13px;
}
.item-formule{
    width: 100%;
}
.formule-form h2:nth-child(1)::before {
    background-image: url('./gifs/picto_plat.png');
}
.formule-form h2:nth-child(3)::before {
    background-image: url('./gifs/picto_boisson.png');
}
.formule-form h2:nth-child(5)::before {
    background-image: url('./gifs/picto_dessert.png');
}
.liste-produit-formule {
    margin-bottom: 50px;
}
.produit-formule {
    margin-bottom: 10px;
    cursor: pointer;
    width: fit-content;
}
.produit-formule label,
.produit-formule input {
    cursor: pointer;
    margin-right: 7px;
}
.item-produit  {
    max-width: 220px;
    margin-bottom: 30px;
}
.price_unitaire,
p#total {
    color: var(--text-color);
    font-size: 1.125em !important;
    font-weight: 500;
    text-align: center;
}
p#total {
    text-align: left;
}
.ss_total  {
    margin-top: 15px;
    color: var(--text-color);
    font-size: 1.125em !important;
    font-weight: 500;
}
.ss_total span {
    color: var(--text-color-lighten);
    font-size: 13px;
    font-weight: 400;
}
.message-client {
    margin-bottom: 30px;
}
.date-livraison {
    margin-bottom: 10px;
}
.date-livraison p {
    margin-bottom: 2px;
}
.date-livraison input[type="text"] {
    max-width: 100px;
}

/* PARTIE COMMANDE */
/* =============== */

.item-produit {
    display: flex;
    flex-direction: column;
    max-width: 220px;
    margin: 10px 20px;
}
#main-commande .item-produit {
    min-width: 220px;
}
#main-commande {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
}
#main-commande h2 {
    width: 100%;
}
.menu_commande {
    background-color: var(--secondary-color);
    padding: 50px 30px;
}
.menu_commande ul {
    /* display: flex; */
    justify-content: space-between;
    flex-wrap: wrap;
    list-style: none;
    margin-left:0px;
}
.menu_commande ul li {
    padding: 10px;
    text-align: center;
    width: 100%;
}
.block_commande {
    margin-top: 20px;
}
.menu_commande li a {
    font-size: 1.125em;
    color: #FFFFFF;
    display: block;
    text-align: center;
    text-decoration: underline;
}
.menu_commande li a:hover {
    color: var(--accent-color);
}
.alivrer {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
    margin-top: 20px;
    color: var(--accent-color);
    font-size: 16px;
    font-weight: 600;
    flex-wrap: wrap;
}
.alivrer p {
    /* width: 140px; */
    margin-right: 5px;
}
.alivrer input[type="radio"]  {
    margin-right: 10px !important;
}
.alivrer input[type="radio"]::after  {
    width: 15px;
    height: 15px;
    border-radius: 15px;
    top: -2px;
    left: -1px;
    position: relative;
    background-color: #FFFFFF;
    content: '';
    display: inline-block;
    visibility: visible;
    border: 1px solid;
}
.alivrer input[type="radio"]:checked::after  {
    width: 15px;
    height: 15px;
    border-radius: 15px;
    top: -2px;
    left: -1px;
    position: relative;
    background-color: var(--accent-color);
    content: '';
    display: inline-block;
    visibility: visible;
    border: 1px solid #FFFFFF;
}
.message_inf {
    display: none;
}
.delete-formule, .delete-produit {
    font-size: .8em !important;
    color: var(--error-color);
    width: auto;
    padding: 2px 13px 2px 7px;
    display: block;
    font-size: 11px;
    cursor: pointer;
    height: 20px;
    position: absolute;
    left: 60px;
    top: 45px;
}
.delete-formule {
    left: 0 !important;
    top: 50px !important;
}
.delete-formule:hover,
.delete-produit:hover {
    opacity: .5;
    transition: .5s;
}
.warning-commande {
    display: block;
    margin-bottom: 10px;
    color: var(--error-color);
    font-size: 14px;
}
.type-commande  {
    color: var(--accent-color) !important;
    max-width: 110px;
    padding: 5px 0;
}
.recapitulatif_paiment p.style_h2 {
    color: #FFFFFF;
    border-bottom: 1px solid;
    padding-bottom: 10px;
}
#main-commande .total {
    border:1px solid var(--secondary-color);
    padding: 30px 30px;
    margin-bottom: 30px;
    width:100%;
}
#commande-repas .info_prix div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#commande-repas .info_prix div input {
    max-width: 70px;
}
#commande-repas .description_produit .desc_produit {
    text-align: center;
}

/* PAIEMENT */
/* ======== */

#paiement_form {
    max-width: 600px;
    margin: 0 auto;
    padding: 50px 20px;
}
.recapReference {
    margin-top: 30px;
}
#paiement_form table tr {
    background-color: #313130;
    color: #FFFFFF;
    border: none;
}
#paiement_form table td {
    border: none;
    padding: 20px 30px;
    color: #FFFFFF;
}
#paiement_form table td bold {
    color: var(--accent-color);
}
#paiement_form table tr:nth-child(odd) {
    background-color: #3e3e3c;
}
.content_encart_espace .bouton_simple {
    text-align: left;
    display: block;
}
.content_encart_espace .bouton_simple a:after {
    font-family: 'Material Icons';
    content: 'arrow_back';
    float: left;
    margin-right: 10px;
    -webkit-font-feature-settings: 'liga' 1;
    -moz-font-feature-settings: 'liga' 1;
    font-feature-settings: 'liga' 1;
}
.content_encart_espace .bouton_simple a::before {
    display: none;
}
.recapitulatif_paiment td {
    background-color: var(--accent-color);
    padding: 50px 30px!important;
}
.recapitulatif_paiment bold {
    font-weight: 600;
    color: #FFFFFF !important;
}
.recap-panier {
    background-color: var(--secondary-color);
    padding: 50px 30px;
    margin-bottom: 40px;
}
.recap-panier h2,
.recap-panier p {
    color: #FFFFFF;
}
.recap-panier h2 {
    border-bottom: 1px solid #F5F5F5;
    padding-bottom: 10px;
    position: relative;
}
.recap-panier h2::after {
    font-family: 'Material Icons';
    content: 'shopping_cart';
    float: left;
    margin-right: 10px;
    font-size: 20px;
    -webkit-font-feature-settings: 'liga' 1;
    -moz-font-feature-settings: 'liga' 1;
    font-feature-settings: 'liga' 1;
}
.recap-panier .nom-article {
    width: 75%;
}
.recap-panier .prix-article {
    float: right;
    margin-top: -40px;
}
.recap-panier div {
    margin: 15px 0;
}
.ligne_total {
    background-color: var(--secondary-color-darken);
    width: 100%;
    display: block;
    padding: 10px 30px 0;
    display: flex;
    justify-content: space-between;
}
.photo_livraison {
    display: none;
}
.content_encart_espace .partie_left {
    max-width: 400px;
    margin: 0 auto;
    margin-bottom: 40px !important;
}
.partie_left2 {
    background-color: var(--accent-background-color);
    padding: 50px 30px;
}
.coordonnees-commande .style_h2,
.recap-panier h2  {
    text-align: left !important;
}
.paiement-commande .style_h2::after {
    font-family: 'Material Icons';
    content: 'credit_card';
    float: left;
    margin-right: 10px;
    font-size: 20px;
    -webkit-font-feature-settings: 'liga' 1;
    -moz-font-feature-settings: 'liga' 1;
    font-feature-settings: 'liga' 1;
}
.coordonnees-commande span {
    font-weight: 600;
}
.coordonnees-commande .style_h2::after {
    font-family: 'Material Icons';
    content: 'location_on';
    float: left;
    margin-right: 10px;
    font-size: 20px;
    -webkit-font-feature-settings: 'liga' 1;
    -moz-font-feature-settings: 'liga' 1;
    font-feature-settings: 'liga' 1;
}
.partie_left2 #validation {
    margin-top: 30px;
}
.content_encart_espace  .partie_right h2 {
    text-align: center !important;
}
#espace_client .generateur {
    max-width: 912px;
    margin: 0 auto;
}
#espace_client {
    padding: 50px 30px;
    max-width: 1400px;
    margin: 0 auto;
}
.compte-mdp #espace_client,
.compte-supprimer #espace_client_desinscription {
    max-width: 400px;
    margin: 0 auto;
}
.compte-supprimer .noFloatingLabel {
    font-size: 13px;
}
#espace_client p {
    text-align: center;
}
p.cacherSubmit  {
    text-align: center;
}
#encart_espace_client a {
    margin-right: 34px;
}
.compte-principal #espace_client_principal {
    display: flex;
    margin-top: 50px;
    margin-bottom: 50px;
    justify-content: center;
    flex-wrap: wrap;
}
.compte-principal #espace_client_principal a {
    border: 1px solid;
    padding: 12px 22px;
    margin: 8px;
}
.compte-principal #espace_client_principal {
    max-width: 870px;
}
#espace_client_principal {
    max-width: 400px;
    margin: 50px auto;
}
 #espace_client_principal a {
    margin-right: 25px;
}
.formulaire_paypal {
    position: relative;
}
.formulaire_paypal::after {
    width: 65px;
    height: 27px;
    content: '';
    background-image: url('./gifs/paypal_logo.png');
    background-size: cover;
    position: absolute;
    margin-left: 10px;
    margin-top: 4px;
}

/* INFOBULLE */
/* ========= */

form.generateur p.erreur,
form.generateur div.divGenerateurErreur {
    border: none !important;
}
.divGenerateurErreur {
    display: block;
    clear: both;
}
form.generateur p.erreur label,
form.generateur div.divGenerateurErreur label {
    padding-bottom: 20px !important;
}
form.generateur p.erreur span.erreur,
form.generateur div.divGenerateurErreur span.erreur {
    background: none !important;
    color: var(--error-color) !important;
    display: block !important;
    font-family: 'Arial', sans-serif;
    font-size: .846em;
    font-weight: normal !important;
    margin: 0 !important;
    padding: 0 !important;
    position: absolute;
    top: 20px;
}
div.valide,
div.erreur {
    position: relative;
    margin-bottom: 20px !important;
    padding: 15px !important;
    text-shadow: 1px 1px rgba(0, 0, 0, 0.1);
    letter-spacing: normal;
    color: #FFFFFF !important;
}
div.valide {
    background-color: var(--success-color) !important;
}
div.erreur {
    background-color: var(--error-color) !important;
}
div.valide:before {
    content: '\E017';
    display: inline-block;
    font-family: 'iconic';
    font-size: 1.538em;
    vertical-align: middle;
}
div.erreur:before {
    content: '\E806';
    display: inline-block;
    font-family: 'iconic';
    font-size: 1.538em;
    vertical-align: middle;
}
div.valide p,
div.erreur p {
    display: inline-block;
    margin: 0 0 0 15px !important;
    max-width: calc(100% - 40px);
    vertical-align: middle;
}
.validation {
    display: none;
}

/* MESSAGE VALIDATION */
/* ================== */

.errors {
    text-align: right;
    color: var(--error-color);
}
form.generateur .noFloatingLabel {
    white-space: normal !important;
    height: auto !important;
}
form.generateur p img.ui-datepicker-trigger {
    vertical-align: middle;
}
@media screen and (min-width: 360px) {
    .alivrer p {
        margin-right: 20px;
    }
    .recap-commande .item-produit .nom-article {
        width:40%;
        max-height: 27px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
}
@media screen and (min-width: 400px) {
    #formule {
        width: 100%;
    }
    .formule-page {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .formule-page h1::before{
        content:'';
        right: 0;
    }
    .formule-page h1 {
        text-align: center;
    }
}
@media screen and (min-width: 600px) {
    .bandeau_commande {
        position: absolute;
        bottom: 0;
        right: 0;
        width: 365px;
    }
    .bandeau_commande p {
        text-align: left;
        margin-left: 45px;
    }
    .bouton_commande {
        display: none;
    }
    #bandeau {
        width: auto;
    }
    #main-commande {
        padding: 0 30px;
    }
    .item-produit {
        display: flex;
        padding: 0;
        margin-bottom: 50px;
    }
    .image_produit {
        width: 220px;
    }
    .item-produit .title-5,
    .price_unitaire {
        text-align: left;
    }
    .item-produit .title-5 {
        min-height: 45px;
    }
    .desc_produit {
        min-height: 66px;
    }
    .info_prix {    
        margin-top: 20px;
        display: flex;
        justify-content: space-between;
        border-top: 1px solid var(--secondary-color);
        padding-top: 10px;
        flex-direction: column;
    }
    .info_prix input[type=number] {
        width: 100px;
        display: block;
    }
    .choix-qte {
        font-size: 13px;
    }

    /* RECAP FORMULE */
    /* ============= */

    .item-formule {
        position: relative;
    }
    #commande-repas .description_produit .desc_produit {
        text-align: left;
    }
    .recap-commande .item-produit input {
        top: 32px;
        right: 34px;
    }
    .recap-commande .item-produit p.delete-produit {
        top: 30px;
    }
    .recap-commande .item-formule div {
        width:33%;
    }
    .recap-commande .item-formule p.delete-formule {
        right: 0 !important;
        top: 45px !important;
        position: absolute !important;
    }
    .recap-commande .item-boisson {
        margin-right: 6%;
    }
    .recap-commande .item-boisson input {
        right: 2%;
    }
    #main-commande .recap-commande {
        max-height: 800px;
    }
    
    /* LISTING BOISSONS */
    /* ================ */
    
    body.boissons #catalogue_contenu {
        justify-content: space-between;
    }
}

@media screen and (min-width: 650px) {
    body:not(.boissons) .item_bdd2:hover {
        transform: scale(.9);
        transition: all .5s ease-in-out !important;
    }
    .content_image .fake_button {
        display: block;
        position: absolute;
        width: 100%;
        text-align: center !important;
        margin: 0;
        bottom: 0;
    }
    .content_image {
        float: left;
        position: relative;
    }
    .prix_unit {
        text-align: left !important;
    }
    .titre_listing .fake_button {
        display: none;
    }
    .item_bdd img {
        object-fit: cover;
    }
    .encart_plat {
        flex-wrap: nowrap;
    }
}
@media screen and (min-width: 700px) {

    /* RÉCAP COMMANDE */
    /* ============== */

    #main-commande .recap-commande {
        width: 470px;
        right: -470px;
    }
    
    /* LISTING BOISSONS */
    /* ================ */
    
    body.boissons .item_bdd2 {
        width: 40%;
        max-width: 40%;
    }
}
@media screen and (min-width: 760px) {
    .menu_commande ul li {
        padding:10px 20px;
        width:auto;
    }
    .menu_commande ul {
        /* justify-content: space-around; */
    }
}
@media screen and (min-width: 810px) {
    .mon_compte {
        margin: inherit;
        margin-top: -1px !important;
        margin-bottom: 0 !important;
    }
    .mon_compte:after {
        display: none;
    }
    .item_bdd {
        margin-bottom: 40px;
        margin-left: 10px;
        margin-right: 10px;
        max-width: 250px;
    }
    .partie_question, .partie_commande  {
        width: 49%;
        margin-top: 0;
        padding: 50px;
    }
    .photo_livraison {
        display: block;
    }
    .haut_recap_panier {
        position: relative;
        width: 100%;
        display: inline-block;
    }
    .haut_recap_panier {
        margin-bottom: 30px;
    }
    .recap-panier {
        width: calc(100% - 300px);
        float: left;
        margin-bottom: 0;
    }
    .photo_livraison {
        width: 300px;
        float: right;
        position: absolute;
        right: 0;
        height: 100%;
        position: absolute;
    }
    .photo_livraison img {
        width: 100%;
        max-width: inherit;
        height: 100%;
        object-fit: cover;
        padding-left: 20px;
    }
    .delete-formule, .delete-produit {
        padding: 0px 14px 0 7px;
    }
}
@media screen and (min-width: 960px) {
    header .header_topbar .mon_compte, header .header_topbar .bouton_commande {
        display: none;
    }
    .block_commande {
        width: 80%;
        float: right;
        padding-right: 5%;
    }
    .menu_commande {
        width: 25%;
        margin-top: 100px;
        position: fixed;
        left: 3%;
        max-width: 240px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 999;
    }
    .commande-page .titre_titro p {
        width: 70%;
        float: right;
        margin-top: 15px;
    }
    .menu_commande ul li {
        padding: 5px 28px;
    }
    .menu_commande ul li a {
        font-size: 1em;
        margin-bottom: 0;
    }
    .menu_commande {
        padding: 25px 30px;
        top: 45%;
    }
    .recap-commande .item-produit p.delete-produit {
        top: 35px;
    }
}

@media screen and (min-width:993px) {
    #main-commande {
        max-width: 60%;
        margin-left: 15%;
        padding: 0 45px 0 0;
    }
    .recap-commande .item-produit input {
        right: 17%;
        top: 30px;
    }
    .recap-commande .ss_total {
        font-size: .9em !important;
    }
    .recap-commande img {
        width: 50px;
        height: 50px;
    }
    .recap-commande .nom-article {
        width: 40%;
    }
    .recap-commande .ss_total {
        width: 23%;
    }
    .recap-commande {
        width: 28%;
        background-color: var(--primary-background-color);
        position: fixed;
        right: 0;
        padding: 10px;
    }
    .recap-commande .item-produit .ss_total {
        margin-right: -9px;
        width: 42%;
    }
    .recap-commande .item-boisson .ss_total {
        width: 40%;
    }
    .recap-commande .item-produit input {
        right: 7%;

    }
    .recap-commande .item-boisson input {
        right: 1%;
    }
    #bandeau {
        top: 20%;
        right: 26%;
        left: inherit;
        margin: 0;
    }
}
@media screen and (min-width: 1024px) {
    .commande-page .titre_titro {
        position: relative;
        display: table;
        width: 74%;
        height: auto;
        float: right;
        padding-right: 5%;
    }
    /*
    .commande-page .titre_titro h1 {
        width: 30%;
        position: absolute;
        left: 3%;
        padding-right: 4%;
        top: 50%;
        max-width: 370px;
        transform: translateY(-50%);
        border-right: 6px solid var(--accent-color);
        margin-right: 0%;
    }
    */
    .commande-page .titre_titro p {
        width: 56%;
        float: right;
    }
    #paiement_form {
        margin-bottom: 100px;
    }
}

@media screen and (min-width: 1100px) {
    #main-commande{
        max-width: 68%;
        margin-left: 7%;
    }
}
@media screen and (min-width: 1185px) {
    #main-commande{
        margin-left: 5%;
    }
}
@media screen and (min-width: 1200px) {
    .haut_recap_panier {
        width: 66%;
        float: left;
        margin-left: 3%;
        margin-bottom: 70px;
    }
    .recap-panier {
        min-height: 315px;
    }

    /* LISTING BOISSONS */
    /* ================ */
    
    body.boissons #catalogue_contenu {
        justify-content: flex-start;
    }
    body.boissons #catalogue_contenu .item_bdd2 {
        width:300px;
    }
    body.boissons .titre_listing {
        min-height: 117px;
    }
}
@media screen and (min-width: 1280px) {
    .header_topbar .header_centrage .mon_compte {
        position: absolute;
        margin-top: 0 !important;
    }
    .header_topbar .header_centrage .bouton_commande {
        margin-right: 54px;
    }
    .encart_plat {
        width: calc(100% - 303px);
    }
    .commande-page .titre_titro,
    .block_commande {
        padding-right: 9%;
    }
    #main-commande {
        justify-content: flex-start;
        margin-left: 2%;
        max-width: 79%;
    }
    .recap-commande {
        width: 25%;
    }
}

@media screen and (min-width: 1380px) {
    .menu_commande {
        width: 13%;
    }
    #main-commande {
        justify-content: flex-start;
        max-width: 68% !important;
        margin-left: 16% !important;
    }
    .block_commande {
        width: 100%;
    }
    #main-commande .recap-commande {
        width: 380px;
    }
}
@media screen and (min-width: 1400px) {
    .recap-commande {
        width: 23%;
    }
    #main-commande {
        margin-left: 2%;
        max-width: 87%;
    }
    #formule {
        width: 95%;
    }
    .recap-commande .item-produit .nom-article {
        width: 42%;
        font-size: .8em;
    }
    .recap-commande .item-produit .ss_total {
        width: 37%;
        font-size: .7em;
    }
    .recap-commande .item-boisson .ss_total {
        width: 56% !important;
    }
}
@media screen and (min-width: 1500px) {
    .bandeau_commande {
        bottom: -52px;
        z-index: 9;
    }
}

@media screen and (min-width: 1550px) {
    .commande-page .titre_titro {
        float: none;
        margin: 0 auto;
        width: 70%;
    }
    .option_commande {
        margin-top: 30px;
    }
    .commande-page .titre_titro {
        padding-right: 0;
    }
    .commande-page .titre_titro p {
        width: 62%;
    }
    .horaires-accueil {
        max-height: 430px;
    }
    .recap-commande .item-produit .ss_total {
        width: 36%;
        
    }
}
@media screen and (min-width: 1800px) {
    #main-commande .recap-commande {
        width: 480px;
    }
    .bouton.btn_paiement {
        text-align: center;
    }
}
@media screen and (min-width: 1900px) {
    .recap-commande .item-produit .ss_total {
        width: 40%;
    }
    #main-commande {
        max-width: 95% !important;
        margin-left: 7% !important;
    }
}

#main-commande h2 span {
    display: block;
    font-size: 16px;
    font-weight: lighter;
}

.menu_commande li {
    list-style: none;
}

.menu_commande .pizza-menu p {
    font-size: 1em;
    margin: 0;
    color: #fff;
    text-align: left;
}

.menu_commande ul li {
    padding: 5px 20px;
}

.menu_commande .pizza-menu ul li {
    font-size: 0.875em;
}

.menu_commande li {
    padding: 5px 20px;
}

.menu_commande li a {
    text-align: left;
}

/* .option_commande .h2_liv {
    margin-left: 7%;
    letter-spacing: 1px;
}

@media screen and (max-width: 1550px) and (min-width: 960px) {
    .option_commande .h2_liv {
        margin-left: 25%;
        letter-spacing: 1px;
        float: left;
    }
} */