#block-firmsrating-0 {
  float: left;
  margin-top: 7px;
}

#rating_at_main_block {
  float: left;
  height: 331px;
  float: left;
  margin: 0 5px 0 0;
  width: 240px; 

  /*background: #5c5d5f;*/
}

#rating_at_main_body {
  width: 100%;
  float: left;
  height: 318px;
  margin-top: 3px;
  background: #ecf4d8;
  border: 1px solid #e0eebd;
}


#rating_at_main_banner {
  height: 360px;
  width: 240px;
  float: left;
  background-image: url(/sites/default/files/banners/banner1.jpg);
}


#rating_at_main_body .sections_block {
 float: left;
 width: 243px;
 height: 318px;
 margin: 0 10px;
}

#rating_at_main_body .firms_block {
  float: left;
  height: 318px;
  width: 216px;

}

#rating_at_main_body .sections_navigation {
  float: left;
  height: 34px;
  width: 100%;
}

#rating_firms_list {
  float: left;
  height: 258px;
  width: 97%;
  overflow: hidden;
  display:inline;
  position: relative;
  margin: 7px 0 0 6px;
  /*background: #e0eebd;*/
}

#rating_at_main_body .firms_navigation {
  float: left;
  height: 35px;
  width: 100%;
}

#rating_at_main_body .rating_firms_background {
  float: left;
  height: 269px;
  width: 100%;
  margin: 0;
  background: #ddecbb;
}

#rating_sections_list {
  float: left;
  height: 272px;
  width: 100%;
  overflow: hidden;
  display:inline;
  position: relative;
}

#rating_at_main_body .rating_toplink {
  float: left;
  font: normal 10px Arial;
  line-height: 12px;
  width: 80px;
  margin-top: 3px;
  color: #8bc400;
}

#rating_at_main_body .rating_toplink a, #rating_at_main_body .rating_toplink a:visited {
  color: #8bc400;
  text-decoration: none;
}

#rating_at_main_body .rating_toplink a:hover {
  color: #8bc400;
  text-decoration: underline;
}

#rating_at_main_body .rating_toplink_sort {
  float: right;
  font: normal 10px Arial;
  line-height: 12px;
  width: 90px;
  color: #8bc400;
  text-align: right;
}	

#rating_at_main_body .rating_toplink_sort:hover {
	cursor: pointer;
	text-decoration: underline;	
}

#rating_at_main_body .rating_toplink_sort_selected {
  float: right;
  font: bold 11px Arial;
  line-height: 12px;
  width: 90px;
  color: #8bc400;
  text-align: right;
}	

#rating_at_main_body .rating_toplink_sort_selected:hover {
	cursor: pointer;
	text-decoration: underline;	
}	

#rating_at_main_body .arrows {
  margin: 0 auto;
  height: 30px;
  width: 50px;
}

#rating_at_main_body .arrow_U {
  float: left;
  width: 21px;
  height: 15px;
  margin: 9px 2px 0 0;
  cursor: pointer;
  background-image: url(/images/ajax_arrow1_unhover_U.png);
}

#rating_at_main_body .arrow_U:hover {
  background-image: url(/images/ajax_arrow1_U.png);
}

#rating_at_main_body .arrow_D {
  float: left;
  width: 21px;
  height: 15px;
  margin-top: 9px;
  cursor: pointer;
  background-image: url(/images/ajax_arrow1_unhover_D.png);
}

#rating_at_main_body .arrow_D:hover {
  background-image: url(/images/ajax_arrow1_D.png);
}

.rating_section_teaser {
  float: left;
  width: 235px;
  height: 13px;
  background: #ddecbb;
  color: #81AF11;
  padding: 0 0 0 4px;
  margin: 0;
  font: normal 10px Arial;
  border: 2px solid #ecf4d8;
  cursor: pointer;
  overflow: hidden;
}

.rating_section_teaser_sub {
  float: left;
  width: 225px;
  height: 13px;
  background: #e0eebd;
  color: #81AF11;
  padding: 0 0 0 4px;
  margin: 0;
  font: normal 10px Arial;
  border: 2px solid #ecf4d8;
  cursor: pointer;
}

.rating_section_teaser:hover {
  background: #c4e573;
}


#rating_sections_ul{
    list-style-type: none;
    padding: 0;
    margin: 0;
    top: 0px;
    float: left;
    position: absolute;
}

#rating_sections_list ul li {
  display: block;
  margin: 0;
  padding: 0;
  list-style-type: none;
  float: left;
}

#rating_sections_list ul li ul {
    list-style-type: none;
    padding: 0;
    margin: 0 0 0 10px;
    top: 0px;
    float: left;
    position: relative;
}




#rating_firms_ul{
    list-style-type: none;
    padding: 0;
    margin: 0;
    top: 0px;
    float: left;
    position: absolute;
    width: 100%;
}

#rating_firms_list ul li {
  display: block;
  margin: 0 0 4px 0;
  padding: 0;
  width: 100%;
  list-style-type: none;
  float: left;
}

#rating_firms_list ul li a, #rating_firms_list ul li a:visited, #rating_firms_list ul li a:link {
  text-decoration: none;
  cursor: pointer;
}


/*Rating firm teaser*/
.rating_firm_teaser {
  float: left;
  background: #fff;
  border: 1px solid #ccc;
  width: 99%;
  height: 31px;
  text-align: center;
  line-height: 12px;
  margin: 0;
  text-decoration: none;
  overflow: hidden;
}


.rating_firm_teaser .color_label {
  float: left;
  height: 27px;
  width: 8px;
  margin: 2px 0 0 2px;
  background: #efd101;
}

.rating_firm_teaser .info {
  float: left;
  width: 42px;
  height: 30px;
  margin: 1px 0 0 3px;
}

.rating_firm_teaser .title {
  float: left;
  width: 100%;
  color: #8bc400;
  font: normal 11px arial;
  height: 12px;
  text-align: center;
}

.rating_firm_teaser .value {
  float: left;
  width: 100%;
  color: #bbb;
  font: bold 14px arial;
  text-align: center;
}

.rating_firm_teaser .name {
  float: left;
  width: 120px;
  height: 24px;
  overflow: hidden;
  /*color: #8bc400;*/
  color: #777;
  font: bold 11px arial;
  text-align: center;
  margin: 3px 0 0 5px;
  line-height: 12px;
  display: table;
  
}

*+html .rating_firm_teaser .name {
  margin-top: 2px;	
  height: 25px;
}

.rating_firm_teaser .name .text_wrap { 
  display: table-cell;
  vertical-align: middle;	
  width: 100%;
  height: 24px;
}

.rating_firm_teaser .name .for_ie {
  display: none;
  width: 1px;
  margin-left: -1px;	
}

*+html .rating_firm_teaser .name .for_ie, *+html .rating_firm_teaser .name .valign-center {
  display: inline-block;
  vertical-align: middle;
}
*+html .rating_firm_teaser .name .valign-center {
  width: 100%;
}
*+html .rating_firm_teaser .name .for_ie {
  height: 100%;
}
*+html .rating_firm_teaser .name .for_ie, *+html .rating_firm_teaser .name .valign-center {
  display: inline;
}


.rating_firm_teaser .arrow_delta_up {
  float: right;
  margin: 5px 3px 0 0;
  width: 11px;
  height: 18px;
  background-image: url('images/arrow4_gray_U.gif')
}

.rating_firm_teaser .arrow_delta_down {
  float: right;
  margin: 5px 3px 0 0;
  width: 11px;
  height: 18px;
  background-image: url('images/arrow4_gray_D.gif')
}

/*rating firm teaser2*/
.rating_firm_teaser2 {
  float: left;
  background: #fff;
  border: 1px solid #ccc;
  width: 99%;
  height: 47px;
  text-align: center;
  line-height: 12px;
  margin: 0;
  text-decoration: none;
}


.rating_firm_teaser2 .color_label {
  float: left;
  height: 43px;
  width: 8px;
  margin: 2px 0 0 2px;
  background: #efd101;
}

.rating_firm_teaser2 .info {
  float: left;
  width: 42px;
  height: 28px;
  margin: 1px 0 0 3px;
}

.rating_firm_teaser2 .title {
  float: left;
  width: 100%;
  color: #8bc400;
  font: normal 11px arial;
  height: 11px;
  text-align: center;
}

.rating_firm_teaser2 .value {
  float: left;
  width: 100%;
  color: #bbb;
  font: bold 14px arial;
  text-align: center;
}

.rating_firm_teaser2 .name {
  float: left;
  width: 270px;
  height: 12px;
  overflow: hidden;
  /*color: #8bc400;*/
  color: #555;
  font: bold 11px arial;
  text-align: center;
  margin: 9px 0 0 5px;
  line-height: 11px;
}

.rating_firm_teaser2 .info_wrap {
  float: left;
  height: 20px;
  width: 352px;
  border-top: 2px solid #ddd;
  margin-left: 4px;
}

.rating_firm_teaser2 .info2 {
  float: left;
  height: 12px;
  width: 245px;
  font: normal 10px Arial;
  color: #888;
  text-align: left;
  overflow: hidden;
}

.rating_firm_teaser2 .title2 {
  color: #8bc400;
}


/**/
.rating_firm_page .score {
  float: left;
  width: 210px;
  border: 3px solid #9fc93d; /*#8cc400;*/
  margin: 10px 0;
}

.rating_firm_page .score .title {
  float: left;
  padding: 7px 12px;
  background: #9fc93d; /*#8cc400;*/
  color: #fff;
  text-align: center;
  font: bold 16px Arial;
}

.rating_firm_page .score .value {
 float: right;
 width: 60px;
 margin-top: 6px;
 font: bold 18px Arial;
 color: #454545;
 text-align: center;
}


/**/
#rating_page {
 width: 700px;
 float: 0 auto;
}

#rating_page_body {
  float: left;
  background: #ecf4d8;
  width: 698px;
  border: 1px solid #e0eebd;
  height: 620px;
}


#rating_page_body .sections_block {
  float: left;
  width: 280px;
  height: 600px;
  margin: 0 10px;
}

#rating_page_body .firms_block {
  float: left;
  height: 600px;
  width: 387px;
}

#rating_page_body .sections_navigation {
  float: left;
  height: 37px;
  width: 100%;
}

#rating_page_body .firms_navigation {
  float: left;
  height: 38px;
  width: 100%;
}

#rating_page_body .rating_toplink {
  float: left;
  font: bold 11px Arial;
  line-height: 12px;
  width: 90px;
  margin-top: 5px;
  color: #8bc400;
}

#rating_page_body .rating_toplink a, #rating_page_body .rating_toplink a:visited {
  color: #8bc400;
  text-decoration: none;
}

#rating_page_body .rating_toplink a:hover {
  color: #8bc400;
  text-decoration: underline;
}

#rating_page_body .rating_toplink_sort {
  float: right;
  font: bold 11px Arial;
  line-height: 12px;
  width: 135px;  
  color: #8bc400;
  text-align: center; 
  padding-bottom: 1px;
}

#rating_page_body .rating_toplink_sort:hover {
	/*text-decoration: underline;*/
	cursor: pointer;	
}	

#rating_page_body .rating_firms_background {
  float: left;
  height: 541px;
  width: 100%;
  margin: 0;
  background: #e0eebd;
}

#rating_page_sections_list {
  float: left;
  height: 545px;
  width: 100%;
  overflow: hidden;
  display:inline;
  position: relative;
}

#rating_page_sections_ul{
    list-style-type: none;
    padding: 0;
    margin: 0;
    top: 0px;
    float: left;
    position: absolute;
}

#rating_page_sections_list ul li {
  display: block;
  margin: 0;
  padding: 0;
  list-style-type: none;
  float: left;
}

#rating_page_sections_list ul li ul {
    list-style-type: none;
    padding: 0;
    margin: 0 0 0 10px;
    top: 0px;
    float: left;
    position: relative;
}

#rating_page_firms_list {
  float: left;
  height: 526px;
  width: 97%;
  overflow: hidden;
  display:inline;
  position: relative;
  margin: 7px 0 0 6px;
  /*background: #e0eebd;*/
}

#rating_page_firms_list .nothing {
	float: left;
	margin: 50px 0 0 105px;
	color: #81AF11;
	font: bold 16px Tahoma;
		
}	

#rating_page_firms_ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    top: 0px;
    float: left;
    position: absolute;
    width: 100%;
}

#rating_page_firms_list ul li {
  display: block;
  margin: 0 0 4px 0;
  padding: 0;
  width: 100%;
  list-style-type: none;
  float: left;
}

#rating_page_firms_list ul li a, #rating_page_firms_list ul li a:visited, #rating_page_firms_list ul li a:link {
  text-decoration: none;
  cursor: pointer;
}


.rating_page_search {
  float: left;
  width: 100%;
  height: 50px;
  background: #8bc400;
  margin-bottom: 5px;
}


#rating-page-search-form {
  float: left;
  width: 100%;
  height: 50px;
}

#rating-page-search-form #edit-name-wrapper {
  float: left;
  width: 190px;
  margin: 8px 0 0 14px;
  padding: 0;
  font: bold 14px arial;
  color: #fff;
}

*+html #rating-page-search-form #edit-name-wrapper {
	margin: 5px 0 0 7px;
	width: 185px;
}

#rating-page-search-form #edit-name2 {
 width: 190px;
 border: none;
 margin-left: 0;
 margin-right: 0;
 height: 13px; 
}

*+html #rating-page-search-form #edit-name2 {
 width: 185px;	
}

#rating-page-search-form #edit-addr-wrapper {
  float: left;
  width: 190px;
  margin: 8px 0 0 10px;
  padding: 0;
  font: bold 14px arial;
  color: #fff;
}

*+html #rating-page-search-form #edit-addr-wrapper {
	margin: 5px 0 0 10px;	
	width: 185px;
}

#rating-page-search-form #edit-addr {
 width: 190px;
 border: none;
 height: 13px;
}

*+html #rating-page-search-form #edit-addr {
 width: 185px;	
}

#rating-page-search-form #edit-phone-wrapper {
  float: left;
  width: 190px;
  margin: 8px 5px 0 10px;
  padding: 0;
  font: bold 14px arial;
  color: #fff;
}

*+html #rating-page-search-form #edit-phone-wrapper {
	margin: 5px 0 0 11px;
	width: 185px;
}

#rating-page-search-form #edit-phone {
 width: 190px;
 border: none;
 height: 13px;
}

*+html #rating-page-search-form #edit-phone {
 width: 185px;	
}

#rating-page-search-form #edit-submit {
  margin: 20px 0 0 18px;
}

*+html #rating-page-search-form #edit-submit {
  margin: 21px 0 0 28px;
}

#rating_page_body .arrows {
  margin: 0 auto;
  height: 30px;
  width: 50px;
}

*+html #rating_page_body #arr1 {
 margin: 0  0 0 170px;	 
}	

#rating_page_body .arrow_U {
  float: left;
  width: 21px;
  height: 15px;
  margin: 11px 0 0 0;
  cursor: pointer;
  background-image: url(/images/ajax_arrow1_unhover_U.png);
}

#rating_page_body .arrow_U:hover {
  background-image: url(/images/ajax_arrow1_U.png);
}

#rating_page_body .arrow_D {
  float: left;
  width: 21px;
  height: 15px;
  margin-top: 11px;
  cursor: pointer;
  background-image: url(/images/ajax_arrow1_unhover_D.png);
}

#rating_page_body .arrow_D:hover {
  background-image: url(/images/ajax_arrow1_D.png);
}

/*Форма комментариев*/
.rating_vote_form {
  float: left;
  width: 700px;
  margin-top: 10px;
}

#rating-vote-form #edit-comment {
  width: 696px;
  margin: 5px 0 10px 0;
}

#rating-vote-form .form-item {
  color: #8bc400;
  font: bold 14px Arial;
  float: left;
  margin: 0;
  padding:0;
}

#rating-vote-form .form-radios {
  float: left;
  margin: 5px 0 0 0;
  padding: 0;
}

#rating-vote-form .form-radios .form-item .option {
  float: left;
  margin: 0;
  padding: 0;
  height: 10px;
  font: bold 12px Arial;
}


#rating-vote-form .form-radios .form-item .form-radio {
  float: left;
  margin: 1px 5px;
  padding: 0;
}

*+html #rating-vote-form .form-radios .form-item .form-radio {
  margin: 0 5px;
  padding: 0;
}

#rating-vote-form .form-radios .form-item {
  float: left;
  width: 37px;
  height: 10px;
  margin: 0 10px 0 0;
  text-align: center;
  color: #999;
  font: bold 12px Arial;
}

*+html #rating-vote-form .form-radios .form-item {
	width: 41px;
	margin: 0 10px 0 0;	
}

#rating-vote-form #edit-submit {
  float: right;
  margin: 7px 0 0 0;
  padding: 0 20px;
  height: 30px;
  color: #555;
  font: bold 12px Arial;
}

*+html #rating-vote-form #edit-submit {
	padding: 0 7px;	
	margin-top: 10px; 
}

/*Комментарии*/
.rating_comments {
  float: left;
  width: 700px;
  margin-top: 25px;
  clear: left;
}

.rating_comment {
  float: left;
  width: 700px;
  margin-bottom: 30px;
}

.rating_comment .header {
  float: left;
  background: #9fc93d; /*#8bc400;*/
  width: 694px;
  height: 28px;
  border: 3px solid #9fc93d; /*#8bc400;*/
}

.rating_comment .title {
  float: left;
  background: #9fc93d; /*#8bc400;*/
  color: #fff;
  font: bold 14px Arial;
  margin: 6px 10px 0 10px;
}

.rating_comment .created {
  color: #fff;
  font: italic 12px Arial;
}

.rating_comment .vote {
  float: right;
  width: 50px;
  height: 15px;
  padding: 6px 0 7px 0;
  background: #fff;
  color: #454545;
  font: bold 15px Arial;
  text-align: center;

}


.rating_comment .comment_body {
  float: left;
  width: 660px;
  margin: 7px 0 0 5px;
  color: #555;
  font: normal 12px Arial;
}

#firm_search_submit {
	float: left;
	margin: 16px 0 0 5px;
	padding: 3px 0;
	border: solid 2px #fff;
	width: 70px;	
	background: #8bc400;
	color: #fff;
	text-align: center;
	font: bold 14px Arial;	
	cursor: pointer;
}	

*+html #firm_search_submit {
  margin: 17px 0 0 27px;	
}	

.firmpage_col {
	float: left;
	width: 350px;
	clear: left;	
}	

.firmpage_image {
	float: left;
	margin: 2px;
	width: 250px;
	height: 188px;
	border: 1px solid #bbb;	
}	

.firmpage_image_wrap {
	float: right;
	margin: 23px 0 10px 92px;
	width: 256px;
	height: 194px;
	border: 1px solid #bbb;	
}