﻿/*from 26px at 360 to 36px at 720*/
/*from 22px at 360 to 30px at 720*/
/*from 18px at 360 to 26px at 720*/
body {
  background: #cbe4cb;
}
.screen {
  max-width: 600px;
  margin: 0 auto;
  background: #aad2aa;
  background: linear-gradient(15deg, #aad2aa, #cbe4cb);
  height: 100vh;
  display: flex;
  flex-direction: column;
}
@media only screen and (min-width: 576px) and (max-width: 768px) {
  .content .container {
    max-width: 768px !important;
  }
}
@media only screen and (min-width: 600px) {
  .screen {
    border: 2px solid black;
    box-shadow: 3px 3px 15px #333333;
    margin: 1vh auto;
    height: 98vh;
  }
}
.title {
  cursor: pointer;
  padding: 8px;
  border-bottom: 2px solid black;
  font: 800 clamp(26px, 2.78vw + 10px, 36px) Helvetica, Arial, sans-serif;
  background: #41b983;
  background: linear-gradient(15deg, #349368, #41b983);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.title .disabled span {
  visibility: collapse;
}
.title .hidden {
  visibility: hidden;
}
.title #NavL.disabled::before {
  content: "";
}
.title #NavL::before {
  content: "\2630";
  margin-right: 10px;
}
.title #NavR {
  /*text-align: right;*/
  margin-top: auto;
  margin-left: auto;
}
.title #NavR.expanded::after {
  content: "\25B2";
}
.title #NavR::after {
  content: "\25BC";
}
.content {
  position: relative;
  margin: auto 0;
  height: 100%;
  overflow-y: auto;
}
.content .container {
  padding: 10px;
}
.overlay {
  width: 100%;
  height: 0;
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  overflow-y: hidden;
  transition: 0.3s;
}
.overlay.left {
  background-color: rgba(0, 0, 0, 0.8);
}
.overlay.left.visible {
  height: 100%;
}
.overlay.right {
  background-color: #aad2aa;
}
.overlay.right.visible {
  height: 100%;
}
.list a {
  margin: 10px auto 10px auto;
  padding: 10px;
  width: 300px;
  border: 2px solid black;
  font: 600 clamp(22px, 2.22vw + 8px, 30px) Helvetica, Arial, sans-serif;
  color: black;
  background: #41b983;
  background: linear-gradient(15deg, #349368, #41b983);
  text-align: center;
  display: block;
  text-decoration: none;
}
.list a a :hover {
  text-decoration: none;
  color: black;
}
.menu {
  background: hsl(153, 48%, 49%);
}
.menu :hover {
  background-color: #ddd;
  color: black;
}
.menu .begingroup {
  border-top: 1px solid black;
}
.menu a {
  border-bottom: 1px solid black;
  padding: 10px;
  font: 600 clamp(22px, 2.22vw + 8px, 30px) Helvetica, Arial, sans-serif;
  color: black;
  display: block;
  text-decoration: none;
  background: #41b983;
}
.menu a:not([href]) {
  text-decoration: none;
  color: dimgray;
}
.menu a:hover:not([href]) {
  text-decoration: none;
  color: dimgray;
}
.menu button {
  border: none;
  padding: 8px;
  font: 600 clamp(22px, 2.22vw + 8px, 30px) Helvetica, Arial, sans-serif;
  color: white;
  background: #41b983;
  width: 100%;
  text-align: left;
}
.menu .dropbtn {
  border: none;
  padding: 8px;
  font: 600 clamp(22px, 2.22vw + 8px, 30px) Helvetica, Arial, sans-serif;
  color: black;
  width: 600%;
  text-align: left;
  border-bottom: 1px solid black;
}
.menu .dropdown {
  position: relative;
  display: inline-block;
}
.menu .dropdown-content {
  display: none;
  position: absolute;
  border: none;
  padding: 8px;
  font: 600 clamp(22px, 2.22vw + 8px, 30px) Helvetica, Arial, sans-serif;
  color: black;
  text-align: left;
  border-bottom: 1px solid black;
}
.menu .dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  width: 900%;
}
.menu .show {
  display: contents;
}
#display {
  grid-template-columns: repeat(2, 1fr);
  font: 800 clamp(26px, 2.78vw + 10px, 36px) Helvetica, Arial, sans-serif;
  display: grid;
  grid-gap: 2px;
  margin-bottom: 10px;
  vert-align: bottom;
  align-content: start;
  min-height: 210px;
}
#display .label {
  font-weight: 400;
}
#display input.value {
  width: 100%;
}
#display .valueAdd {
  color: #999999;
  margin-left: 20px;
}
#reader {
  width: 300px;
  margin-left: auto;
  margin-right: auto;
}
#keyboard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto repeat(4, 1fr);
  grid-gap: 2px;
}
#keyboard button {
  font: 600 clamp(22px, 2.22vw + 8px, 30px) Helvetica, Arial, sans-serif;
  border: 2px solid black;
  background: white;
}
#keyboard button:disabled {
  border-color: #b4b4b4;
  color: #b4b4b4;
  background-color: #dfdfdf;
}
#keyboard button div {
  font-size: 14px;
  font-weight: 400;
  position: absolute;
  padding-top: 15%;
}
#keyboard .func {
  display: flex;
  justify-content: center;
  align-items: center;
  font: 400 clamp(18px, 2.22vw + 8px, 26px) Helvetica, Arial, sans-serif;
  background: #41b983;
  background: linear-gradient(15deg, #349368, #41b983);
}
#keyboard .func:after {
  content: "";
  padding-bottom: 50%;
  display: inline-block;
}
#keyboard .square {
  display: flex;
  justify-content: center;
  align-items: center;
}
#keyboard .square:after {
  content: "";
  padding-bottom: 100%;
  display: inline-block;
}
#keyboard .square.darker {
  background: #b3b3b3;
  background: linear-gradient(15deg, #9a9a9a, #b3b3b3);
}
#keyboard .square.darker:disabled {
  border-color: #b4b4b4;
  color: #b4b4b4;
  background-color: #dfdfdf;
  background-image: none;
}
@media not all and (min-resolution: 0.001dpcm) {
  @supports (-webkit-appearance:none) {
    #keyboard .square:after {
      content: url("empty.png");
      /*HACK pro Safari*/
    }
  }
}
#keyboard .ok {
  grid-row: auto / span 2;
  background: #41b983;
  background: linear-gradient(15deg, #349368, #41b983);
}
#keyboard .zero {
  grid-column: auto / span 2;
}
.icon {
  width: 30px;
  padding: 0 5px 5px 0;
}
.iconbig {
  width: 20px;
  padding: 0 8px 5px 0;
}
.sortdown {
  width: 20px;
  padding: 0 0 10px 5px;
}
.cameraqr {
  width: 40px;
  padding: 0 0 5px 0;
}
.arrowup {
  width: 20px;
}
#err {
  color: red;
  margin-top: 20px;
  font-size: 16px;
  font-weight: 600;
  list-style-type: square;
  padding-inline-start: 20px;
}
#modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: #000000;
  background-color: rgba(0, 0, 0, 0.8);
}
#modal .content {
  background: #aad2aa;
  background: linear-gradient(15deg, #aad2aa, #cbe4cb);
  margin: 25% auto;
  padding: 10px;
  border: 2px solid black;
  width: 80%;
  max-width: 480px;
  height: auto;
  text-align: center;
}
#modal .content h1 {
  background: #41b983;
  background: linear-gradient(15deg, #349368, #41b983);
  font: 600 clamp(22px, 2.22vw + 8px, 30px) Helvetica, Arial, sans-serif;
  margin: -10px -10px 10px -10px;
  padding: 5px 10px;
  border-bottom: 2px solid black;
  text-align: left;
}
#modal .content p {
  text-align: left;
}
#karta {
  height: 100%;
  width: 100%;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  overflow-y: hidden;
  background: #aad2aa;
  background: linear-gradient(15deg, #aad2aa, #cbe4cb);
  display: none;
  text-align: center;
  padding: 20px;
}
.scanner {
  padding: 10px 20px;
  font: 800 clamp(26px, 2.78vw + 10px, 36px) Helvetica, Arial, sans-serif;
  border: 2px solid black;
  background: #41b983;
  background: linear-gradient(15deg, #349368, #41b983);
  margin: 10px auto;
  display: block;
}
.qr {
  background-color: white;
}
.qr h1 {
  text-align: center;
}
.qr .container {
  position: relative;
}
.qr .item {
  position: relative;
  display: inline-block;
  border: 1px dashed black;
  padding: 5px 30px 30px 30px;
  page-break-inside: avoid;
}
.qr .item div {
  font-weight: 800;
  font-family: arial;
  font-size: 20px;
  text-align: center;
  margin-bottom: 5px;
}
.help {
  padding: 0 20px;
  height: 100%;
  overflow-y: auto;
}
.help h1 {
  font-size: 24px;
  margin-top: 20px;
  margin-bottom: 0;
}
.help h2 {
  font-size: 20px;
  margin-top: 15px;
  margin-bottom: 0;
}
.help h3 {
  font-size: 16px;
  margin-top: 10px;
  margin-bottom: 0;
}
.help p {
  margin-bottom: 5px;
}
.help.content {
  font: 600 clamp(22px, 2.22vw + 8px, 30px) Helvetica, Arial, sans-serif;
  padding: 40px 0 0 100px;
}
.help.content a {
  display: list-item;
  list-style: square;
  padding-bottom: 20px;
  color: black;
  cursor: pointer;
}
.help.content a :hover {
  color: black;
}
#grid {
  font: 600 clamp(22px, 2.22vw + 8px, 30px) Helvetica, Arial, sans-serif;
  background-color: #bee6be;
  display: grid;
  grid-template-columns: 60px auto auto auto;
  grid-auto-rows: max-content;
  height: 100%;
  overflow-y: auto;
}
#grid .header {
  display: contents;
}
#grid .header div {
  padding: 5px;
  background-color: darkgrey;
  border-right: 1px solid black;
  border-bottom: 1px solid black;
  position: sticky;
  top: 0;
}
#grid .row {
  display: contents;
}
#grid .row.active {
  color: red;
}
#grid .row.alt {
  display: contents;
}
#grid .row.alt div {
  background-color: #cbe4cb;
}
#grid .row.alt div.locked {
  background-color: #d1ded1;
}
#grid .row div {
  background-color: #bbdbbb;
  padding: 5px;
}
#grid .row div.locked {
  background-color: #c3d3c3;
}
#grid .row .bx {
  text-align: center;
  background-color: silver !important;
  border-right: 1px solid black;
  border-bottom: 1px solid black;
}
#grid .row .pl {
  color: #000000;
  padding-left: 10px;
  text-align: left;
  border-right: 1px solid black;
}
#grid .row .pl.locked {
  color: #808080;
}
#grid .row .fw {
  color: #000000;
  padding-right: 10px;
  text-align: center;
  border-right: 1px solid black;
}
#grid .row .fw.locked {
  color: #808080;
}
#grid .row .fw.ins {
  color: #808080;
}
#grid .row .wn {
  color: #000000;
  padding-right: 10px;
  text-align: center;
}
#grid .row .wn.locked {
  color: #808080;
}
button {
  background: #b3b3b3;
  background: linear-gradient(15deg, #9a9a9a, #b3b3b3);
  border: 2px solid black;
  font: 400 clamp(18px, 2.22vw + 8px, 26px) Helvetica, Arial, sans-serif;
  min-width: 80px;
  min-height: 50px;
}
button[value=yes] {
  background: #41b983;
  background: linear-gradient(15deg, #349368, #41b983);
}
#karta .prehled {
  display: flex;
  align-items: start;
  font-size: 14px;
}
#karta .prehled .header {
  display: grid;
  grid-template-columns: 80px;
  grid-template-rows: repeat(21, 22px);
  grid-auto-flow: column;
  border-bottom: thin solid black;
}
#karta .prehled .header :first-child {
  background: #41b983 !important;
  font-weight: 800;
}
#karta .prehled .header div {
  background: linear-gradient(15deg, #cccccc, #e6e6e6);
  grid-column: 1;
  padding: 2px 5px;
  text-align: left;
  white-space: nowrap;
  border: thin solid black;
  border-width: 1px 1px 0 1px;
}
#karta .prehled .header .group {
  font-weight: 800;
  background: linear-gradient(15deg, #9a9a9a, #b3b3b3);
  border: thin solid black;
  border-width: 1px 1px 0 1px;
}
#karta .prehled .data {
  display: grid;
  grid-template-rows: repeat(21, 22px);
  grid-auto-columns: 50px;
  grid-auto-flow: column;
  overflow-x: auto;
  border-bottom: thin solid black;
}
#karta .prehled .data .row {
  display: contents;
}
#karta .prehled .data .row :first-child {
  background: #41b983 !important;
  font-weight: 800;
  padding: 2px 0 !important;
  text-align: center;
}
#karta .prehled .data .row div {
  background: white;
  border: thin solid black;
  border-width: 1px 1px 0 0;
  text-align: right;
  padding: 2px 5px 2px 0;
}
#karta .prehled .data .group {
  font-weight: 800;
  background: linear-gradient(15deg, #9a9a9a, #b3b3b3);
  border: thin solid black;
  border-width: 1px 1px 0 0;
}
#KartaPrasnice {
  margin: -10px;
  padding: 10px 0 0 0;
  font-size: 12px;
}
#KartaPrasnice .subtitle {
  font-size: 20px;
  font-weight: 700;
  padding-left: 5px;
}
#KartaPrasnice .Udaje .table {
  display: grid;
  grid-template-columns: repeat(7, auto);
  grid-auto-flow: row;
  background: #41b983 !important;
  border: thin solid black;
  border-width: 1px 1px 1px 0;
  margin: 0;
}
#KartaPrasnice .Udaje .header {
  display: contents;
  font-weight: 800;
}
#KartaPrasnice .Udaje .header div {
  text-align: center;
  border: thin solid black;
  border-width: 0 0 0 1px;
}
#KartaPrasnice .Udaje .row {
  display: contents;
  border-bottom: red 1px solid;
  background: linear-gradient(15deg, #cccccc, #e6e6e6);
}
#KartaPrasnice .Udaje .row :first-child {
  background: linear-gradient(15deg, #cccccc, #e6e6e6);
}
#KartaPrasnice .Udaje .row div {
  background: white;
  text-align: center;
  border: thin solid black;
  border-width: 1px 0 0 1px;
}
#KartaPrasnice .Prehled .prehled {
  display: flex;
  align-items: start;
}
#KartaPrasnice .Prehled .prehled .header {
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: repeat(21, 22px);
  grid-auto-flow: column;
  border: thin solid black;
  border-width: 0 0 1px 0;
}
#KartaPrasnice .Prehled .prehled .header :first-child {
  background: #41b983 !important;
  font-weight: 800;
}
#KartaPrasnice .Prehled .prehled .header div {
  background: linear-gradient(15deg, #cccccc, #e6e6e6);
  grid-column: 1;
  padding: 2px 5px;
  text-align: left;
  white-space: nowrap;
  border: thin solid black;
  border-width: 1px 1px 0 1px;
}
#KartaPrasnice .Prehled .prehled .header .group {
  font-weight: 800;
  background: linear-gradient(15deg, #9a9a9a, #b3b3b3);
  border: thin solid black;
  border-width: 1px 1px 0 1px;
}
#KartaPrasnice .Prehled .prehled .data {
  display: grid;
  grid-template-rows: repeat(21, 22px);
  grid-auto-columns: 60px;
  grid-auto-flow: column;
  overflow-y: hidden;
  border: thin solid black;
  border-width: 0 0 1px 0;
}
#KartaPrasnice .Prehled .prehled .data .row {
  display: contents;
}
#KartaPrasnice .Prehled .prehled .data .row :first-child {
  background: #41b983 !important;
  font-weight: 800;
  padding: 2px 0 !important;
  text-align: center;
}
#KartaPrasnice .Prehled .prehled .data .row div {
  background: white;
  border: thin solid black;
  border-width: 1px 1px 0 0;
  text-align: right;
  padding: 2px 5px 2px 0;
}
#KartaPrasnice .Prehled .prehled .data .group {
  font-weight: 800;
  background: linear-gradient(15deg, #9a9a9a, #b3b3b3);
  border: thin solid black;
  border-width: 1px 1px 0 0;
}
#KartaPrasnice .Udalosti .tableud {
  display: grid;
  grid-template-columns: repeat(7, auto);
  grid-auto-flow: row;
  background: #41b983 !important;
  border: thin solid black;
  border-width: 0 1px 0 0;
}
#KartaPrasnice .Udalosti .tableud .header {
  display: contents;
  font-weight: 800;
}
#KartaPrasnice .Udalosti .tableud .header div {
  text-align: center;
  border: thin solid black;
  border-width: 1px 0 0 1px;
}
#KartaPrasnice .Udalosti .tableud .header div.left {
  text-align: left;
}
#KartaPrasnice .Udalosti .tableud .skupina {
  grid-column-start: 1;
  grid-column-end: 8;
  border: thin solid black;
  border-width: 0 0 1px 0;
}
#KartaPrasnice .Udalosti .tableud .row {
  display: contents;
}
#KartaPrasnice .Udalosti .tableud .row :first-child {
  background: linear-gradient(15deg, #cccccc, #e6e6e6);
}
#KartaPrasnice .Udalosti .tableud .row div {
  background: white;
  text-align: center;
  border: thin solid black;
  border-width: 0 0 1px 1px;
}
#KartaPrasnice .Udalosti .tableud .row div.left {
  text-align: left;
  padding-left: 2px;
}
#SeznamKategorii {
  margin: -10px;
}
#SeznamKategorii div {
  display: inline-block;
  padding: 2px 2px 2px 2px;
}
#SeznamKategorii .table {
  text-align: right;
  border: thin solid black;
  border-width: 0 0 1px 0;
  padding: 0;
  margin: 0;
}
#SeznamKategorii .group {
  display: grid;
  grid-template-columns: auto 55px;
  grid-gap: 0;
  overflow-x: auto;
  padding: 2px 0 0 0;
  column-count: auto;
  background: linear-gradient(15deg, #349368, #41b983) !important;
  text-align: left;
  font-weight: 800;
  border: thin solid black;
  border-width: 1px 1px 0 1px;
}
#SeznamKategorii .row {
  overflow-x: auto;
  display: grid;
  grid-template-columns: 55px auto 55px;
  grid-gap: 0;
  column-count: auto;
  margin: 0;
  padding: 0;
}
#SeznamKategorii .row > :nth-child(1) {
  background: linear-gradient(15deg, #cccccc, #e6e6e6);
  text-align: center;
  font-weight: 800;
  border: thin solid black;
  border-width: 1px 0 0 1px;
}
#SeznamKategorii .row > :nth-child(1).red {
  color: red;
}
#SeznamKategorii .row > :nth-child(1).blue {
  color: blue;
}
#SeznamKategorii .row > :nth-child(2) {
  background: white;
  text-align: left;
  border: thin solid black;
  border-width: 1px 1px 0 1px;
}
#SeznamKategorii .row > :nth-child(3) {
  background: linear-gradient(15deg, #cccccc, #e6e6e6);
  text-align: center;
  font-weight: 500;
  border: thin solid black;
  border-width: 1px 1px 0 0;
}
#CelkovyPrehled {
  margin: -10px;
  padding: 10px 0 0 0;
  font-size: 12px;
}
#CelkovyPrehled .subtitle {
  font-size: 20px;
  font-weight: 700;
  padding-left: 5px;
}
#CelkovyPrehled .Prehled .prehled {
  display: flex;
  align-items: start;
}
#CelkovyPrehled .Prehled .prehled .header {
  display: grid;
  grid-template-columns: auto;
  grid-auto-flow: column;
  border: thin solid black;
  border-width: 0 0 1px 0;
}
#CelkovyPrehled .Prehled .prehled .header :first-child {
  background: #41b983 !important;
  font-weight: 800;
}
#CelkovyPrehled .Prehled .prehled .header :nth-child(2) {
  background: #41b983 !important;
  border-top: 0px;
}
#CelkovyPrehled .Prehled .prehled .header div {
  background: linear-gradient(15deg, #cccccc, #e6e6e6);
  grid-column: 1;
  padding: 2px 5px;
  text-align: left;
  white-space: nowrap;
  border: thin solid black;
  border-width: 1px 1px 0 1px;
}
#CelkovyPrehled .Prehled .prehled .header .group {
  font-weight: 800;
  background: linear-gradient(15deg, #9a9a9a, #b3b3b3);
  border: thin solid black;
  border-width: 1px 1px 0 1px;
}
#CelkovyPrehled .Prehled .prehled .header .category {
  font-weight: 800;
  background: linear-gradient(15deg, #b3b3b3, #cccccc);
  border: thin solid black;
  border-width: 1px 1px 0px 1px;
}
#CelkovyPrehled .Prehled .prehled .data {
  display: grid;
  grid-auto-columns: auto;
  grid-auto-flow: column;
  overflow-y: hidden;
  border: thin solid black;
  border-width: 0 0 1px 0;
  width: 100%;
}
#CelkovyPrehled .Prehled .prehled .data .row {
  display: contents;
}
#CelkovyPrehled .Prehled .prehled .data .row :first-child {
  background: #41b983 !important;
  font-weight: 800;
  padding: 2px 0 !important;
  text-align: center;
}
#CelkovyPrehled .Prehled .prehled .data .row :nth-child(2) {
  text-align: center;
  background: #41b983 !important;
  border-top: 0px;
}
#CelkovyPrehled .Prehled .prehled .data .row div {
  background: white;
  border: thin solid black;
  border-width: 1px 1px 0 0;
  text-align: right;
  padding: 2px 5px 2px 0;
}
#CelkovyPrehled .Prehled .prehled .data .group {
  font-weight: 800;
  background: linear-gradient(15deg, #9a9a9a, #b3b3b3);
  border: thin solid black;
  border-width: 1px 1px 0 0;
}
#CelkovyPrehled .Prehled .prehled .data .category {
  font-weight: 800;
  background: linear-gradient(15deg, #b3b3b3, #cccccc);
  border: thin solid black;
  border-width: 1px 1px 0 0;
}
.token {
  border: 2px solid black;
  border-width: 1px;
  background-color: white;
  padding: 10px;
  margin-top: 10px;
  overflow-wrap: anywhere;
}
#Settings {
  margin: 10px 0 0 0;
  padding: 10px 0 0 0;
}
#Settings .subtitle {
  font-size: 20px;
  font-weight: 700;
  padding-left: 5px;
}
#Settings .polozky {
  text-align: center;
}
#Settings .polozky .table {
  width: 80%;
  display: table;
  grid-template-columns: repeat(7, auto);
  grid-auto-flow: row;
  background: #41b983 !important;
  border: thin solid black;
  border-width: 1px 1px 1px 0;
  margin: 0 auto;
}
#Settings .polozky .header {
  display: table-row;
  font-weight: 800;
}
#Settings .polozky .header div {
  display: table-cell;
  text-align: center;
  border: thin solid black;
  border-width: 0 0 0 1px;
}
#Settings .polozky .row {
  display: table-row;
  border-bottom: red 1px solid;
  background: linear-gradient(15deg, #cccccc, #e6e6e6);
  width: 100%;
}
#Settings .polozky .row :first-child {
  background: linear-gradient(15deg, #cccccc, #e6e6e6);
}
#Settings .polozky .row div {
  display: table-cell;
  background: white;
  text-align: center;
  border: thin solid black;
  border-width: 1px 0 0 1px;
}
#Settings #users .header div {
  padding: 4px;
}
#Settings #users .row div {
  padding: 4px;
}
#Settings #users a {
  margin: 0px auto;
  padding: 2px;
  width: auto;
  border: 2px solid black;
  font: 600 clamp(18px, 10.22vw, 24px) Helvetica, Arial, sans-serif;
}
#progress {
  visibility: hidden;
  width: 80px;
  height: 80px;
  border: 2px solid #f3f3f3;
  border-top: 3px solid #999999;
  border-radius: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  animation: spin 1s infinite linear;
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
#progress.show {
  visibility: visible;
}