/* GLOBAL */

html {
    height:100%;
}

.count {
    z-index: 2;
    font-size: 11px;
    border-radius: 50%;
    background: #d60b28;
    width: 16px;
    height: 16px;
    line-height:16px;
    display: block;
    text-align: center;
    color: white;
    font-weight: bold;
    margin-left: -10px;
    margin-top: -10px;
  }

body {
    margin:0;
    height:94vh;
    font-family: var(--my-font);
    color:var(--text-color-dark);
    font-size:0.95rem;
}

main {
    justify-content: center;
    align-items: center;
    margin-top:6vh; /*Header fixed*/
    margin-bottom:6vh; /*Footer fixed*/
    padding-top:3vh;
    padding-left:5vw;
    padding-right:5vw;
    padding-bottom:7vh;
    min-height: calc(90vh - 12vh);
}

form {
    margin-block-end:0;
}

h1, .h1 {
    font-family: var(--my-font);
    text-align: center;
    font-size:1.3rem;
    margin-bottom:5vh;
}

h2 {
    font-family: var(--my-font);
    text-align: center;
    font-size:1rem;
}

h3 {
    display: flex;
    margin:5px;
}

p {
    text-align: justify;
    margin:2px;
    margin-bottom: 3px;
}

b {
    color:var(--accent-color);
}

.dataTables_filter {
    margin-bottom: 4px;
}

.dataTable tbody tr:hover {
     background-color: #00a48e!important;
}
   
.dataTable tbody tr:hover > .sorting_1 {
     background-color: #00a48e!important;
}

.jconfirm-box {
    width: 30vw;
}

.prix_masques {
    display: none;
}


/*INPUT + BOUTONS */

input,button {
    font-family: var(--my-font),
}

button, input[type="submit"] {    
    cursor: pointer;
}

input:focus, input:hover, select:hover {
    outline: none;
    border-color: #c8cccf;
    box-shadow: 0 0 10px #c8cccf;
    transition: 0.2s;
}

.btn {    
    color: var(--text-color-light);
    background-color: var(--accent-color);
    border: none;
    border-radius: 3px;
    padding: 5px;
    font-size: 0.9rem;
    transition: 0.5s;
    min-width: 30px;
    margin-right:2px;
    margin-left:2px;
}

.btn-blue{
    background-color: #0d6efd;
}

.btn-green{
    background-color: #28a745;
}

.btn-red{
    background-color: #dc3545;
}

.btn-descr{
    position: absolute;
    background-color: #FFFFFF;
    border: 1px solid var(--accent-color);
    border-radius: .5rem;
    box-sizing: border-box;
    color: #111827;
    font-family: "Inter var",ui-sans-serif,system-ui,-apple-system,system-ui,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.25rem;
    padding: .5rem .75rem;
    text-align: center;
    text-decoration: none #D1D5DB solid;
    text-decoration-thickness: auto;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    margin: 2px 2px;
}

.btn-grey{
    background-color: #dfdfdf;
    color:var(--text-color-dark);
    border: 0.5px solid #adadad; 
}

.btn-yellow{
    background-color: #ffc107;
    color:#212529;
}

.btn-small{
    height: fit-content;
    width: fit-content;
    padding: 3px;
}

.btn-large{
    min-width: 60px;
    width: fit-content;
    padding: 5px;
}

.btn:hover{
    background-color: #00a48e;
    outline: 1px solid #0b489d;
}

.btn:disabled{
    opacity: 0.40;
    cursor: default;
}

.btn-filled {
    background-color: white;
    font-weight: bold;
} 


input:optional {
    border-color: gray;
}

input:required {
    border-color: black;
}

input:invalid {
    border-color: red!important;
}

#cardCompte input[type="checkbox"]{
    pointer-events: none;

}

/*TABLEAUX*/


table .num{
    font-family: var(--my-font-num);
    text-align: right;
    font-size: medium;
}

table tfoot td {
    font-weight: bold;
    font-weight: 800;
}

.niceTable tr{
    height:30px;
}
.niceTable thead{
    background-color: #cccccc;
}

table .colButtons  {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

/* FLEX BARRE */

.d-flex {
    display: flex;
    justify-content: space-between;
}

.d-flex a, .d-flex p {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
    margin-right : 10px;
    font-size:0.8rem;
}

.d-flex a i {
    margin-right: 5px;
    margin-left: 5px;
    margin-top: 5px;
}

/* BARRE RECHERCHE*/

.barre {
    display: flex;
    flex-wrap: wrap;
    max-width: 90vw;
    flex-direction:row;
    justify-content: space-between;
    margin-bottom: 2vh;
    margin-top: 2vh;
    margin-left: 2vh;
    margin-right: 2vh;
}

.barre > form {
    display: inline-flex;
    align-items: center;
}

.barre > form > label, .barre > form > span {
    display: inline-block;
    line-height: 50px;
    min-width: fit-content;
    padding:5px;
}

.barre > form > button, .barre > form > select {
    padding: 5px;
    margin: 0 2px;
    font-family: var(--my-font);
}

.recherche {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    margin:5px;
}

.recherche > * {
    margin:2px;
}

.recherche > form > button > i {
    margin-right: 5px;
    margin-left: 5px;
}

.recherche label {
    align-self:center;
    margin:2px;
}

.recherche > form {
    display: inline-flex;
}

.recherche > form > input[type='text'] {
    max-width:30vw;
} 

/* HEADER + MENU */

header {
    position:fixed;
    background-color: var(--primary-color);
    top:0;
    left:0;
    right:0;
    height: 6vh;
    z-index:1000;
}

header nav a,header nav p {
    text-decoration: none;
    color:var(--background-color);
    display: inline-block;
    line-height: 6vh;
    padding:0 5px;
    margin:0;
}

header img {
    padding-left:10px;
    max-height: 5vh;
}

#middleNavDiv > * {
    margin-left: 3vw;
}

nav a:hover {
    color: #00a48e;
    transition-duration: 200ms;
}

#menu {
    display: flex;
    flex-direction: row;
}

#divPanierCompte{    
    display: flex;
}

.dropdown {
    position: relative;
    display: inline-block;
    min-width: 16vw;
    border-left: 1px solid var(--secondary-color);
}

.dropdown-btn{
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--primary-color);
    z-index: 1;
    width:100%;
    height:0;
}

.dropdown-content >a,.dropdown-content >p {
    display: none;
    line-height: 4vh;
}

.dropdown:hover .dropdown-content {
    display: block;
    flex-direction: column;
    transition: all 200ms ease-out;
    height: max-content;
}

.dropdown:hover .dropdown-content >* {
    display: block;
}

.buttons_header > button {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    margin-bottom:6px;
}

/* FOOTER */

footer {
    display: flex;
    position: fixed;
    background-color: var(--primary-color);
    width: 100%;
    height: 6vh;
    color: var(--text-color-light);
    justify-content: space-between;
    bottom: 0;
    z-index: 2000;
}

footer > img {
    padding-left:10px;
    max-height: 6vh;
    padding-bottom:0.7vh;
    padding-top: 0.7vh;
}

footer > a > p {
    align-self: center;
    margin: 0 15px 0 0;
    font-size:smaller;
}

footer > a {
    display: flex;
    text-decoration: none;
    color:inherit;
}

#logoClient{
    max-height: 20vh;
}

/* ASIDE */

aside {
    position:fixed;
    background-color:var(--secondary-color);
    border-radius: 3px;
    top:6vh;
    left:0vw;
    bottom:6vh;
    width: 8vw;
    min-width: fit-content;
    max-height: max-content;
    max-height: 100%;
    overflow-y: auto;
    margin-right:10px;
    z-index: 1;
    padding-bottom:50px;
}
/* Menu Catégorie Mobile */
.closedCategory{
    cursor:pointer;
    text-align: end;
    display: none;
}
.blockChooseCategory{
    display: none;
}
.chooseCategory{
    display: flex !important;
    margin-bottom: 20px;
}
.listSpan{
    padding-right: 30px;
}
.expand_moreSpan{
    padding-left: 30px;
}




aside nav{
    display: flex;
    flex-direction: column;
    padding:10px;
    overflow-y: auto;
}

aside nav p{
    text-decoration: none;
    cursor:pointer;
    color:var(--text-color-dark);
    display: inline-block;
    line-height:15px;
    padding:2px;
    font-size: 0.8rem;
}

aside nav p:hover {
    color:var(--text-color-dark);
    font-weight: bold;
    transition-duration: all 500ms;
}

.bold-category {
    font-weight: bold;
}

/* CONNEXION */

#content-connexion {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top:0;
    min-height: calc(90vh);
    background-image: var(--img);
    background-repeat: no-repeat; 
    background-size: cover;
    background-position: center right;

}

#content-connexion .form {    
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    line-height: 20px;
    max-width: fit-content;
    align-items: flex-start;
    padding: 10px;
    background-color: hsla(0, 0%, 100%, 0.90);
    border-radius: 4px;
    align-items: center;
    margin: 8px;
    min-width: 20vw;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 7px 7px;
}

#content-connexion #btn_connexion {
    background-color: #0b489d;
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 5px;
    margin-top: 10px;
    margin-bottom: 20px;
}

#content-connexion #btn_connexion:hover {
    background-color: #00a48e;
    outline: 1px solid #0b489d;
}

#content-connexion input {    
    display: flex;
    min-width: 15vw;
    margin:8px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 5px;
    margin-bottom: 20px;
}

#content-connexion h1 {    
    color: #0b489d;
    margin-bottom: 40px;
}


.form-connexion{
    text-align: center;
}

#form-connexion{
    display: flex;
    justify-content: center;
    flex-direction: column;
    background-color: var(--background-color);
    border-radius: 4px;
    padding:2vw;
    align-items: center;
}


/* ACCUEIL */

#content-accueil {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* SLIDER */

.titreAccueil{
    margin : 0;
    margin-top: 10vh;
}

.slides-container{
    max-width:100%;
    margin: auto;
    position: relative;

}

.slide{
    position: relative;
}

.slideHide{
    display: none;
}

.photoSlider{
    height: 60vh;
    width: 100%;
    object-fit: cover;
    object-position: top;
}

.photo1{
    object-position: var(--position-photo1);
}
.photo2{
    object-position: var(--position-photo2);
}
.photo3{
    object-position: var(--position-photo3);
}

.slide-details{
    position: absolute;
    bottom: 40px;
    color: black;
    font-size: 1.5rem !important;
    background-color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    width: 350px;
    height: 40%;
    top: 50%;
    left: 300px;
    transform: translate(-50%,-50%);
    text-transform: uppercase;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center
}

@media (max-width: 839px){
    .slide-details{
        left: 250px;
        width: 250px;
        height: 60%;
    }
}
@media (max-width: 475px){
    .slide-details{
        left: 200px;
        width: 250px;
        height: 60%;
    }
}

.slide-title{
    font-weight: bold;
    font-size: 2.3rem;
    text-align: center;
}
.slide-button button{
    border: none;
    height: 50px;
    width: 100%;
    margin: 20px 0;
    text-transform: uppercase;
    background-color: #0c121c;
    color: white;
}
.slide-button button:hover{
    background-color: white;
    border: 1px solid #0c121c;
    color: #0c121c;
}
.dots{
    margin: 0 auto;
    left: 50%;
    bottom: 20px;
    transform: translate(-50%,-50%);
}
.prevBtn, .nextBtn {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 28px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}
.nextBtn {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  .prevBtn:hover, .nextBtn:hover {
    background-color: rgba(0,0,0,0.8);
  }

  .dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: rgb(117, 117, 117);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }
  .dot:hover{
      background-color: white;
  }
  .dots span.active{
      background-color: white;
      border: 0.1px solid black;
  }
@media screen and (max-width: 650px) {
    .logo img:nth-child(1){
        display: none;
    }
    .logo img:nth-child(2){
        display: block;
    }
    header  .header-left{
        width: 100%;
    }    
}

button{
    cursor: pointer;
}

.relative{
    position: relative;
}
.absolute{
    position: absolute;
}


.flux{
    margin-top: 20px;
    display: flex;
    flex-direction:row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding-bottom: 100px;
}

.blockFlux{
    display: flex;
    flex-direction:column;
    justify-content: space-around;
    align-items: center;
    margin-left: 50px;
    margin-right: 50px;
}

.blockPhotos{
    height: 100px;
    width: 100px;
    margin-bottom: 30px;
}

.flecheFlux{
    height: 50px;
    width: 50px;
}
.flecheFluxResponsive{
    display: none;
    transform: rotate(90deg);
    height: 50px;
    width: 50px;
}

@media (max-width: 760px){
    .flux{
        flex-direction:column;
        padding-bottom: 100px;
    }
    .flecheFlux{
        display: none;
    }
    .flecheFluxResponsive{
        display: block;
    }
    .blockFlux{
        padding: 20px;
    }
}


.blockParagraphe{
    text-align: center;
    
}
/* News */
.titreNewsH1{
    /* padding-bottom: 100px; */
    color:#747577;
    font-size: 3em;
}

.news{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 100px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.blockNews{ 
    background: #232427; 
    box-shadow: 0 15px 30px 1px grey;
    position: relative;
    min-width: 320px;
    height: 500px;
    box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.2),
      inset -5px -5px 15px rgba(255, 255, 255, 0.1),
      5px 5px 15px rgba(0, 0, 0, 0.3), -5px -5px 15px rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    margin: 30px;
    transition: 0.5s;
}

.boxNews{
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: #2a2b2f;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: auto;
    transition: 0.5s;
}
.boxNews:hover{
transform: translateY(-50px);
}
.boxNews:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
  }

.contentNews{
    padding: 20px;
    text-align: center;

}

.numeroNews{
    position: absolute;
    top: -130px;
    right: 30px;
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.1);
}

.titreNews{
    font-size: 1rem;
    color: #fff;
    z-index: 1;
    transition: 0.5s;
    margin-bottom: 15px;
}

.blockNewsParaDetail {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    z-index: 1;
    transition: 0.5s;
}
/* CONTACT */

#content-contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top:0;
    min-height: calc(90vh - 110px);
}

#content-contact .form {    
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    line-height: 20px;
    max-width: fit-content;
    align-items: flex-start;
    padding: 10px;
    background-color: var(--secondary-color);
    border: 1px solid silver;
    border-radius: 3px;
    align-items: center;
    margin: 8px;
    min-width: 25vw;
}

#content-contact input {    
    display: flex;
    min-width: 15vw;
    margin:8px;
}

.input-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}


/* RESETPASSWORD */

.para-resetpwd {
    text-align: center;
}

.form-resetpwd {
    margin-top : 30px !important;
}

.btn-resetpwd{
    margin : 20px 0 20px 0 !important;
    width: 100% ;
}

/* CHANGEPWD */

.input-changepwd {
    width: 95%;
}

.btn-changepwd{
    margin-bottom: 10px !important;
    width: 100%;
    padding: 10px;
}

#securite{
    text-align: left;
    margin : 20px 0 10px 0;
}

.title-changepwd{
    line-height: 1.3em;
}

.change-color{
    color: green;
    font-weight: bold;
}

.confirm-pwd{
    margin-top: 30px;
}

#togglePassword {
    margin-top: -35px;
    margin-left: 90%;
    cursor: pointer;
}

/* IDENTIFIANT */

.retour-connexion{
    margin-top: 50px;
}

/* MON COMPTE */

#cardCompte{
    display: flex;
    margin:auto;
    justify-content: space-around;
    flex-wrap: wrap;
    align-items: center;
    min-height: 60vh;
    min-width: 50vw;
    max-width: 80vw;
}

#cardCompte .form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--secondary-color);
    padding: 8px;
    border: 1px solid silver;
    border-radius: 4px;
    margin: 3px;
    margin-bottom: 6px;
    text-align: center;
    min-width: 20vw;
    width: 40%;
}

.title-adresse{
    text-align: left;
}

.adresse{
    border: 1px solid silver;
    border-radius: 3px;
    padding: 5px;
    margin: 0 2px;
    background-color: #FFFFFF;
    width: 55%;
    text-align: left !important;
    display : flex;
    align-items: center
}

.group-form {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 5px;    
}

.blockinfo-client{
    height: 340px;
}

#cardCompte input{
    max-width: 30vw;
    background-color: white;
}

#cardCompte input[type="checkbox"] {
    height:1.5em;
    width:1.5em;
    cursor:pointer;
    position:relative;
    border-radius:4em;
}


 #joursliv {
    border: 1px black;
    padding:5px;
    text-align: center;
 }

 #joursliv th{
    border: 1px black;
    padding:5px;
    text-align: center;
 }

 #info_client td{
    padding:3px;
 }

/* SAISIE COMMANDE ARTICLES */

#content-articles {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-left:16vw;
}

.title_articles {
    width: 100%;
    /*margin-left: -11vw;*/
    text-align: center;
  /*  padding-left: 8vw;*/
}

#section-articles {
    flex-grow: 1;
}

.flex-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
}

.article-quantite {
    display: flex;
    flex-direction:row;
    justify-content: center;
    margin-bottom:10px;
    align-items: center;
    width: max-content;
}

.article-quantite input, .article-quantite select {
    display: flex;
    width:70px;
    margin-left:3px;
    margin-right:3px;
}

.article-quantite select:required:invalid {
    color: rgb(161, 161, 161);
  }
  .article-quantite option[value=""][disabled] {
    display: none;
  }
  .article-quantite option {
    color: rgb(0, 0, 0);
  }

   .comBtnValider {
    display: flex;
  } 


.product-list {
    margin-top:15px;
    display: flex;
    grid-template-columns: repeat(auto-fill, minmax(280px, 2fr));
    gap: 1rem;
    margin-bottom:75px;
}

.product-item {
    justify-self: center;
    align-items: center;
    padding-bottom: 10px;
    background-color:var(--secondary-color);
    display: grid;
    border: 1px solid silver;
    border-radius: 3px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: fit-content;
}

.product-item img {
    /*width:100%;*/
    /*height: auto;*/
    margin-bottom:0;
    max-height: 200px;
    min-height: 200px;
    border-radius: 3px;
    width: 270px;
    object-fit: cover;
}

.product-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size:smaller;
    margin-bottom:4px;
}

#libArticle {
    max-width: 200px;
    
}

#blocLibFavArticle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 45px;

}

.btn-comment {
    font-size: x-small; 
}

#btn-comment {
    all: unset;
    cursor: pointer;
}

.containerIconAction {
    display: flex;
    font-family: emoji;
    justify-content: space-evenly;
}

.articles-error {
    padding:20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.Comment{
    position:absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    top:50vh;
    left:calc(40vw);
    width:20vw;
    height:20vh;
    color:black;
    text-align:center;
    background:grey;
    opacity: 0.9!important;
    padding:1.2rem;
    display:none;
    border: 1px solid silver;
    border-radius: 5px;
    z-index: 9999;

}

.commentLignePanier{
    position:absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    left:calc(40vw);
    width:20vw;
    height:20vh;
    color:black;
    text-align:center;
    background:grey;
    opacity: 0.9!important;
    padding:1.2rem;
    display:none;
    border: 1px solid silver;
    border-radius: 5px;
    z-index: 9999;
    
}

.Comment > *{
    justify-content: center;
    align-items: center;
    display: flex;
}


.commentLignePanier > *{
    justify-content: center;
    align-items: center;
    display: flex;
}


.Comment button {
    justify-content: center;
    align-items: center;
    display: flex;
    margin:0.7rem;
}

.commentLignePanier button {
    justify-content: center;
    align-items: center;
    display: flex;
    margin:0.7rem;
}

.Comment textarea {
    border: 1px solid silver;
    border-radius: 5px;
    font-family: var(--my-font);
    padding:5px;
}

.commentLignePanier textarea {
    border: 1px solid silver;
    border-radius: 5px;
    font-family: var(--my-font);
    padding:5px;
}

.commentLigneCart{
    display: flex;
    justify-content: space-between;
}

.star i {
    cursor: pointer;
}

.product-item.selected {
    border: 1px solid var(--accent-color);
}

.product-item.selected > div > h3, .product-item.selected > .star {
    color: var(--accent-color);
}

#barre_date_liv > *, #date_liv {
    font-size: 0.99rem;
}

#barreCmd {
    justify-content: left;
}


/*PANIER*/


.inpUpdateQtePanier{
    border: none!important;
    background-color: transparent!important;
}

.inpUpdateQtePanier:hover {
    box-shadow: inherit;
}




.div-center {
    display: flex;
    justify-content: center;
}

.card-white{
    background: var(--background-color);
    border-radius: 0;
    border: none;
}

#divInfo{
    width: 100%; 
    display: inline-flex; 
    justify-content: space-around;
    padding-top: 2vh;
}
#divInfoMobile{
    width: 85%;
}
#divInfoMobile > a {
    margin: 40px 0;
    display:flex;
    flex-direction: row;
    text-decoration: none;
}
#divInfoMobile > a > div:first-child{
    text-align: center;
    width: 90%;
}
#divInfoMobile > a > div:not(:first-child){
    font-size: xx-large;
}

#divInfo > div{
    display: inline-flex;
    align-items: center;
    flex-direction: column;
}

input:not([type='submit']), select{
    border: 1px solid silver;
    border-radius: 3px;
    padding: 5px;
    margin: 0 2px;
}

input[type='text']:read-only, input[type='text']:disabled{
    background-color:var(--secondary-color);
}

.panier_comment_ligne {
    font-style: italic;
    font-size: smaller;
}

.article_delete i {
    display: flex;
    justify-content: center;
    cursor: pointer;
}

.flex-column {
    display:flex;
    justify-content:center;
    flex-direction:column;
    align-items:center;
}

.flex-column > *{
    margin:5px;
}

.adresses{
    text-align: center;
}

/*METEO*/

#divMeteo{
    margin: 1vh auto;
    min-height: fit-content;
    min-width: fit-content;
    max-width: 30vw;
    max-height: 18vh;
    color: var(--text-color-light);
    border: 4px solid #608094;
    background: #16394c;
    border-radius: 20px;
    padding: 5px;
}
#divMeteo h4{
    margin: 2px;
    text-align: center;
    font-weight: 500;
    font-size: larger;
}
#divMeteo h5{
    margin: 0;
    font-weight: 500;
    font-size: revert;
}
#divMeteo > div{
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: space-around;
}
#divMeteo > div > *{
    padding: 5px;
}

/*CAROUSEL*/

.owl-carousel {
    overflow: hidden;
    text-align: center;
    margin-top: 0.5rem;
}

.carousel-wrapper {
    width: 1000px;
    margin: auto;
    position: relative;
    text-align: center;
    font-family: sans-serif;
    height: 35vh;
}

.owl-carousel .item {
    background: var(--secondary-color);
    display: inline-block;
    border-radius: 5px;
    padding: 0.8rem;    
    width: 90%;    
    text-align: center;
    height: 35vh;
    overflow: auto;
}

.owl-carousel h2 {
   font-size:1.1rem;
}

.owl-carousel h3 {
    font-size:1rem;
    justify-content: center;
    text-align: center;
}

.owl-carousel p {
    font-size: 0.9rem;
    text-align:center;
    padding:4px;
}
.carouselImg {
    float:left; 
    max-width: 20vw;
}

.owl-carousel .owl-nav {
    overflow: hidden;
    height: 0px;
}

.owl-carousel .nav-button {
    height: 50px;
    width: 25px;
    cursor: pointer;
    position: absolute;
    top: 110px !important;
}

.owl-carousel .owl-prev.disabled,
.owl-carousel .owl-next.disabled {
    pointer-events: none;
    opacity: 0.25;
}

.owl-carousel .owl-prev {
    left: 0px;
}

.owl-carousel .owl-next {
    right: 0px;
}

.owl-theme .owl-nav [class*=owl-] {
    color: var(--text-color-dark);
    font-size: 39px;
    background: transparent;
    border-radius: 3px;
}

.owl-carousel{
    overflow: hidden;
    text-align: center;
    margin-top: 1rem;
}
.owl-carousel .item {
    background: var(--secondary-color);
    display: inline-block;
    border-radius: 15px;
    width: 90%;    
    text-align: left;
    max-height: 28rem;
    overflow: auto;
}

.carouselImg {
    float:left; 
    max-width: 25vw;
}

.owl-carousel .owl-stage {
    -moz-backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/*MENU MOBILE DROPSIDE*/

.dropside{
    height: 100%;
    position: relative;
    display: inline-block;
    width: 15vw;
}

.dropside-content{
    position: fixed;
    z-index: 1;
    width:71vw;
    left:-71vw;
    transition: transform 200ms ease-out;
    height: 88vh;
    flex-direction: column;
    background-color: var(--primary-color);
    font-size: 40px;
    color:var(--background-color);
}

.dropside-content a{
    color:var(--background-color);
}

.dropside-content.active{    
    border:2px solid var(--primary-color);
    transform: translateX(70vw);
}

.dropside-content .categorie{    
    display: flex;
    flex-direction: column;
    padding: 1.2vh 4vw;
    color:var(--background-color);
}

.dropside-content .categorie-content{
    overflow: hidden;
    transition: 0.5s;
    max-height: 0px;
    overflow-y: scroll;
}

.dropside-content .categorie-content.opened{
    max-height: 240px;
}

.dropside-content .chevron{
    transition: 0.5s;
    margin-right: 30px;
}

.dropside-content .chevron.opened{
    transform: rotateZ(90deg);
}

.dropside-content .subutton{
    color:var(--primary-color);
}

.dropside-content a{
    justify-content: start;
}

.subutton{
    padding: 5% 10% 0;
    font-size: 35px;
}

#burgerTool{
    transition:0.4s;
    font-size: x-large;
    color:var(--background-color);
}

#burgerTool.active{
    color: var(--accent-color);
    transform: rotateZ(180deg) scale3d(1.1, 1.1, 1.1);
}

/*LOADER*/

#loader-articles {
    position: absolute;
    left: 56vw;
    top: 56vh;
    z-index: 1;
    width: 120px;
    height: 120px;
    margin: -76px 0 0 -76px;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid var(--accent-color);
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
  }

  #loader {
    position: absolute;
    left: 50vw;
    top: 56vh;
    z-index: 1;
    width: 120px;
    height: 120px;
    margin: -76px 0 0 -76px;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid var(--accent-color);
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
  }

  @-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  

/**** MEDIA QUERIES ****/

/* DESKTOP */
@media (min-width: 839px){
    .hide_desktop{
        display: none !important;
    }
    #divMeteo{
        width: 40%;
    }
}


/*MOBILE*/

@media (max-width: 1012px){
    #cardCompte .form{
        text-align: left;
    }
}

@media (max-width: 838px){
    .hide_mobile{
        display: none !important;
    }

    #cardCompte .form{
        min-width: 70vw;
        margin-top:10px;
    }

    .owl-carousel .item {
        padding: 0.8rem;    
        height: 100%;
        max-height: 50vh !important;
    }

    .owl-carousel h2 {
        font-size:0.9rem;
     }
     
     .owl-carousel h3 {
        font-size:0.8rem;
     }
     
     .owl-carousel p {
        font-size: 0.8rem;
     }

    #divMeteo{
        width: 80%;
        margin-top: 1vh !important;
        margin-bottom: 1vh !important;
    }
    table{
        border-spacing: 20px;
    }
    #divCommande > a{
        margin: 0 3vw;
    }
    aside nav a{
        padding: 10px 0;
    }
    #content-connexion .form, #content-contact .form {
        width: 60vw;
        max-width: unset;
        line-height: 15px;
    }

    .input-group {
        flex-direction: column;
    }
    
    #divMeteo{
        max-width: unset;
        max-height: unset;
    }
    #divMeteo > div > div{
        width:33%;
    }    
    
    main {
        margin-top:0;
        padding-top:10vh;
        padding-bottom:10vh;
        min-height: calc(78vh);
        z-index:1;
    }
   
    #content {
        justify-content: center;
        min-height: calc(78vh);
        padding-top:10vh;
        padding-left:8vw;
        padding-right:8vw;
        padding-bottom:12vh;
        align-self: center;
    }

    #content-connexion, #content-contact{
        justify-content: center;
        min-height: calc(74vh);
    }

    footer{
        height: 6vh;
    }

    header{
        height: 6vh;
        font-size: x-large;
    }

    aside{
        top: 6vh;
        font-size: x-large;
    }

    .d-flex{
        height: 6vh;
    }

    .d-flex a, .d-flex p{
        height: 100%;
    }

    .dropdown{
        height:100%;
    }

    h1,.h1 {
        font-size: x-large!important;
    }

    p {
        padding:2px;
        font-size: medium;
    }
    
    .categorie > a{
        font-size: 1.1rem;
    }    
    
    nav a:hover{
        color:unset;
    }

    #joursliv tr { 
        display: block; 
        float: left;  
        border: 1px;
        padding:5px;
    }

    #joursliv th, #joursliv td {
        display: block; 
        text-align: left;
        padding:5px;
        border: 1px;
    }

    aside {
        display:none;
    }

    .closedCategory{
        display:block;
    }

    .blockChooseCategory{
        display:block;
        position: sticky; 
        top: 6vh; 
        background-color: white; 
        z-index: 1;
    }

    #content-articles {
        justify-content: flex-start;
        min-height: calc(78vh);
        padding-top:10vh;
        padding-left:8vw;
        padding-right:8vw;
        padding-bottom:12vh;
        align-self: center;
    }

    .product-list {
        margin-top:25px;
        display: flex;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1rem;
    }

    .barre > form > button, .barre > form > select, .btn, input, select {
        padding:5px;
        margin:2px;
    }

    .article-quantite input, .article-quantite select{
        min-width: 80px;
    }

    select > option {
        max-height:60px;
    }

    .barre {
        justify-content: space-around;
    }

    .recherche {
        justify-content: center;
    }

    .recherche > form, .barre > form {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
      /*  min-width: 80vw;*/
        justify-content: center;
    }

    .recherche > form > input[type='text'] {
        max-width:30vw;
    } 

    .recherche > form > button > i {
        margin-right: 5px;
        margin-left: 5px;
    }

    .Comment{
        position:fixed;
        display: flex;
        flex-direction: column;
        justify-content: center;
        top:50vh;
        left:15vw;
        width:60vw;
        height:30vh;
        color:black;
        text-align:center;
        background:grey;
        opacity:0.9;
        padding:1.2rem;
        display:none;
        border: 1px solid silver;
        border-radius: 5px;
    }

    .Comment textarea {
        font-size: medium;
    }

    .dataTable {
        width: 150px;
    }

    .jconfirm-box {
        text-align: center;
        display: flex;
        justify-content: center;
        flex-direction: column;
        width: 80vw;
    }

    #form-connexion{
        padding:4vw;
    }

    .blur {
        filter: blur(5px);
        -webkit-filter: blur(5px);
        -moz-filter: blur(5px);
        -o-filter: blur(5px);
        -ms-filter: blur(5px);
    }
    
    #overlay  {
        position: fixed;
        left: 0px;
        top: 0px;
        right: 0px;
        bottom: 0px;
        background: rgba(255,255,255,.8);
        z-index: 20;
    }

    .title_articles {
        width: 100%;
        margin-left: -11vw;
        text-align: center;
        padding-left: 8vw;
    }

}

/* GARPHIQUE PAGE STATISTIQUE */

    .titreStats{
        margin-top: 0 !important;
        margin-bottom: 10px !important;
    }

    .btnStats{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-evenly;
        align-items: center;
        margin-bottom: 20px !important;
    }

    .btnChoice{
        min-width: 150px;
    }

    #lineCanvas{
        max-height: 70vh !important;
    }

    .chart-container{
        display: none;
    }

    #chart-container2{
        margin-top: 100px;
        margin-bottom: 100px;
        height: 80vh;
        width: 100%;  
    }


    .graphs{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-evenly;
        align-items: center;
    }
