html, body {
  height: 100%;
}
body {
  font-family: "Trebuchet MS", Trebuchet, Arial, Verdana, sans-serif;
  margin: 0em;
  padding: 0em;
  padding-top: 20px;
  font-size: .7em;
  _font-size: .7em;
  background: #EBF2F9 url("./body-bg.jpg") repeat-x;
  text-align: center;
}

/* Velikost pisma globalne */
div, table, form, input, select {
  font-size: 100%;
  font-family: "Trebuchet MS", Trebuchet, Arial, Verdana, sans-serif;
}
input.clock {
  text-align: right;
  border: none;
  background-color: #fff;
  color: #000;
  font-weight: bold;
  padding: 0em;
  margin: 0em;
}

div.copy a {
  text-decoration: none;
  color: rgb(100, 100, 100);
  margin-right: 6px;
}

#page-layout {
  width: 80%;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
  background: #fff url("./-page-bg.jpg") repeat-y;
  position: relative;
  height: 100%;
}
#page-layout-in {
  background: transparent url("./header-napisy.jpg") top right no-repeat;
  /*padding: 0px 32px;*/
  padding: 0px 12px;
  min-height: 300px;
  height: auto;
  _height: 300px;
  background: white;
}

#logo a, #logo span {
  width: 224px;
  height: 72px;
  display: block;
  overflow: hidden;
  position: absolute;
  top: 0px;
  left: 0px;
}
#logo span {
  background: transparent url("./logo.jpg") no-repeat;
  cursor: pointer;
  cursor: hand;
}

.textpoz {
  width: 60em;
  height: 12em;
  vertical-align: top;
}

.toppanel {
  text-align: right;
  padding: 85px 0px 5px 0px;
  /*padding: .25em 0em;*/
  /*border-top: 1px solid #B11212;*/
  border-bottom: 1px solid #B11212;
}
.toppanel div, .toppanel form, .toppanel input {
  margin: 0em;
}
/*.toppanel h1 {
  font-size: 15px;
  position: absolute;
  top: 67px;
  right: 32px;
  font-weight: normal;
  color: #999;
}*/
.subjekt,
.uzivatel {
  float: left;
  padding-right: 1em;
}

div#main {
  margin: 2em 0em 4em 0em;
}

div.button {
  margin-bottom: 1em;
}
div.button a {
 vertical-align: top;
}
div.print {
  display: none;
}

a {
  color: #000099;
}
a:hover {
  text-decoration: none;
}

div.hr {
  border-top: 1px solid rgb(132, 176, 199);
  margin: 1em;
}

img {
  border-width: 0;
}
img.logo {
}
img.order {
  vertical-align: middle;
  margin-left: 4px;
}
img.smallicon {
  vertical-align: middle;
  height:12px;
  width: 12px;
}


/* Systemova zprava */
div.sysinfo {
  border: 1px solid rgb(132, 176, 199);
  width: 40%;
  background-color: rgb(248, 248, 248);
  margin-bottom: 2em;
}
div.sysinfo a {
  color: rgb(0, 90, 156);
}

div.sysinfo h3 {
  background-color: rgb(248, 248, 248);
  border-bottom: 1px solid rgb(132, 176, 199)
  color: rgb(101, 135, 190);
  font-family: "Verdana", sans-serif; 
  margin: 0;
  padding-left: 6px;
  font-size: 12px;
}

div.sysinfo div {
  color: rgb(101, 135, 190);
  margin: 6px;
  padding-bottom: 2px;
}

div.full, div.full table {
  width: 100%;
}

.medium {
  width: 100px;
}

input.upload {
}
/*table.menu {
  margin-top: 8px;
  margin-left: 4em;
}*/

div#controls {
  margin-top: 2em;
}
div#ukoly_all {
  margin-top: 1em;
}

form {
  padding: 0;
  margin:  0;
}

table {
  border-collapse: collapse;
  border: 1px solid #999;
}
table td, table th {
  border: 1px solid #ddd;
  padding: .25em .5em;
}
table td.vzkaz, table th.vzkaz {
  white-space: normal;
}
table td.vzkaz {
  padding: 4px 0 4px 1em;
}

table th, table tr.sum  {
  background: #790404 url("./menu-active-bg.jpg") repeat-x left bottom;
  font-weight: bold ;
  color: #fff;
  border: none;
  text-align: left;
}
table th a, table tr.sum a {
  color: #fff;
}
table th a:hover {
  text-decoration: none;
}

table.noborder, table.noborder th, table.noborder td {
  border-width: 0px;
}

table.border, table.border th, table.border td {
  border: 1px solid black;
}

table.form {
  border-width: 0;
  margin-top: 1em;
}

table.form td {
  /*padding-left: 2em;
  padding-right: 2em;*/
  /*white-space: nowrap;*/
}

.longtable {
width: 100%;
}

.slim th {
width: 90px;
}

td.ikona {
  text-align: center;
  width: 20px;
}

div.form {
  /*padding-left: 2em;
  margin-bottom: 2em;*/
}

table.form th, table.form td {
  border-width: 0;
}

fieldset {
  /*border: 1px solid rgb(132, 176, 199);*/
}
legend {
  font-size: 150%;
  color: #003366;
  font-weight: bold;
}
textarea {
  width: 100%;
}

fieldset .floatleft {
  clear: none;
  float: left;
  margin: 0em;
}
fieldset .okraj {
  margin-right: 2em;
}

fieldset {
  background: transparent url(./fieldset-bg.jpg) repeat-y scroll 0 0;
  clear: both;
  margin-top: 2.5em;
  padding: 1.5em 1em 1em 1em;
  position: relative;
}
fieldset.filtr {
  font-size: 90%;
  margin-bottom: 2em;
  border: 1px solid #DFE8F6;
}
fieldset.filtr .edit {
  width: 10em;
}
legend {
  background-color: #fff;
  border: 1px solid #DFE8F6;
  color: #094090;
  font-size: 120%;
  font-weight:bold;
  left: 1em;
  padding: 0.2em 0.5em;
  position: absolute;
  top: -1.5em;
}
fieldset.filtr label {
  clear: both;
  float: left;
  text-align: left;
  margin-right: 1em;
  padding-top: .25em;
}
fieldset label.cancel, .osobni label {
  clear: none;
  float: none;
  margin: 0em;
  width: 0em;
}
fieldset .buttony {
  margin-top: 1em;
}
fieldset .buttony .button {
  margin: 0em;
  
}

label.login {
  float: left;
  width: 6em;
  text-align: right;
  padding-right: 1em;
} 

table tr.highlight td {
  background-color: #EBF2F9;
}
table.detail {
  border-width: 0px;
}

/* Nadpisy*/
h1, h2, h3 { color: #003366; margin: 0; padding: 0; }
h1 { font-size: 150%; margin-top: 0em; margin-bottom: 0em; }
h2 { font-size: 150%; margin-top: .5em; margin-bottom: 1.5em; }
h3 { font-size: 130%; }
   
/* Styly pro ikony */
img.icon {
  width: 16px;
  height: 16px;
}

.hand {
  cursor: pointer;
  cursor: hand;
}

.noborder { border-width: 0; }
.left     { text-align: left; }
.right    { text-align: right; }
.center   { text-align: center; }
.hidden   { display: none; }
.wrap     { white-space: normal; }
.cleaner { clear: both; }


/* Navigace */
#navigation {
  background: #9C0808 url("./menu-bg.jpg") repeat-x left bottom;
  color: #fff;
  margin: 1px 0em;
  margin-bottom: 0px;
  _margin-bottom: 1px;
  padding: 0em;
  width: 100%;
  /*height: 2.5em;
  line-height: 2.5em;*/
}
#navigation a {
  color: #fff;
  padding: .75em .5em;
  margin: 0em .25em;
  display: block;
  float: left;
}
#navigation a:hover {
  background-color: #540101;
  background: #790404 url("./menu-active-bg.jpg") repeat-x left bottom;
  color: #eeee00;
  text-decoration: none;
}
#navigation a.selected {
  background: #790404 url("./menu-active-bg.jpg") repeat-x left bottom;
  color: #ffff00;
}
.navigation-bottom {
  border-bottom: 1px solid #B11212;
  height: 1px;
  background-color: #fff;
  overflow: hidden;
}

#export {
  padding: 0px 0px 10px 0px;
}

.seznamukolu {
padding: 0px 0px 0px 0px;
margin: 2px 0px 0px 0px;
}

.seznamukolu li {
 padding: 1px 0px 1px 0px;
 text-decoration: none;
 list-style-type: none; 
}

.ukol {
width : 100%;
}


.slimaction {
width: 12px;
}

/* zvirazneni chybneho radku */
table tr.warning td {
  background-color:	#ff0033;
}

/* vyuctovani */
.pozn_text {
  width: 40%
}

