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.7em;
  behavior: url("./csshover.htc"); /* WinIE behavior call */
}

body#tmpbody {
  padding: 0em;
  text-align: center;
  background-color: #216400;
  margin-top: 10px;
  background-image: url("./body_bg.jpg");
  background-repeat: repeat-x;
}
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: .25em;
  color: #006600;
}
h3 {
  font-size: 110%;
  margin-top: 1.5em;
  margin-bottom: .25em;
  color: #004400;
  /*color: #000099;*/
}
h4 {
  font-size: 100%;
  margin-top: 1.5em;
  margin-bottom: .25em;
  /*color: #000066;*/
  color: #002200;
  font-weight: bold;
}
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: #0000aa;*/
  color: #9A1A19;
  font-weight: normal;
  text-decoration: underline;
  font-size: 100%;
}
a:hover {
  text-decoration: none;
  color: #550000;
}
a:visited {
  color: #540E0E;
}
a:hover img {
  filter: alpha(opacity=80);
  -moz-opacity: .80;
  -khtml-opacity: .80;
  opacity: .80;
}

img {
  border: 3px solid #D4D7E8;
  padding: 2px;
}
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.3em;
}
ol {
  margin: .5em 0em 1.5em 2.5em;
  padding: 0em;
  line-height: 1.3em;
}
ul li {
  margin-left: 0em;
  padding-left: 12px;
  background-image: url("./li.gif");
  background-repeat: no-repeat;
  background-position: 0% 50%;
  margin-bottom: .4em;
}
ol li {
  margin-left: 0em;
  padding-left: 12px;
  margin-bottom: .5em;
}
form {
  margin-top: 2em;
  margin-bottom: 4em;
}
input, select, textarea {
  font-family: 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: 30%;
  text-align: left;
  margin-right: 1em;
  clear: both;
  margin-top: .5em;
}
legend {
  padding: 0.2em 0.5em;
  border: 2px solid #ddd;
  font-size : 110%;
  font-weight: bold;
  color: #004400;
}
table {
  text-align: left;
  font-size: 100%;
  border-collapse: collapse;
  margin-top: 1.5em;
  margin-bottom: 2em;
  width: 100%;
  background-color: #f0f0f0;
}
caption {
  font-size: 110%;
  margin-top: 1.5em;
  padding-bottom: .75em;
  color: #004400;
  font-weight: bold;
  text-align: left;
}
th {
  padding: .2em .6em;
  text-align: left;
  background-color: #003300;
  color: #fff;
}
tr:hover {
  background-color: #FFF8B3;
  color: #000;
}
td {
  padding: .2em .6em;
  text-align : left;
}
td.nowrap {
  white-space: nowrap;
}

#page {
  margin: 0em;
  padding: 0em;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  width: 790px;
  background-color: #fff;
  color: #333;
  background-image: url("./page_bg.jpg");
  background-repeat: repeat-y;
}
#pagein {
  height: 100%;
  width: 790px;
  background-image: url("./bottom_bg.jpg");
  background-position: left bottom;
  background-repeat: no-repeat;
}

#content {
  background-image: url("./content_left.jpg");
  background-repeat: no-repeat;
}
#contentin {

  background-image: url("./content_right.jpg");
  background-repeat: no-repeat;
  background-position: top right;
}

#top {
  background-image: url("./top.jpg");
  background-repeat: no-repeat;
  height: 170px;
  width: 790px;
}
#topin {
  display: none;
}

#logo a {
  width: 222px;
  height: 61px;
  position: absolute;
  overflow: hidden;
  margin: 0px;
  padding: 0px;
  z-index: 2;
  top: 9px;
  left: 15px;
}
#logo span {
  display: block;
  background-repeat: no-repeat;
  width: 222px;
  height: 61px;
  position: absolute;
  z-index: 3;
  top: 0px;
  left: 0px;
  background-image: url("./logo.jpg");
  cursor: pointer;
  cursor: hand;
}
h1#logo {
  font-size: 100%;
  line-height: 1em;
  margin: 0em;
}

#main {
  clear: both;
  margin: 0em;
  padding-left: 39px;          
  padding-right: 39px;
  /*height: 100%;  IE bug */   
  min-height: 300px;
  height: auto;
  _height: 300px;
}
#mainin {
  margin: 0em;
  float: left;    /* vychytávač pro clearing */ 
  width: 100%;
  padding-bottom: 0em;
}
/* \*/
* 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;
  font-style: italic;
}

#navigation {
  background-color: #8F0000;
  color: #fff;
  background-image: url("./navigation.jpg");
  background-repeat: repeat-x;
  margin: 0px 15px;
  padding: 0px 15px;
  margin-bottom: 1.5em;
  min-height: 42px;
  height: auto;
  _height: 42px;
}
#navigationin {
  font-size: 100%;
  height: 42px;
}
#navigation ul.menu {
  margin: 0em;
  padding: 0em;
  /*overflow: hidden;  kvůli šířce odkazu 100% */
  list-style-type: none;
}
#navigation ul.menu li {
  list-style-type: none;
  background: none;
  float: left;
  padding: 0px;
  margin: 0em;
  background-image: url("./menu-delic.gif");
  background-repeat: no-repeat;
  background-position: center right;
  height: 42px;
}
#navigation ul.menu li a {
  font-weight: normal;
  line-height: 35px;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  padding-left: 8px;
  padding-right: 8px;
  padding: 14px 8px;
}
#navigation h2 {
  display: none;
}
#navigation ul.menu li a:hover, #navigation ul.submenu li a:hover {
  background-color: #fff;
  color: #800000;
}
#navigation ul.menu li a.vybrany, #navigation ul.submenu li a.vybrany {
  background-color: #fff;
  color: #800000;
  font-weight: bold;
}


#copyright {
  font-size: 90%;
  margin-left: 39px;
  margin-right: 39px;
  margin-top: 1.5em;
  border-top: 3px solid #900000;
}
#copyrightin {
  padding: .5em 0em 20px 3px;
  color: #174600;
  background-repeat: no-repeat;
}
div#copyrightin:hover {
  color: #000;
}
#copyright p {
  margin: 0em;
  line-height: 1.5em;
}
#copyright .wcmadmin {
  text-align: right;
}
#copyright .wcmadmin a {
  color: #999;
}

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

#vyhody {
  float: right;
  background-image: url("./vyhody.jpg");
  background-repeat: no-repeat;
  background-position: top right;
  width: 380px;
  margin-bottom: 1em;
}
#vyhody ul, #vyhody h3 {
  padding-right: 130px;
  margin-left: 2.5em;
}
#vyhody h3 {
  color: #990000;
  margin-top: 0em;
}


.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;
}
.jusify {
  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;
}

.bezpecnost {
  border: 1px solid #008000;
  margin-bottom: 1.5em;
  margin-top: 1.5em;
  padding: .5em 1em;
}
.bezpecnost h3, .bezpecnost h4 {
  margin-top: .5em;
  color: #005500;
}
.po {
  border: 1px solid #ff0000;
  margin-bottom: 1.5em;
  padding: .5em 1em;
}
.po h3 {
  color: #dd0000;
  margin-top: .5em
}
.ekologie {
  border: 1px solid #0066ff;
  margin-bottom: 1.5em;
  padding: .5em 1em;
}
.ekologie h3 {
  color: #003388;
  margin-top: .5em;
}

.upoutavka {
  background-color: #900000;
  border: 1px solid #400000;
  color: #fff;
  padding: .25em 1em;
  margin: 1em 0em;
}
.upoutavka ul {
  margin: .5em 0em;
}
.upoutavka a {
  color: #ffff99;
}
.upoutavka a:hover {
  color: #ffff66;
}
.upoutavka a:visited {
  color: #d7d7d7;
}

/*
.importantbox {
  border: 1px dotted #990000;
  border-left: 2px solid #990000;
  border-right: 2px solid #990000;
  padding: .5em .8em;
  padding-left: 10px;
  margin: 1.5em 0em;
}
.importantbox p {
  margin: 0em;
}
.importantbox .napis {
  font-size: 170%;
  margin-bottom: .2em;
}
.importantbox ul {
  margin: 0em;
}
*/
.formular form {
  margin: 0em;
  width: 450px;
  /*margin-left: 2.5em;*/
}
.formular label {
}
.formular div {
  margin: .5em 0em;;   
}
.formular input, .formular textarea {
}
.formular legend {
  text-transform: uppercase;
  font-size: 100%;
  border: 1px solid #004400;
  color: #004400;
}
.formular fieldset {
  border: 1px solid #004400;
}
.formular input.button {
  width: auto;
}
.poznamky {
  font-size: 90%;
  font-style: italic;
  border-top: 1px dashed #ccc;
  padding-top: 1em;
  margin-top: 1.5em;
}

.pocitadlo {
  display: none;
}

/* modul Fotogalerie */
#gallery .galleryimage {
  float: left;
  overflow: hidden;
  height: 140px;
  width: 170px;
}
#gallery p.image {
  margin: 0em;
  text-align: center;
}
#gallery p.imageinfo {
  text-align: center;
  margin: 0em;
}
#gallery .pozn {
  color: #666;
  font-size: 85%;
  display: none;
}

form.GalleryPaging {
  clear: both;
  margin-top: 2em;
  margin-bottom: 2em;
  padding: .4em .8em;
  background-image: url("./paging_bg.jpg");
  background-repeat: repeat-x;
  border: 1px solid #e6e6e6;
  font-size: 90%;
  font-weight: bold;
  color: #333;
}
.GalleryPaging div.center {
  min-height          : 14px;
  height              : auto;
  _height             : 14px;
  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: 0px;
  background-repeat: no-repeat; 
}
.GalleryPaging div.center a.pagingleft { 
  background-image: url("./paging_left.jpg");
  right: 22px;
}
.GalleryPaging div.center a.pagingright { 
  background-image: url("./paging_right.jpg");
}
.GalleryPaging div.center a.pagingleftoff { 
  background-image: url("./paging_left_off.jpg");
  right: 22px;
}
.GalleryPaging div.center a.pagingrightoff { 
  background-image: url("./paging_right_off.jpg");
}
.GalleryPaging div.center a span { 
  display: none; 
}

#ModuleGalleryCategories select  {
  font-size: 100%;
  color: #000;
  font-family: Tahoma, sans-serif;
}

