* {
  margin: 0px;
  padding: 0px;
}

body {
  background: #ebe2d2;
  font: 14px/1.5em Tahoma;
  color: #000;
}

a {
  text-decoration: underline;
  color: #000;
}

ul, ol {
  padding-left: 20px;
}

img {
  border: none;
}

#wraper {
  min-width: 1000px;
  width:expression(document.documentElement.clientWidth < 1000 ? "1000px" : document.documentElement.clientWidth + "px");
}

#indexwraper {
  width: 880px;
  height: 647px;
  margin: 0px auto;
  background: url(img/langs.jpg) no-repeat;
}

#indexwraper a {
  font: 40px serif;
  color: #fff;
  float: left;
  display: block;
}

#indexwraper .lng_ru {
  margin-left: 280px;
  margin-top: 490px;
}

#indexwraper .lng_en {
  margin-left: 210px;
  margin-top: 490px;
}

#header {
  background: url(img/header.jpg) 50% 0 no-repeat;
  height: 132px;
}

#header_comp {
  width: 900px;
  margin: 0px auto;  
}

#header_comp a {
  display: block;
  height: 120px;
  width: 500px;  
  float: left;
}

#header_comp form {
  display: block;
  float: right;
  padding-top: 35px;
  padding-right: 131px;
}

#menu {
  background: url(img/menu.jpg) 50% 0 no-repeat;
  height: 67px;
}

#menu img {
  display: block;
  margin: 0 auto;
}

#content {
  background: url(img/body.jpg) 50% 0 no-repeat;
}

#image {
  height: 600px;  
  background: url(img/title_index.jpg) 50% 0 no-repeat;
  margin-left: -765px;
  margin-top: 0px;
}

#text {
  width: 550px;
  margin: 0 auto;
  margin-top: -600px;
  padding-left: 400px;
  padding-top: 80px;
  padding-right: 50px;
  min-height: 500px;
}

* html #text {
  height: 500px;
}

#text h2 {
  font: 45px/1.5em Georgia;
  color: #322415;
  position: absolute;
  margin-left: -350px;
  margin-top: -12px;
}

#text h3 {
  font: 18px/1.5em Georgia;
}

#text img.thumbnail {
  margin-right: 20px;
  margin-bottom: 20px;
  border: 3px solid #999;
  width: 100px;
}

#splat {
  width: 1000px;
  margin: 0 auto;
  /*margin-top: -100px;*/
}

#splat .big_text {
  font: 45px/1.5em Georgia;
  color: #322415;
  float: left;
  position: relative;
  top: 15px;
  left: 60px;
}

#splat .splat {
  background: url(img/splat_alpha.png) no-repeat;
  _background: none;
  _filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/template/img/splat_alpha.png', sizingMethod='crop');
  color: #fff;
  margin-left: 250px;
  line-height: 1.1;
  height: 150px;
  width: 575px;
  padding-left: 55px;
  padding-top: 32px;
  padding-right: 70px;
}

#footer
{
  background: url(img/footer.jpg) 50% 0 no-repeat;
  height: 196px;
}

h3 {
  font: 24px/1.5em Georgia;
  font-weight: bold;
  text-decoration: underline;
}

h4 {
  font: 14px/1.5em Georgia;
  font-weight: bold;
}

.align_left {
  float: left;
  margin-right: 10px;
}

.align_center {
  display: block;
  margin: 0 auto;
}

.align_right {
  float: right;
  margin-left: 10px;
}

.error {
  color: #c00;
}

.success {
  color: #0c0;
}
