body {
  margin: 0;
  padding: 0;
  font-family: Calibri;
  font-size: 12pt;
  color: #000;
  /*overflow-y: scroll;*/
}
* {
  box-sizing: border-box;
}
#all {
  margin: 12pt;
  border: 1px solid #4b0082;
  background-color: #E0F0F9;
}
header {
  border-bottom: 1px solid #4b0082;
  background-color: #4b0082;
  color: #FFF;
}
#kontejner {
  background-color: #C5E4F4;
}
nav, #obsah, footer {
  padding: 6pt;
}
nav, #obsah {
  min-height: calc(100vh - 94pt);
}
nav {
  width: 10em;
  float: left;
}
nav ul {
  padding: 0;
  list-style-type: none;
}
nav li {
  padding: 0.1em 0;
}
#obsah {
  margin-left: 10em;
  background-color: #E0F0F9;
}

/* NADPISY */
h1, h2, h3 {margin: 0;}
h1 {
  font-size: 24pt;
  padding: 6pt;
}
h1 a {
  text-decoration: none;
}
h2 {
  font-size: 1.5rem;
}
h3 {
  font-size: 1.3rem;
}
h4 {
  font-size: 1.1rem;
}
h5 {
  font-size: 1rem;
}

/* prvky */
p, ul, form, pre, table, h4, h5 {
  margin: 0.5em 0;
}
ul {
  padding: 0 0 0 2em;
}
p:first-child, ul:first-child, form:first-child, pre:first-child, table:first-child {
  margin-top: 0;
}
p:last-child, ul:last-child, form:last-child, pre:last-child, table:last-child {
  margin-bottom: 0;
}


footer {
  background-color: #4b0082;
  color: #FFF;
  clear: both;
  font-size: 0.9em;
}
footer span:nth-child(2) {
  float: right;
}
section {
  border-bottom: 1px solid #8AB6CC;
  padding: 0.5em 0;
}
section:last-child {
  border-bottom: none;
}
#tab-menu {
  padding: 0;
  margin: 0.5em 0;
  letter-spacing: -1em;
}
#tab-menu li {
  display: inline;
  list-style-type: none;
  padding: 0.25em 0.5em;
  margin: 0;
  cursor: pointer;
  border-top: 1px solid #4b0082;
  border-right: 1px solid #4b0082;
  border-bottom: 1px solid #4b0082;
  background-color: #FFF;
  letter-spacing: normal;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
#tab-menu li.aktivni {
  background-color: #4b0082;
  color: #FFF;
}
#tab-menu li:first-child {
  border-left: 1px solid #4b0082;
  border-radius: 5px 0 0 5px;
}
#tab-menu li:last-child {
  border-radius: 0 5px 5px 0;
}
#tabs section {
  display: none;
  border-bottom: none;
}
#tabs section table {
  background-color: #FFF;
  width: 100%;
}
#tabs section table.jizdnirad {
  border: 1px solid #000;
  width: auto;
  table-layout: fixed;
  white-space: nowrap;
}