/* CSS Document by Rius */
body {
	color: black;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	background: #b0e06e url('engine/pozadi_hlavni.gif') left top;
	margin: 0;
	text-align: center;
}

#admin_menu ul {  list-style: none; }
#uprava_menu { padding: 0 10px 0 10px; }
#uprava_menu ul {  margin: 0 0 2px 0; _margin: 0; padding: 5px 0 12px 20px; border: 2px solid #62b245; background-color:rgb(208,255,208); }
#uprava_menu ul ul { border-right: 0; }
#uprava_menu li  { background-color: #62b245; }

#logo h1, .none {
	display: none;
}

.hide { height: 5px; z-index: -5;  }

a {
  color: green;
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

h1, h2, h3, h4, h5 {
  color: rgb(102,153,51);
}

h1 {
  font-size: 170%;
}

h2 {
  font-size: 150%;
}

h3, h5 {
  font-size: 120%;
}

h5{
  text-align: center;
  margin-top: 10px;
}

caption {
  font-weight: bold;
  margin: 0 0 5px 0;
}

.div {
	border: 1px dashed red;
}

.center {
  text-align: center;
}

#hlavni {
	width: 755px;
	margin: auto;
	background-color: white;
	padding: 0 4px 0 4px;
	text-align: left;
}

.chyba {
  text-align: center;
  margin: 30px;
  font-size: 90%;
}

/* vrsek - obsah nad logem */
#vrsek {
  width: 100%;
  height: 14px;
  background: url('engine/pozadi_vrsek.gif') left bottom repeat-x;
}


/* logo */
#logo {
  width: 100%;
  height: 126px;
  background: transparent url('engine/pozadi_logo.gif') left top repeat-x;
  margin: 1px 0 2px 0;
}

#logo .skola { 
  width: 223px;
  height: 126px;
  float: right;
  background: url('engine/skola.gif') left top no-repeat;
}

#logo .vlajka { 
  width: 120px;
  height: 126px;
  float: left;
  background: url('engine/vlajka.gif') left center no-repeat;
  margin: 0 0 0 20px;
}

#logo .nazev {
  float: left;
  width: 268px;
  height: 126px;
  margin: 0 0 0 50px;
  background: url('engine/nazev.gif') left center no-repeat;
}


/* menu */
#menu {
  height: 29px;
  background: url('engine/menu_2.gif') left top repeat-x;
  margin: 0 0 1px 0;
}

#menu a {
  font-size: 70%;
  float: left;
  padding: 8px 10px 0 10px;
  text-decoration: none;
  color: black;
  font-weight: bold;
  background: url('engine/menu_left.gif') left top no-repeat;
  height: 25px;
}

#menu .menu-prvni {
  float: left;
  margin: 0px 0px 0 80px;
  background-image: none;
}

#menu #selected {
  color: green;
  background: url('engine/menu_button_selected2.gif') left top repeat-x;
}

#menu a:hover, #menu #selected:hover {
  color: green;
  background: url('engine/menu_button_pozadi2.gif') left top no-repeat;
  cursor: pointer;
}

#menu .menu-prvni:hover, #menu .menu-prvni-selected:hover {
  background: url('engine/menu_button_pozadi.gif') left top repeat-x;
  cursor: pointer;
}

#menu .menu-prvni-selected {
  float: left;
  margin: 0px 0px 0 80px;
  background: url('engine/menu_button_selected.gif') left top repeat-x;
  color: green;
}


/* obsah pod menu */
#menu-spodek {
  width: 100%;
  height: 5px;
  background: url('engine/menu_spodek.gif') left top repeat-x;
}

/* levy menu */
#spodek {
  width: 100%;
  float: left;
}

#menu-left {
  float: left;
  width: 170px;
}

.menu-left, #menu-user {
  width: 170px;
  float: left;
  color: #3b6a10;
}

#menu-user {
  margin-top: 10px;
}

.menu-left a, #menu-user a {
  color: black;
  font-size: 73%;
  text-decoration: none;
}

.menu-left .prazdne {
  font-size: 73%;
  text-align: center;
  margin: 30px 0 0 0;
}

.menu-left a:hover, #menu-user a:hover {
  color: green;
}

.menu-left h3, #menu-user h4 {
  font-size: 83%;
  padding: 0 0 5px 2px;
  background: url('engine/menu_nadpis.gif') left bottom no-repeat;
}

.menu-left ul {
  margin: -10px 0 0 10px;
  list-style: none;
  padding-left: 0;
}

.menu-left li {
  padding-left: 12px;
  background-image: url('engine/menu_sipka.gif');
  background-repeat: no-repeat;
  background-position: 0 .5em;
}

.menu-left .text {
  font-size: 80%;
  margin: 0;
  padding: 2px 0 0 0;
}

.menu-left ul ul {
  margin: 0;
  list-style: none;
  padding-left: 0;
}


/* obsah */
#obsah {
  float: left;
  width: 535px;
  margin: 10px;
  font-size: 80%;
}

#obsah a, #paticka a {
  color: green;
  text-decoration: none;
}

#obsah a:hover, #paticka a:hover {
  text-decoration: underline;
}

/* paticka */
#paticka {
  clear: left;
  width: 745px;
  padding: 15px 5px 15px 5px;
  font-size: 80%;
  text-align: center;
  background: url('engine/pozadi_vrsek.gif') left bottom repeat-x;
}

/* vzhled loginu */
#menu-user fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

#menu-user .label {
  font-size: 80%;
  width: 50px;
  float: left;
  text-align: right;
  margin: 2px 0 2px 10px;
}

#menu-user .radek {
  clear: left;
}

#menu-user .radek2 {
  clear: left;
  margin-top: 5px;
  text-align: center;
}

#menu-user .input {
  width: 80px;
}

#menu-user fieldset a:hover {
  color: black;
  cursor: default;
}

#menu-user button {
  font-size: 100%;
}

/* formular */
input, textarea, button {
  font-size: 75%;
}

.input {
  font-size: 75%;
  border: 1px solid #62b245;
  background: url('engine/menu_2.gif') left top repeat-x;
  padding: 1px;
}

.button {
  font-size: 75%;
  border: 1px solid #62b245;
  background: #64b229 url('engine/button.gif') left top repeat-x;
  padding: 3px 1px 1px 1px;
  font-weight: bold;
}

.select {
  border: 1px solid #62b245;
  background: transparent url('engine/menu_2.gif') left top repeat-x;
  padding: 1px;
}

.select option {
  background-color: #cef2a2;
}

/* --- vzhled pro stranky --- */
/* stranka login.tpl */
.login-error {
  font-size: 80%;
  text-align: center;
  margin: 15px 0 15px 0;
}

#login-form h4 {
  text-align: center;
  font-size: 120%;
}

#login-form fieldset {
  border: 0;
  font-size: 80%;
}

#login-form .label { 
  width: 320px;
  font-size: 12px;
  float: left;
  text-align: right;
  margin: 1px;
}

#login-form .radek {
  text-align: left;
  margin: 1px;
}

#login-form .radek2 {
  margin: 1px;
  text-align: center;
  margin: 5px;
}

/* stranka header_admin.tpl */
.admin-left {
  float: left;
  font-size: 80%;
  width: 0px;
  padding: 6px 0 0 5px;
  font-weight: bold;
  color: green;
  _margin: 0 -120px 0 0;
}

.admin-right {
  float: right;
  margin: 0 0 0 -50px;
}


/* vzhled tabulky */
.table {
  border: 1px solid #62b245;
  border-collapse: collapse;
}

.table .vrsek td, .table .vrsek th {
  background: url('engine/menu_button_pozadi.gif') left top repeat-x;
  padding: 2px;
} 

.table .spodek td, .table .spodek th {
  border-top: 1px solid #62b245;
  padding: 2px;
}

#obsah h1 {
  font-size: 150%;
  text-align: center;
  margin-bottom: 20px; 
}

.right {
  text-align: right;
}

.center {
  text-align: center;
}

.left {
  text-align: left;
}

/* ostatni */
.zaci-tridy {
  text-align: center;
  margin-bottom: 20px
}

.zaci-tridy a {
  padding: 0 3px 0 3px;
}

.zaci-zpet {
  text-align: right;
  margin-bottom: 15px;
}

.table-top td, .table-top th {
  vertical-align: top;
}

#obsah h3, #obsah h2 {
  text-align: center;
}

/* vyrocni-zprava */
.table {
  margin-top: 3px;
}

.vyrocni-tabulka th {
  text-align: left;
}

.vyrocni-tabulka td, .vyrocni-tabulka th {
  border-left: 1px solid #62b245;
}

.vyrocni-mesic {
  clear: left;
  border: 1px solid white;
}

.vyrocni-mesic p {
  margin: 6px 0 6px 0;
  text-indent: 0px;
}

#historie p {
  margin-left: 15px;
  padding: 1px;
  text-indent: -15px;
}

/* admin */

.admin-left {
  width: 20px;
}

.admin .uzivatele-pridat {
  text-align: right;
  margin: 20px;
}

.uzivatele-skupiny-seznam {
  margin: auto;
  text-align: center;
  width: 400px;
}

.admin h2 {
  text-align: center;
}

#admin_menu {
  margin: auto; font-size: 0.9em
}

#admin_menu img {
  border: 0;
}


#lightbox{
    display:none;
    position: absolute;
    top:50%;
    left:50%;
    z-index:9999;
    width:500px;
    height:400px;
    margin:-220px 0 0 -250px;
}

#lightbox[id]{ /* IE6 and below Can't See This */
    position:fixed;
}

#overlay{
    display:none;
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:5000;   
    background-color:#000;
    -moz-opacity: 0.8;
    opacity:.80;
    filter: alpha(opacity=80);
}

#overlay[id]{ /* IE6 and below Can't See This */
    position:fixed;
}
#lightbox.done #lbLoadMessage{
	display:none;
}
#lightbox.done #lbContent{
	display:block;
}
#lightbox.loading #lbContent{
	display:none;
}
#lightbox.loading #lbLoadMessage{
	display:block;
}

#lightbox.done img{
	width:100%;
	height:100%;
}  

#ajax_menu {
  margin: auto;
  width: 250px;
  background-color: white;
  padding: 5px;
  font-size: 12px;
}    

.DHTMLSuite_calendar {
  font-size: 80%;
}
