html {
  font-family: serif; /* 1 */
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

body {
  margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
progress,
video {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

audio:not([controls]) {
  display: none;
  height: 0;
}


[hidden],
template {
  display: none;
}

a {
  background: transparent;
}

a:active,
a:hover {
  outline: 0;
}

abbr[title] {
  border-bottom: 1px dotted;
}

b,
strong {
  font-weight: bold;
}

dfn {
  font-style: italic;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

mark {
  background: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 1em 40px;
}

hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}

pre {
  overflow: auto;
}

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
  color: inherit; /* 1 */
  font: inherit; /* 2 */
  margin: 0; /* 3 */
}

button {
  overflow: visible;
}


button,
select {
  text-transform: none;
}

button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button; /* 2 */
  cursor: pointer; /* 3 */
}

button[disabled],
html input[disabled] {
  cursor: default;
}


button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input {
  line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

input[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box; /* 2 */
  box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  border: 0; /* 1 */
  padding: 0; /* 2 */
}

textarea {
  overflow: auto;
}

optgroup {
  font-weight: bold;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

ul, li {
    margin: 0px;
    padding: 0px;
}
/*=============================== GRAFIKA ====================================*/
body {
    background-color: #C5CFDF;
    color: gray;
    font-family: sans-serif;
}

#header { 
    margin-bottom: 2px;
}
#top {
    
    background-color: #CC0000;
    height: 20px;      
    text-align: right;
    padding: 2px;
}
#top div{
    margin: 0px auto;
    max-width: 900px;    
    min-width: 700px;
    color: white;
}
#top a, #footer a {
    color: white;
}
#logo {    
    width: 162px;
    height: 69px;
         
}
#title {
    max-width: 900px;    
    min-width: 700px;
    height: 59px; /*69px;*/
    margin: 0px auto;
    border: 0px green solid;
    background-image: url('img/logo.png');
    background-repeat: no-repeat;
    padding-top: 5px;
}
#title div{    
    color: grey;
    font-weight: bold;
    font-size: 30px;    
    text-align: center;
    margin-left: 170px;    
    padding: 10px;    
    border: 3px solid #cc0000;
    background-color: white;    
}

#main {    
    margin: 0px auto;
    background-color: white;    
    max-width: 900px;    
    min-width: 700px;
    padding: 5px;
}

#footer {
    clear: both;
    max-width: 900px;    
    min-width: 700px;   
    margin: 3px auto;
    background-color: #CC0000;
    text-align: center;
    color: white;
    font-size: 12px;
    padding: 2px
}

h1 {
    margin: 0px;
    padding: 0px;
    font-size: 30px;
}
h2 {
    margin: 0px;
    padding-top: 10px;
    padding-bottom: 5px;
    font-size: 22px;
    font-weight: bold;
    color: black;
}
h3 {
    margin: 0px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 18px;
    font-weight: bold;    
}
strong {
    font-weight: bold;
    color: black;
}
p {
    margin: 0px;
    padding: 0px;
    margin-bottom: 5px;
}
.poznamka {
    color: silver;
    font-style: italic;
}
#main a {
   color: #CC0000; 
}
#main a:hover {
    color: black;
}

table {
    color: black;
}
caption {
    font-variant: small-caps;
    font-size: 18px;
    font-weight: bold;
}
th {
    padding: 2px;
    border-bottom: 2px solid black;
}
.tb_header {
    background-color: gray;
    color: white;    
}
.r_lichy {
    background-color: white;
}
.r_sudy {
    background-color: silver;
}
.r_vyber {
    background-color: #CC0000;
}
.r_mouse {
    background-color: gray;
}

fieldset {
    
}

legend {
    font-variant: small-caps;
    color: black;
    font-weight: bold;
}
@media print {
    .netiskni {display: none;}
    #main {width: 100%; margin: 0px;}    
}

/* ---- změněno ADAMEC -----*/
h1 {
    margin: 0px;
    padding: 0px;
    font-size: 21px;
}
#main a {
   color: gray;
}
/* ---- přidáno ADAMEC -----*/
.table_pozn {
    color: gray;
    font-size: 12px;
}
.hlaseni {
    color: red;
    font-weight: bold;
}
