html, body {
  height: 100%;
}
body {
  background-color: #fff;
  color: #333;
  margin: 0em;
  padding: 2em;
  font-family: "Trebuchet MS", Trebuchet, Verdana, sans-serif;
  font-size: 80%;
  line-height: 1.6em;
  behavior: url("./csshover.htc"); /* WinIE behavior call */
}

body#tmpbody {
  color: #ccc;
  text-align: center;
  background: #000 url("./body.jpg") repeat-x;
  padding: 0em 0em 3em 0em;
}
body#tmpbody p {
  /*text-align: justify;*/
}
body#tmpbody p.center {
  text-align: center;
}
body#tmpbody p.right {
  text-align: right;
}
body#tmpbody p.left {
  text-align: left;
}

hr {
  display: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Trebuchet MS", Trebuchet, Verdana, sans-serif;
  font-weight: bold;
}
h1 {
  margin-top: 0em;
  color: #000099;
}
h2 {
  font-size: 140%;
  margin-top: 0em;
  margin-bottom: .5em;
  color: #fff;
}
h3 {
  font-size: 110%;
  margin-top: 2em;
  margin-bottom: .25em;
  color: #dd6611;
  color: #ffff88;
  /*color: #ba2222;*/
}
h4 {
  font-size: 100%;
  margin-top: 1em;
  margin-bottom: .25em;
  color: #132F45;
  color: #eee;
}
h5 {
  font-size: 100%;
  margin-top: 1.5em;
  margin-bottom: .25em;
  color: #555;
}
h6 {
  font-size: 100%;
  margin-top: 1.5em;
  margin-bottom: .25em;
  color: #808080;
}

a {
  color: #ffff00;
  font-weight: normal;
  text-decoration: underline;
  font-size: 100%;
}
a:hover {
  text-decoration: none;
  color: #ffff99;
}
a:visited {
  color: #eeee00;
}
a:hover img {
  filter: alpha(opacity=80);
  -moz-opacity: .80;
  -khtml-opacity: .80;
  opacity: .80;
}

img {
  border: 1px solid #fff;
}
img.ico {
  border: none;
}

p {
  font-size: 100%;
  margin-top: .25em;
  margin-bottom: 1.5em;
}
ul {
  margin: 0em;
  padding: 0em;
  margin-bottom: 1.5em;
  margin-top: .5em;
  list-style-type: none;
  line-height: 1.5em;
}
ol {
  margin-bottom: 1.5em;
  margin-top: 1.5em;
}
ul li {
  margin-left: 5px;
  padding-left: 20px;
  /*background-image: url("./menu-li.gif");
  background-repeat: no-repeat;
  background-position: 0% 50%;*/
  margin-bottom: .75em;
}
ol li {
  margin-left: 0em;
  padding-left: 25px;
  margin-bottom: .5em;
}
form {
  margin-top: 2em;
  margin-bottom: 4em;
}
input, select, textarea {
  font-family      : Verdana, sans-serif;
  font-size        : 100%;
}
fieldset {
  margin-bottom: 1.5em;
  margin-top: 1.5em;
  padding: .5em 2em;
  padding-bottom: 1.5em;
}
label {
  float : left;
  width: 25%;
  text-align: left;
  margin-right: 1em;
  clear: both;
  margin-top: .5em;
}
legend {
  padding: 0.2em 0.5em;
  /*border: 2px solid #ddd;*/
  font-size : 100%;
  font-weight: bold;
  color: #ffffaa;
}
table {
  text-align: left;
  font-size: 100%;
  border-collapse: collapse;
  margin-top: 1.5em;
  margin-bottom: 2em;
  /*width: 100%;*/
  width: 500px;
  background-color: #000;
  color: #fff;
}
caption {
  font-size: 110%;
  margin-top: 1em;
  padding-bottom: .5em;
  color: #003388;
  font-weight: bold;
  text-align: left;
}
th {
  padding: .2em .6em;
  text-align: left;
  background-color: #003300;
  color: #fff;
}
tr:hover {
  background-color: #fff;
  color: #000;
}
td {
  padding: .2em .6em;
  text-align : left;
  border: 1px solid #222;
}
tbody tr td {
  white-space: nowrap;
}
tfoot td {
  font-style: italic;
}

#page {
  text-align: left;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  width: 960px;
  background: #000 url("./body-bg.jpg") repeat-y;
}
#pagein {
}

#content {
  background: transparent url("./content-bg.jpg") no-repeat;
  /*float: left;*/
  width: 960px;

}
#contentin {
  background: transparent url("./bottom-bg.jpg") left bottom no-repeat;
  height: 100%;
}

#top {
  background: transparent url("./top.jpg") no-repeat;
  height: 210px;
  width: 960px;
}

#logo a, #logo span {
  width: 231px;
  height: 39px;
  position: absolute;
  overflow: hidden;
  display: block;
  margin: 0px;
  padding: 0px;
  top: 0px;
  left: 0px;
  cursor: pointer;
  cursor: hand;
}
#logo a {
  z-index: 2;
  left: 9px;
}
#logo span {
  z-index: 3;
  background: transparent url("./logo.jpg") no-repeat;
}

h1#logo {
  font-size: 120%;
  line-height: 1em;
  margin: 0em;
}

#main {
  float: left;
  width: 770px;
  height: 100%; /* IE bug */   
}
#mainin {
  margin: 0em;
  margin: 0px 24px;
  margin-left: 32px;
}
/* \*/
* html #mainin {
 	/* IE bug kvůli italic písmu !!! */
	overflow: hidden;
	o\verflow: visible;
	overflow: auto;
	/*w\idth: auto;*/
	/*he\ight: 1%;*/
}
/* */

#mainin div.imgcaption {
  font-size: 100%;
  font-weight: normal;
  text-align: center;
  margin-top: .5em;
  margin-bottom: 0em;
  padding-bottom: .5em;
  line-height: 0em;
}
#mainin ul li {
  list-style: square;
  margin-left: 1.5em;
  padding-left: 0em;
}

#kategorie {
  width: 172px;
  float: right;
  margin: 65px 0em;
}
#kategorie li {
  list-style-type: none;
  padding: 0em;
  margin: 0em;
}
#kategorie li a {
  background: transparent url("./kat-li.gif") 0% 50% no-repeat;
  padding-left: 21px;
  color: #ffff00;
}
#kategorie li a.vybrany {
  text-decoration: none;
  color: #fff;
}


#navigation {
  margin: 0px 6px;
  /*padding: 0px 15px;*/
  margin-bottom: 22px;
  min-height: 41px;
  height: auto;
  _height: 41px;
}
#navigationin {
  font-size: 100%;
  height: 41px;
}
#navigation ul.menu {
  margin: 0em;
  padding: 0em;
  /*overflow: hidden;  kvůli šířce odkazu 100% */
  list-style-type: none;
  height: 41px;
}
#navigation ul.menu li {
  list-style-type: none;
  background: none;
  float: left;
  padding: 0px;
  margin: 0em;
  height: 41px;
}
#navigation ul.menu li a {
  font-weight: normal;
  line-height: 41px;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  padding: 0px 26px; /* 14px */
  height: 41px;
}
#navigation h2 {
  display: none;
}
#navigation ul.menu li a:hover, #navigation ul.submenu li a:hover {
  background: transparent url("./menu-active.jpg") repeat-x;
}
#navigation ul.menu li a.vybrany, #navigation ul.submenu li a.vybrany {
  background: transparent url("./menu-active.jpg") repeat-x;
}

#copyright {
  clear: both;
  font-size: 90%;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
  width: 960px;
}
#copyrightin {
  margin-left: 24px;
  margin-top: .75em;
}
#copyright a {
  font-size: 100%;
}
#copyright p {
  margin: 0em;
  line-height: 1.5em;
}
#copyright .wcmadmin {
  text-align: right;
}
#copyright .wcmadmin a {
  font-weight: normal;
}

#komtesa {
  position: absolute;
  bottom: .45em;
  right: 0px;
  width: 166px;
}
#komtesa a {
  margin: 0px;
  padding: 0px;
  position: relative;
  display: block;
  width: 88px;
  height: 24px;
  overflow: hidden;
  line-height: 1em;
}
#komtesa span {
  display: block;
  background-repeat: no-repeat;
  background-image: url("./logo_komtesa.gif");
  width: 88px;
  height: 24px;
  position: absolute;
  z-index: 4;
  top: 0px;
  left: 0px;
  cursor: pointer;
  cursor: hand;
}


.hidden {
  display: none;
}
.number {
  color: #990000;
  font-weight: bold;
  font-size: 120%;
  white-space: nowrap;
  padding: 0em .25em;
}
.floatleft {
  float: left;
  margin-right: 1.5em;
  margin-bottom: 1em;
  clear: both;
}
.floatright {
  float: right;
  margin-left: 1.5em;
  margin-bottom: 1em;
  clear: both;
}
.left {
  text-align: left;
}
.center {
  text-align: center;
}
.right {
  text-align: right;
}
.justify {
  text-align: justify;
}
.cleaner {
	clear      : both;
	height     : 1px;
	font-size  : 1px;
	border     : none;
	margin     : 0px;
	padding    : 0px;
	background : transparent;
}
.error {
  color: #cc0000;
  border: 1px solid #ff0000;
  padding: .5em 1em;
  margin-top: 2em;
  margin-bottom: 2em;
}

.importantbox {
  border: 1px dashed #ccc;
  border-right: none;
  padding: 1em 0em 1em .5em;
  margin: 1.5em 0em;
  margin-top: 3em;
}
.importantbox p {
  margin: 0em;
}
.importantbox .napis {
  font-size: 170%;
  margin-bottom: .2em;
}
.importantbox ul {
  margin: 0em;
}

.formular {
}
.formular form {
  margin: 0em;
}
.formular div {
  margin-top: .5em;   
}
.formular input, .formular textarea {
  /*width: 100%;*/
}
.formular legend {
  text-transform: uppercase;
}
.formular input.button {
  width: auto;
}

.pocitadlo {
  display: none;
}

.backbutton {
    margin-top: 3em;
    margin-bottom: 2em;
}
.backbuttontop {
    margin-top: 2em;
}
.backbutton a {
    height: 20px;
    padding: .2em .8em;
    background-color: #1F1F1F;
    background-image: url("./paging_bg.gif");
    background-position: center;
    background-repeat: repeat-x;
    border: 1px solid #333;
}
.backbutton a:hover {
    background-color: #222;
    color: #fff;
}

/* modul Fotogalerie */
#gallery {
  text-align: center;
}
#gallery .GalleryCategories {
  text-align: left;
}
#galleryin {
  /*width: 540px;    
  margin-left: auto;
  margin-right: auto;
  text-align: left;*/
}
#gallerydetail {
  text-align: left;
}
#gallery .galleryimage {
  float: left;
  overflow: hidden;
  height: 150px;
  width: 170px;
}
#gallery p.image {
  margin: 0em;
  text-align: center;
}
#gallery p.imageinfo {
  text-align  : center;
  margin      : 0em;
  display: none;
}
#gallery .pozn {
  color: #666;
  font-size: 85%;
  display: none;
}
form.GalleryPaging {
    clear: both;
    margin-top: 2em;
    margin-bottom: 2em;
    padding: 2px .8em;
    background-color: #1F1F1F;
    background-image: url("./paging_bg.gif");
    background-position: center;
    background-repeat: repeat-x;
    border: 1px solid #333;
    font-size: 90%;
    font-weight: bold;
}
.GalleryPaging div.center {
    min-height          : 15px;
    height              : auto;
    _height             : 15px;
    position: relative;
}
.GalleryPaging div.center select { 
    margin: 0em; padding: 0em;
    font-weight: bold;
}
.GalleryPaging div.center a { 
    display: block;
    width: 14px; 
    height: 15px; 
    position: absolute;
    right: 4px;
    top: 2px;
    background-repeat: no-repeat;
}
.GalleryPaging div.center a.pagingleft { 
    background-image: url("./paging_left.gif");
    right: 22px;
}
.GalleryPaging div.center a.pagingright { 
    background-image: url("./paging_right.gif");
}
.GalleryPaging div.center a.pagingleftoff { 
    background-image: url("./paging_left_off.gif");
    right: 22px;
}
.GalleryPaging div.center a.pagingrightoff { 
    background-image: url("./paging_right_off.gif");
}
.GalleryPaging div.center a span { 
    display: none; 
}

.prispevky .button a {
  padding: .2em .8em;
  background: #1F1F1F url("./paging_bg.gif") center repeat-x;
  border: 1px solid #333;
}
.prispevky .formular, .prispevky .formular form {
  float: none;
  margin-left: 0em;
}
.prispevky .jmeno {
  font-weight: bold;
  font-size: 110%;
}
.prispevky .datum {
  font-style: italic;
}
.prispevky .text {
  margin: .5em 0em;
}
.prispevek {
  margin: 1em 0em;
  padding: 0em;
}
.odpoved {
  margin: .75em 0em .75em 2em;
  padding: .5em 1em;
}
