/* elementy */
* {
  margin: 0;
  padding: 0;
}

html, body { height: 100%;}
body {
  font: .8em/1.4em Arial, Tahoma, Verdana, sans-serif;
  color: black;
}

h1 {
  font-size: 2em;
  text-align: center;
}
h2 {
  text-align: left;
  font: normal 1.7em/50px Arial, Tahoma, Verdana, sans-serif;
  margin: .66em 0 0;
}
h3 {
  margin: .66em 0 0;
  font: bold italic 1.3em/1.3em Arial, Tahoma, Verdana, sans-serif;
}
h3 span {
  display: block;
  width: 33%;
  float: left;
}

#header address {
  top: 0;
  right: 0;
  text-align: left;
}

.branch-info address {
  font-weight: bold;
  font-style: italic;
}
.branch-info img { margin-bottom: .5em; }
.branch-info a {
  font-weight: normal;
  font-style: normal;
  display: block;
  margin-top: .5em;
}

img { border: 0; }

p, ul, dl, table, hr, #MessageQueue, .branch { margin: 0 0 .5em; } /* definice odsazení od pravého okraje (kvůli šrafování na pozadí) */

p { text-indent: 1.5em;}

ul       { list-style-type: disc; }
ul ul    { list-style-type: circle; margin: 0; }
ul ul ul { list-style-type: square; }
li { clear: both; margin-left: 20px; }
ul.li-offset    { margin-bottom: 0; }
ul.li-offset li { margin-bottom: .5em; }

form dl { margin-right: 0; }
dt {
  font-weight: bold;
  clear: both;
}
dd {
  text-indent: 1.5em;
  margin: 0 0 .5em;
  clear: both;
}

em {
  font-weight: bold;
  font-style: normal;
}

hr {
  clear: both;
  height: 1px;
  color: black;
  background-color: black;
  border: 0px solid black;
  margin-top: .5em;
}

/* formuláře */
#content form { overflow: hidden; }
fieldset {
  border: 1px solid black;
  padding: 0 0 1em;
  margin: -1em 0 .5em;                 /* -1em horní odsazení zajistí odsazení od předcházejícího elementu dle jeho margin-bottom */
}
fieldset p {
  margin: .5em 1em 0;
}
legend {
  margin-left: 10px;
  padding: 1em 2px;                    /* 1em vertikální mezera oběma směry pro vnitřní odsazení vnitřku filedset */
  font-weight: bold;
}

label {
  display: block;
  width: 150px;
  text-align: right;
  float: left;
  clear: left;
}
* html label { margin-right: -3px; }
input, textarea, select {
  margin: 0 0 2px 10px;
  font: 1em/1.3em Courier, "Courier New", monospace;
  border: 1px solid black;
  background: white;
  width: 200px;
  height: 1.3em;
}
textarea { width: 300px; height: auto; }
select { font-family: Arial, Tahoma, Verdana, sans-serif; }

.button {
  width: auto;
  margin: 1em 0 0 160px;
  height: 1.8em;
  padding: 0 .2em;
  font: bold 1em/1em Arial, Tahoma, Verdana, sans-serif;
}
.inline-button { margin-left: 10px; }
form.centered-button {text-align: center; }
form.centered-button .button { margin: 1em 0 0; }
.zaskrtavatko { width: auto; }
.form-img-thumb { margin: .5em 0 .5em 160px; }

form dd span {
  display: block;
  float: right;
}
form dd span .zaskrtavatko { float: left; margin: 0 5px 0; }

form#SearchPanel { display: none; }

form#filter { margin-bottom: .5em; }
form#filter table { margin: 0; width: 99%; }
form#filter table td { padding: 1px 0; vertical-align: middle; }
form#filter select { width: 130px; margin: 0; }
form#filter label {
  width: 90px;
  text-align: right;
}
form#filter .button {
  width: 60px;
  margin: 0;
}

/* tabulky */
table {
  font-size: 1em;
  border-collapse: collapse;
}
td, th {
  padding: 0 .75em;
  vertical-align: top;
}
th {
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
}
table.table-vertical th {
  vertical-align: top;
  text-align: right;
  width: 110px;
}

/* id # */
#page {
  position: relative;
  width: 100%;
}

#header {
  border-bottom: 1px solid black;
  height: 8em;
}

#UserPanel { display: none; }

#menu { display: none; }

#footer {
  margin: 1em 0 0;
  padding: 1em 0 0;
  clear: both;
  border-top: 1px solid black;
}
#footer p {
  text-indent: 0;
  text-align: left;
}

#siderBackground  { display: none; }
#footerBackground { display: none; }

/* class . */
.list-activity-long, .list-activity {
  padding-right: 155px;
  position: relative;
}
.list-activity-long { padding-right: 235px; }
.list-branch-long, .list-branch {
  display: block;
  width: 150px;
  height: 1.3em;
  overflow: hidden;
  position: absolute;
  top: 0;
  right: 0;
  font-style: italic;
}
.list-branch-long { width: 230px; }
.list-date {
  display: block;
  width: 130px;
  overflow: hidden;
  float: left;
}
* html .list-branch { right: 65px; }
* html .list-branch-long { right: 65px; }

.no-indent { text-indent: 0; }
.no-show   { display: none; }

img.right { float: right; margin: .5em 0; }
img.left { float: right; margin: .5em 0; }

.center { text-align: center; }
.justify { text-align: justify; }

.top-indent { padding-top: 1em; }
.right-padding { padding-right: 170px; }

.cleaner { clear: both; visibility: hidden; }

.admin-panel { display: none; }

.branch-info {
  width: 250px;
  float: right;
  margin: 0 0 25px 25px;
}

.ImageBox {
  width: 150px;
  float: left;
  margin: .5em 10px;
  text-align: center;
  border: 1px solid black;
}
.ImageBox img { margin-top: 10px; }
.ImageBox p.description {
  text-indent: .75em;
  margin: 0.5em 15px;
  height: 4.2em;
  overflow: hidden;
}

.attachments {
  padding: .5em 0;
  margin: 23px 0 -46px 0;
  line-height: 80px;
}
.attachment-pdf, .attachment-zip, .attachment-xls, .attachment-doc {
  padding: 55px 5px 0;
  margin: 0 5px;
  background: center top no-repeat;
}
.attachment-pdf { background-image: url("../images/icons/pdf.gif"); }
.attachment-zip { background-image: url("../images/icons/zip.gif"); }
.attachment-doc { background-image: url("../images/icons/doc.gif"); }
.attachment-xls { background-image: url("../images/icons/xls.gif"); }

/* zprávy */
.message-info, .message-error, .message-warning, .message-success {
  min-height: 22px;
  height: 22px;
  overflow: visible;
  margin: 0 30px .5em;
  padding-left: 30px;
  background: left center no-repeat;
  font-weight: bold;
  text-indent: 0;
  text-align: center;
}
#MessageQueue>p.message-info, #MessageQueue>p.message-error, #MessageQueue>p.message-warning, #MessageQueue>p.message-success {
  height: auto;
}
.message-info    { background-image: url("../images/system/messages/info.gif"); }
.message-error   { background-image: url("../images/system/messages/error.gif"); }
.message-warning { background-image: url("../images/system/messages/warning.gif"); }
.message-success { background-image: url("../images/system/messages/success.gif"); }

/* odkazy */
a:link, a:hover, a:visited {
  color: black;
  text-decoration: underline;
}
