* {
  margin: 0em;
  padding 0em;
}
html, body {
  height: 100%;
}
body {
  color: #333;
  margin: 0em;
  padding: 0em;
  font-family: "Trebuchet MS", Trebuchet, Verdana, sans-serif;
  font-size: 75%;
  line-height: 1.75em;
  text-align: center;
  background: #EBF0FA url("./body.png") repeat-x;
  behavior: url("./csshover.htc"); /* WinIE behavior call */
}

hr {
  display: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Trebuchet MS", Trebuchet, Verdana, sans-serif;
  font-weight: bold;
}
h1 {
  margin-top: 0em;
  color: #003399;
}
h2 {
  font-size: 170%;
  letter-spacing: .1em;
  margin-top: 0em;
  margin-bottom: 1em;
  color: #336600;
}
h3 {
  font-size: 120%;
  margin-top: 1.5em;
  margin-bottom: .25em;
  color: #094090;
}

.overview {
  margin-bottom: 1.5em;
}
.overview h3 {
  margin: 0em;
  padding: .25em .5em .25em 0px;
  background-color: #EEF3F8;
  position: relative;
}
.overview h3 span {
  padding-left: 30px;
}
.overview h3 span.ico {
  position: absolute;
  padding: 0px;
  background: transparent no-repeat 0% 50%;
}
.overview .inner {
  margin: 0em;
  padding: 0em;
  border-right: 9px solid #EEF3F8;
  border-bottom: 5px solid #EEF3F8;
  border-left: 3px solid #EEF3F8;
  padding-bottom: 1.5em;
  margin-left: 9px;
}
.overview div.today {
  border: none;
  margin-left: 31px;
  padding-top: .75em;
}
.overview table {
  margin-top: 0em;
}
.overview table caption {
  padding-top: .5em;
  padding-left: 1px;
}

h3.today span.ico {
  background-image: url("./ico-today-plan.png");
  top: -9px;
  left: -16px;
  width: 40px;
  height: 44px;
}
h3.ukoly span.ico {
  background-image: url("./ico-ukoly.png");
  top: -8px;
  left: -20px;
  width: 46px;
  height: 45px;
}
h3.udalosti span.ico {
  background-image: url("./ico-udalosti.png");
  top: -8px;
  left: -20px;
  width: 46px;
  height: 45px;
}

h4 {
  font-size: 100%;
  margin-top: .75em;
  margin-bottom: .25em;
  color: #336600;
}
h5 {
  font-size: 100%;
  margin-top: 1.5em;
  margin-bottom: .25em;
  color: #555;
}
h6 {
  font-size: 100%;
  margin-top: 1.5em;
  margin-bottom: .25em;
  color: #808080;
}

a {
  font-weight: normal;
  text-decoration: underline;
  color: #0000CC;
  font-size: 100%;
}
a:hover {
  text-decoration: none;
  color: #800000;
}
a:visited {
  /*color: #000066;*/
}
a:hover img {
  filter: alpha(opacity=80);
  -moz-opacity: .80;
  -khtml-opacity: .80;
  opacity: .80;
}

img {
  /*border: 3px solid #BCD4E6;*/
}
img.ico {
  border: none;
}
img.calendar {
  cursor: pointer;
  cursor: hand;
  vertical-align: middle;
}
img.nohref {
  cursor: help;
}

p {
  font-size: 100%;
  margin-top: .25em;
  margin-bottom: 1.5em;
}
p.center {
  text-align: center;
}
p.right {
  text-align: right;
}
p.left {
  text-align: left;
}
ul {
  margin: 0em;
  padding: 0em;
  margin-bottom: 1.5em;
  margin-top: .5em;
  list-style-type: none;
  line-height: 1.5em;
}
ol {
  margin-bottom: 1.5em;
  margin-top: 1.5em;
}
#main ul li {
  margin-left: 0px;
  padding-left: 14px;
  background-image: url("./li.gif");
  background-repeat: no-repeat;
  background-position: 0% 50%;
  margin-bottom: .4em;
}
ol li {
  margin-left: 0em;
  padding-left: 25px;
  margin-bottom: .5em;
}


form {
  margin-top: 0em;
  margin-bottom: 2em;
  line-height: 1.4em;
}
form div {
  margin-bottom: .5em;
}
input, select, textarea {
  font-family: Verdana, sans-serif;
  font-size: 100%;
  color: #000;
  border: 1px solid #B5B8C8;
  background: #fff url("./input-shadow.gif") repeat-x;
}
input, select {
  vertical-align: middle;
}
textarea {
  vertical-align: top;
}
input.button {
  padding: .15em .5em;
  width: auto;
  overflow: visible;
  background: #05338D url("./button-bg.jpg") repeat-x;
  color: #fff;
  border: none;
  font-size: 100%;
  /*border: 1px solid #003366;*/
}
input.button:hover, .filtr input.button:hover {
  background-image: none;
  cursor: pointer;
  _cursor: hand;
}
#left input.button {
  padding: .1em .5em;
}
.filtr input.button, .paging input.button, input.disable {
  padding: .2em .5em;
  background: #393939 url("./button-filtr-bg.jpg") repeat-x;
}
input.add, .paging input.add, .filtr input.add {
  background: #224B03 url("./button-add-bg.jpg") repeat-x;
}
input.remove, .paging input.remove, .filtr input.remove {
  background: #690303 url("./button-remove-bg.jpg") repeat-x;
}
input.edit, select.edit, textarea.edit {
  width: 14em;
}
textarea.medium, input.medium, select.medium {
  width: 60%;
}
textarea.edit {
  height: 8em;
}
input.small, select.small {
  width: 7em;
}
input.smallest, select.smallest {
  width: 4em;
}

textarea.big {
  width: 700px;
  height: 12em;
}
input.big, select.big {
  width: 700px;
}
fieldset {
  margin-top: 2.5em;
  padding: 2em 1.8em 1em 1.8em;
  background: transparent url("./fieldset-bg.jpg") repeat-y;
  clear: both;
  position: relative;
  border: none;
  border-bottom: 1px solid #EEF2FB;
}
legend {
  position: relative;
  padding: .2em .5em;
  font-weight: bold;
  font-size: 120%;
  color: #094090;
  background-color: #fff;
  border: 1px solid  #DFE8F6;
  position: absolute;
  top: -.5em;
  left: 1em;
}
fieldset.filtr div {
  margin-bottom: .25em;
}
fieldset.filtr  {
  font-size: 90%;
}
fieldset .floatleft {
  margin: 0em;
  clear: none;
  float: left;
}
/*fieldset .floatleft label {
  width: 9em;
}*/
fieldset .pul-sirky {
  width: 50%;
}
fieldset .okraj {
  margin-right: 3em;
}
fieldset.detail {
  border: none;
  margin-bottom: 2em;
}
label {
  float : left;
  width: 10em;
  _margin: 0px -3px 0px 0px; /* ie 3px bug */
  text-align: left;
  clear: both;
}
label.cancel, .osobni label {
  float: none;
  width: 0em;
  margin: 0em;
  clear: none;
  width: 0em;
}
.buttony {
  padding-top: .5em;
  clear: both;
}
.buttony-top {
  margin-bottom: 1em;
}

table {
  text-align: left;
  font-size: 100%;
  border-collapse: collapse;
  margin-top: 1em;
  margin-bottom: 1.5em;
  border: 1px solid #F0F0F0;
}
table.list {
  width: 100%;
}
caption {
  font-size: 100%;
  margin-top: 1em;
  padding-bottom: .5em;
  color: #336600;
  font-weight: bold;
  text-align: left;
}
th {
  padding: .2em .5em;
  text-align: left;
  background-color: #F0F0F0;
  color: #333;
  white-space: nowrap;
}
tr:hover {
  background-color: #ffffdd;
  background-color: #EEF2FA;
  color: #000;
}
td {
  padding: .1em .5em;
  text-align : left;
  border-bottom: 1px solid #F0F0F0;
}
td:hover {
  /*background-color: #CFDAF1;*/
  background-color: #DBE3F4;
  color: #000;
}
tfoot td {
  font-style: italic;
}
.filtr th {
  background-color: #D8E2F8;
}
.filtr td {
  border-bottom: 1px solid #D8E2F8;
}
.filtr table {
  border: 1px solid #D8E2F8;
}

/* dulezita oznaceni udalosti ci ukolu */
tr.attention td {
  background-color: #ffe9e9;
  border-bottom: 1px solid #fde0e0;
}
tr.to-read td {
  background-color: #EAEFFB;
  border-bottom: 1px solid #D2DDF7;
}
tr.solved td {
  color: #999;
}
.zalozka {
  background: transparent url("./ico-zalozka.png") no-repeat 0% 50%;
  padding-right: 18px;
  width: 18px;
}
.meeting {
  background: transparent url("./ico-meeting.png") no-repeat 0% 50%;
  padding-right: 18px;
  width: 18px;
}

abbr, acronym, span.abbr {
  cursor: help;
  border-bottom: 1px dashed #bbb;
}

#page {
  margin: 0em;
  padding: 0em;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  width: 990px;
  background: #fff url("./body_bg.jpg") repeat-y;
  min-height: 100%;
  height: auto;
  _height: 100%;
}

#top {
  background: #3069B3 url("./top.jpg") no-repeat left bottom;
  color: #fff;
  height: 186px;
  width: 990px;
}

#logo a {
  display: block;
  width: 252px;
  height: 40px;
  position: absolute;
  overflow: hidden;
  margin: 0px;
  padding: 0px;
  z-index: 2;
  top: 0px;
  left: 0px;
  color: #fff;
  background-color: #3069B3;
}
#logo span {
  display: block;
  width: 252px;
  height: 40px;
  position: absolute;
  z-index: 3;
  top: 0px;
  left: 0px;
  background: url("./logo.png") no-repeat;
  cursor: pointer;
  cursor: hand;
}
h1#logo {
  font-size: 180%;
  line-height: 1em;
  margin: 0em;
}

#user-logged {
  position: absolute;
  z-index: 4;
  right: 26px;
  top: 15px;
}
#user-logged a {
  color: #ffff00;
}

a.skipmenu {
    position:absolute;
    top: 0px;
    left: 17px;
    z-index:0;
    padding:0.2em 0.5em;
    border-bottom:0pt none !important;
}
a.skipmenu:focus, a.skipmenu:active {
    z-index:4;
    background: #fff;
}


#content {
  width: 990px;
}
#contentin {
  padding: 2em 32px 9em 32px;
  /*width: 990px;*/
}

#main {
  width: 926px;
  float: left;
  height: 100%; /* IE bug */   
}
#mainin {
  margin: 0em;
}
/* \*/
* html #mainin {
 	/* IE bug kvůli italic písmu !!! */
	overflow: hidden;
	o\verflow: visible;
	overflow: auto;
	/*w\idth: auto;*/
	/*he\ight: 1%;*/
}
/* */

#mainin div.imgcaption {
  font-size: 100%;
  font-weight: normal;
  text-align: center;
  margin-top: .5em;
  margin-bottom: 0em;
  padding-bottom: .5em;
  line-height: 0em;
}

#left {
  width: 641px;
  float: left;
}
#left .inner {
  padding-right: 50px;
  padding-left: 18px;
}
#right {
  float: right;
  width: 285px;
}


#copyright {
  position: absolute;
  bottom: -1px;
  width: 990px;
}
#copyrightin {
  font-size: 90%;
  padding: 0px 32px 35px 32px;
  color: #888;
  font-size: 90%;
  background: transparent url("./bottom-bg.jpg") no-repeat left bottom;
}
#copyright p {
  margin: 0em;
  border-top: 1px solid #ccc;
  padding-top: .5em;
  line-height: 1.5em;
}
div#copyrightin:hover {
  color: #333;
}
#copyright a {
  color: #888;
}
#copyright a:hover {
  color: #333;
}
#copyright a.up {
  background: url("./arrow-up.gif") no-repeat 100% 50%;
  padding-right: 10px;
}



/* Systemove zpravy */
div#sysmessage {
  border: 1px solid #fff;
  background-color: #DFE8F6;
  position: absolute;
  z-index: 200;
  right: 5px;
  top: 0px;
  margin: 0em;
  padding: 0em;
  width: 300px;
  overflow: auto;
}
a#sysmessage-close {
  display: block;
  position: absolute;
  width: 15px;
  height: 15px;
  overflow: hidden;
  right: 5px;
  top: 5px;
}
a#sysmessage-close span {
  display: block;
  position: absolute;
  top: 0px;
  right: 0px;
  width: 15px;
  height: 15px;
  z-index: 20;
  background: #DFE8F6 url("../../img/icons/extjs-icon-close.gif") no-repeat;
  cursor: pointer;
  cursor: hand;
}
div#sysmessage div.title {
  font-weight: bold;
  padding-left: 10px;
}
div#sysmessage div.message {
  padding: 1em;
  padding-left: 60px;
  background-position: 10px 50%;
  background-repeat: no-repeat;
}
div#sysmessage div.code {
  font-style: italic;
}
/* Barva normalni zpravy */
div.app-message div.message {
  background-image: url("../../img/icons/extjs-icon-info.gif");
}
div.app-message div.title {
  background-color: #A7C0E7;
  border-bottom: 1px solid #7EA4DC;
}
/* varovani */
div.app-warning div.message {
  background-image: url("../../img/icons/extjs-icon-warning.gif");
}
div.app-warning div.title {
  background-color: #FFF09D;
  border-bottom: 1px solid #FED500;
}
/* chybova zprava */
div.app-error div.message {
  background-image: url("../../img/icons/extjs-icon-error.gif");
}
div.app-error div.title {
  background-color: #FFACAC;
  border-bottom: 1px solid #FF7171;
}


/* administrační menu */
div#menu {
  padding: 0px;
  z-index: 100;
  position: absolute;
  font-size: 90%;
  left: 32px;
  top: 150px;
  height: 36px;
  line-height: 36px;
}
div#menu ul {
  margin: 0px; 
  padding: 0px; 
}
div#menu li {
  position: relative; 
  list-style-type: none;
  background-image: none;
  padding: 0px;
  margin: 0px;
  float: left; 
  width: 12em; 
}
div#menu li:hover {
  padding: 0px;
  margin: 0px;
}
div#menu li.submenu {
  background: transparent url('./dropmenu.gif') no-repeat 6px 50%;
}
div#menu li.submenu:hover {
  z-index: 2;
  cursor: default;
}
div#menu li a {
  font-weight: normal;
  display: block;
  margin: 0px;
  font-size: 110%;
  width: 100%;
  height: 36px;
  line-height: 36px;
  padding: 0px 17px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
div#menu li a:hover {
  z-index: 0;
  color: #003399;
  background: #fff url("./menu-active.jpg") repeat-x;
}
div#menu li a.vybrany {
  font-weight: bold;
  color: #003399;
  background: #fff url("./menu-active.jpg") repeat-x;
}
div#menu li a.admin {
  font-weight: bold;
}
div#menu>ul a {
  width: auto;
}
div#menu ul ul {
  position: absolute; 
  width: 14em;
  display: none;
}
div#menu ul ul li {
  /*border-bottom: 1px solid #9BB6DB;*/
  border-top: 1px solid #5283c3;
  width: 14em; 
}
div#menu li.submenu li.submenu {
  background-image: url("./submenu.gif");
}
div#menu ul.level2 li a {
  height: 2.25em;
  line-height: 2.25em;
}
div#menu ul.level1 li.submenu:hover ul.level2, 
div#menu ul.level2 li.submenu:hover ul.level3 {
  display: block;
  background-color: #3069B3;
  border: 1px solid #B8CCE5;
}
div#menu ul.level2 {
  left: -1px; 
  margin-top: 0px;
}
div#menu ul.level3 {
  left: 18em;
}



#menu-buttoned {
  position: absolute;
  z-index: 10;
  top: 58px;
  left: 32px;
  z-index: 90;
}
#menu-buttoned {
  font-size: 100%;
}
#menu-buttoned ul {
  margin: 0em;
  padding: 0em;
  overflow: hidden; /* kvůli šířce odkazu 100% */
}
#menu-buttoned ul li {
    background: none;
}
#menu-buttoned ul.menu li a {
    display: block;
    line-height: 1em;
    background-repeat: no-repeat;
    position: absolute;
    overflow: hidden;
    width: 86px;
    height: 91px;
    top: 0px;
    color: #fff;
}
#menu-buttoned ul.menu li a span {
    position: absolute;
    top: 0px;
    left: 0px;
    cursor: pointer;
    cursor: hand;
    width: 86px;
    height: 91px;
}
#menu-buttoned li a:hover span, #menu-buttoned li a:hover {
    background-position: 0px;
    z-index: 100;
    background-position: -86px 0px;
}
#menu-buttoned li a.vybrany span, #menu-buttoned li a.vybrany {
    z-index: 90;
    background-position: -86px 0px;
}
#menu-buttoned h2 {
    display: none;
}

#menu-buttoned #menu1 a {
    left: 0px;
}
#menu-buttoned #menu1 a span {
    background-image: url("./button-projekty.jpg");
}

#menu-buttoned #menu2 a {
    left: 88px;
}
#menu-buttoned #menu2 a span {
    background-image: url("./button-kalendar.jpg");
}

#menu-buttoned #menu3 a {
    left: 176px;
}
#menu-buttoned #menu3 a span {
    background-image: url("./button-ukoly.jpg");
}

#menu-buttoned #menu4 a {
    left: 264px;
}
#menu-buttoned #menu4 a span {
    background-image: url("./button-udalosti.jpg");
}

#menu-buttoned #menu5 a {
    left: 352px;
}
#menu-buttoned #menu5 a span {
    background-image: url("./button-zpravy.jpg");
}

#menu-buttoned #menu6 a {
    left: 440px;
}
#menu-buttoned #menu6 a span {
    background-image: url("./button-post-it.jpg");
}

#menu-buttoned #menu7 a {
    left: 528px;
}
#menu-buttoned #menu7 a span {
    background-image: url("./button-adresar.jpg");
}


.hidden {
  display: none;
}
.number {
  color: #990000;
  font-weight: bold;
  font-size: 120%;
  white-space: nowrap;
  padding: 0em .25em;
}
.paging {
  font-size: 90%;
  margin: 2.5em 0em 1em 0em;
}
.floatleft {
  float: left;
  margin-right: 1.5em;
  margin-bottom: 1em;
  clear: both;
}
.floatright {
  float: right;
  margin-left: 1.5em;
  margin-bottom: 1em;
  clear: both;
}
.left {
  text-align: left;
}
.center {
  text-align: center;
}
.right {
  text-align: right;
}
.jusify {
  text-align: justify;
}
.cleaner {
	clear      : both;
	height     : 1px;
	font-size  : 1px;
	border     : none;
	margin     : 0px;
	padding    : 0px;
	background : transparent;
}
.big {
  height: 2em;
}
.error {
  color: #cc0000;
  border: 1px solid #ff0000;
  padding: .5em 1em;
  margin-top: 2em;
  margin-bottom: 2em;
}
.uvod-error {
  color: #974A42;
  border: 1px solid #F9EEEE;
  border-top: none;
  padding: .5em 1em;
  margin-top: 0em;
  margin-bottom: 2em;
}
.blok {
  border: 1px solid #D8E2F8;
  padding: 1em;
  margin: 1em 0em;
}

.formular {
}
.formular form {
  margin: 0em;
}
.formular div {
  margin-top: .5em;   
}
.formular input, .formular textarea {
}
.formular legend {
  text-transform: uppercase;
}
.formular input.button {
  /*width: auto;*/
}

/* stylovani osobnich poznamek */
.poznamka {
	float: left;
	width: 200px;
	margin: 0px 15px 15px 0px;
	padding: .5em;
	height: 200px;
	overflow: auto;
	background: #FFFFE0;
	color: #333;
	border: 1px solid #979700;
}
.termin {
  background: #FDE6E6;
	color: #333;
	border: 1px solid #F37070;
}
.poznamka h3 {
  font-size: 110%;
  color: #646400;
  margin: 0em;
}
.termin h3 {
  color: #800000;
}
.poznamka-text {
}
.poznamka-info {
	margin: .5em;
	text-align: right;
	font-size: 90%;
	color: #555;
}

.ikony {
  float: right;
}
.ikony .edit, .ikony .delete {
  float: left;
  margin-left: .25em;
}
.ikony .edit a, .ikony .edit a span, .ikony .delete a, .ikony .delete a span {
  width: 24px;
  height: 24px;
  overflow: hidden;
  display: block;
  position: relative;
  visibility: hidden;
}
.ikony .edit a span, .ikony .delete a span {
  position: absolute;
  top: 0px;
  left: 0px;
  visibility: visible;
  cursor: pointer;
  cursor: hand;
}
.ikony .edit a span {
  background: url("../../img/icons/edit.png") no-repeat;
}
.ikony .delete a span {
  background: url("../../img/icons/delete.png") no-repeat;
}

.stav {
  width: 100%;
  background-color: #990000;
  color: #fff;
  background-image: url("./stav_bg.jpg");
  background-repeat: repeat-x;
  font-weight: bold;
  background-position: bottom left;
  position: relative;
}
.stav div {
  background-color: #336633;
  background-image: url("./stav_procent.jpg");
  background-repeat: repeat-x;
  background-position: bottom left;
  padding-left: .25em;
  position: relative;
  height: 1.5em;
  position: relative;
}
.stav span {
  position: absolute;
}
/*.stav .empty {
  background-color: #990000;
  background: url("./stav_bg.jpg") repeat-x bottom left;
}*/


.kalendar table {
  font-size: 160%;
  width: 100%;
}
.kalendar td {
  padding: 1em 2em;
}


/* mootools css*/
.tool-tip {
	color: #fff;
	width: 139px;
  filter: alpha(opacity=97);
  opacity: .97;
  text-align: left;
  line-height: 1.4em;
	z-index: 200;
}
.tool-title {
	font-weight: bold;
	font-size: 90%;
	margin: 0em;
	color: #ffff00;
	padding: .5em;
	padding-bottom: 0em;
	background: url("./bubble.png");
}
.tool-text {
	font-size: 90%;
	padding: .5em;
	padding-bottom: .25em;
	background: url("./bubble.png") bottom right;
}



