* {
  margin: 0;
  padding: 0;
  border-collapse: separate;
}

html, body {
}

.cleaner {
    clear: both;
}

body {
  text-align: center;
  background-color: #e4d9be;
  font-size: 1em;
    font-family:Georgia, "Times New Roman", Times, serif;

}

* html #lc {
      width: expression(document.body.clientWidth < 100? "102px" : document.body.clientWidth > 831? "829px" : "auto");
}

* html #rc {
}

#lc {
  margin: 0 auto;
  max-width: 829px;
  text-align: left;
  padding-left: 40px;
  background: #e4d9be url(images/lavykraj.png) repeat-y left;
  font-size: .9em;
  position: relative;
}

#rc {
  padding-right: 40px;
  background: #f6ebcf url(images/pravykraj.png) repeat-y right;
}

#header {
  background: white url(images/header.jpg);
  height: 113px;
  position: relative;
}

/*#header h1{
  position: absolute;
  top: 62px;
  right: 80px;
  font-style: italic;
  color: #fff;
  font-size: 2em;
}*/

#header h1{
        padding-top: 62px;
        font-size: 2em;
        color: #FFFFFF;
        text-align: right;
        margin-right: 67px;
        font-style: italic;
        text-shadow: #666 2px 2px 1px;
}

#header h1 a{
  text-decoration: none;
  color: #fff;
}

#navcontainer {
  height: 37px;
  background: white url(images/linkbar.png) repeat-x top;
  margin-bottom: 20px;
}

#navcontainer ul{
  list-style: none;
  margin-left: 10px;
  font-size: 1.1em;
}

#navcontainer ul li {
    float: left;
    display: block;
    margin: 6px 5px 0 5px;

}

#navcontainer ul li a {
    padding-bottom: 6px;
    text-decoration: none;
    color: white;
    border-bottom: 3px solid transparent;
}

/*#navcontainer ul li a:link {
    text-decoration: none;
    color: white;
}*/

#navcontainer ul li a:visited {
    text-decoration: none;
    color: white;
}

#navcontainer ul li a:hover {
    text-decoration: none;
    color: white;
    border-bottom: 3px white solid;
}

#main {
    float: left;
    margin-right: -208px;
    width: 100%;
}

#rightbg {
    width: 168px;
    background: #f6ebcf url(images/menu-header.png) no-repeat top left;
    padding-left: 16px;
    padding-top: 58px;
    float: right;
}


#right {
    background-color: #c5ac71;
}

#right h3 {
    color: white;
    background-color: #785012;
    padding-top: 3px;
    padding-left: 15px;
    padding-bottom: 3px;
    font-size: 1em;
}

.navcontainer {
    padding-bottom: 15px;
}

.navcontainer a {
    display: block;
    padding: 4px 0 4px 10px;
    background: #c5ac71 url(images/linkpanel.jpg) no-repeat top left;
    border-bottom: 1px solid #7c7c3c;
    text-decoration: none;
    color: black;
    font-size: .8em;
}

.navcontainer a:hover {
    background: #c5ac71 url(images/linkpanel_hover.jpg) no-repeat top left;
    color: white;
}

#content {
    margin-right: 208px;
    background: #d1ba84 url(images/content-header.png) no-repeat top right;
    margin-top: 15px;
    padding: 40px 10px 10px 10px;
}

#content h2 {
    background: #d1ba84 url(images/h2.jpg) no-repeat top left;
    color: #fbe09d;
    font-size: 1em;
    padding-top: 20px;
    padding-left: 40px;
    height: 37px;
}

#content p {
    padding: 5px 15px 5px 15px;
}

#content ul {
    list-style-image: url(images/arrow.gif);
    padding: 10px 10px 10px 30px;
}

#footer1 {
    margin-top: 100px;
}

#footer {
    font-size: 0.7em;
}

#stred {
    padding-bottom: 40px;
    background: #f6ebcf url(images/spodok.png) repeat-x bottom left;
}

#lavyroh {
    position: absolute;
    bottom: 0;
    margin-left: -40px;
}

#pravyroh {
    position: absolute;
    bottom: 0;
    right: 0;
}

* html #pravyroh {
    right: -1px;
}

