:root{
  --FontSizeItems:15px;   /* constante de la taille des articles */
  --WidthItemsBox:410px;  /* constante des largeurs des boites d'articles  */
}

body {
  margin: 0;
  padding: 0;
  background-color: #000;
  color: #fff;
  font-family: Arial, sans-serif;
}

header {
  display: flex;
  font-size: 16px;
}

#title,
#message {
  flex: 1;
  padding: 5px;
  font-weight: bold;
  margin: 0;
  font-size: 16px;
}

#title {
  text-align: left;
}

#message {
  text-align: right;
}

.fullScreenBtn {
  background-color: #444;
  color: #fff;
  border: none;
  padding: 4px;
  margin-left: 4px;
  margin-right: 4px;
  border-radius: px;
  cursor: pointer;
  font-size: 14px;
}

.fullScreenBtn:hover {
  background-color: #555;
}

nav {
  justify-content: space-between;
  background-color: #111;
  align-items: center;
  font-size: 16px;
  line-height: 3;
}

nav a {
  color: #fff;
  text-decoration: none;
  padding: 10px 10px;
  border-radius: 5px;
  margin-right: 5px;
  transition: background-color 0.3s;
}

nav a:hover {
  background-color: #333;
}

nav a.active {
  background-color: #555;
}

.alert {
  background-color: red !important;
}

.container {
  /*display: flex;*/
  flex-wrap: wrap;
  justify-content: space-around;

}

.box-container {
  height: fit-content;
  margin: 10px;
  background-color: #222;
  border-radius: 10px;
  padding: 0px 10px 0px 10px;
  box-sizing: border-box;
  min-width: var(--WidthItemsBox);
}

.box-container>h2 {
  text-align: center;
  font-size: 22px;
  margin: 5px 5px 0px 5px;
  color: #fff;
}

.box {
  width: 100%;
  height: 40px;
  line-height: 40px;
  border-radius: 25px;
  background-color: #333;
  color: #fff;
  text-align: center;
  margin: 5px 0;
}


.thLabelM2,
.tdLabelM2 {
  min-width: 250px;
  max-width: 250px;
}

.thLabelM3,
.tdLabelM3 {
  min-width: 150px;
  max-width: 150px;
}

.thSpin {
  min-width: 0px !important;
}

.burger-menu {
  display: block;
  cursor: pointer;
}

.burger-menu span {
  width: 30px;
  height: 3px;
  background-color: #fff;
  margin: 6px 0;
  display: block;
}

@media screen and (min-width: 601px) {
  .burger-menu {
    display: none;
  }
}

.box-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 10px;
  padding-right: 20px;
}

.left-content {
  display: flex;
  align-items: center;
}

.right-content {
  display: flex;
  align-items: center;
}

.icon {
  font-size: 20px;
  margin-right: 10px;
}

.label {
  margin-right: 10px;
  font-size: var(--FontSizeItems) !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}

.spin-btn {
  background-color: #444;
  color: #fff;
  border: none;
  padding: 8px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 10px;
}

.spin-btn:hover {
  background-color: #555;
}

.number {
  text-align: right;
  margin-right: 5px;
  margin-left: 5px;
  white-space: nowrap;
  color: #555;
  font-size: var(--FontSizeItems) !important;
}


.icon {
  font-size: 20px;
  margin-right: 5px;
}

.modified {
  color: red;
}

#info {
  width: 100%;
  margin-top: 20px;
  text-align: center;
  display: none;
}

.info {
  width: 70%;
  margin: 0 auto;
}

.infoTDL,
.infoTDR {
  padding: 5px;
  width: 50%;
  background-color: #333;
  font-size: 16px;
}

.infoTDL {
  border-radius: 10px 0 0 10px;
  text-align: right;
}

.infoTDR {
  border-radius: 0 10px 10px 0;
  text-align: left;
}

#manager {
  display: none;
  justify-content: center;
  width: 100%;
  text-align: center;
  padding-top: 20px;
}

.manager-btn,
.manager-btn-CD {
  background-color: #444;
  color: #fff;
  padding: 15px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 20px;
  width: 430px;
}

.manager-btn-CD {
  border-color: red;
  border-width: 3px;
}

.manager-btn:hover {
  background-color: #555;
}

.reportTable {
  margin-top: 30px;
  border-spacing: 5px;
}

.reporTR {
  height: 25px;
}

.reportTD,
.reportTDBlack {
  padding: 5px;
  text-align: left;
  background-color: #333;
  border-radius: 10px;
  font-size: 14px !important;
}

.reportTDBlack {
  background-color: black;
}

.tableBox {
  width: var(--WidthItemsBox);
  border-spacing: 5px;
}

.thSpin,
.tdSpin,
.thLabelM2,
.tdLabelM2,
.thLabelM3,
.tdLabelM3 {
  background-color: #333;
  border-radius: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.thSpin {
  text-align: center !important;
  min-width: 90px !important;
  font-size: var(-FontSizeItems);
}

.tdSpin {
  text-align: right !important;
  font-size: var(-FontSizeItems);
  height: 41px;
}

.thLabelM2,
.thLabelM3 {
  font-size: 24px;
  text-align: left;
}

.tdLabelM2,
.tdLabelM3 {
  font-size: var(-FontSizeItems);
}

.thLabelM2,
.tdLabelM2 {
  min-width: 280px;
  max-width: 280px;
}

.thLabelM3,
.tdLabelM3 {
  min-width: 180px;
  max-width: 180px;
}

@media screen and (max-width: 600px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
    display: none;
  }

  nav.active {
    display: flex;
  }

  header {
    font-size: 10px;
    margin-bottom: 0px;
  }

  nav a {
    display: block;
    width: 100%;
    margin: 5px 0;
  }

  .manager-btn,
  .manager-btn-CD {
    width: 80%;
  }

  .container {
    flex-direction: column;
  }

  .box-container {
    margin-left:0px;
    width: auto;
    max-width: 99%;
    min-width: 99%;/* obligatoire sous chrome , donc sous android aussi */
  }

  .tableBox {
    margin-left:0px;
    width: auto;
    max-width: 99%;
    min-width: 99%;
    /* obligatoire sous chrome , donc sous android aussi*/
  }

  .thSpin {
    min-width: 70px !important;
  }

  .thLabelM2,
  .tdLabelM2 {
    min-width: 200px;
    max-width: 200px;
    */
  }

  .thLabelM3,
  .tdLabelM3 {
    min-width: 145px;
    max-width: 145px;
  }

  .info {
    width: 95% !important;
  }
}