body {
  font-family: sans-serif;
  text-align: center;
  font-size: 0.8em;
  color: #000000;
  background: #FFFFFF;
  padding: 0 0 6px 0;
  margin: 0;
}

#main {
  width: 770px;
  background: url("images/menu_back.png") repeat-y;
  margin: 0 auto;
}

#header {
  height: 118px;
  font-weight: bold;
  background: #FFFFFF url("images/header_back.png") no-repeat 0 90px;
}

#logo-small { float: left; width: 88px; height: 90px; background: url("images/header_logo.png"); margin-left: 5px }
#logo-small[id] { margin-left: 10px }
#logo-small a { display: block; width: 100%; height: 100% }

#header h1 { position: relative; float: left; overflow: hidden; width: 642px; height: 68px; font-family: sans-serif; font-size: 36px; line-height: 68px; color: #3399FE; margin: 12px 0 0 12px }
#header h1 span { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: url("images/header_heading.png") }

#menu {
  float: left;
  width: 115px;
  font-size: 0.85em;
  font-weight: bold;
  text-align: left;
  color: #FFFFFF;
  background: #3399FE url("images/menu_back.png");
  padding: 0 10px 0 4px;
}

#menu[id] {
  width: 101px;
}

#menu ul, #menu ul ul { list-style: none; padding: 0; margin: 0 }
#menu ul { margin-top: -2px }
#menu li { float: left /* due to the ie5 */; background: url("images/menu_item.png") no-repeat; border-bottom: 1px solid #FFFFFF; padding-bottom: 2px; margin-top: 2px }
#menu[id] li { float: none }

#menu li a, #menu li.active strong { display: block; height: 17px; font-size: 1.1em; padding: 1px 0 0 3px }
#menu[id] li a, #menu[id] li.active strong { height: 1.34em /* 16px */ }
#menu li a { color: #FFFFFF; text-decoration: none; background: url("images/menu_back.png") -4px 0 }
#menu li a:hover { background-image: none /* due to the ie6 flicker bug */ }

#menu li.active strong { color: #202020; background: #FFFFFF }

#menu li.active li { background: url("images/menu_bullet.png") no-repeat 5px 5px; border: none; padding: 0 0 0 14px }
#menu li.active li a:link, #menu li.active li a:visited { width: 100%; height: auto; font-size: 1em; background: none; padding: 0 }
#menu li.active li a:hover { text-decoration: underline }

#counter, #last-update { text-align: center; margin: 30px 0 0 0 }

#content {
  float: right;
  width: 655px;
  line-height: 1.56em;
  text-align: justify;
  padding: 0 22px 0 14px;
  margin-top: -23px;
}

#content[id] {
  width: 619px;
}

#footer {
  clear: both;
  height: 28px;
  font-size: 0.85em;
  color: #FFFFFF;
  background: #3399FE url("images/footer_back.png") no-repeat;
  padding: 4px 0 0 105px;
}

#footer[id] {
  height: 24px;
}

#footer a { color: #FFFFFF; text-decoration: none }
#footer a:hover { text-decoration: underline }

.hidden { display: none }

.center { text-align: center }
.left { text-align: left }
.right { text-align: right }

table { font-size: 1em; line-height: 1.56em; text-align: left; border-collapse: collapse; margin-right: -15px }
.center table { margin: 0 auto }
table td { vertical-align: top; padding: 0 15px 0 0 }

table.preteky { margin-top: -10px }
table.preteky td { padding-top: 10px }
table.preteky table td { padding-top: 0 }
table.preteky div { float: left; padding-right: 15px }

table.kalendar { text-align: right }
table.kalendar tr.header, table.vysledky tr.header { font-weight: bold; text-align: center; background: #99D0FF }
table.kalendar td, table.vysledky td { border: 1px solid #000000; padding: 0 3px }

table.kontakt { margin-top: -20px }
table.kontakt td { padding-top: 20px }

p, .paragraph, .info { margin: 20px 0 }
.photo p { margin: 3px 0 }

h2, h3 { margin: 40px 0 20px 0 }
h2 { font-family: tahoma, "lucida grande ce", lucida, sans-serif; font-size: 1.4em; text-align: center }
h2.news { text-align: left; border-bottom: 1px solid #0050B1 }
.photo h2 { margin: 5px 0 }

h3 { font-size: 1.3em }
h3 a { text-decoration: none }

a { color: #000000; text-decoration: underline }

.box-right { clear: both; float: right; margin: 4px 0 20px 20px }

span.pdf-ico { background: url("images/pdf_ico.png") no-repeat 0 2px }
span.pdf-ico[class] { background-position: 0 }
span.pdf-ico a { height: 1.56em; padding-left: 21px }

img { border-style: none; vertical-align: bottom }

p.thumbnails { text-align: center; margin-left: -3px }
p.thumbnails img { vertical-align: middle; margin: 3px -1px 2px 2px }
/*
.thumbnails a:hover { border: 2px solid #3399FE }
.thumbnails a:hover img { margin: 3px -3px 2px 0px }
.thumbnails[class] a:hover { border: none }
.thumbnails[class] a:hover img { border: 2px solid #3399FE; margin: 0 -3px 0 0 }
*/

dl { margin: 0 }
dt { font-size: 1.15em; font-weight: bold; margin-bottom: 10px }
dd { margin: 0 }

.info { background: url("images/dotted.png"); padding: 1px }
.info dl { background: #FFFFE5; padding: 15px }

ul, ol { padding: 0; margin: -20px 0 20px 0 }
#content ul li { list-style: none; background: url("images/bullet.png") no-repeat 12px 8px; padding-left: 25px }
ol li { margin-left: 35px }

table ul, table ol { margin: 0 }

sup, sub { line-height: 1em }


span.pdf-ico1 { display: none; padding-left: 17px; background: url("images/pdf_ico.png") no-repeat }
span.pdf-ico1/* not for ie5 */ { display: inline }
span.pdf-ico1[class] { padding-left: 17px; text-align: left }

span.pdf-ico2 { position: relative; top: -1px; padding-left: 1px; padding-right: 1px;
                 font-size: 0.8em; color: #FFFFFF; background: #FF0000; vertical-align: middle }
span.pdf-ico2/* not for ie5 */ { top: 1px }
span.pdf-ico2[class] { vertical-align: top }