body, div, td, input, select, textarea {
  font: 10pt Tahoma;
}
body {
  margin: 0;
  padding: 0;
  background-color: #575758;
}

#sub_body {
  width: 717px;
  margin: 0 auto;
  position: relative;
}
img {
  border: none;
}

h1 {
  font-size: 11pt;
  color: #000000;
  text-align: right;
  font-weight: bolder;
  padding-bottom: 5px;
  padding-right: 3px;
  background: url('/images/bg_title.gif') left bottom no-repeat;
  width: 239px;
}

/**************** lists ***********************/
ul {
  list-style-type: none;
  padding: 0 0 0 5px;
  margin: 0;
}
li {
  text-align: left;
}

/**************** links ***********************/
a {
  color: #2a2a2a;
  text-decoration: none;
  font-weight: bolder;
  font-size: 8pt;
}
a:hover {
  color: #c63716;
}
p {
  text-indent: 25px;
}

/**********************************************/
.b {
  font-weight: bolder;
}
.sub_title {
  background-color: #777777;
  color: #fff;
  padding: 2px 5px;
  text-align: left;
}

.b_title {
  color: #777777;
  padding: 2px 2px 2px 10px;
  font-weight: bolder;
  text-align: left;
}


/***********************************************/
/*
input, select, textarea {
  width: 180px;
  border: 1px solid #777777;
}
input.button {
  border: 1px solid #777777;
  background-color: #777777;
  color: #fff;
  padding: 2px;
  font-weight: bolder;
}
*/
.message {
  text-align: center;
  padding: 20px 0;
  font-weight: bolder;
}

#top {
  height: 146px;
  background: #000000 url('/images/top.jpg') no-repeat;
  padding: 0;
  text-align: left;
  position: relative;
}
#sub_body {
  background: url('/images/bg_line_left_repeat.gif') left top repeat-y;
  position: relative;
}
#bg_body {
  margin: 0 0 0 20px;
  background: url('/images/bg_line_right_repeat.gif') right top repeat-y;
  position: relative;
}
#bg_line_left {
  position: absolute;
  top: 0;
  left: -20px;
}
#bg_line_right {
  position: absolute;
  top: 0;
  right: 0;
}
#content {
  width: 578px;
  _height: 550px;
  margin: 0;
  padding: 60px 45px 30px 55px;
}
.content_wrapper {
  background: #ffffff;
  margin: 0 20px 0 0;
}
#content h1 {
  position: absolute;
  top: 10px;
  left: 0;
}
.about_wrapper {
  background: #ffffff url(/images/background.jpg) no-repeat;
}
#top_contacts {
  position: absolute;
  top: 5px;
  left: 230px;
  font-size: 9pt;
  color: #555555;
}

#menu {
  top: 100px;
  left: 15px;
  position: absolute;
}
#menu li {
  float: left;
  margin: 0 2px 0 0;
}
#menu a {
  width: 119px;
  height: 16px;
  padding: 7px 0;
  text-align: center;
  color: #ffffff;
  font-weight: bolder;
  display: block;
}
#menu .selected, #menu a:hover {
  text-decoretion: underline;
}
#link_index {
  position: absolute;
  top: 0;
  left: 20px;
  width: 186px;
  height: 96px;
}
#link_about {
  position: absolute;
  top: 132px;
  left: 22px;
  width: 50px;
}
#link_contacts {
  position: absolute;
  top: 132px;
  right: 10px;
  width: 70px;
}

#langs {
  top: 145px;
  left: 270px;
  position: absolute;
}
#langs .selected, #langs li a:hover {
  color: #ffffff;
  text-decoration: underline;
}
#langs a {
  font-weight: normal;
  text-decoration: none;
  color: #b4cfd9;
  margin: 0 5px;
}

#left {
  float: left;
  width: 160px;
}
#bottom {
  position: relative;
  clear: both;
  height: 22px;
  margin: 0;
  background: url('/images/bottom.png') left bottom no-repeat;
}

#bottom div {
  position: absolute;
  bottom: 9px;
  right: 15px;
  font-size: 8pt;
  font-weight: bolder;
}
#bottom div a {
  font-size: 8pt;
  font-weight: bolder;
}

#company_contacts .sub_title {
  margin: 5px 0;
}

#contacts {
  text-align: left;
  margin: 5px 0px 5px 0;
}
#contacts #tels {
  float: right;
  width: 150px;
}
#contacts #address {
  float: left;
  width: 200px;
  vertical-align: top;
}

#contacts_form table {
  margin: 5px;
  padding: 5px;
}
#contacts_form .f_title {
  white-space: nowrap;
  text-align: right;
  width: 180px;
}
#contacts_form input {
  width: 300px;
}
#contacts_form textarea {
  width: 300px;
  height: 100px;
}
#contacts_form .button {
  width: 100px;
}

.contacts_tel, .contacts_email {
  padding-left: 15px;
  background-repeat: no-repeat;
  background-position: left 3px;
}
.contacts_tel {
  background-image: url('/images/tel.gif');
}
.contacts_email {
  background-image: url('/images/email.gif');
}


#ad_list {
  margin: 10px 0;
}
.ad_row {
  height: 235px;
}
.ad_row .space {
  font-size: 1px;
  width: 40px;
  float: left;
}

.ad_short {
  width: 160px;
  height: 194px;
  float: left;
  border: 1px solid #777777;

}
.ad_short .adv_title {
  height: 16px;
  overflow: hidden;
  text-align: center;
}
.ad_short .adv_title  a {
  color: #333333;
  text-decoration: underline;
}
.ad_short .adv_price {
  text-align: center;
}
.ad_short .adv_price {
  font-weight: bolder;
  color: #333333;
}
.ad_short .adv_val {
  text-align: center;
  color: #333333;
}
.ad_short .adv_img {
  width: 160px;
}
.ad_pages_wrap_top {
  margin: 20px auto;
}
.ad_pages {
  margin: 0 0 10px 0;
  padding: 2px 5px;
  text-align: center;
}
.ad_pages a {
  padding: 2px 6px;
  font-weight: bolder;
  font-size: 10pt;
  border: 1px solid #dddddd;
  background: #f5f5f5;
}
.ad_pages .curr {
  color: #777777;
  font-weight: bolder;
  padding: 2px 6px;
  border: 1px solid #e5e5e5;
  background: #fafafa;
}
#page_left {
  padding: 10px 0;
  margin-right: 5px;
  border: none;
  background: none;
}
#page_right {
  padding: 10px 0;
  border: none;
  background: none;
}

/*********** search form *****************/
#search_short * {
  text-align: left;
}
#search_short {
  width: 470px;
  padding-bottom: 5px;
}
#search_short td div {
  padding: 0 5px;
}
#search_short select {
  width: 150px;
}
#search_short input.button {
  text-align: center;
  padding: 0 30px;
}
form {
  margin: 0;
  padding: 0;
}


.f_row {
  height: 20px;
  margin-bottom: 5px;
}
.f_title {
  width: 30%;
  float: left;
  text-align: right;
  margin: 0 2px;
}
.f_field {
  float: left;
}
.f_field input, .f_field textarea {
  width: 330px;
}
.f_field textarea {
  height: 50px;
}


/**** full view ****/
#ad_full {
  width: 100%;
}
#big_photo_pages td a {
  color: #ffffff;
}
#big_photo_pages td .ad_page0 {
  color: #777777;
}
.ad_page0 {
  color: #777777;
}

#link_back a {
  padding: 5px 10px;
  border: 1px solid #dddddd;
  background-color: #eeeeee;
}
#link_back {
  margin-bottom: 20px;
}


/***** print view ****/
#ad_full_print * {
  color: #000000;
  font-size: 12pt;
  background-color: #fff;
  background-image: none;
  text-align: left;
}
#ad_full_print {
  width: 650px;
}
#ad_full_print #subj {
  font-size: 34pt;
  font-weight: bolder;
}
#ad_full_print #price {
  font-size: 26pt;
  margin-bottom: 20px;
}
#ad_full_print #sale {
  text-align: right;
  font-size: 16pt;
  padding-bottom: 20px;
}

#ad_full_print .sub_title {
  background-color: #ffffff;
  color: #000;
  font-weight: bolder;
  text-decoration: underline;
  padding: 10pt 0 0 0;
}
#ad_full_print #main_info td {
  font-weight: bolder;
}


