
#main_page {
  width: 970px;
  margin:0 auto;
  text-align: left;
  font-size: 12px;
  font-family: Arial;
}



/* Head
------------------------------ */
#main_header{
  height: 45px;
}
#main_header_inside{
  padding: 15px 0px 0px 10px;
}

#main_header_logo{
  float: left;
}

#main_header_city{
  float: left;
  width: 295px;  
  padding: 0px 0px 3px 0px;
}

#main_header_city_link {
    float: left; 
    width: 80px;
}
#cities_frame {
    z-index: 1000;
    float: left; 
    display: none;  
    position: absolute; 
    margin-top: 2px; 
    padding: 7px 10px; 
    border: 1px solid #bac6d6; 
    background-color: #f3f3f3
}

#main_header_city_inside{
  font-size: 12px;
  padding: 10px 0px 0px 30px;
  margin-bottom: 1px;
}

#main_header_city_head {
  float: left;
  padding-right: 5px;
}
#main_header_city_head b {font-size: 13px;}

#main_header_city_name_outside {
  float: left;
  width: 130px;
  background-color: #e8eaf0;
  cursor: pointer;
}
#main_city {
  width: 140px;
  height: 20px;
  font-size: 12px;
  color: #353535;
  /*
  border: 0px solid #B3BACE;
  background-color: #E0EAFE;
  */
}

#main_header_right{
  float: right;
}

#main_header_rigth_inside{
  padding: 10px 10px 0px 5px;
  font-size: 12px;
}

#main_header_auth_inside_registration{
  padding-left: 35px;
}

#main_auth_form {
  font-size: 13px;
}

input.main_header_auth{
  font-size: 12px;
  width: 85px;
  height: 15px;
  border: 1px solid #a5b4c9;  
  padding: 0px 3px 0px 3px;
}

a.main_header_reg_link {
  color: #4a7e38;
  text-decoration: underline;  
}

a.main_header_reg_link:hover{
  color: #4a7e38;
  text-decoration: none;
}


/* Content
------------------------------ */

#main_content_outside{
  width: 100%;
  overflow: hidden;
}

#main_content{
  float: left;
  padding-top: 0px;
  width: 962px;
  background-color: #ffffff;
}

#main_content_border{
  border-width: 1px 2px 0px 1px;
  border-style: solid;
}

#main_content_height{
  padding-bottom:32767px;
  margin-bottom:-32767px;
}

#main_content_inside{
  width: 915px;
  padding: 10px 20px 20px 20px;
}



#main_content_title{
  width: 100%;
  height: 20px;
}
#main_content_title_inside{
  padding-left: 10px; 
  font-size: 12px;
}

#main_content_line{
  width: 100%;
  height: 4px;
  font-size: 1px;
}

/* тень */
#main_content_shadow{
  float:right;
  width: 8px;
  padding-bottom:32767px;
  margin-bottom:-32767px;
  background-image: url('images/shadow.png');
}
#main_content_shadow_top {
  height: 19px;
  background-image: url('images/shadow_top.png');
}


/* низ */
#main_content_bottom{
  clear: both; 
  width:100%;
  background-color: #ffffff;
}
#main_content_bottom_left{
  float: left; 
  width: 9px;
  height: 9px;
  font-size: 1px;
  background-image: url('images/corner_bottom_left.gif');
}

#main_content_bottom_center{
  float: left; 
  width: 943px;
  height: 9px;
  font-size: 1px;
  background-color: #ffffff;
  border-bottom-width: 1px;
  border-style: solid;
}

#main_content_bottom_right{
  float: right; 
  width: 18px;
  height: 9px;
  font-size: 1px;
  background-image: url('images/corner_bottom_right.gif');
}



/* Подвал
------------------------------ */
#main_footer {
  width: 100%;
  clear: both;
  margin-top: 10px;
}

#main_footer_bottom_text {
  width: 100%;
  text-align: center;
  color: #808080;
}

#main_footer_inside {
  width: 100%;
  text-align: center;
  margin: 20px 0px 0px 0px;
}

#main_footer_inside_line_outside{
  width:100%;
}
#main_footer_inside_line {
  text-align: center;
  font-size: 1px;
  width: 180px;  
  border-top: 1px solid #c0c0c0;
}

#main_footer_inside_links {
  font-size: 14px;
}
span.footer_inside_link {
  font-size: 12px;
  margin-left: 10px;
}

.form-error {
  font-size: 12px;
  margin-bottom: 10px;
  color: #bb0000;
}
