/*
* Override this file if you want to keep custom styles after module upgrade
*/
.selectedFilters a {
	padding: 6px 7px 0 0;
}
.af-selected-filters-block {
	display: block;
	width: 100%;
	text-align: right;
	position: relative;
	margin-top: 10px;
	padding-right: 20px;
}
.af-selected-filters-block.original {
	margin-top: 0;
	margin-bottom: 20px;
}
.af-selected-filters-block .cf{
	display: inline-block;
	max-width: max-content;
	margin-left: 10px;
}
.af-selected-filters-block .cf a{
	margin-left: 5px;
}
#amazzing_filter .af_filter.type-1 .count {
	display: none;
}
#amazzing_filter form {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
}
/*#index #amazzing_filter form {*/
/*	gap: 17px;*/
/*}*/
#index #amazzing_filter form {
	align-items: flex-end;
}

.af-home-form .hidden_inputs {
	display: none;
}
.af-home-form .af_filter, .af-filter-original .af_filter{
	min-width: 105px;
	max-width: 105px;
}
.af-home-form .af_subtitle:before {
	display: none;
}
.af-home-form .af_filter, .af_filter.type-3.closed {
	margin-top: 0;
	border-bottom: 0px solid #DADADA;
	padding-top: 0;
}
.af-home-form .af_filter, .af_filter.type-1 {
	overflow: hidden;
}
.af-home-form-btn {
	background: #ff4539;
	color: #fff;
	text-transform: none;
	font-weight: normal;
	font-size: 14px;
	-webkit-transition-duration: 500ms;
	transition-duration: 500ms;
	border: none;
	padding: 2.5px 10px;
	white-space: nowrap;
}
#index .af-home-form-btn {
	margin-bottom: 13px;
}
.af-clear-form-btn {
	background: #ff4539;
	color: #fff;
	text-transform: none;
	font-weight: normal;
	font-size: 14px;
	-webkit-transition-duration: 500ms;
	transition-duration: 500ms;
	border: none;
	padding: 2.5px 10px;
	margin-bottom: 0;
}
#index .af-clear-form-btn {
	margin-bottom: 13px;
}
#category.category-139 .af-home-form-btn {
	margin-left: 30px;
}
#index .af-home-form-btn {
	margin-left: 0;
}
#index .bootstrap-select .dropdown-menu.open {
	min-width: 250px !important;
}
#category .bootstrap-select .dropdown-menu.open {
	min-width: 250px !important;
}
#search .bootstrap-select .dropdown-menu.open {
	min-width: 250px !important;
}
#category .bootstrap-select .dropdown-menu.open .dropdown-menu.inner li a{
	display: flex;
	justify-content: space-between;
	color: #49565a;
}
#index .bootstrap-select .dropdown-menu.open .dropdown-menu.inner li a{
	display: flex;
	justify-content: space-between;
	color: #49565a;
}
#search .bootstrap-select .dropdown-menu.open .dropdown-menu.inner li a{
	display: flex;
	justify-content: space-between;
	color: #49565a;
}
#category.category-141 .af-home-form-btn {
	margin-left: 30px;
}
#category.category-138 .af-home-form-btn {
	margin-left: 0;
}
#category.category-142 .af-home-form-btn {
	margin-left: 10px;
}
#category.category-143 .af-home-form-btn {
	margin-left: 10px;
}
#category.category-144 .af-home-form-btn {
	margin-left: 30px;
}
#category.category-410 .af-home-form-btn {
	margin-left: 30px;
}
#category.category-411 .af-home-form-btn {
	margin-left: 30px;
}
#category.category-140 .af-home-form-btn {
	margin-left: 0;
	white-space: nowrap;
}
.af-home-form-btn:hover {
	color: #ecebeb;
}
.af-home-form-btn:active {
	color: #fff;
}
.af-home-form-btn:focus {
	color: #fff;
}
.af-home-form-btn a:hover {
	color: #ecebeb;
}
.af-home-form-btn a:active {
	color: #fff;
}
.af-home-form-btn a:focus {
	color: #fff;
}

#index #amazzing_filter {
	background: #f2f2f2;
	padding-top: 10px;
	padding-bottom: 20px;
	padding-left: 20px;
	padding-right: 20px;
	border-bottom: 1px solid #49565a;
}
.clearAll {
	min-width: 115px;
	cursor: pointer;
}
#select_purpose{
	padding: 1px 10px 0 5px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background: url(../../../../themes/IC201510/img/rsz_select_down.png) no-repeat right center white;
	background-origin: content-box;
	border: 1px solid #919191;
	display: inline-block;
	position: relative;
	/*height: 26px;*/
	border-radius: 0;
}
#select_purpose:focus, #select_purpose:focus{
	outline: none;
}
.af-button-container {
	padding-top: 20px;
	background: #f2f2f2;
	border-top: 1px solid #49565a;
}
.af-button-container .sf-menu{
	border-bottom: 0;
}

#af_form .af-search-button-container {
	display: flex;
	margin-left: auto;
	margin-top: 12px;
	margin-bottom: 0;
	padding: 0;
}
/* -- END AF search page -- */
/* -- AF category pages -- */
#amazzing_filter .block_content {
	width: 100%;
	background: #f2f2f2;
	border: 1px solid #49565a;
	flex-wrap: wrap;
}
#index #amazzing_filter .block_content {
	border: 0px solid #49565a;
}
#category.category-140 #amazzing_filter #af_form {
	width: 100%;
	/*margin-left: 60px;*/
}

#category.category-143 #af_form .f3 .af_filter_content ul{
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	grid-template-rows: repeat(5, 1fr);
	grid-column-gap: 10px;
	grid-row-gap: 0px;
}
#category.category-143 #af_form .f3 .af_filter_content ul li:nth-child(1){
	grid-area: 1 / 1 / 2 / 2;
}
#category.category-143 #af_form .f3 .af_filter_content ul li:nth-child(2){
	grid-area: 2 / 1 / 3 / 2;
}
#category.category-143 #af_form .f3 .af_filter_content ul li:nth-child(3){
	grid-area: 2 / 2 / 3 / 3;
}
#category.category-143 #af_form .f3 .af_filter_content ul li label{
	display: inline-flex;
}
#index #af_form .f3 .af_filter_content ul{
	display: flex;
	flex-wrap: wrap;
	max-height: 70px;
	/*min-width: 200px;*/
}
#search #af_form .f3 .af_filter_content ul{
	display: flex;
	flex-wrap: wrap;
	max-height: 80px;
	height: 80px;
	align-items: center;
	/*min-width: 200px;*/
}
#index #af_form .f3 .af_filter_content ul li{
	margin-right: 10px;
}
#search #af_form .f3 .af_filter_content ul li{
	margin-right: 10px;
}
#index #af_form .f3{
	max-height: 60px;
	min-width: 200px;
}
#search #af_form .f3{
	max-height: 60px;
	min-width: 200px;
}
#index #af_form .f3 .af_filter_content ul li label{
	display: inline-flex;
}
#search #af_form .f3 .af_filter_content ul li label{
	display: inline-flex;
}
/**/
#category.category-142 #af_form .f3 {
	margin-left: 30px;
	min-width: 230px;
	max-width: 230px;
}
#category.category-142 #af_form .f3 .af_filter_content ul{
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	grid-template-rows: repeat(5, 1fr);
	grid-column-gap: 10px;
	grid-row-gap: 0px;
}
#category.category-142 #af_form .f3 .af_filter_content ul li:nth-child(1){
	grid-area: 1 / 1 / 2 / 2;
}
#category.category-142 #af_form .f3 .af_filter_content ul li:nth-child(2){
	grid-area: 2 / 1 / 3 / 2;
}
#category.category-142 #af_form .f3 .af_filter_content ul li:nth-child(3){
	grid-area: 2 / 2 / 3 / 3;
}
#category.category-142 #af_form .f3 .af_filter_content ul li label{
	display: inline-flex;
}
#category #amazzing_filter .viewFilteredProducts {
	/*line-height: 48px;*/
}
#category #af_form .bootstrap-select .dropdown-toggle {
	padding-left: 8px;
	padding-right: 25px;
}
#af_form .bootstrap-select .dropdown-toggle {
	border: 1px solid #919191;
}
#category #af_form .af_filter.f3 {
	margin-left: 0;
	max-width: max-content;
}
#category #af_form .af_filter.f3 .af_filter_content{
	max-height: 72px;
	overflow: hidden;
	display: inline-block;
}

#af_form > div.af_filter.f6.clearfix.type-3 > div.af_filter_content > div.btn-group.bootstrap-select.form-control.form-control-select > button > span.filter-option.pull-left > span:nth-child(2) {
	display:none;
}
#af_form > div.af_filter.f26.clearfix.type-3 > div.af_filter_content > div.btn-group.bootstrap-select.form-control.form-control-select > button > span.filter-option.pull-left > span:nth-child(2) {
	display: none;
}
#af_form > div.af_filter.f4.clearfix.type-3 > div.af_filter_content > div.btn-group.bootstrap-select.form-control.form-control-select > button > span.filter-option.pull-left > span:nth-child(2) {
	display:none;
}
#af_form > div.af_filter.m.clearfix.type-3 > div.af_filter_content > div.btn-group.bootstrap-select.form-control.form-control-select > button > span.filter-option.pull-left > span:nth-child(2) {
	display: none;
}
#af_form > div.af_filter.f17.clearfix.type-3 > div.af_filter_content > div.btn-group.bootstrap-select.form-control.form-control-select > button > span.filter-option.pull-left > span:nth-child(2) {
	display: none;
}
#af_form > div.af_filter.f3.clearfix.type-1 > div.af_subtitle_heading > h5 {
	display: none;
}
#af_form > div.af_filter.c.clearfix.type-3.folderable > div.af_filter_content > div.btn-group.bootstrap-select.form-control.form-control-select > button > span.filter-option.pull-left > span:nth-child(2) {
	display: none;
}
/* -- END AF category pages -- */

/*#index .selectedFilters {*/
/*	position: absolute;*/
/*	top: 148px;*/
/*	right: 0;*/
/*	z-index: 9999;*/
/*}*/
#amazzing_filter .title_block {
	display: none;
}
#amazzing_filter .af_subtitle:before {
	display: none;
}
#amazzing_filter .af_filter, .af_filter {
	border-bottom: 0;
}
button.af-home-form-btn {
	/*line-height: normal;*/
	white-space: nowrap;
}
button.af-home-form-btn i{
	padding-left: 4px;
}
a.af-home-form-btn i{
	padding-left: 4px;
}
.horizontal-layout .selectedFilters {
	max-width: max-content;
	position: relative;
	display: flex;
	padding: 0;
	margin-top: 12px;
}
#category.category-138 .page-heading.product-listing {
	margin-top: 15px;
}
.af-submit-button {
	margin-left: auto;
}
@media (max-width: 1200px) {
	button.af-home-form-btn {
		/*line-height: normal;*/
		white-space: nowrap;
	}
	#amazzing_filter form {
		display: flex;
		justify-content: flex-end;
		align-items: flex-end;
		flex-wrap: wrap;
		gap: unset;
	}
	#search #amazzing_filter form {
		gap: unset;
	}
	.af-button-container {
		min-height: 80px;
		margin-top: 0;
	}
	.columns-container {
		padding-top: 0;
	}
	.af-home-form {
		flex-wrap: wrap;
		justify-content: flex-end;
	}
	#index #amazzing_filter {
		padding-left: 25px;
		padding-right: 25px;
	}
	.af-home-form .af_filter.c {
		min-width: 100%;
		max-width: 100%;
	}
	.af-home-form .af_filter.m {
		min-width: 100%;
		max-width: 100%;
	}
	.af-home-form .af_filter.f17 {
		min-width: 100%;
		max-width: 100%;
	}
	.af-home-form .f4 {
		margin-left: 0;
		margin-right: 10px;
		min-width: calc((100% - 20px) / 3);
		max-width: calc((100% - 20px) / 3);
	}
	.af-home-form .f6 {
		margin-right: 0;
		min-width: calc((100% - 20px) / 3);
		max-width: calc((100% - 20px) / 3);
	}
	.af-home-form .f26 {
		margin-right: 10px;
		min-width: calc((100% - 20px) / 3);
		max-width: calc((100% - 20px) / 3);
	}

	#search #amazzing_filter .block_content {
		display: block;
	}
	#search #amazzing_filter #af_form {
		width: 100%;
		margin-left: 0;
	}
	#search #af_form .af_filter.c {
		margin-left: 0;
		min-width: 100%;
	}
	#search #af_form .af_filter.m {
		margin-left: 0;
		min-width: 100%;
	}
	#search #af_form .af_filter.f2 {
		/*margin-left: 0;*/
		/*min-width: calc((100% - 10px) / 2);*/
		/*max-width: calc((100% - 10px) / 2);*/
		/*margin-right: 10px;*/
		min-width: 100%;
	}
	#search #af_form .af_filter.f17 {
		/*margin-left: 0;*/
		/*min-width: calc((100% - 10px) / 2);*/
		/*max-width: calc((100% - 10px) / 2);*/
		min-width: 100%;
	}
	#search #af_form .af_filter.f3 {
		min-width: 100%;
	}
	#search #af_form .f4 {
		margin-left: 0;
		margin-right: 10px;
		min-width: calc((100% - 20px) / 3);
	}
	#search #af_form .f6 {
		margin-right: 0;
		min-width: calc((100% - 20px) / 3);
	}
	#search #af_form .f26 {
		margin-left: 0;
		margin-right: 10px;
		min-width: calc((100% - 20px) / 3);
	}
	#manufacturer #amazzing_filter .block_content {
		display: block;
	}
	#manufacturer #amazzing_filter #af_form {
		width: 100%;
		margin-left: 0;
	}
	#manufacturer #af_form .af_filter.c {
		margin-left: 0;
		min-width: 100%;
	}
	#manufacturer #af_form .af_filter.m {
		margin-left: 0;
		min-width: 100%;
	}
	#manufacturer #af_form .f4 {
		margin-left: 0;
		margin-right: 10px;
		min-width: calc((100% - 20px) / 3);
	}
	#manufacturer #af_form .f6 {
		margin-right: 0;
		min-width: calc((100% - 20px) / 3);
	}
	#manufacturer #af_form .f26 {
		margin-right: 10px;
		min-width: calc((100% - 20px) / 3);
	}
	#amazzing_filter {
		background: #f2f2f2;
		padding: 20px 10px;
	}
	#category.category-140 #amazzing_filter #af_form {
		margin-left: 0;
	}
	#category #af_form .af_filter.f3 {
		min-width: 100%;
		max-width: 100%;
		float: left;
		width: 100%;
		border: 0;
		height: auto;
		overflow-y: auto;
	}
	#category #af_form .af_filter.f3 .af_filter_content ul {
		display: inline-flex;
		gap: 10px;
	}
	#index #af_form .af_filter.f3 {
		min-width: 100%;
		max-width: 100%;
		float: left;
		width: 100%;
		border: 0;
		height: auto;
		overflow-y: auto;
	}
	#index #af_form .af_filter.f3 .af_filter_content ul {
		display: inline-flex;
		gap: 10px;
	}
	#category #af_form .af_filter.c {
		min-width: 100%;
	}
	#category #af_form .af_filter.m {
		margin-left: 0;
		min-width: 100%;
	}
	#category #af_form .af_filter.f2 {
		margin-left: 0;
		min-width: 100%;
	}
	#category #af_form .af_filter.f17 {
		margin-left: 0;
		min-width: 100%;
	}
	#category #af_form .f4 {
		margin-left: 0;
		min-width: calc((100% - 20px) / 3);
		max-width: calc((100% - 20px) / 3);
	}
	#category.category-138 #af_form .f4 {
		margin-left: 0;
		min-width: calc((100% - 20px) / 3);
		max-width: calc((100% - 20px) / 3);
	}
	#category #af_form .f6 {
		margin-left: 10px;
		margin-right: 0;
		min-width: calc((100% - 20px) / 3);
		max-width: calc((100% - 20px) / 3);
	}
	#index #af_form .f6 {
		margin-left: 0;
		margin-right: 0;
		min-width: calc((100% - 20px) / 3);
		max-width: calc((100% - 20px) / 3);
	}
	#index #af_form .f2 {
		margin-left: 0;
		margin-right: 0;
		min-width: 100%;
	}
	#category #af_form .f26 {
		margin-left: 10px;
		margin-right: 0;
		min-width: calc((100% - 20px) / 3);
		max-width: calc((100% - 20px) / 3);
	}
	#category.category-144 #af_form .f4 {
		margin-left: 0;
		margin-right: 10px;
		min-width: calc((100% - 10px) / 2);
		max-width: calc((100% - 20px) / 3);
	}
	#category.category-144 #af_form .f6 {
		margin-right: 0;
		margin-left: 0;
		min-width: calc((100% - 10px) / 2);
		max-width: calc((100% - 10px) / 2);
	}
	#category.category-144 #af_form .f26 {
		margin-right: 0;
		min-width: calc((100% - 10px) / 2);
		max-width: calc((100% - 10px) / 2);
	}
	#category.category-144 .horizontal-layout .block_content {
		display: block;
		width: 100%;
	}
	#category.category-411 #af_form .f4 {
		margin-left: 0;
		margin-right: 0;
		min-width: calc((100% - 10px) / 2);
		max-width: calc((100% - 10px) / 2);
	}
	#category.category-411 #af_form .f6 {
		margin-right: 0;
		min-width: calc((100% - 10px) / 2);
		max-width: calc((100% - 10px) / 2);
	}
	#category.category-411 #af_form .f26 {
		margin-right: 0;
		min-width: calc((100% - 10px) / 2);
		max-width: calc((100% - 10px) / 2);
	}
	#category.category-411 .horizontal-layout .block_content {
		display: block;
		width: 100%;
	}

	#category.category-410 #af_form .f4 {
		margin-left: 0;
		margin-right: 0;
		min-width: calc((100% - 10px) / 2);
		max-width: calc((100% - 10px) / 2);
	}
	#category.category-410 #af_form .f6 {
		margin-right: 0;
		min-width: calc((100% - 10px) / 2);
		max-width: calc((100% - 10px) / 2);
	}
	#category.category-410 #af_form .f26 {
		margin-right: 0;
		min-width: calc((100% - 10px) / 2);
		max-width: calc((100% - 10px) / 2);
	}
	#category.category-410 .horizontal-layout .block_content {
		display: block;
		width: 100%;
	}

	#amazzing_filter .selectedFilters {
		max-width: max-content;
		position: relative;
		display: flex;
		align-items: end;
		margin-left: 10px;
	}

	#category.category-142 .page-heading.product-listing {
		display:flex;
		justify-content: center;
		flex-direction: column;
	}
	#category.category-143 .page-heading.product-listing {
		display:flex;
		justify-content: center;
		flex-direction: column;
	}
	.af-submit-button {
		margin-top: 10px;
		margin-left: auto;
	}
	.selectedFilters {
		margin-top: 10px;
	}
	#amazzing_filter .block_content {
		border: 0px solid #49565a;
	}
	.af-selected-filters-block.original {
		margin-top: 5px;
		margin-bottom: 0;
	}
	.af-selected-filters-block {
		padding-right: 0;
	}
	#category.category-138 .page-heading.product-listing {
		margin-top: 20px;
	}
	#index #amazzing_filter form {
		gap: 0;
	}
}
@media (max-width: 767px) {
	#select_purpose {
		height: 26px;
	}

	#index .bootstrap-select .dropdown-menu.open {
		min-width: max-content !important;
	}

	#index .columns-container {
		padding-top: 0;
	}
	.af-button-container {
		min-height: 130px;
		margin-top: 0;
	}
	#index #amazzing_filter {
		 position: relative;
		 opacity: 1;
	}
	#index #af_form {
		flex-wrap: wrap;
	}
	div.dropdown-menu.open{
		max-height: 224px !important;
		overflow: hidden;
	}
	ul.dropdown-menu.inner{
		max-height: 222px !important;
		overflow-y: auto;
	}
	#index .bootstrap-select .dropdown-menu.open {
		min-width: 110px !important;
	}
	#category .bootstrap-select .dropdown-menu.open {
		min-width: 110px !important;
	}
	#search .bootstrap-select .dropdown-menu.open {
		min-width: 110px !important;
	}
}
@media (max-width: 481px) {
	.af-button-container {

		margin-top: 0;
	}
	.page-heading.product-listing .cat-name {
		white-space: nowrap;
	}
}
/* special fix for uniform drop-down lists in default-bootstrap theme */
@media (min-width: 480px) {
	.af_filter.type-3 .af_filter_content .selector {
		padding-left: 0;
		border-left: 1px solid #DDD;
	}
	.af_filter.type-3 .af_filter_content .selector span {
		padding-left: 10px;
	}
	/* -- AF category pages -- */
	#category .horizontal-layout .af_filter {
		float: left;
		padding: 0;
		border: 0;
		height: 60px;
		overflow-y: hidden;
	}
	#search .horizontal-layout .af_filter {
		border: 0;
		padding: 0;
		height: 60px;
		overflow-y: hidden;
	}
	#category #amazzing_filter.horizontal-layout .btn-holder {
		float: left;
		padding-top: 12px;
		padding-right: 7px;
		padding-left: 7px;
		margin-left: 30px;
	}
	.horizontal-layout .block_content {
		margin: 0;
		padding-top: 0;
		background: #f2f2f2;
		height: max-content;
		padding-left: 10px;
		padding-right: 20px;
		border-bottom: 1px solid #49565a;
		/*display: flex;*/
		/*justify-content: center;*/
		/*align-items: center;*/
	}
	#select_purpose {
		font-size: 12px;
	}
	/*.af_filter.type-3 .af_filter_content .filter-option span {*/
	/*	font-size: 12px;*/
	/*	padding-top: 2px;*/
	/*}*/
	.af_filter.type-3 .af_filter_content .dropdown-toggle .filter-option {
		font-size: 12px;
		padding-top: 1.5px;
	}
	.af_filter_content .bootstrap-select .dropdown-menu li a, .af_filter_content .bootstrap-select .filter-option {
		display: flex !important;
		justify-content: space-between;
		align-items: center;
		color: #333333 !important;
	}
}
#amazzing_filter .af_filter_content label span {
	white-space: nowrap;
}
#amazzing_filter .af_filter.unused {
	padding-top: 2px;
	height: 60px;
}
#amazzing_filter .af_filter_content .bootstrap-select .dropdown-toggle{
	padding-left: 5px;
}
#amazzing_filter .af_filter.unused #select_purpose {
	font-weight: bold;
}
#index > div.bs-container.btn-group.bootstrap-select.-select.open > div > ul > li:nth-child(1) > a > span.text {
	color: #49565a;
}
