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;
}

.click { cursor: pointer }
.flex { display: flex }
.flex1 { flex: 1}
.column { flex-direction: column }
.wrap { flex-wrap: wrap; align-items: flex-start }
.nowrap { white-space: nowrap }
.bold { font-weight: bold }
.gray { color: gray }
.hide { display: none }
.red { color: red; font-weight: bold }
.green { color: green; font-weight: bold }
.orange { color: orange; font-weight: bold }
.alignCenter { align-items: center }
.baseline { align-items: baseline }

.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 }

span.cal {
  display: inline-block;
  width: 30px;
  height: 24px;
  cursor: pointer;
  background: URL(calendar.png); 
  margin: 0px 10px;  
}

.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;
}
.title { padding: 10px; font-weight: bold; font-size: 2em }
.onglet { color: gray; }
.rubriques,
.options,
#sites,
#lieux,
#pizzerias,
#midi,
.viandes,
#magasin {
  flex: 0 0 2em;
  display: flex;
}
span.button,
.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;
}
.options.commandes>a {
  border-color: #da9739;
}
.options.commandes>a.active {
  background-color: #da9739;
}
.admin>a.active {
  background-color: #8579b2;
}
.admin>a {
  border-color: #8579b2;
}
.chariots>a.active {
  background-color: #e95742;
}
.chariots>a {
  border-color: #e95742;
}
table.legumes {
  width: 550px;
  border: 1px solid gree;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  border-spacing: 0px;
  border-collapse: collapse;
}
table.legumes table.l1 {
  width: 100%;
  margin: auto;
  border-collapse: collapse;
}
table.legumes table.l1 table {
  border: 1px solid black;
  width: 100%;
  border-collapse: collapse;
}
table.legumes table.l1 td.c1 {
  padding: 4px 10px;
}
table.legumes table.l2 td {
  width: 1%;
  height: 25px;
  border: 1px solid black;
  white-space: nowrap;
  padding: 5px;
}
table.legumes table.l2 th {
  white-space: nowrap;
  padding: 5px;
}
table.legumes table.l2 td {
  width: 1%;
  height: 25px;
  border: 1px solid black;
  padding: 5px;
}
table.pates th:nth-child(2),
table.pates td:nth-child(2),
table.legumes table.l2 td:nth-child(1) {
  color: #009fe3;
}
table.pates th:nth-child(3),
table.pates td:nth-child(3),
table.legumes table.l2 td:nth-child(2) {
  color: #cd1719;
}
table.pates th:nth-child(4),
table.pates td:nth-child(4),
table.legumes table.l2 td:nth-child(3) {
  color: #3fa539;
}
table.legumes table.l2 td:nth-child(4) {
  color: #e6007d;
}
table.pates {
  font-size: 20px;
  font-weight: bold;
  border-spacing: 0px;
  border-collapse: collapse;
}
table.pates th,
table.pates td {
  padding: 10px;
  border: 1px solid black;
}
table.pates th:nth-child(1) {
  background-color: #283583;
  color: white;
}
table.vacances {
  border-collapse: collapse;
}
table.vacances td {
  padding: 10px;
}
table.vacances button,
table.vacances input[type=submit] {
    border: none;
    width: 80px;
    padding: 5px;
    /* margin-left: 5px; */
    background-color: transparent;
    border: 1px solid #c4c4ff;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
}
table.vacances input {
  
}
#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;
}
.options.containers>a {
  border-color: #83bc35;
  cursor: pointer;
}
.options.containers>a.active {
  background-color: #83bc35;
}
#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;
}
.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;

}
#explain {
  margin: 10px;
  padding: 5px;
  border: 1px solid black;
}
.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 {
  margin-right: 2em;
}
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_options2,
.table_inventaire,
.table_recette,
.table_common {
  border-collapse: collapse;
  margin: 5px 10px;
}
.table_options th,
.table_options td,
.table_options2 th,
.table_options2 td,
.table_inventaire th,
.table_inventaire td,
.table_common th,
.table_common td {
  padding: 5px;
}
.table_inventaire th {
  padding: 10px;
}
.table_inventaire td {
  white-space: nowrap;
}
.table_inventaire th:nth-child(1) {
   background-color: #e6007d;
}
.recettes a {
  text-decoration: none;
  padding: 5px 10px;
  border: 1px solid black;
  margin: 5px;
  display: inline-block;
}
.table_recette td { padding: 5px }
.table_recette td:nth-child(2),
.table_recette td:nth-child(6) { background-color: #ffffc0;}
.table_recette td:nth-child(3),
.table_recette td:nth-child(7) { background-color: #ffc0c0;}
.table_recette td:nth-child(4),
.table_recette td:nth-child(8) { background-color: #c0ffc0;}
.table_recette td:nth-child(5) { background-color: #c0c0ff;}

tr.borders td.text_recette  {   font-style: italic; background-color: #F0FC84; font-size: 18px; text-align: left }

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),
.table_pizzeria td:nth-child(2) {
  color: #000fe3;
  font-weight: bold;
}
.table_inventaire th:nth-child(3),
.table_pizzeria td:nth-child(3) {
  color: #cd1719;
  font-weight: bold;
}
.table_inventaire th:nth-child(4),
.table_pizzeria td:nth-child(4) {
  color: #0f7904;
  font-weight: bold;
}
.table_inventaire th:nth-child(5),
.table_inventaire td:nth-child(5) {
  color: black;
  background-color: #a494c6;
}
.table_inventaire.site2 th:nth-child(2),
.table_pizzeria.site2 td:nth-child(2) {
  color: #e6007d;
}
.table_options tr.title td,
.table_options2 tr.title td {
  text-align: center;
  font-weight: bold;
  font-size: 20px;
}
.table_options tr.title td span,
.table_options2 tr.title td span {
  color: red;
}
.table_preparation tr:first-child {
  color: white;
  background-color: #75246e;
}
.table_decongel tr:first-child {
  color: white;
  background-color: #ef8032;
}
.table_preparation td:nth-child(n+2),
.table_decongel td:nth-child(n+2) {
  font-weight: bold;
  color: #283583;
  padding: 5px 10px;
}
.table_viande th:nth-child(1) {
  background-color: #3fa535;
}
.table_viande th:nth-child(2),
.table_viande td:nth-child(2) {
  color: #283583;
}
.table_viande th:nth-child(3) {
  color: #cd1719;
}
.table_base_viande {
  border: 1px solid black;
}
.table_base_viande tr:nth-child(2) {
  background-color: #283583;
  color: white;
}
.table_base_viande tr.borders td:nth-child(n+2) {
  width: 30px;
}
.table_base_viande tr.borders td:nth-child(34) {
  white-space: pre;
  text-align: left;
}

.table_base_viande tr.borders td:nth-child(2n+3) {
  background-color: #d3d0e7;
}
.table_base_viande tr:nth-child(1) th:nth-child(3),
.table_base_viande tr:nth-child(1) th:nth-child(5),
.table_base_viande tr:nth-child(1) th:nth-child(7),
.table_base_viande tr:nth-child(1) th:nth-child(9),
.table_base_viande th:nth-child(9),
.table_base_viande th:nth-child(17),
.table_base_viande th:nth-child(25),
.table_base_viande th:nth-child(33),
.table_base_viande tr.borders td:nth-child(9),
.table_base_viande tr.borders td:nth-child(17),
.table_base_viande tr.borders td:nth-child(25),
.table_base_viande tr.borders td:nth-child(33) {
  background-color: white;
  border: none;
  width: 5px;
}
tr.borders td {
  border: 1px solid black;
  text-align: center;
  cursor: pointer;
}
.table_options tr.borders:hover td {
  background-color: #d3d0e7;
}
tbody:hover td[rowspan],
.table_options2 tr.borders:hover td {
  background-color: #cbcbff;
}
.table_options2 tr.p0 td:nth-child(n + 2) {
  background-color: #e7e7ff;
}
.table_options2 tr.p20 td {
  background-color: #b0caef;
}
.table_options2 tr.p10 td {
  background-color: #ffcccc;
}
.table_options2 tr.p30 td {
  background-color: #f9c376;
}
tr.hsep td {
  border-top-width: 2px;
}
.table_common th {
  border: 1px solid black;
  text-transform: uppercase;
}
.table_options th,
.table_options2 th,
.table_inventaire th {
  color: white;
  border: 1px solid black;
  text-transform: uppercase;
}
.table_options th:nth-child(n+2) {
  width: 4%;
}
.table_options2 th:nth-child(n+3) {
  width: 8%;
}
.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,
.table_options2 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;
  display: flex;
  align-items: center;
  font-size: 1.5em;
}
.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;
}

table.stocks {
    font-size: 20px;
    min-width: 220px;
    font-weight: bold;
    border-collapse: collapse;
    margin: 10px;
}
table.stocks tr:first-child {
  color: white;
  background-color: black;
}
table.stocks td {
  border: 1px solid gray;
  padding: 5px;
}
table.stocks td:nth-child(2) {
  cursor: pointer;
}
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;
}

div.container {
  border: 2px solid #479cdd;
  margin: 10px;
  display: flex;
  flex-direction: column;
}

.containerTitle {
    background-color: #479cdd;
    color: white;
    display: flex;
    align-items: center;
}

.containerRow {
    display: flex;
    padding: 5px;
}

.container textarea {
    flex: 1;
    border: none;
    resize: none;
    outline: none;
}
.container a {
    font-weight: bold;
    padding: 5px;
    text-decoration: none;
    color: white;
    font-size: 1em;
    border: 1px solid white;
    margin: 2px;
    display: block;
    width: 1em;
    text-align: center;
}
.palette1 {
    border: 2px solid black;
    width: 250px;
    height: 320px;
    display: flex;
    flex-direction: column;
    margin: 5px;
}
.palette2a {
    border: 2px solid black;
    width: 249px;
    height: 340px;
    display: flex;
    flex-direction: column;
    margin: 5px 12px;
}
.palette2b {
    border: 2px solid black;
    width: 400px; /* 340px; */
    height: 260px;
    display: flex;
    flex-direction: column;
    margin: 5px;
}
.vrac {
  border: 2px solid black;
  width: 170px;
  height: 624px;
  display: flex;
  flex-direction: column;
  margin: 10px 10px 10px 0px;
 }
.container span {
  font-size: 2em;
  padding: 2px;
}
.container textarea {
  font-weight: bold;
  font-size: 1em;
}
.paletteColor1 {
  border-color: #8579b2;
  color: #8579b2;
}
.paletteColor2 {
  border-color: #22b5b7;
  color: #22b5b7;
}
.paletteColor3 {
  border-color: #ffed00;
  color: #ffed00;
}
.paletteColor4 {
  border-color: #83bc35;
  color: #83bc35;
}
.paletteColor5 {
  border-color: #e95742;
  color: #e95742;
}
.paletteColor6 {
  border-color: #da9739;
  color: #da9739;
}
.paletteColor7 {
  border-color: #283583;
  color: #283583;
}
.paletteColor8 {
  border-color: #bb62a3;
  color: #f6b4b8;
}
.paletteColor9 {
  border-color: #f6b4b8;
  color: #bb62a3;
}
.paletteColor10 {
  border-color: #1caec6;
  color: #1caec6;
}
.paletteColor11 {
  border-color: #016b46;
  color: #016b46;
}
.paletteColor12 {
  border-color: #8579b2;
  color: #8579b2;
}
.paletteColor13 {
  border-color: #22b5b7;
  color: #22b5b7;
}
.paletteColor14 {
  border-color: #ffed00;
  color: #ffed00;
}

.camera {
  display: inline-block;
  width: 48px;
  height: 48px;
  background: URL(camera.png);
}
/* style mobile */
@media only screen and (hover: none) and (pointer: coarse){
  .page80 { flex-direction: column }
  .logo { flex: 0.25 }
}

@media screen {
  .print { display: none }
  .scroll { overflow: auto }
}

@media print {
  .noprint { display : none !important }
  body { font-size: 11px !important; }
}
.listing {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
}
.listing table {
  margin: auto;
  background-color: floralwhite;
  border: 2px solid black;
  padding: 10px;
}
.listing table td {
  padding: 2px 10px;
}
.listing table td:nth-child(2) {
  text-align: right;
}