
/*init
tw = 840  # total width
aw = 464  # article width
h1w = 455  # h1 width

offset1 = 21  #
offset2 = 204  #
offset3 = 680  #
*/


@media screen
{
  body {
    width: /**tw*/ 840px;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    /* overflow: auto; */ /* vynuti vertikalni posuvnik */
  }
}

body {
  font-size: 70%;
  font-family: Verdana, Helvetica, sans-serif;
  color: #323232;
}
.english {
  color: #666;
}
input {
  font-family: Verdana, Helvetica, sans-serif;
  color: black;
}
td {
  vertical-align: top;
}

/* poradi: a:link a:visited a:hover a:active */
a {
  text-decoration: none;
}
a:link {
  color: #0d5494;
}
a:hover {
  text-decoration: underline;
}

a img {
	border: none;
}

/*
"position: relative" u nasledujicich elementu
obchazi bug v IE 6. Jinak by se pri zmene velikosti okna
tyto tri elementy posunuly, kdezto div#container
by zustal na miste.
*/

div#header {
  position: relative;

  width: /**tw*/ 840px;
  height: 107px;
  padding: 0;
  margin: 0;

  background: white url("img_menu/header.jpg") no-repeat 0 0;
}

div#main {
  position: relative;

  width: /**tw*/ 840px;
  padding: 0;
  margin: 0;

  background: url("img_menu/bg0.png") repeat-y 0 0;
}

div#footer {
  position: relative;

  width: /**tw-offset2*/ 636px;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: /**offset2*/ 204px;
  margin: 0;

  background: url("img_menu/bg0.png") repeat-y 0 0;
}

div#menutop {
  width: /**tw*/ 840px;
  padding: 0;
  margin-top: 0px;
  margin-bottom: 15px;
}

div#container {
  position: relative;
  width: /**tw*/ 840px;
  padding: 0;
  margin: 0;
	border-bottom: 1px solid transparent;  /* kvuli bugu v Opere */
}

div#bgleft {
}

div#bgright {
}

div#mainlt {
  position: absolute;
  left: 0;
  top: 0;
}

div#mainlb {
  position: absolute;
  left: 0;
  bottom: 0;
}

div#mainrt {
  position: absolute;
  left: /**offset3*/ 680px;
  top: 0;
}

div#mainrb {
  position: absolute;
  right: 0;
  bottom: 0;
}

/***/

div.menutop-img table {
  width: /**tw*/ 840px;
}

div.menutop-img table tr td {
	margin: 0;
	padding: 0;
}

div.menutop-img table tr td div a {
	margin: 0;
	padding: 0;
}

div.menutop-img table tr td div.first-child {
	display: block; margin: 0; background-repeat: no-repeat;
	background-image: url("img_but/_left-frame.jpg"); width:45px; height:33px;
}

div.menutop-img table tr td div.last-child {
	display: block; margin: 0; background-repeat: no-repeat;
	background-image: url("img_but/_right-frame.jpg"); width:175px; height:33px;
}

/*** UNUSED ***/

div.menutop-txt table {
  width: 795px;  /* 5px pro okraj prave bunky*/
  margin-left: -5px;
}

div.menutop-txt table tr td {
  text-align: center;
  background-repeat: no-repeat;
  margin: 0;
  width: 153px;
  padding-right: 0px;
  padding-left: 5px;
}

div.menutop-txt table tr td a {
  display: block;

  height: 22px;
  padding-top: 3px;
  padding-bottom: 0px;

  font-size: 14px; /* absolutni rozmer */
  font-weight: bold;

  background-color: #244a95;
  color: #74c0fe;
  text-decoration: none;
}

div.menutop-txt table tr td a:hover {
  text-decoration: none;
  color: white;
}

div.menutop-txt table tr td a.selected {
  /* background-image: url("img_menu/bg_menutop_over.png"); */
  text-decoration: none;
}

/***/

div.menuleft-txt table {
	position: relative;
	left: /*offset1**/ 21px;
}

div.menuleft-txt table tr td a {
  display: block;

  height: 21px;
  padding-top: 4px;
  padding-bottom: 4px;
  margin-bottom: 0px;

  width: 133px;
  padding-left: 39px;
  padding-right: 0px;

  text-align: left;
  background-repeat: no-repeat;
  background-position: 17px 8px;

  color: #0f9fce;
  background-image: url("img_menu/bullet-light.png");
}

div.menuleft-txt table tr td a:hover {
  text-decoration: none;
  color: #0086c6;
  background-image: url("img_menu/bullet-dark.png");
}

div.menuleft-txt table tr td a.selected {
  text-decoration: none;
}

div.menuleft-txt table tr td a.dead {
  text-decoration: none;
  background-image: none;
  padding-top: 2px;
  padding-bottom: 2px;
}

/***/

div.menuright {
	width: 115px;
	height: 50px;

  background-repeat: no-repeat;
  background-color: #ebecec;
  background-image: url("img_menu/lista-prava.gif");
}

/***/

div#article {
	position: relative;

  left: /**offset2*/ 204px;
  width: /**aw*/ 464px;

  top: 0px;

  min-height: 500px;
  _height: 500px;

  padding: 0;
  margin: 0;

  border-right: 1px solid #888;
}


div.article-in {
  padding: 0;
  margin: 0;
  margin-right: 20px;
  line-height: 1.5em;
}

div.article-in h1 {
  margin-top: 0;
  padding-top: 2px;
  padding-bottom: 10px;

  width: /**h1w*/ 455px;
  padding-right: /**aw+1-h1w*/ 10px;
  padding-left: 0;

  line-height: 1.2em;
  font-size: 133%;
  font-style: oblique;
  text-align: right;
  font-weight: bold;

  color: white;
  background-repeat: no-repeat;
  background-image: url("img_menu/lista-uprostred.gif");
}

div.article-in h2 {
  margin: 20px 0 3px 0;
  padding: 0;
  font-size: 125%;
  font-weight: bold;
}

div.article-in h3 {
  margin: 5px 0 3px 0;
  padding: 0;
  font-size: 100%;
  font-weight: bold;
}

div.article-in p {
  text-align: left;
}

/***/

table.loose tr td {
	height: 2em;
}

ul.loose li {
  margin-top: 1em;
  margin-bottom: 1em;
}

div.sep {
	width: 90%;
	border-top: 1px solid #888;
	margin: 1em auto;
}

table.stdform tr td {
  padding: 0.5em;
}
table.stdform tr th {
  padding: 0.5em;
  text-align: left;
}

table.list tr {
  margin: 0;
  padding: 0;
}
table.list tr th, table.list tr td {
  margin: 0;
  padding: 5px 4px;
  border-left: 2px solid #bfcade;
}
table.list tr th.first-child, table.list tr td.first-child {
  border-left: none;
}
table.list tr th {
  text-align: left;
  background-color: #f1f7ee;
}
table.list tr.bg0 td {
  background-color: #eaedf4;
}

/***/

table.art-gallery {
	width: 438px;
	margin-top: 0px;
	margin-bottom: 10px
}
table.art-gallery tr td p {
	width: 438px;
	margin: 0;
	padding-top: 13px;
}
table.art-gallery tr td p span a img {
	border: none; margin-right: 8px; vertical-align: top;
}
table.art-gallery tr td p span a img.col3 {
	margin-left: 2px;
	margin-right: 0px;
}

/***/

table.loga a img {
	border: 1px solid lightblue;
}

/*
div#container {
  border: 1px solid yellow;
}
p, table, td {
  border: 1px dotted red;
}
*/

/***/

/*
div#article {
	background: green;
}
div.article-in {
	background: lightgray;
}
div.article-in h1 {
	background: red;
}
div.menuleft-txt {
	background: yellow;
}
div.menuleft-img {
	background: yellow;
}
div.menuleft-txt td {
	background: brown;
}
div.menuright {
	background: yellow;
}
table {
	background: yellow;
}
*/
