/* В этом файле хранятся стили для сайта*/


/*--------------- Regular ---------------*/

h1 {
	font-size: 24px;
	
	padding-left: 10px;
}

.right_align {
	text-align: right;
}

div.firm:nth-child(odd){
	background: #e6e6e6;
}

/* .inf-z {
	display: none;
} */

.firm {
	padding: 0px;
	position: relative;
}
.firm .firm_image {
	margin: 10px 20px 10px 0px;
	width: 100px;
	height: 109px;
	
}
.firms_main .firm .firm_image {
	padding: 10px 10px 10px 10px;
	margin: 0;
	width: 100px;
	height: 109px;
	margin-right: 15px;
	border-right: 1px dashed #b5b5b5;
}

.firm .firm_image img{
	max-width: 100px;
	max-height: 109px;
	display: table-cell;
	vertical-align: middle;
	margin: 0 auto;
	text-align:center;
}

.firm .firm_image a {
	display: table-cell;
	vertical-align: middle;
}

.firm .firm_image_inside {
  display: block;
  width: 100%;
  height: 100%;
  width: 100px;
  height: 109px;
  background: center center no-repeat;
  background-size: 100%;
}

.firm .firm_image, .firm_body {
	display: inline-block;
	vertical-align: middle;
}

.firm .firm_image {
	vertical-align: middle;

}

.firm .firm_body .title {
	font-size: 18px;
	color: #000;
	margin-bottom: 0px;
}

.firm .firm_body .structure, .firm .firm_body .region {
	display: inline-block;
	vertical-align: bottom;
}

.firm .firm_body a {
	text-decoration: none;
	color: #000;
}

.firm .firm_body a:hover {
	color: #000;
}

.firm .firm_body .region a{
	text-decoration: underline;
}
.firm .firm_body .region a:hover{
	text-decoration: none;
}

#filter_for_firm {
	padding-bottom: 15px;
	margin-top: 20px;
}

#filter_for_firm h3 {
	font-size: 19px;
	color: #000;
	margin: 0px;
	font-family: UbuntuMI;
	padding: 0px;	
	border-left: 15px solid #ffcc1d;
	text-align: left;
	padding-left: 10px;
}

#filter_for_firm input[type="submit"] {
		display: inline-block;
		width: auto;
		padding: 10px 35px;
}

.filter_items {
	width: 100%;
	text-align:center;
	margin: 13px 0 15px 0;
}
.filter_items select {
	display: inline-block;
	width: 218px;
	font-size: 13px;
	font-family: UbuntuI;
	padding: 8px 5px;
	border: 1px solid #e2e2e2;
	background: url(../img/select_arrow_down.png) no-repeat right 12px center #fff;
	border-radius: 3px;
	margin-right: 21px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.filter_items select:first-child {
	margin-left: 0px;
}

.filter_items input {
	display: inline-block;
	width: 217px;
	font-size: 13px;
	font-family: UbuntuI;
	padding: 9px 5px;
	border: 1px solid #e2e2e2;
	border-radius: 3px;
}
.filter_items input::-webkit-input-placeholder {color:#000;}
.filter_items input:-moz-placeholder           {color:#000;}


.msg_err {
	color: #000;
	font-family: UbuntuI;
	font-size: 14px;
	margin-top: 15px;
}


.firm_inside .firm_image, .firm_inside .firm_body{
	display: inline-block;
	vertical-align: top;
}

.firm_inside .firm_image img{
	max-height: 140px;
	max-width: 140px;
}
.firm_inside .firm_image_inside{
	display:table;
	width: 150px;
	height: 150px;
	text-align: center;
	background-color: #f4f4f4;
}

.firm_inside .firm_image_inside > div{
	display: table-cell;
	margin: 0 auto;
	vertical-align: middle;
}

.firm_inside .firm_image {
	margin-right: 30px;
	width: 150px;
	/* height: 150px;
	border: 1px solid #dfdfdf; */
}

.firm_inside .firm_body {
	line-height: 24px;
	font-size: 14px;
	width: 525px;
}
.firm_inside .firm_body b{
	font-weight: normal;
	font-family: UbuntuB;
}

.firm_inside a {
	color: #58a1d4;
	/* text-decoration: none; */
}

.firm_inside .firm_body .phone span{
	font-size: 14px;
	color: #441f00;
}
.block_description {
	padding: 10px;
}
.block_products, .block_services, .block_description, .block_reviews, .block_remonts {
	margin-top: 15px;
	display: none;
}

.block_products .category , .block_services .category {
	margin: 10px 0px 5px 0px;
	font-family: Arial;
	font-size: 14px;
}

.block_products .garbage , .block_services .garbage {
	padding-left: 20px;
	font-size: 14px;
	color: #000;
}
.block_products a, .block_services a {
	color: #000;
	text-decoration: underline;
}

.navigate_firm {
	margin-top: 15px;
	padding: 9px 20px;
	background: #f3f3f3;
	border-radius: 3px;
}	

.navigate_firm ul{
	list-style: none;
	text-align: left;
}

.navigate_firm ul li{
	display: inline-block;
	padding: 7px 20px;
	font-size: 15px;
	cursor: pointer;
}

.navigate_firm ul li.active{
	font-size: 15px;
	cursor: default;
	background: #f7c323;
	border-radius: 3px;
}

.block_description {
	font-size: 14px;
}

.visible {
	display: block !important;
}

.services_list table {
	width: 100%;
}

.services_list td, th {
	border: 1px solid #fff;
}
.services_list table th, .services_list table td.category {
	text-align: left;
	font-size: 14px;
}

.services_list table td.category a{
	padding: 0px;
	color: #fff;
}
.services_list table td {
	font-size: 13px;
	text-align: center;
	padding: 0px;
}
.services_list table td:first-child { text-align: left; }

.services_list table th {
	background: #ffcc1d;
	font-weight: normal;
	color: #000;
	font-family: Ubuntu;
	font-size: 15px;
	padding: 15px 20px;
	text-align: center;
}
.services_list table th:first-child { text-align: left; }


.services_list table td.category {
	color: #fff;
	background: #797979;
}

.services_list table td.category a{
	padding: 10px 20px;
	display: inline-block;
	vertical-align: middle;
}

.services_list table td.category .category_product_img{
	background: center center no-repeat;
	display: inline-block;
	width: 69px;
	height: 60px;
	border-radius: 5px;
	border: 2px solid #b4b4b4;
	vertical-align: middle;
	margin: 10px 0px 10px 10px;
	background-size: 100% 100%;
}





.services_list table td {
	background: #efefef;
	border: 1px solid #fff;
	font-size: 13px;
	vertical-align: middle;
	line-height: 16px;
}
.services_list table td a{
	display:inline-block;
	color: #3873cb;
	text-decoration: underline;
	padding: 12px 10px;
	vertical-align: middle;
	max-width: 340px;
}

.product_min_max_price {
  display: inline-block;
  padding: 8px 15px;
  background: #fff;
  border-radius: 3px;
  border: 1px solid #d8d8d8;
  font-family: UbuntuMI;
  color: #fa126f;
  width: 85%;
  box-sizing: border-box;
}

.services_list table td .goods_list_img{
	background: center center no-repeat;
	display: inline-block;
	width: 58px;
	height: 58px;
	border-radius: 2px;
	vertical-align: middle;
	margin: 8px 0px 8px 8px;
	background-size: 100% 100%;
}

.service_descr {
	font-size: 14px;
	margin-top: 10px;
	line-height: 20px;
}
.service_descr img:first-child {
	max-width: 150px;
	max-height: 150px;
	float: left;
	margin-right: 30px;
	margin-bottom: 10px;
	border-radius: 5px;
}

.firms_list {
	margin: 20px 0px;
}

.firms_list td, th {
	border: 1px solid #fff;
}
/* .firms_list table th, .firms_list table td.category{
	text-align: left;
	font-size: 14px;
	padding: 8px 10px;
} */
/* 
.firms_list table td {
	font-size: 12px;
	text-align: left;
	padding: 0px;
} */
/* 
.firms_list table th {
	background: #cea76d;
	background: #441f00;
	color: #fff;
}
.firms_list table td.category {
	color: #fff;
	background: #9D9D9D;
	background: #cea76d;
}*/
.firms_list table td {
	background: #eeeeee;
} 
.firms_list table td a{
	display:block;
	color: #000;
	text-decoration: none;
	padding: 12px 20px;
	font-size: 15px;
}
.firms_list table td:first-child a{
	color: #58a1d4;
	text-decoration: underline;
}

.comment_block h3{
	font-size: 24px;
	
	color: #441f00;
	margin-bottom: 0px;
	padding: 0px;
}

.non_active_rating{
	width: 17px;
	height: 17px;
	display: inline-block;
	background: url(../img/non_active_rating_mini.png) center center no-repeat;
	vertical-align: middle;
}

.comment .comment_rew {
	display: inline-block;
	vertical-align: middle;
}

.active_rating{
	width: 17px;
	height: 17px;
	display: inline-block;
	background: url(../img/active_rating_mini.png) center center no-repeat;
	vertical-align: middle;
}

.comment {
	margin: 10px 0;
	font-size: 16px;
	border: 1px solid #dfdfdf;
	border-radius: 3px;
	margin-top: 10px;
	box-shadow: 0px 1px 10px 0px rgba(0,0,0,0.2);
	background: #fff;
	position: relative;
}

.comment_body {
	margin-top: 25px;
	font-size: 15px;	
}

.comment .comment_author_img {
	display: inline-block;
	vertical-align: top;
	margin-right: 25px;
}
.comment .comment_author_img img{
	border-radius: 5px;
}

.comment .comment_author_name {
	color: #005ffc;
	text-decoration: underline;
}

.comment .comment_author {
	display: inline-block;
	vertical-align: top;
	line-height: 20px;
}


.comment .comment_body .date {
	color: #777;
	margin-top: 30px;
}
.comment .comment_header {
	font-family: Trebuchet MS;
}

.comment .comment_rating {
	position: absolute;
	top: 15px;
	right: 20px;
}


.rating_info {
	margin: 0px 0px;
}
.rating_info .rating_text{
	font-size: 12px;
	margin-left: 5px;
	display: inline-block;
	vertical-align: middle;
}

.rating_main_line {
	margin: 0 auto;
	background: url(../img/rating_0.png) 0px 1px no-repeat;
	display: inline-block;
	vertical-align: middle;
}

.rating_line {
	background: url(../img/rating_100.png) 0 0 no-repeat;
	vertical-align: top;
}

.rating_main_line, .rating_line {
	width: 72px;
	height: 13px;
}

.remont_form {
	font-size: 14px;
}

.remont_form h2{
	margin: 10px 0px 5px 0px;
	font-family: Arial;
	font-size: 14px;
	font-weight: bold;
	background: none;
	padding: 0px;
	text-transform: none;
}

.remont_form .remont_description {
	padding-left: 20px;
}

.top-menu li a {
	
}

#sidebar_comments {
	margin-bottom: 20px;
}

.sidebar_comments {
	padding: 10px 5px 10px;
	border-bottom: 1px solid #dddddd;
	margin: 0;
}

.sidebar_comments .date {
	font-size: 13px;
	color: #888;
	padding-left: 16px;
	background: url(../img/review_icon.png) left center no-repeat;
}

.sidebar_comments .name a{
	color: #005ffc;
}

.sidebar_comments .name {
	font-size: 16px;
	margin: 0px auto 3px;
	padding: 5px 0;
}

.sidebar_comments .content {
	font-size: 16px;
	font-family: UbuntuLI;
}

.sidebar_comments .comment_rew {
	font-size: 14px;
	margin-top: 5px;
	color: #a1a1a1;
}

.null_brand a, .null_brand  {
	color: #898989 !important;
	text-decoration: none !important;
}


#map_firms h3 {
	font-size: 18px;
	
	color: #000;
	margin: 5px 0px;
	padding: 0px;
}

#map_firms #map {
	border: 1px solid #dfdfdf;
	height: 400px;
}

#front_firms{
	width: 960px;
	padding: 0px 10px;
	/* margin: 30px auto; */
	text-align: center;
	margin-bottom: 40px;
	position: relative;
}

#front_firms .firm {
	padding: 0;
	display: inline-block;
	vertical-align: top;
	width: 109px;
	border: 1px solid #dbdbdb;
	border-radius: 3px;
	height: 174px;
	margin: 0 5px;
	box-shadow: 5px 5px 5px -2px rgba(0,0,0,0.05);
	position: relative;
}

#front_firms .firm_list {
	white-space: nowrap;
	overflow: hidden;
	width: 726px;
	margin: 0 auto;
	padding-bottom: 5px;
}

#front_firms .firm .firm_image {
	margin: 0;
	margin-top: 4px;
	border-radius: 3px;
    overflow: hidden;
}

#front_firms .firm a{
	display: block;
    height: 100%;
	font-family: UbuntuB;
}

#front_firms .firm .firm_image_inside {
  display: block;
  position: relative;
	background: center center no-repeat;
	background-size: 100%;
}

#front_firms .firm .firm_image_inside img{
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
}

#front_firms .firm .post-ratings {
	position: absolute;
	bottom: 34px;
}
.slider_count_review {
	position: absolute;
	bottom: 10px;
	margin: auto;
    right: 0;
    left: 0;
	color: #737373;
	font-family: UbuntuB;
	height: 18px;
	padding: 0px 12px;
}

.slider_count_review > div {
	display: inline-block;
	font-family: UbuntuB;
	margin: 0 6px;
}

.slider_count_review > div.count {
	padding-left: 20px;
	background: url(../img/count_comment.png) 0px center no-repeat;
}

.all_firm_link {
  bottom: 0;
  text-align: right;
  width: 700px;
  margin: 0 auto;
  margin-top: -20px;
}
.all_firm_link a { color: #005ffc; font-size: 14px; }

.firms_count {
	text-align: right;
    margin: 15px 0 5px;
	font-family: UbuntuL;
	font-size: 16px;
}
.firms_count span {
	font-size: 20px;
	font-family: UbuntuB;
}

.firms_main .firm_body {
	font-size: 14px;
	line-height: 21px;
	vertical-align: top;
	padding-top: 10px;
}
.firms_main .firm_body b{
	font-family: UbuntuB;
	font-weight: normal;
}

.firms_main .firm:nth-child(odd) .firm_image {
	background: #f0f0f0;
}

.firms_main .slider_count_review{
	text-align: right;
	height: auto;
	left: auto;
	display: inline-block;
	right: 0;
	
}

.firms_main .slider_count_review > div.count {
	margin: 0;
	padding: 4px 6px 4px 26px;
	background: url(../img/count_comment.png) 6px center no-repeat #efefef;
	border: 1px solid #bcbcbc;
	border-radius: 2px;
}
.firms_main .slider_count_review > div.rating {
	margin: 0;
	padding: 4px 6px 4px 6px;
	background: #efefef;
	border: 1px solid #bcbcbc;
	margin-right: -1px;
	border-radius: 2px;
}

.firms_main .firm:nth-child(even) .slider_count_review > div.count {
	background: url(../img/count_comment.png) 6px center no-repeat #fff;
}
.firms_main .firm:nth-child(even) .slider_count_review > div.rating {
	background: #fff;
}


/* Стили кастомового блока с отзывами */
#comment_form {
	margin-top: 10px;
	width: 100%;
}

#comment_form h3{
	font-size: 24px;
	color: #441f00;
	margin-bottom: 0px;
	padding: 0px;
}

#comment_form input[type="text"], #comment_form input[type="email"], #comment_form textarea{
	resize: none;
	margin: 5px 0px;
	border-radius: 3px;
	padding: 8px 8px 8px 40px;
	font-size: 14px;
	width: 223px;
	box-sizing: border-box;
	border: 1px solid #dbdbdb;
	margin-right: 7px;
}

#comment_form textarea{
	width: 100%;
	height: 138px;
	border: 1px solid #dbdbdb;
	box-sizing: border-box;
	margin-top: 0;
	padding-left: 14px;
	background: #f5f5f5;
}
#comment_form textarea:focus { background: #fff; }

#comment_form input:-moz-placeholder { color: #000; font-family: UbuntuI; }
#comment_form input::-webkit-input-placeholder { color: #000; font-family: UbuntuI; }
#comment_form textarea:-moz-placeholder { color: #000; }
#comment_form textarea::-webkit-input-placeholder { color: #000; }


#comment_form input[type="submit"] {
	padding: 20px 0;
	box-sizing: border-box;
}

.rating_review input{
	display: none;
}

.rating_review label.non_active_rating{
	width: 26px;
	height: 25px;
	display: table-cell;
	background: url(../img/non_active_rating2.png) center center no-repeat;
	padding: 0 2px;
}

.rating_review label.active_rating{
	width: 26px;
	height: 25px;
	display: table-cell;
	background: url(../img/active_rating2.png) center center no-repeat;
	padding: 0 2px;
}

.rating_review label.active_rating_hover{
	width: 26px;
	height: 25px;
	display: table-cell;
	background: url(../img/active_rating2.png) center center no-repeat;
	padding: 0 2px;
}

.rating_review, .rating_title{
	display: inline-block;
	vertical-align: middle;
}

.rating_title{
	margin-left: 15px;
	font-family: UbuntuI;
	font-size: 13px;
	margin-right: 5px;
}

.review_wrapper {
	padding: 10px;
	border: 1px solid #dfdfdf;
	border-radius: 3px;
	margin-top: 10px;
	box-shadow: 0px 1px 10px 0px rgba(0,0,0,0.2);
	margin-bottom: 30px;
}

/* Конец стилей кастомового блока с отзывами */

.firm_rating {
	position: absolute;
	right: 20px;
	top: 24px;
	height: 28px;
}

.firm_rating .slider_count_review {
	font-size: 15px;
	bottom: auto;
}

.firm_rating .post-ratings {
	display: inline-block;
	vertical-align: middle;
	width: 80px;
}

.firm_rating .slider_count_review {
	display: inline-block;
	vertical-align: middle;
	position: relative;
	height: 27px;
}
.firm_rating .post-ratings .rating_info {
	height: 13px;
	display: block;
	margin: 0 !important;
}
.firm_rating .post-ratings .rating_info .rating_main_line {
	display: block;
}

.firm_rating .slider_count_review > div.rating {
  margin: 0;
  padding: 4px 6px 4px 6px;
  background: #efefef;
  border: 1px solid #bcbcbc;
  margin-right: -1px;
  border-radius: 2px;
}

.firm_rating .slider_count_review > div.count {
  margin: 0;
  padding: 4px 6px 4px 26px;
  background: url(../img/count_comment.png) 6px center no-repeat #efefef;
  border: 1px solid #bcbcbc;
  border-radius: 2px;
}

.firm_inside .firm_image {
	height: auto;
}





/* .answer {
	margin: 10px 0;
	font-size: 16px;
	border: 1px solid #dfdfdf;
	border-radius: 3px;
	margin-top: 10px;
	box-shadow: 0px 1px 10px 0px rgba(0,0,0,0.2);
	background: #fff;
	position: relative;
} */

.answer_body {
	margin-top: 25px;
	font-size: 15px;	
}

.answer_author_img {
	display: inline-block;
	vertical-align: top;
	margin-right: 25px;
}
.answer_author_img img{
	border-radius: 5px;
}

.answer_author_name {
	color: #005ffc;
	text-decoration: underline;
}

.answer_author {
	display: inline-block;
	vertical-align: top;
	line-height: 20px;
}

.answer_header {
	margin-top: 20px;
	font-size: 16px;
	margin-bottom: 50px
}

.answer_header a{
	color: #005ffc;
	text-decoration: underline;
}

.category_goods {
	display: inline-block;
	background: center center no-repeat;
	vertical-align: top;
	margin: 7px 10px 80px;
	width: 222px;
	height: 170px;
	border-radius: 3px;
	border: 1px solid #ececec;
	position: relative;
}

.category_goods > div{
	position: absolute;
	margin: auto;
    bottom: -40px;
	text-align: center;
	width: 180px;
	height: 30px;
	left: 0;
	right: 0;
}

.category_goods_link {
	font-size: 13px;
	color: #3873cb;
	font-family: UbuntuL;
}

.category_goods .cat_name {
	text-decoration: underline;
}

.category_goods .count_cat {
	color: #000;
}

.service_list_inside > a:nth-child(3n) > div {
	margin-right: 0;
}

.service_list_inside {
	width: 740px;
	margin-left: -8px;
}

/* Стили регистрации фирмы */

#reg_firm input[type="text"],
#reg_firm input[type="password"],
#reg_firm input[type="email"],
#reg_firm select{
	resize: none;
	margin: 5px 0px;
	border-radius: 3px;
	padding: 8px 8px 8px 8px;
	font-size: 14px;
	width: 400px;
	box-sizing: border-box;
	border: 1px solid #dbdbdb;
	margin-right: 7px;
}

#reg_firm .reg_unit{
	margin-bottom: 10px;
}

#reg_firm label span{
	display: inline-block;
	width: 180px;
}

#reg_firm input[type="email"] {
	padding: 8px 8px 9px;
	box-sizing: border-box;
}
  
.confirm_answer, .error_answer {
	margin-bottom: 20px; 
	font-weight: normal;
	font-family: UbuntuM;
}
























