body {
        margin: 0;
        padding: 0;
        font-family: arial, sans-serif;
        font-size: 72%;
}

td {
  __font-size: 72%;
}

#main {
        position: absolute;
        width: 780px;
        border: solid black 1px;
        background-color: #9c9c9c;
        _background-image: url(../img/nastenka.jpg);
        background-repeat: no-repeat;
        background-position: top right;
}

.clear {
  clear: both;
}

#left {
        width: 600px;
        background-color: #fff;
}
#left a {
        color: #ff5400;
}
#top {
        width: 100%;
        height: 150px;
        background-color: #7D7B64;
        background-image: url(../img/top.jpg);
        background-repeat: no-repeat;
        background-position: top left;
}

#menu {
  width: 588px;
  _width: 600px;
  height: 33px;
  background-color: #333;
  color: #fff;
  padding-left: 12px;
}
#nav {
  margin:0;
  padding:0;
}
#nav a {
  __font-size: 72%;
  color: #fff;
  text-decoration: none;
  padding: 9px 4px;
  margin: 0 5px;
  display:block;
}
#nav a.selected, #nav a:hover {
  background-color: #5c5c5c;
}

#nav li li a {
	display: block;
	font-weight: normal;
	color: #fff;
	padding: 0.35em 0 0.35em 20px;
  background-color: #5c5c5c;
  width: 150px;
  text-align: left;
  margin: 0;
  background-image: url(../img/sipka.png);
  background-repeat: no-repeat;
  background-position: 8px 8px;
}
#nav li li a:hover {
  background-color: #333;
  background-image: url(../img/sipka-hover.png);
}

#nav li {
	float: left;
	position: relative;
	width: auto;
	text-align: center;
	cursor: default;
	background-color: #333;
  list-style: none;
  z-index:999;
}
#nav li li {
	display: block;
	float: none;
	background-color: #5c5c5c;
	border: 0;
  padding: 0;
  margin-left: 5px;
}
li ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	font-weight: normal;
	margin: 0;
	_margin-top: 1px;
	padding: 0;
}

li>ul {
	top: auto;
	left: auto;
}
li:hover ul, li.over ul {
	display: block;
}

h1 {
  clear:both;
}

#top-content {
  padding-left: 22px;
}
#top-content h1 {
  font-size: 170%;
  font-weight: bold;
  width: 100%;
  margin: 20px 0 10px 0;
}
#top-content img {
  border: solid #000 1px;
  float: right;
  margin-left: 12px;
  margin-bottom: 12px;
}
#top-content p {
  background-color: #f5f5f5;
  __font-size: 72%;
  position: relative;
  left: -22px;
  width: 556px;
  _width: 100%;
  padding: 12px 22px;
  margin: 0 0 12px 0;
  margin-right: -22px;
}
#bottom-content {
  margin-bottom: 13px;
  padding-right: 22px;
}
#bottom-content img {
  border: solid #000 1px;
  float: left;
  margin-right: 22px;
  margin-bottom: 12px;
}
#bottom-content .bigobr {
  border: none;
}

#bottom-content h2 {
  font-size: 90%;
}
#bottom-content p {
  __font-size: 72%;
  padding-left: 22px;
  margin-top: 10px;
}

#galerie {
  text-align: center;
  margin-right: -12px;
}

#galerie a {
  text-decoration: none;
}

#galerie .foto {
  background-image: url(../img/pozadi.png);
  background-repeat: no-repeat;
  width: 168px;
  margin-right: 20px;
  margin-bottom: 20px;
  float: left;
}

#galerie .foto img {
  margin-top: 8px;
  margin-bottom: 10px;
  border: none;
}

#galerie .foto span {
  __font-size: 0.7em;
  display: block;
  margin-left: 3px;
}

#footer {
  height: 20px;
  font-size: 90%;
  width: 100%;
  background-color: #ebebeb;
  padding-top: 5px;
}
#footer span {
  padding-left: 22px;
}

#slunecnik {
  height: 110px;
  width: 100%;
  background-color: #bbbbbb;
}

#pozvanka {
  position: absolute;
  width: 164px;
  top: 7px;
  left: 607px;
  background-color: #fff;
  __font-size: 72%;
  border: solid #000 1px;
  padding-top: 130px;
  background-color: #fff;
  background-image: url(../img/pozvanka-logo.png);
  background-repeat: no-repeat;
  background-position: top center;
  text-align: center;
}
#pozvanka p {
  padding: 10px 15px 5px 15px;
  margin: 0;
}
#pozvanka a {
  /* color: #004087; */
  color: #ff5400;
}
#pozvanka strong {
  font-size: 160%;
  /* color: #60a3ee; */
  color: #ff5400;
}
#pozvanka #bottom {
  /* background-color: #60a3ee; */
  background-color: #ff5400;
  color: #fff;
  margin: 0;
  padding: 15px;
  font-size: 160%;
  font-weight: bold;
}

.zelena {
  font-weight: bold;
  color: #0c3;
}

.cervena {
  font-weight: bold;
  color: #f00;
}

.modra {
  font-weight: bold;
  background-color: #ff9;
  color: #06f;
}

.fialova {
  font-weight: bold;
  color: #23238E;
}

tr.licha {
  background-color: #ccc;
}

tr.suda {
  background-color: #fff;
}

.no-border {
  border: none;
}
