body.printer {
  background-color: #fffff4;
  text-align: center;
  align-items: center;
}

body.guest {
  background-color: #444;
}

caption {
  background-color: #990000cc;
  font-size: 24px;
  color: #FFF;
  padding: 5px;
  border-radius: 10px 10px 0 0;
}

table.orderTable {
  border: 1px solid #555;
  margin-left: auto;
  margin-right: auto;
  border-radius: 0 0 10px 10px;
}

table.orderTable tr:hover {
  background-color: #55555520;
}

th {
  background-color: #ddc9afad;
  padding-bottom: 5px;
  padding-top: 5px;
  }

td.folder {
  width: 100px;
  height: 100px;
  margin-top: 50px;
  position: relative;
  border-radius: 14px;
  box-shadow: 4px 4px 7px rgba(0, 0, 0, 0.59);
  vertical-align: bottom;
  padding-top: 0px;
  padding-right: 15px;
  padding-bottom: 5px;
  padding-left: 15px;
  font-size: 16px;
}

td.folder:hover, td.printer:hover {
  box-shadow: 6px 6px 9px rgba(0, 0, 0, 0.59);
}

td.printer {
  width: 60px;
  height: 60px;
  padding-bottom: 5px;
  position: relative;
  border-radius: 10px 10px 10px 10px;
  box-shadow: 4px 4px 7px rgba(0, 0, 0, 0.59);
  vertical-align: bottom;
}

td.printer, td.folder {
  color: rgba(27, 125, 125, 0.9);
  background-color: white;
}

#newFolder img, #deleteFolder img, td.folder img {
  width: 100px;
  height: 100px;
}

td.printer img, div.printer img {
  width: 40px;
  height: 40px;
  padding: 5px;
}

a {
  font-family: Georgia, "Times New Roman", Times, serif;
  text-decoration: none;
  color: #555;
}

a:hover {
  text-decoration: underline;
  color: #000;
}

table.folder {
  padding: 10px;
  margin: 4px;
}

div.folder {
  background-color: #aad0aa8a;
  border: solid #FFF;
  border-radius: 15px;
  width: fit-content;
}

div.foldersGroup {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  justify-content: space-evenly;
  margin-top: 20px;
  margin-bottom: 20px;
}

div.picThumb:hover {
  border-color: #79A;
}

.deletePic {
  height: 200px;
}

.deleteIcon {
  height: 50px;
  padding: 5px;
}

body.guest .uploadIcon {
  height: 40px;
  padding: 0px;
  max-height: 100px;
}

div.person {
  margin: 5px;
  border: 2px solid #AAA;
  border-radius: 23px;
  min-height: 300px;
  grid-column: span 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

body.guest div.person {
  min-height: 290px;
}
div.order {
  padding: 10px;
  border: 2px solid #AAA;
  margin: 5px;
  width: fit-content;
  border-radius: 20px 20px 20px 20px;
}

div.picThumb {
  float: left;
  padding: 5px;
  border: 2px solid #AAA;
  margin: 5px;
  border-radius: 20px 20px 20px 20px;
}

div.person div.picThumb {
  border: none;
}

div.info.ordered {
  background-color: #D4E3BF;
  border-radius: 10px;
}

div.fileName {
  background-color: rgba(255, 255, 255, 0.70);
  padding-left: 5px;
  padding-right: 5px;
  text-align: center;
  margin: 0 10px 0 10px;
}

body.guest div.fileName {
  font-size: 1.4em;
  background-color: rgba(255, 255, 255, 0.10);
  color: #EEE;
  border-radius: 12px;
}

div.picThumb>table {
  border: none;
}

div.T {
  background-color: #bec6ce;
}

body.guest div.T {
  background-color: #62666d;
}

td.folder:hover, td.printer:hover {
  box-shadow: 6px 6px 9px rgba(0, 0, 0, 0.59);
}

td.private {
  color: beige;
  font-family: "Courier New", Courier, monospace;
}

tr.pay:hover td.private {
  color: #000;
  background-color: #FDFFD4;
}

div.payHistory{
    display: grid;
    grid-template-columns: 4fr 1fr;
}
div.payHistory div{
  padding: 3px;
  border-bottom: 1px solid #CCC;
  background-color: #FFFFF4AD;
}

body.printer li.menu {
  border: thin solid #FFF;
  padding-bottom: 5px;
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 8px;
}

body.printer li.menu:hover {
  background-color: rgba(210, 244, 212, 0.69);
}

body.printer li.menu a.menu {
  color: #333;
  font-size: 24px;
  font-variant: small-caps;
}

img.thumbPic {
  max-height: 160px;
  max-width: 160px;
  border: 2px solid #FFF;
  padding: 2px;
  margin: 3px;
  border-radius: 20px;
}

img.microThumbPic{
  max-height: 30px;
}

img.orderButton {
  background-color: #ffffff;
  filter: hue-rotate(60deg);
  max-height: 110px;
}

img.thumbPic:hover {
  border-color: #79A;
}
img.orderTableImage {
  max-height: 15px;
  display: none;
}

div.picThumb>table {
  border: none;
  margin-top: 0;
}

.wide {
  width: 100%;
}

table.trueOrder {
  margin-bottom: 300px;
}

table.ordertable td {
  margin: 5px;
  padding: 5px;
}

body.printer table.ordertable th {
  background-color: #BED9EB;
  padding-right: 2px;
  padding-left: 2px;
}

body.printer table.ordertable tr:hover {
  background-color: #FDFFD4;
  -webkit-filter: drop-shadow(1px 1px 2px grey);
}

body.printer table.ordertable td.eraseCell {
  border: medium solid #C00;
  background-color: #FEE;
}

body.printer table.ordertable td.pay {
  border: medium solid #0A0;
  background-color: #EFE;
}

body.printer table.ordertable tr:nth-child(odd) {
  background-color: #d2d2d280;
}

body.printer table.ordertable tr:nth-child(odd):hover {
  background-color: #B7F4C5;
}

#preview {
  position: absolute;
  border: 1px solid #ccc;
  border-radius: 15px;
  background: #FFFFFFD0;
  padding: 5px;
  display: none;
}

#preview img.previewPic {
  max-height: 600px;
  max-width: 600px;
  min-height: 200px;
  min-width: 200px;
  padding: 6px;
  border: 1.5px solid #AAA;
  border-radius: 10px;
  margin: 5px;
}

#preview p {
  margin: 3px 15px;
  padding: 3px;
  background-color: #EEE;
}
table.orderTable input[type=number], table.orderTable input[type=text] {
  width: 34px;
  text-align: center;
}

input.inErrorValue {
  background-color: #ffb0b0;
}

input.inCorrValue {
  background-color: #b0ffb0;
}

td.lastOrderItem {
  font-size: 1.7em;
}

div.printer {
  clear: both;
}

body.printer table.ordertable tr.viewed {
  background-color: #DDD;
}

body.printer table.ordertable tr.view {
  background-color: #7D9;
}

.button {
  background-color: #1b7d2ccf;
  border: none;
  color: white;
  padding: 10px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  border-radius: 10px;
  cursor: pointer;
}

.button:hover {
  box-shadow: 0 6px 8px 0 rgba(0,0,0,0.24);
}

button.viewed {
  background-color: #DDD;
}

button.view {
  background-color: #7D9;
}

header {
  font-size: 28px;
  text-align: center;
  color: #FFF;
  text-decoration: none;
  font-variant: small-caps;
  background-color: #990000cc;
  /*#B33;*/
  width: 100vw;
}

nav ul li {
  display: inline;
  margin: 5px;
}

.accordion {
  background-color: #fffff4;
  color: #444;
  cursor: s-resize;
  width: 100%;
  border: thin solid #d6d6d6;
  text-align: left;
  transition: 0.4s;
  min-height: 38px;
  padding: 0;
}

.active, .accordion:hover {
  background-color: #90E1A0;
}

.panel {
  padding: 0 18px;
  background-color: white;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
}

.closed {
  max-height: 0;
}

table.orderHistory {
  width: 100%;
  margin-top: auto;
  margin-bottom: auto;
  text-align: center;
}

td.name {
  width: 50px;
}

td.sourceFolder {
  width: 200px;
}

td.date {
  width: 90px;
}

td.size {
  width: 40px;
  height: 28px;
}

.size10x15 {
  background-color: #9cdab163;
}

.size4x6, .size20x30 {
  background-color: #c7eae463;
}

td.size3x5, td.size4x6, td.size6x9, td.size15x21, td.size20x30, td.size30x45 {
  color: #555;
}

td.view {
  width: 60px;
  background-color: #9ddab1;
}

td.price {
  width: 70px;
}

td.item {
  font-size: 1.2em;
}

h3.name {
  color: #FFF;
  background-color: #CF4343;
  font-size: 1.3em;
  font-weight: normal;
  padding: 10px;
  text-align: center;
  margin-top: 0;
  margin-bottom: 0;
  border-radius: 20px 20px 0px 0px;
  font-family: 'Roboto', sans-serif;
  height: 25px;
  grid-column: span 3;
}

h3.ordered {
  background-color: #8ca5a2;
}

body.guest h3.name {
  background-color: #3e485a;
}

div.info {
  display: inline-block;
}

table.info {
  margin: 0;
}

table.info td {
  font-size: 13px;
  margin: 0;
}

table.info td.totalPrice {
  font-size: 24px;
  pading-bottom: 50px;
}

span.totalPaid {
  padding-left: 50px;
}

body.guest caption {
  font-family: 'Roboto', sans-serif;
  margin-bottom: 10px;
  border-color: #BBB;
}

input#totalPriceSubstract {
  background-color: #CCC;
}

input#limit {
  resize: none;
  height: 20px;
  text-align: center;
}

.plus, .minus {
  cursor: pointer;
}

div.clientOrders {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

div.client_order {
  display: grid;
  grid-template-columns: 50px 1fr;
  grid-template-rows: 25px 25px;
  width: fit-content;
  min-width: 175px;
  padding: 0 25px;
  height: 50px;
  font-size: 16px;
  line-height: 25px;
  background-color: #ffffff;
  border: #CCC 2px solid;
  margin: 5px;
  cursor: pointer;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.client_order img {
  float: left;
  margin: 0 10px 0 -25px;
  height: 50px;
  width: 50px;
  grid-column: 1;
  grid-row: 1/3;
}

.index {
  background-color: #6EB37F;
  border: none;
  color: white;
  padding: 15px 32px;
  margin-top: 25px;
  margin-bottom: 15px;
  text-align: center;
  text-decoration: none;
  display: flex;
  font-size: 26px;
  cursor: pointer;
  margin-left: auto;
  margin-right: auto;
  border-radius: 15px;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  clear: both;
}

canvas#indexPic, img.indexJPG {
  border: thin solid black;
  max-width: 95%;
  padding: 5px;
  margin-bottom: 35px;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

div#indexControl {
  clear: both;
  border-radius: 20px;
  background-color: #77dd9940;
  padding: 20px;
  max-width: 400px;
  margin: auto;
}

div#indexControl input, select {
  width: 90%;
  padding: 5px;
  margin: 3px;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 1.2em;
  text-align: center;
}

div#allPics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-template-rows: auto;
  grid-auto-flow: row;
  justify-content: space-evenly;
}

body.guest div#allPics {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

div.control {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  justify-content: space-evenly;
  padding: 20px;
}

div.control div.button {
  display: grid;
  background-color: white;
  grid-template-columns: 1fr;
  border: 1px solid #999;
  margin: auto;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

div.control div.button:hover {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

div.control img {
  max-height: 100px;
}

label.error {
  background:url("/images/unchecked.png") no-repeat;
  background-size: 14px 14px;
  padding-left: 20px;
  padding-bottom: 2px;
  font-weight: bold;
  color: #b0191c;
}

label.checked {
  background:url("/images/checked.png") no-repeat 0px 0px;
  padding-left: 20px;
  padding-bottom: 2px;
  font-weight: bold;
  color: #19b01c;
}

div.compactView {
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 5px;
}

div.item {
  border: #cecece 2px solid;
  display: grid;
  width: fit-content;
  min-width: 160px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  grid-template-areas:
    'picture picture picture picture'
    'name name name name'
    'size3x5 size4x6 size6x9 size10x15'
    'size15x21 size20x30 size30x45 end';
}
div.item div.picture {
  height: 180px;
  grid-area: picture;
}
div.item div.pictureName {
  grid-area: name;
  font-size: 1.1em;
  background-color: #bfbfbf47;
  align-self: center;
  padding: 5px;
}
div.item div.size3x5 {
  grid-area: size3x5;
}
div.item div.size4x6 {
  grid-area: size4x6;
}
div.item div.size6x9 {
  grid-area: size6x9;
}
div.item div.size10x15 {
  grid-area: size10x15;
  border: 1px solid #AAA;
}
div.item div.size15x21 {
  grid-area: size15x21;
}
div.item div.size20x30 {
  grid-area: size20x30;
}
div.item div.size30x45 {
  grid-area: size30x45;
}
div.compactView div.size{
  font-size: 1.7em;
  height: 32px;
}
div.infos{
  background-color: #f5f5ab;
}
div.infos[data-debut_date]{
  background-color: #75dc75;
}
div.config{
  background-color: #DDD;
  display: grid;
  grid-template-columns: 40px 50px 40px 70px 110px;
  padding: 0;
}
div.orderFolder{
  margin: 5px;
  border-radius: 20px;
  display: grid;
  grid-template-columns: 25px 110px 110px 1fr 1fr;
}
div.orderFolder div {
  padding: 3px 10px 3px 10px;
}
div.orderFolder div.config {
  padding: 0;
}
div.larg_papier {
  background-color: #a0d4d6;
}
table.archive {
  padding: 5px;
}

table.archive td {
  padding: 0 15px;
}
table.archive td.priority[data-priority=A]{
  background-color: #ffb7b2;
}
table.archive td.priority[data-priority=B]{
  background-color: #eaea9f;
}
table.archive td.priority[data-priority=C]{
  background-color: #a0e6a8;
}
table.archive td.priority[data-priority=V]{
  background-color: #DDD;
}
div.orderPic{
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  background-color: #fffff4;
}
