html, 
body {
  padding: 0px;
  margin: 0px;
  width: 100%;
  height: 100%;
  font-size: 16px;
}
body {
  display: flex;
  font-family: Arial;
}
body.logo {
  background: URL(logo.jpg) center top no-repeat;
}
body.page80 {
  width: 80%;
  margin: auto;
  display: flex;
}

.flex { display: flex }
.flex1 { flex: 1}
.column { flex-direction: column }
.wrap { flex-wrap: wrap; align-items: flex-start }
.scroll { overflow: auto }
.nowrap { white-space: nowrap }
.bold { font-weight: bold }
.hide { display: none }
.red { color: red; font-weight: bold }
.warning { color: white; background-color: red; padding: 10px; text-decoration: none }

.clPacificBlue { background-color: #1fadc6 }
.clPurple { background-color: #bb62a3 }
.clTigerEye { background-color: #da9739 }
.clDarkLemonLime { background-color: #83bc35 }
.clYellow { background-color: #ffed00 }
.clLightSeaGreen { background-color: #22b5b7 }
.clBluePurple { background-color: #8579b2 }
.clFireOpal { background-color: #e95742 }

.title {
    padding: 10px;
    font-weight: bold;
    font-size: 2em;
}

.logo {
  background: URL(logo.jpg) center no-repeat;
  background-size: 50%;
}
.menu {
  align-self: center;
}
.menu>* {
  padding: 10px;
  margin: 20px;
  border: 2px solid black;
  text-align: center;
  font-weight: bold;
  font-size: 40px;
  cursor: pointer;
}
.menu>a {
  text-decoration: none;
  display: block;
  color: black;
}
.rubriques,
.options,
#sites,
#lieux,
#pizzerias,
#midi,
.viandes,
#magasin {
  flex: 0 0 2em;
  display: flex;
}
.rubriques>a,
.options>a,
#sites>span,
#lieux>span,
#pizzerias>span,
#midi>span,
.viandes>a,
#magasin>span {
  text-decoration: none;
  font-weight: bold;
  color: black;
  padding: 10px;
  margin: 5px;
  border: 2px solid black;
  position: relative;
}
.options>a {
  border-color: #1fadc6;
  font-size: 14px;
}
.options>a.active {
  background-color: #1fadc6;
}
#sites>span {
  border-color: #8579b2;
  cursor: pointer;
}
#sites>span.active {
  background-color: #8579b2;
  color: white;
}
#lieux>span {
  border-color: #83d0f5;
  cursor: pointer;
}
#lieux>span.active {
  background-color: #83d0f5;
}
#pizzerias>span {
  border-color: #da9739;
  cursor: pointer;
}
#pizzerias>span.active {
  background-color: #da9739;
}
#midi {
  margin-left: 50px;
}
#midi>span {
  border-color: #283583;
  cursor: pointer;
  width: 100px;
  text-align: center;
}
#midi>span.active {
  background-color: #283583;
  color: white;
}
#magasin>span {
  border-color: #bb62a3;
  cursor: pointer;
}
#magasin>span.active {
  background-color: #bb62a3;
  color: white;
}
.rubriques>a.exit {
  margin-left: 20px;
  border-width: 3px;
  width: 11px;
  height: 9px;
  align-self: center;
  border-color: black;
}
.rubriques>a.exit::before {
    content: ' ';
    display: block;
    border: 2px solid white;
    background-color: black;
    position: absolute;
    left: -15px;
    top: 8px;
    width: 20px;
    height: 9px;
}
.rubriques>a.exit::after {
    content: ' ';
    display: block;
    position: absolute;
    left: 7px;
    top: 5px;
    width: 0;
    height: 0;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent #000000;
    border-style: solid;
}
.viandes>a {
  border-color: #3fa535;
  font-size: 14px;
}
.viandes>a.active {
  background-color: #3fa535;
}
.shadow {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: .5;
  z-index: 1;
}
.addConso {
  max-width: 50%;
  height: 50%;
  display: flex;
  flex-direction: column;
}
.addConso>article {
  overflow: auto;
  cursor: pointer;
  flex: 1;
}
.addConso>article>div:hover {
  background-color: blue;
  color: white;
}
.nomConso>article {
  display: flex;
  flex-direction: column;
  font-size: 20px;
}
.nomConso>article input,
.nomConso>article select {
  font-size: 20px;
  margin-bottom: 10px;
}
.nomConso>footer button {
  padding: 5px;
  margin-right: 10px;

}
.dialogs {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
section.dialog {
  background-color: white;
  border-radius: 5px;
  box-shadow: 2px 2px 10px 4px #444;
  z-index: 3;
}
section.dialog>* {
  box-sizing: border-box;
  padding: 10px;
}
section.dialog>header {
  background-color: #d58484;
  color: white;
  font-weight: bold;
  line-height: 1em;
  position: relative;
  border-radius: 5px 5px 0px 0px;
}
section.dialog>header>span {
}
section.dialog>header>button {
  position: absolute;
  right: 0px;
  top: 0px;
  border: none;
  color: white;
  font-size: large;
  width: 2em;
  padding: 5px;
  background-color: transparent;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
}
section.dialog>header>button:hover {
  background-color: #f55b5b;
}
section.dialog>footer>button {
  padding: 5px;
  min-width: 80px;
}
section.pad {
  font-size: 20px;
  min-width: auto;
}
section.pad input {
  border-radius: 4px;
  border: 1px solid #c4c4ff;
  width: 100%;
  padding: 5px;
  box-sizing: border-box;  
  font-size: 20px;
}
section.pad table button {
  width: 80px;
  padding: 5px;
  border: 1px solid #c4c4ff;
  border-radius: 4px;
  background-color: white;
  font-size: 20px;
}
section.pad table button:hover {
  background-color: #c4c4ff;;
}
.table_options,
.table_inventaire {
  border-collapse: collapse;
  margin: 5px 10px;
}
.table_options th,
.table_options td,
.table_inventaire th,
.table_inventaire td {
  padding: 5px;
}
.table_inventaire th {
  padding: 10px;
}
.table_inventaire td {
  white-space: nowrap;
}
.table_inventaire th:nth-child(1) {
   background-color: #e6007d;
}
table.locaux th:nth-child(1) {
   background-color: #ffed00;
   color: black;
   white-space: nowrap;
}
table.surgeles th:nth-child(1) {
   background-color: #83bc35;
   color: black;
   white-space: nowrap;
}
.table_inventaire th:nth-child(2) {
  color: #009fe3;
}
.table_inventaire th:nth-child(3) {
  color: #cd1719;
}
.table_inventaire th:nth-child(4) {
  color: #3fa535;
}
.table_inventaire th:nth-child(5),
.table_inventaire td:nth-child(5) {
  color: black;
  background-color: #a494c6;
}
.table_inventaire.boissons th:nth-child(5),
.table_inventaire.boissons td:nth-child(5) {
  color: darkviolet;
  background-color: white;
}
.table_inventaire.site2 th:nth-child(2) {
  color: #e6007d;
}
.table_options tr.title td {
  text-align: center;
  font-weight: bold;
  font-size: 20px;
}
.table_options tr.title td span {
  color: red;
}
tr.borders td {
  border: 1px solid black;
  text-align: center;
  cursor: pointer;
}
.table_options tr.borders:hover td {
  background-color: #d3d0e7;
}
.table_options th,
.table_inventaire th {
  color: white;
  border: 1px solid black;
  text-transform: uppercase;
}
.table_options th:nth-child(n+2) {
  width: 4%;
}
.table_inventaire th:nth-child(n+1) {
  width: 24px;
}
.table_options th:nth-child(2),
.table_options th:nth-child(12) {
  width: 5px;
  background-color: white;
  border: none;
}
.table_options th:nth-child(10),
.table_options th:nth-child(11),
.table_options th:nth-child(20),
.table_options th:nth-child(21) {
  background-color: black;
}
.table_options td.bkg {
  background-color: #d3d0e7;
}

#recetteTabs {
  display: flex;
  padding: 10px;
}
#recetteTabs>div {
  padding: 10px;
  cursor: pointer;
  text-align: center;
  font-weight: bold;
  flex: 1;
  border: 1px solid black;
}
#recetteTabs>div.active {
  color: white;
  background-color: #009fe3;
}
table.recette {
  border-collapse: collapse;
  font-size: 24px;
  margin: 10px;
}
table.recette td, 
table.recette th {
  border: 1px solid black;
  padding: 10px;
  text-align: center;
}
table.recette td:nth-child(2n + 2) {
  background-color: #fffad2;
}
table.recette td:nth-child(2n + 3) {
  background-color: #d6cae5;
}
div.recette {
  border: 1px solid black;
  padding: 10px;
  margin: 10px;
  font-weight: bold;
  font-size: 24px;
}

.titresCmd {
  font-weight: bold;
  align-items: center;
}
.dateCmd {
  text-decoration: underline;
  padding: 5px;
}
.buttonCmd {
  text-decoration: none;
  color: black;
  border: 1px solid black;
  padding: 5px;
  margin: 5px;
  font-size: 11px;
  cursor: pointer;
}
.tableCmd {
  margin: 0px 10px;
  border-collapse: collapse;
  font-weight: bold;
}
.tableCmd td,
.tableCmd th {
  border: 1px solid black;
  padding: 10px;
}
.tableCmd td:nth-child(odd) {
  background-color: #dadada;
  text-align: center;
  width: 20%;
}
.tableCmd td:nth-child(even) {
  width: 5%;
  text-align: center;
}
.tableCmd td:nth-child(-2n+6) {
  border-right-width: 10px;
}
.tableCmd td>span {
  float: right;
  font-weight: normal;
  color: gray;
}

div.locaux {
  padding: 10px;
  font-weight: bold;
  text-decoration: underline;
}
table.locaux {
}

table.note_info {
    width: 100%;
    margin-top: 10px;
}

table.note_info th {
    border: 2px solid black;
    height: 80px;
    vertical-align: top;
}

/* style mobile */
@media only screen and (hover: none) and (pointer: coarse){
  .page80 { flex-direction: column }
  .logo { flex: 0.25 }
}

@media screen {
  .print { display: none }
}

@media print {
  .noprint { display : none !important }
}