html, body{margin:0;padding:0;}

body     {font:normal 75% Arial;background:#fff;z-index:1;}
table    {font-size:100%;border-collapse:collapse}
th       {text-align:left}
td,th    {padding:0.3em 0.5em}
table th.main  {background:#4581A5;color:#fff;font-weight:normal;font-size:110%;line-height:2em}
tr       {vertical-align:top}
a:hover  {color:#000;text-decoration:underline}
a img{border:0;}
th.main a {
 color:#FFF;
 font-weight: bold;
}

ul.nostyle {margin:0;padding:0;list-style-type:none}

li input {border:0}

table.full {width:99%}
table.full td,table.full th {border-bottom:1px solid #ddd;}
tr.pair {background:#efe}
tr.selected {background:#dde9ff}
td.level0 {color:#000}
td.level1 {padding-left:10px;color:#003C64}
td.level2 {padding-left:20px;color:#005791}
td.level3 {padding-left:30px;color:#008ae6}

pre,xmp {font-size:110%}

/* TABS */

.hidden   {display:none;}
.visible  {display:block}
#artmenu .selected {font-weight:bold}
#loading, #saving {
  position: absolute;
  top:30%;
  left: 40%;
  z-index:1500;
  background: #eee;
  width: 150px;
  height: 50px;
  text-align: center;
  line-height: 4em;
  border: 2px solid #d9e;
  display: none;
}

#fade {
  width: 100%;
  height:100%;
  
  position: fixed;
  _position: absolute;
  top:0;left:0;
  z-index: 500;
  background: #000;
  -moz-opacity: 0.6;
  display: none;
  filter:alpha(opacity:60);
}

/*SPECIFIC */

#header {height:77px;background: url(/img/top.jpg) repeat-x;margin:1px 0;border-left:0}
#header a {height:77px;width:762px;background: url(/img/topban.jpg);text-indent:-999em;display:block}

#files {float:left;}


/* MENU */

#topmenu    {background:#4581A5;border:1px solid #000;border-top:0;border-left:0;height:2em;margin-bottom:0.3em}
#topmenu .cont {position:absolute}

#topmenu li {float:left;margin:0;_width:10em; white-space: nowrap;}
#topmenu li a,#topmenu li span,#artlist a.add {display:block;height:1.4em;_height:1.37em;padding:0.3em 0.5em;text-decoration:none;color:#fff;background-color:#4581A5;border-right:1px solid #000}
#topmenu li.selected span {background:#284B60}
#topmenu li a.add{background-image:url(/admin/img/add.gif);background-repeat:no-repeat;background-position:3px center;padding:0.3em 25px;}

#topmenu li a.language-cz{background-image:url(/admin/img/menuflags/cz.png);background-repeat:no-repeat;background-position:3px center;padding:0.3em 25px;width:80px;}
#topmenu li a.language-en{background-image:url(/admin/img/menuflags/en.png);background-repeat:no-repeat;background-position:3px center;padding:0.3em 25px;width:80px;}

#topmenu li a:hover {background-color:#35637D;}

#topmenu ul ul {display:none;position:absolute;width:12em}
#topmenu ul ul li {_width:12em; float:none;}
#topmenu ul ul li a {padding:0.3em 0.5em 0.3em 23px;border:1px solid #000;background-color:#7AAAC7}
#topmenu ul  {margin:0;padding:0;list-style-type:none}

/* Mozilla */
#topmenu ul li:hover > ul  {display: block;}

.cleaner {clear:both;font-size:1px;height:1px;line-height:1px}
.right   {text-align:right;}
.inp_short {width:30px;}
.forum textarea {width:50em;height:16em;}
iframe {height:50px;border:none;}

.UploadIframe {
  widht:300px;
  height:300px;
}
/* Pro legendu a barvu u ebanky a objednavky*/
.tomuchmoney {background-color: #CFC;}
.prosla {background-color: #0F0;}
.neparova {background-color: #F00;}
.enoughtmoney {background-color: #FCC;}

td#gall {
  height: 300px;
  width: 300px;
  overflow-y: scroll;
  display: block;
  border: 1px solid black;
}

table.galtable {
  width: 100%;
}

.tmavaRadka {
  background: #e0e0e0;
}

.maxWH120 {
  max-height: 120px;
  max-width: 120px; 
  _width: expression(this.width>= this.height ? (this.width> 120 ? "120px": true): 'auto');
  _height: expression(this.height> this.width ? (this.height> 120 ? "120px": true): 'auto');
}
