/* Main CSS */
.etat {
  border: solid black;
  border-width: thin;
}

.number { text-align: right; }

table.etat {
  border-collapse : collapse;
  margin-left: auto;
  margin-right: auto;
  border-width: 2px;
}

tbody.etat {
  border-width: 2px;
}

th.etat {
  padding-left: 1em;
  padding-right: 1em;
}
td.etat {
  padding-left: 1em;
  padding-right: 1em;
}

tr.group {
  font-weight: bold;
}

tr.sum {
  font-weight: bold;
   font-size: large;
}

div.menu {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10em, 1fr));
  border-left: thin solid black;
  margin-bottom: 20px;
}

a.menucat {
  display: block;
  text-align: center;
  text-decoration: none;
  border-right: thin solid black;
  border-top: thin solid black;
  border-bottom: thin solid black;
  color: black;
}

ul.form  {
  list-style-type: none;
}

ul.form li.big label {
  display: block;
}

ul.form li.big input {
  display: block;
}

ul.form label {
  margin-top: 5px;
}

input.small {
  width: 4em;
}

input.med {
  width: 8em;
}

tr a {
  display: block;
  text-decoration: none;
  color: black;
}

button.narrow {
  padding: 0;
  font-size: 12px;
  margin: 0;
  width: 20px;
  border-radius: 4px;
}

#EditForm {
  display: none;
}

.hide {
  display: none;
}

.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 140px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 150%;
  left: 50%;
  margin-left: -75px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}
