@charset "utf-8";

.main #workarea .discount h1 {
	color: #000;
}

.main #workarea .discount .head.margin {
	margin: 0px 0px 20px;
}

.main #workarea .discount .text {
	position: relative;
	width: auto;
	height: auto;
	margin: 0px 0px 10px;
	padding: 0px 10px 10px;
}

.discount .goods_sort {
	width: 100%;
}

.main_company .search_in_catalog {
	width: 680px !important;
	float: none !important;
	margin: 0px auto;
}

.main_company .search_in_catalog .content {
	width: 680px !important;
	height: 60px !important;
}

.main_company .search_in_catalog .content input {
	/*width: 588px !important;
		height: 26px !important;
		margin: 10px 5px !important;*/
	font-size: 14px !important;
}

.main_company .search_in_catalog .button_advanced_seach {
	right: 10px !important;
	top: 70px !important;
	bottom: inherit !important;
	color: #f17e00 !important;
	background-image: url(/bitrix/templates/info-torg/images/icon_search_red.png) !important;
}

.main_company .search .tab {
	position: relative;
	width: auto;
	height: 34px;
	padding: 0px 20px;
	float: left;
	line-height: 34px;
	color: #373737;
	cursor: pointer;
}

.main_company .search .tab span {
	border-bottom: 1px dotted #373737;
}

.main_company .search .tab:hover span {
	color: #f17e00;
	border-bottom: 1px dotted #f17e00;
}

.main_company .search .active {
	background: url(/bitrix/templates/info-torg/images/bg_search_tab_active.jpg) left top repeat-x;
	border-radius: 5px 5px 0px 0px;
}

.main_company .search .active span {
	border-bottom: none;
	color: #fff !important;
}

.main_company .search .add_company {
	display: block;
	position: relative;
	width: auto;
	height: 34px;
	margin: 0px 20px 0px 10px;
	padding: 0px 0px 0px 23px;
	float: left;
	line-height: 34px;
	color: #f17e00;
	font-weight: bold;
	background: url(/bitrix/templates/info-torg/images/icon_add_company.png) 0px 8px no-repeat;
}

.main_company .search .content {
	position: relative;
	width: 600px;
	height: 94px;
	background: url(/bitrix/templates/info-torg/images/bg_search.jpg) left top repeat-x;
	border-radius: 0px 5px 5px 5px;
}

.main_company .search .content input {
	width: 470px;
	height: 20px;
	margin: 10px 20px;
	padding: 5px;
	font-size: 24px;
	color: #999;
	border: 1px solid #ccc;
	border-radius: 3px;
}

.main_company .search .content #search_button {
	position: absolute;
	width: 97px;
	height: 36px;
	top: 11px;
	right: 30px;
	background: url(/bitrix/templates/info-torg/images/button_search.png) left top no-repeat;
	cursor: pointer;
}

.main_company .search .content select {
	width: 270px;
	margin: 10px 20px 0px;
	font-size: 16px;
	color: #373737;
	border: 1px solid #ccc;
}

.main_company .search .content .button_advanced_seach {
	position: absolute;
	width: auto;
	height: 17px;
	bottom: 15px;
	right: 20px;
	padding: 0px 0px 0px 21px;
	background: url(/bitrix/templates/info-torg/images/icon_search.png) left top no-repeat;
	color: #fff;
	text-decoration: underline;
	font-weight: bold;
	cursor: pointer;
}

#search_query {
	height: 24px;
	line-height: 24px;
	width: 584px;
	margin-top: 11px;
}

.search_only_company {
	position: absolute;
	right: 10px;
	top: 3px;
}

@media screen and (min-width: 481px) and (max-width: 767px) {
	.main_company .search_in_catalog {
		width: 95% !important;
	}

	.main_company .search_in_catalog .content {
		width: 95% !important;
	}

	.main_company .search .content {
		width: 95%;
	}

	.main_company .search .content input {
		width: 60%;
	}

	#search_query {
		width: 60%;
	}

	.search_only_company {
		position: absolute;
		right: 10px;
		top: 3px;
	}
}

@media screen and (min-width: 320px) and (max-width: 480px) {
	.main_company .search_in_catalog {
		width: 95% !important;
		margin-top: 50px;
	}

	.main_company .search_in_catalog .content {
		width: 95% !important;
	}

	.main_company .search .content {
		width: 95%;
	}

	.main_company .search .content input {
		width: 60%;
	}

	#search_query {
		width: 60%;
	}

	.search_only_company {
		position: absolute;
		left: 10px;
		top: -30px;
	}
}

.page_sel {
	position: relative;
	text-align: center;
	color: #000;
}

.discount .goods_sort {
	position: relative;
	width: 650px;
	height: 31px;
	margin: 30px 0px;
	padding: 10px 15px;
	background: #f1f1f1;
	border-radius: 5px;
}

.discount .goods_sort a {
	display: block;
	position: relative;
	width: auto;
	height: 29px;
	margin: 0px 5px;
	padding: 0px 10px 0px 25px;
	float: left;
	background: url(/bitrix/templates/info-torg/images/bg_goods_sort_button.jpg) left top repeat-x;
	border: 1px solid #ccc;
	border-radius: 3px;
	line-height: 29px;
	color: #494a4b;
	text-decoration: none;
}

.discount .goods_sort span {
	display: block;
	position: absolute;
	width: 15px;
	height: 16px;
	left: 5px;
	top: 7px;
}

.discount .goods_sort .cheaper span {
	background: url(/bitrix/templates/info-torg/images/icon_cheap.png) 0px 0px no-repeat;
}

.discount .goods_sort .more span {
	background: url(/bitrix/templates/info-torg/images/icon_more.png) 0px 0px no-repeat;
}

.discount .goods_sort .photo span {
	background: url(/bitrix/templates/info-torg/images/icon_photo_grey.png) 0px 0px no-repeat;
}

.discount .goods_sort .reset span {
	background: url(/bitrix/templates/info-torg/images/icon_reset.png) 0px 0px no-repeat;
}

.discount .goods_sort .cheaper b {
	font-weight: normal;
}

.discount .goods_sort .more b {
	font-weight: normal;
}

.discount .goods_sort .photo b {
	font-weight: normal;
}

.discount .goods_sort .reset b {
	font-weight: normal;
}

.discount .goods_sort a:hover {
	background: #fff;
}

.discount .goods_sort a:hover span, .main .goods_sort .active span {
	background-position: -15px 0px;
}

.discount .goods_sort .reset {
	position: absolute !important;
	right: 15px !important;
	margin: 0px !important;
	background: none !important;
	border: none !important;
	color: #f17e00 !important;
}

.discount .goods_sort .active {
	background: url(/bitrix/templates/info-torg/images/bg_goods_sort_button_active.jpg) left top repeat-x;
}

@media screen and (min-width: 481px) and (max-width: 767px) {
	.discount .goods_sort {
		width: 100%;
	}
}

@media screen and (min-width: 320px) and (max-width: 480px) {
	.discount .goods_sort {
		width: 100%;
		height: auto;
	}

	.discount .goods_sort .cheaper b {}

	.discount .goods_sort .more b {}

	.discount .goods_sort .photo b {}

	.discount .goods_sort .reset b {}

	.discount .goods_sort .reset {
		position: relative !important;
		right: unset !important;
	}
}