*,::before, ::after {
    box-sizing: border-box;
}
body {
    font-family: Lato, Helvetica, sans-serif;
    background: #f1f1f1;
}
main {
    padding-top: 115px;
} 
.h1titre {
    font-size: 50px;
    text-align: center;
    color: #096455;
    font-weight: 100;
}
.h1titre span {
    font-weight: 600;
}
.monh1 {
    background: rgb(42, 83, 88);
    color:rgb(243, 241, 239);
    padding: 3px;
}

.labeldate {
    display: block;
    font:
      1rem 'Fira Sans',
      sans-serif;
  }
  
  .inputdate label {
    margin: 0.4rem 0;
    font: 1rem 'Fira Sans',
    sans-serif;
  }

.h1unite {
    color: rgb(7, 4, 1);
    font-size: 1.3rem;
}

.h1client {
    font-size: 1.15rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color:rgb(5, 3, 114); 
    margin-bottom: 1px;
    margin-left: 5px;
    font-weight: normal;
}
.h1client2 {
    font-size: 1.15rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color:rgb(10, 224, 240); 
    margin-bottom: 1px;
    margin-left: 5px;
    font-weight:normal;
}

.h1client3 {
    font-size: 1.15rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color:rgb(5, 3, 114); 
    margin-bottom: 1px;
    margin-left: 5px;
    font-weight:bold;
}


.h2ca {
    font-size: 1.15rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color:rgb(4, 108, 156); 
    margin-bottom: 1px;
    margin-left: 5px;
    font-weight:bold;
}
.lifacture {
    font-size: 1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color:rgb(160, 6, 52); 
    margin-bottom: 1px;
    margin-left: 15px;
    font-weight: normal;
}

.h1facture {
    font-size: 16px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color:rgb(25, 5, 114); 
    margin-bottom: 1px;
    margin-left: 5px;
    font-weight: normal;
}


.btncalcul {
    border: 0;
    line-height: 1.7;
    padding: 0 20px;
    font-size: 1rem;
    text-align: center;
    color: #fff;
    text-shadow: 1px 1px 1px #000;
    border-radius: 10px;
    background-color: rgb(42, 83, 88);
    background-image: linear-gradient(to top left, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 30%, rgba(0, 0, 0, 0));
    box-shadow: inset 2px 2px 3px rgba(255, 255, 255, 0.6), inset -2px -2px 3px rgba(0, 0, 0, 0.6);
}
.btncalcul:hover {
    background-color:aquamarine;
}

.calcul_poid {
    border: 0;
    line-height: 1.7;
    padding: 0 20px;
    font-size: 1rem;
    text-align: center;
    color: #fff;
    text-shadow: 1px 1px 1px #000;
    border-radius: 10px;
    background-color: rgb(42, 83, 88);
    background-image: linear-gradient(to top left, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 30%, rgba(0, 0, 0, 0));
    box-shadow: inset 2px 2px 3px rgba(255, 255, 255, 0.6), inset -2px -2px 3px rgba(0, 0, 0, 0.6);
}
.calcul_poid:hover {
    background-color:aquamarine;
}


.facture {
        border: 0;
        line-height: 1.7;
        padding: 0 20px;
        font-size: 1rem;
        text-align: center;
        color: #fff;
        text-shadow: 1px 1px 1px #000;
        border-radius: 10px;
        background-color: rgb(42, 83, 88);
        background-image: linear-gradient(to top left, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 30%, rgba(0, 0, 0, 0));
        box-shadow: inset 2px 2px 3px rgba(255, 255, 255, 0.6), inset -2px -2px 3px rgba(0, 0, 0, 0.6);
    }
    
    .facture:hover {
        background-color:aquamarine;
      }
    
    .facture:active {
        box-shadow: inset -2px -2px 3px rgba(255, 255, 255, 0.6), inset 2px 2px 3px rgba(0, 0, 0, 0.6);
    }
    .divart {
        background: rgb(42, 83, 88);
        color:bisque;
        padding: 3px;
    }
    
    .menu {
        position: sticky;
        width: 400px;
        margin-bottom: 50px;
        background-color: rgb(42, 83, 88);
        color:aliceblue;
        padding: 10px;
        border: 3px;
 
    }
 .menu > li {
    background-color: rgb(42, 83, 88);
    color: rgb(185, 247, 198);      
 }


 .menu >li >a {
    color:rgb(231, 228, 176);
    margin-left: 3px;
    text-decoration: none;
    font-size: 1.2rem;
     }
 .menu >li >a:hover {
    background-color: aquamarine;
    color:black;
 }
 .btnsave {
    border: 0;
    line-height: 1.7;
    padding: 0 20px;
    font-size: 1rem;
    text-align: center;
    color: #fff;
    text-shadow: 1px 1px 1px #000;
    border-radius: 10px;
    background-color: rgb(42, 83, 88);
    background-image: linear-gradient(to top left, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 30%, rgba(0, 0, 0, 0));
    box-shadow: inset 2px 2px 3px rgba(255, 255, 255, 0.6), inset -2px -2px 3px rgba(0, 0, 0, 0.6);
 }
 .btnsave:hover {
    background-color:aquamarine;
 }
 .valide {
    border: 0;
    line-height: 1.7;
    padding: 0 20px;
    font-size: 1rem;
    text-align: center;
    color: #fff;
    text-shadow: 1px 1px 1px #000;
    border-radius: 10px;
    background-color: rgb(42, 83, 88);
    background-image: linear-gradient(to top left, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 30%, rgba(0, 0, 0, 0));
    box-shadow: inset 2px 2px 3px rgba(255, 255, 255, 0.6), inset -2px -2px 3px rgba(0, 0, 0, 0.6);
 }
 .valide:hover {
    background-color:aquamarine;
 }
 .recap {
    color:bisque;
    background-color: rgb(42, 83, 88);
    position:relative;
    width:420px;

 }
 .recapitule {
  position:relative;
  border:solid 3px;
  width:420px;
  padding: 5px;
 }

 .signe {
    color:rgb(6, 33, 107);
 }
 .table > td {
    border: 1px solid #333;
}

thead,tfoot {
    background-color: #333;
    color: #fff;
    font-weight: 700;
}
.edit {
        border: 0;
        line-height: 1.4;
        padding: 0 20px;
        font-size: 0.8rem;
        text-align: center;
        color: #fff;
        text-shadow: 1px 1px 1px #000;
        border-radius: 10px;
        background-color: rgb(42, 83, 88);
        background-image: linear-gradient(to top left, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 30%, rgba(0, 0, 0, 0));
        box-shadow: inset 2px 2px 3px rgba(255, 255, 255, 0.6), inset -2px -2px 3px rgba(0, 0, 0, 0.6);
     }
     .flex {
        display:flex;
     }
     .totan {
       background-color:ivory;
       width: 200px;
       border-radius: 10px;
     }
      .totcli {
       background-color:ivory;
       width: 300px;
       border-radius: 10px;
     }
      .totclisum {
       background-color:ivory;
       width: 300px;
       border-radius: 10px;
     }
   .dblock{
        display:inline-block;
        max-width: 300px;
        min-width: 280px;
        height: 60px;
        background-color: rgba(64, 201, 223, 0.144);
        color:rgb(0, 3, 1);
        font-size: 10px;
        font-weight:normal;
  
        border-bottom-right-radius: 15px;
        margin-left: 2px;
        margin-bottom: 3px;
        text-align:center;
     }
        .dblock2{
        display:inline-block;
        width: 100px;
        max-width: 300px;
        min-width: 100px;
        height: 60px;
        background-color: rgba(64, 201, 223, 0.144);
        color:rgb(0, 3, 1);
        font-size: 10px;
        font-weight:normal;
        border-bottom-right-radius: 15px;
        margin-left: 2px;
        margin-bottom: 3px;
        text-align: center;
     }

     .flex-container{
        max-width: 400px;
        height: 130px;
        display: grid;
        background: rgba(169, 169, 169, 0.212);
        grid-template-columns: repeat(auto-fit, 160px);
        gap: 5px;
        /*justify-content: center; /* centre les items ...*/
        align-items:flex-start; /* items en haut ...*/
        margin:5px;
        margin-bottom: 10px;
        padding: 5px;
        border-radius: 15px;
     }

     .flex-item{
        display:flex;
        justify-content: center;
        align-items: center;
        font-size: 15px;
     }
     .flex-item1{
        font-weight: 700;
        justify-content: flex-start;
     }
     .flex-item3{
        justify-content: flex-start;
     }
          .flex-item5{
        justify-content: flex-start;
     }

   
     /*///////////////////////////// VUE CLIENTS FACTURES ////////////////////////////////////////////*/

     .flex-container_v2{
        display: flex;
        max-width: 260px;
        /*margin: 3px;*/
        height: 120px;
        background: rgba(218, 241, 206, 0.164);
        border-radius: 10px;
        flex-direction:column;
        /*align-items:center;*/
        /*justify-content: center;*/
        flex-wrap: wrap; /* retour a la ligne des items ...*/
        border-bottom: solid rgba(4, 71, 13, 0.336);
        border-right: solid rgba(4, 71, 13, 0.336);
     }
      .flex-item_v2{
        width: 250px;
        height: 20px;
        background: rgba(200, 241, 197, 0);
        border-radius: 5px;
        font-size: 12px;
        color :rgb(1, 10, 0);
        border-radius: 5px;
        padding: 15px;
     }
           .flex-item_v22{
        width: 250px;
        height: 20px;
        background: rgba(200, 241, 197, 0);
        border-radius: 5px;
        font-size: 12px;
        color:rgba(99, 25, 25, 0.911);
        border-radius: 5px;
        padding: 15px;
     }

     /*////////////////////////////////////   TABLEAU DE BORD     ///////////////////////////////////////////*/
     .flex-container_v3{
        display: flex;
        max-width: 300px;
        /*margin: 3px;*/
        height: 80px;
        padding: 10px;
        background: rgba(218, 241, 206, 0.075);
        border-radius: 10px;
        flex-direction:column;
        /*align-items:center;*/
        /*justify-content: center;*/
        flex-wrap: wrap; /* retour a la ligne des items ...*/
        border-bottom: solid rgba(4, 71, 13, 0.336);
        border-right: solid rgba(4, 71, 13, 0.336);
     }
      .flex-item_v3{
        width: 300px;
        height: 20px;
        background: rgba(200, 241, 197, 0);
        border-radius: 5px;
        font-size: 11px;
        color :rgb(3, 22, 1);
        border-radius: 5px;
        padding: 10px;
     }
           .flex-item_v33{
        width: 300px;
        height: 20px;
        background: rgba(200, 241, 197, 0);
        font-size: 11px;
        color :rgb(97, 25, 3);
        padding: 10px;
     }
     /*////////////////////////////////////    CA MENSUEL      ////////////////////////////////////////////*/
     .flex-container_v4{
        display: flex;
        max-width: 300px;
        /*margin: 3px;*/
        height: 80px;
        padding: 10px;
        background: rgba(218, 241, 206, 0.075);
        border-radius: 10px;
        flex-direction:column;
        /*align-items:center;*/
        /*justify-content: center;*/
        flex-wrap: wrap; /* retour a la ligne des items ...*/
        border-bottom: solid rgba(4, 71, 13, 0.336);
        border-right: solid rgba(4, 71, 13, 0.336);
     }
      .flex-item_v4{
        width: 300px;
        height: 20px;
        background: rgba(200, 241, 197, 0);
        border-radius: 5px;
        font-size: 11px;
        color :rgb(3, 22, 1);
        border-radius: 5px;
        padding: 10px;
     }
           .flex-item_v44{
        width: 300px;
        height: 20px;
        background: rgba(200, 241, 197, 0);
        font-size: 11px;
        color :rgb(97, 22, 31);
        padding: 10px;
     }
     /*//////////////////////////////////     CA. ANNEE      /////////////////////////////////////////////*/
          .flex-container_v5{
        display: flex;
        max-width: 200px;
        /*margin: 3px;*/
        height: 150px;
        padding: 5px;
        background: rgba(120, 236, 58, 0);
        border-radius: 10px;

        /*flex-direction:row;
        /*align-items:center;*/
        /*justify-content: center;*/
        flex-wrap: wrap; /* retour a la ligne des items ...*/
        border-bottom: solid rgba(4, 71, 13, 0.336);
        border-right: solid rgba(4, 71, 13, 0.336);
     }
      .flex-item_v5{
        width: 120px;
        height: 30px;
        /*background: rgba(230, 151, 5, 0.493);*/
        font-size: 8px;
        color :rgb(3, 22, 1);
         padding-left: 10px;
         margin-bottom: 10px;
     
     }
       .flex-item_v55{
        width: 120px;
        height: 40px;
        background:royalblue;
        font-size: 8px;
        color:cornsilk;
        border-radius: 20px;
        padding-left: 16px;
        margin-bottom: 10px;
 
     }
.grille_article{
  display: grid;
  grid-template-columns: 65px 230px;
  grid-template-rows: 40px;
  grid-gap: 10px;
  color:aliceblue;
  background: rgb(244, 245, 243);
}
.zone_1{
    grid-row: 1 / 2;
    grid-column: 1 / 2;
    background: rgba(173, 238, 132, 0.05);
    font-size: 9px;
    padding-left: 6px;
}
.zone_2{
    grid-row: 1 / 2;
    grid-column: 2 / 3;
    background: rgba(173, 238, 132, 0.05);
    font-size: 9px;
    padding-left: 6px;
}
.zone_3{
    grid-row: 1 / 2;
    grid-column: 3 / 3;
    background: rgba(173, 238, 132, 0.05);
    color:crimson;
    font-size: 9px;
    font-weight:bolder;
    padding-left: 6px;
    
}
.lien3{
    text-decoration: none;
    color:#00000081;
}
.lien3:hover{
    color:#d2691e;
    font-size: 12px;
    text-transform: uppercase;
    text-decoration: underline;
}
/*///////////////////////////////////////////////////////////////////////////////////////////////////////*/
/* GRILLE ... */
.grid {
  max-width: 400px;
  /*background: #096455;*/
  margin-left: 10px;
  display: grid;
  grid-gap: 5px;
  grid-template-columns: repeat(auto-fit, 110px);/* création de colonnes suivant le nombre* d'item pas plus */
  /*grid-template-columns: repeat(auto-fill, 200px); /* creation de colonnes et comble avec des element implicite */
  /*justify-content: center; /* centre la grille */
}

.item {
  /*border: 1px solid #222;*/
  display: flex;
  justify-content:center;
  align-items: center;
  font-size: 9px;
  font-weight: 900;
  color: #0700008e;
}
.item-2{
color:crimson;
justify-content: center;

}

.item-3{
  justify-self:flex-end; /* déplace au bout juste l'item 1 */
  border:none;
}
.item-1{
  justify-self:flex-start; /* déplace au bout juste l'item 1 */
  border:none;
}
.lien1{
    text-decoration: none;
    color:rgb(255, 255, 255);
    font-size: 15px;
}
.iconfacture{
    width: 25px;
    height: 30px;
    color:#f1f1f1;
}
.iconfacture:hover{
background: rgba(156, 236, 80, 0.781);
border-radius: 50%;
}