*{
  margin: 0px;
  padding: 0px;
}
html { height: 100%;}

body {
 background-color: #f9f4e5;
 background-image: url("images/background.jpg");
 min-height: 830px;
 height: 100%;
 font-family: Times New Roman, Times, serif;
}

a:link, a:visited, a:active {
 text-decoration: none;
}

a:hover {
 text-decoration: underline;
}

#conteiner {
    position: relative;
    min-height: 100%; /* минимальная высота контейнера, ее понимают все браузеры за исключением IE6 */
}

* html #conteiner {
    height: 100%;
}

#content {
 width: 900px;
 margin: 0px auto;
}

/* элемент ниже позволяет не наезжать подвалу на контент, он должен быть не меньше подвала по высоте */
.end_content {
    position: relative;
    height: 70px;
}

#top {
 background: url("images/top.gif") top left repeat-x;
 height: 59px;
}

#lang {
 text-align: right;
 padding-top: 5px;
 padding-right: 20px;
 padding-bottom: 20px;
 font-size: 11pt;
 color: #898374;
 font-family: Georgia;
}

#lang a {
 color: #898374;
}

#lang span {
 color: #d92a19;
}

#title h1 {
 margin-top: 20px;
 color: #d92a19;
 font-size: 24pt;
}

#title strong {
 font-weight: normal;
 color: #8a8f45;
 font-size: 16pt;
}

#menu {
 float: right;
 color: #d92a19;
 font-size: 14pt;
 width: 100px;
 line-height: 1.5em;
 font-family: Georgia;
}

#menu a {
 color: #898374;
}

#footer {
 position: relative;
 font-size: 12px;
 margin-top: -65px; 
 height: 65px;
 color: #55621f;
 background: url("images/footer.gif") bottom left repeat-x;
}

#footer .copyright {

 text-align: center;
 margin-left: 145px;
}

#footer .itm img {
 border: 0px;
}

#footer a.itm {
 float: right;
 margin-right: 5px;
}

.text {
 c1lear: both;
 margin-top: 50px;
 color: #9a7d35;
 font-size: 18px;
 line-height: 1.1em;
 border: 0px solid red;
}

.text img {
 margin: 0px 5px;
}

#latest {
 margin-top: 20px;
}

#latest h2 {
 color: #d92a19;
 font-size: 16pt;
 margin-bottom: 10px;
 font-family: Georgia;
 font-weight: normal;
}

#latest img {
 border: 1px solid #8a774c;
 float: left;
 margin-right: 45px;
}

.gallery_preview {
  float: left;
  margin-right: 80px;
  margin-top: 20px;
  color: #8a774c;
}

.gallery_preview img {
  border: 1px #8a774c solid;
}

.gallery_preview a {
  color: #8a774c;
}

.gallery_preview h3 {
  text-align: center;
  color: #8a774c;
  font-size: 20px;
  font-weight: normal;
}

.mr0 {
 margin-right: 0px;
}

#gallery {
 text-align: center;
 width: 100%;
 height: 100%;
 position: relative;
 clear: both; 
}

#gal_menu {
 position: absolute;
 left: 0px;
 top: 0px;
 text-align: left;
 color: #d92a19;
 font-size: 18px;
 line-height: 1.5em;
}

#gal_menu a {
 color: #8a774c;
 font-size: 18px;
 display: block;
}

#gallery h2 {
  color: #9a7d35;
  font-weight: normal;
  font-size: 18px;
}

.bimage_block img {
 vertical-align:middle;
 margin: 0px 20px 10px 20px;
 border: 0px;
}

.bimage_block .bimage {
 border: 1px solid #8a774c;
}

.image_line {
 margin: 10px 0px;

}

.image_line img {
 border: 1px solid #8a774c;
 height: 80px;
 vertical-align: top;
 margin-top: 5px;
} 

.image_line a {
 margin-right: 10px;
} 

.image_line .active {
 background: url("images/act_left.gif") top left no-repeat;
 display: inline-block;
 margin-right: 10px;
}

.image_line .active span {
 background: url("images/act_right.gif") top right no-repeat;
 display: inline-block;
 border: 0px solid green;
}

.image_line .active img {
 margin: 0px;
 padding: 5px;
 height: 80px;
 border: 0px solid #8a774c;
}
