body {
  font-size: 1em;
  /*font-family: 'Futura','Helvetica','sans-serif';*/
  font-family: "Ubuntu", sans-serif;
  text-align: center;
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: 100%;
  font-weight: lighter;
}
a {
  /*color: green;*/
  color: #7394c7;
  transition: text-shadow 250ms;
}
/*
a:hover {
  text-shadow: 0px 0px 1.2px #7394c7;
}
*/
td {
  vertical-align: middle;
}

td input,
td textarea,
td button {
  width: 80%;
  font-size: 1em;
  /*font-family: 'Futura','Helvetica','sans-serif';*/
  text-align: center;
  border-style: solid;
  border-width: 1px;
  border-color: grey;
  border-radius: 3px;
}

td.ftyp input {
  width: auto;
}

#menu {
  margin-bottom: 1em;
  margin-top: 1em;
  display: flex;
  justify-content: center;
}
#menu ul {
  display: flex;
  flex-direction: row;
  margin: 0;
  border-style: solid;
  border-width: 1px;
  border-radius: 8px;
  border-color: #7394c7;
  padding-left: 0;
}
#menu ul li {
  list-style: none;
}
#menu ul li:first-child a {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}
#menu ul li:last-child a {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}
#menu a {
  padding: 0.5em;
  display: inline-block;
  /*margin-bottom: 0.5em;*/
  border-color: #7394c7;
  border-style: solid;
  border-left-width: 0;
  border-right-width: 1px;
  border-top-width: 0;
  border-bottom-width: 0;
  transition: background-color 250ms;
  text-decoration: none;
}
#menu a.aktivni {
  background-color: #f8c423;
}
#menu a:hover {
  background-color: #ffe38e;
}
#menu a.posledni {
  border-width: 0;
}
#stranka {
  text-align: center;
  margin-left: 3em;
  margin-right: 3em;
  padding-bottom: 3em;

  -webkit-filter: blur(0px);
  filter: blur(0px);
  transition: -webkit-filter 1s linear;
}

.tab {
  margin-left: auto;
  margin-right: auto;
  margin-top: 1em;
  border-collapse: collapse;
  border-spacing: 0;
  box-shadow: 1px 1px 3px 0px rgba(130, 130, 130, 0.75);
}

.tab td,
.tab th {
  background-color: #fff;
  border: 1px rgb(240, 231, 231) solid;
  color: #594f4f;
  /*font-family: 'Gill Sans','Helvetica','sans-serif';*/
  font-weight: 100;
  font-size: 100%;
  padding: 3px;
  transition: background-color 250ms;
}

.tab .tab-suda td {
  background-color: #fdebb4;
}

.tab .uzavreno td {
  background-color: #e0e0e0;
}

.tab .vraceno td {
  background-color: #ffffcc;
}

.tab .storno td {
  background-color: #ffcccc;
}

.tab th {
  background-color: #7394c7;
  color: #fff;
  /*font-size: 110%;*/
  font-weight: bold;
  position: sticky;
  top: 0;
}

.tab tr:hover td,
.tab tr.even:hover td {
  color: #333;
  background-color: #f8c423;
}
.tab tr td:hover,
.tab tr.even td:hover {
  background-color: #ffe38e;
}

.vstup {
  margin-left: auto;
  margin-right: auto;
  border-collapse: collapse;
  border-spacing: 0;
}

#prihlaseni {
  font-size: 5em;
  -webkit-text-size-adjust: 100%;
  margin-left: auto;
  margin-right: auto;
  width: 80%;
}
#prihlaseni input {
  font-size: 1em;
  /*font-family: 'Futura','Helvetica','sans-serif';*/
  text-align: center;
  border-style: solid;
  border-width: 3px;
  border-color: grey;
  width: 80%;
}
#presuprava {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  visibility: hidden;
  background-color: rgba(255, 255, 255, 0);
  opacity: 0;
  transition: visibility 0s linear 0.3s, opacity 0.3s linear,
    background-color 1s linear;
}
#uprava {
  margin-top: 8em;
  margin-left: auto;
  margin-right: auto;
}
#zavritedit {
  text-align: right;
}
#zavritedit span {
  cursor: pointer;
}
#editnadpis {
  float: left;
}
#filter {
  margin-bottom: 0.5em;
}
.tluste {
  font-weight: bold;
}
.inverze {
  color: white;
  background-color: #7394c7;
  padding-left: 3px;
  padding-right: 3px;
  padding-top: 2px;
  padding-bottom: 2px;
}
.knoflik {
  width: 100%;
  border-radius: 3px;
}
.smazat {
  color: red;
}
.povinne {
  border-color: #ff9966;
}
.editace {
  width: 50%;
  border: gray;
  border-style: solid;
  border-width: 2px;
}

.tleva {
  text-align: left;
}
.tprava {
  text-align: right;
}
.soubor input {
  border: 0;
}
.soubor .knoflik {
  width: initial;
}
.logodod svg {
  max-height: 18px;
  width: 60px;
}

/*  Vydejka z faktury */
div.fak_shrnuti {
  margin: 1rem;
}

.chyba {
  color: red;
  padding: 1em;
}
.vybranyradek {
  background-color: limegreen;
}
.tab tr.vybranyradek:hover td {
  background-color: limegreen;
}
div.vyzvafak {
  padding: 1em;
  width: fit-content;
}
div.vyzvafak input {
  border: solid 2px;
  font-size: 1em;
}
table.multiin {
  width: 100%;
  text-wrap: nowrap;
}
table.multiin td {
  width: fit-content;
  background-color: transparent;
}
table.multiin input {
  text-align: left;
}
input.mnzstv {
  width: 6ch;
}
.srvcsl input,
.pznmk input {
  width: 16ch;
}
.prdkt input {
  width: 99%;
}
.prdktkd,
.prtn,
.mprt,
.ktsj,
.mnzstv,
.srvcsl,
.pznmk,
.zkznk {
  width: 1%;
}
.ktsj {
  text-align: right;
}
.mprt {
  text-align: center;
  vertical-align: middle;
}
.mprt input {
  width: initial;
}
table.fakspol {
  width: fit-content;
}
input.vlozvydzfak {
  border: solid 2px gray;
}
td.status {
  text-align: left;
  font-style: italic;
}
tr.uzivatel_neaktivni td {
  font-style: italic;
  color: red;
}
