body {
  margin: 0;
  padding: 10px 0 0 0;
  font-family: arial, sans-serif, serif, verdana;
  color: black;
  text-align: center;
  _background-position:expression(22+Math.round((document.body.clientWidth-770)/2)+"px 0px");
  background-color: #cccccc;
}
* html body{
  font-size: x-small; /* pro IE5 WIN */
  f\ont-size: small;  /* pro ostatní verze IE */
}

h1, h2, h3, h4 {
  margin: 10px 0;
  text-align: center;
}
h4 {
  font-size: 100%;
}

a {
  color: #CC0000;
}
a:hover {
  color: black;
}
div.prazdny {
  margin-bottom: 1%;
  clear: both;
}
img.nahoru {
  width: 66px;
  border: 0;
}

.nadpis {
  color: black;
  font-weight: bold;
  font-style: italic;
  font-size: 100%;
}
.nadpisRed {
  color: #CC0000;
  font-weight: bold;
  font-style: italic;
  font-size: 115%;
}
.Red {
  color: #CC0000;
  margin-bottom: 15px;
}

.stred {
  text-align: center;
}
.tabulka{
  width: 96%;
  text-align: center;
  border: 0;
}
.tabkalendar{
  width: 96%;
  text-align: center;
  border: 1px solid #eeeeee;
}
.tdkalendar, .tdkalendar1, .tdkalendar2{
  padding: 2px;
  border: 1px solid #eeeeee;
}
.tdkalendar1{
  width: 20%;
}
.tdkalendar2{
  width: 25%;
}

div#stranka {
  margin: auto;
  text-align: justify;
  width: 950px;
/*  font-size: 100%;*/
  background-color: #eeeeee;
}

div#logo {
  padding-bottom: 0px;
  width: 100%;
  height: 168px;
  background-position: center top;
  background-repeat: no-repeat;
}
div#logo img {
  border: 0;
}

div#menu {
  margin-bottom: 5px;
  width: 100%;
/*  height: 26px;*/
  background-color: #CC0000;
/*  border-top: 4px solid #cccccc;
  border-bottom: 4px solid #cccccc;*/
}
div#menu2, div#menu3 {
  margin-top: 5px;
  margin-left: 0;
  margin-bottom: 5px;
  width: 97%;
  font-size: 12px;  
  border-bottom: 1px solid #cc0000;
}
div#menu2 {
  border-top: 1px solid #cc0000;
}
div#menu ul, div#menu li {
  margin: 0;
  padding: 0;
}
div#menu li {
  list-style: none;
  float: left;
}
div#menu a, div#menu2 a, div#menu3 a {
  display: block;
  margin: 0;
  font-weight: bold;
  text-decoration: none;
}
div#menu a {
  float: left;
  padding: 4px 25px;
}
div#menu a {
  font-size: 13px;
}
div#menu2 a, div#menu3 a {
  padding: 4px 10px;
}
div#menu a {
  color: white;
  border: 1px solid #CC0000;
}
div#menu2 a, div#menu3 a {
  color: #CC0000;
  border: 1px solid #cccccc;
}
#menu a:hover, #menu2 a:hover, #menu3 a:hover {
  color: black;
  border: 1px solid #cccccc;
  background-color: white;
}
.tabmenu {
  border: 0;
  text-align: center;
  width: 100%;
}

div#telo {
  clear: both;
  width: 930px;
  min-height: 300px;
  margin: 10px;
}
div#telo img {
  border: 0;
}

div#panel {
  float: left;
/*  width: 25%;*/
  width: 230px;
  height: 100%;
  font-size: 80%;
}
div#panel p {
  padding-top: 5px;
  margin: 0;
  font-size: 13px;
  text-align: center;
}
div#panel a {
  display: block;
  width: 80%;
  text-align: center;
  font-size: 13px;
  color: #CC0000;
  padding: 3px;
  margin: 0 6%;
  border: none;
}
div#panel a:hover {
  color: black;
  background-color: white;
}
div#aktualne p {
  padding-top: 10px;
  margin: 10px;
  font-weight: normal;
  font-size: 12px;
  text-align: left;
}
div#aktualne a {
  display: inline;
  text-align: left;
  font-size: 12px;
  color: #CC0000;
  padding: 0;
  margin: 0;
  border: none;
}
div#aktualne a:hover {
  color: black;
  background-color: #cccccc;
}

.oddeleni {
  width: 97%;
  height: 3px;
  border-top: 1px solid #CC0000;
}

.oddeleni2 {
  width: 95%;
  margin-top: 10px;
  height: 3px;
  border-top: 1px dotted #CC0000;
}

.panel2, #aktualne {
  background-color:#CCCCCC;
  padding-bottom:5px;
  font-weight: bold;
}
#aktualne {
  margin-bottom: 10px;
}
div#obsah {
  float: right;
/*  padding-left: 2%;*/
  padding-left: 10px;
  margin: 1% 0;
/*  width: 72%;*/
  width: 680px;
  height: 100%;
  min-height: 280px;
  font-size: 80%;
  color: black;
  background-color: #cccccc;
}

div#obsah p {
  text-align: justify;
  font-size: 100%;
  margin: 7px 15px 7px 0;
}
div#obsah p.odsadit {
  text-indent: 40px;
}

div#obsah p.tucny {
  font-weight: bold;
}

div#obsah p.nastred {
  margin: 10px 15px;
  text-align: center;
}

div#obsah p.autor {
  margin: 10px 15px;
  text-align: right;
}

div#obsah img.L {
  float: left;
  margin: 0 10px 10px 0;
  border: 5px solid #eeeeee;
}
div#obsah img.R {
  float: right;
  margin: 0 10px 0 10px;
  border: 5px solid #eeeeee;
}
div#obsah img.s100 {
  margin: 2px;
  width: 100px;
  border: 5px solid #eeeeee;
}
div#obsah img.s200 {
  margin: 2px;
  width: 200px;
  border: 5px solid #eeeeee;
}
div#obsah img.s300 {
  margin: 5px;
  width: 300px;
  border: 5px solid #eeeeee;
}

div#pata {
  clear: both;
  margin-top: 5px;
  width: 100%;
  height: 30px;
  font-size: 80%;
  text-align: center;
  border-top : 4px solid #cccccc;
  background-color: #eeeeee;
  background-position: center bottom;
  background-repeat: no-repeat;
}
div#pata p {
  padding-top: 10px;
  margin: 0;
}

/*modul komentar*/
#komentare img {
  border: 0;
}
#komentare h1 {
  font-size: large;
  text-align: left;
  margin: 20px 0 10px 0;
  padding: 0;
}
#komentare h1 a {
  text-decoration: none;
}
#komentare h2 {
  font-size: small;
  font-weight: bold;
  margin: 0 0 5px 10px;
  padding: 0;
}
#komentare a, .komentar a {
  color: #cc0000;
  text-decoration: underline;
}
#komentare a:hover, .komentar a:hover {
  color: #cc0000;
  text-decoration: none;
}
#komentare #zobraz {
  text-align: center;
  font-style: italic;
}
#komentare #odkaz {
  text-align: center;
}
#komentare #info {
  font-size: x-small;
  margin-left: 15px;
}
#komentare .small {
  font-size: x-small;
}
#komentare form {
  margin: 10px;
  padding: 0;
}
#komentare fieldset {
  border: solid 1px #666666;
  padding: 5px;
  margin: 0;
  width: 550px;
}
#komentare legend {
  font-size: small;
  font-weight: bold;
  padding: 0 5px;
  margin : 0;
  color: #cc0000;
}
#komentare input, #komentare textarea, #komentare select {
  width: 200px;
  height: 20px;
  border: solid 1px black;
  background-color: #eeeeee;
  color: black;
  margin: 0 0 5px 10px;
  padding: 0;
  font-family: arial, tahoma, verdana, sans-serif;
  font-size: small;
}
#komentare textarea {
  width: 500px;
  height: 80px;
}
#komentare .tlacitko {
  width: 100px;
  margin-top: 10px;
}
#komentare #smajlici {
  margin: 0 15px 10px 15px;
}
#komentare #chyba {
  margin: 10px 0 10px 15px;
}
#komentare #cislo {
  width: 30px;
  text-align: center;
}
.komentar p {
  width: 100%;
  display: block;
  padding: 0 0 10px 0;
  margin: 0;
  font-size: 75%;
  text-indent: 50px;
  text-align: justify;
}
.komentar {
  width: 97%;
  margin: 5px 0 5px 0;
}
.kom_hlavicka, .kom_paticka {
  padding: 3px 0 3px 0;
  background-color: #eeeeee;
  font-size: 100%;
}
/*konec modul komentar*/

.tab1 { margin-left: 100px; width: 18%; font-weight: bold }
.tab1, .tab2 { float: left; text-align: left }
.tab3 { float: left; margin-left:236px }

.predmet { margin: 2px; padding: 2px; width: 97%; background-color: #eeeeee }
.telo { margin: 2px; padding: 5px 10px 20px 30px; font-size: 90%; text-align: justify }
