#amazzing_filter.block .title_block {
	margin-bottom: 5px;
	padding-left: 0;
	padding-right: 0;
	margin-right: 22px;
}
#amazzing_filter .btn-holder .btn {
	margin-top: 10px;
}
.af_filter, .af_filter.type-3.closed {
	margin-bottom: 5px;
}
.af_filter.type-3 {
	padding-bottom: 10px;
}
.af_filter li {
  padding: 4px 0;
  margin: 0;
  position: relative;
}
.af_filter li,
.hide-zero-matches .no-matches.active,
.hide-zero-matches .no-matches.has-customer-filter {
	display: block;
}
.hide-zero-matches .no-matches {
	display: none;
}
.af_filter label {
	font-weight: normal;
	text-align: left;
	cursor: pointer;
	display: block;
}
.af_filter ul {
	margin: 0;
}
.af_filter.color-group ul {
	overflow: visible;
	max-height: none;
}
.af-parent-category > ul {
	margin: 0 0 0 15px;
	max-height: 100%;
}

/* foldered */
.af_filter .af-toggle-child {
	padding: 5px;
	font: bold 18px/0 monospace;
	display: none;
}
.af_filter.foldered .af-parent-category > ul,
.af_filter.foldered .af-parent-category > label .af-toggle-child .visible-on-open,
.af_filter.foldered .af-parent-category.open > label .af-toggle-child .hidden-on-open {
	display: none;
}
.af_filter.foldered .af-parent-category.open > ul {
	display: block
}
.af_filter.foldered .af-toggle-child,
.af_filter.foldered .af-parent-category.open > label .af-toggle-child .visible-on-open {
	display: inline-block;
}

.af_filter .name{
	padding-left: 5px;
}
.af_filter .count {
	color: #a99999;
}
.af_filter .count:before {
	content: '(';
}
.af_filter .count:after {
	content: ')';
}

.af_filter .checker,
.af.checkbox,
.af.radio {
	display: inline-block;
	vertical-align: top;
	margin: 2px 0 0 0;
}

.af_filter select {
	padding: 5px;
	color: #666;
	width: 180px;
    margin: 0 auto;
	border: 1px solid #DADADA;
}

@media (max-width: 1199px) {
	.af_filter select {
		width: 100%;
	}
}

.dim-zero-matches .no-matches > label {
	opacity: 0.4;
}
.color_attribute .checkbox, .color_attribute .styled-checkbox{
	display:none;
}

.af_filter .color_attribute {
	padding: 1px;
	float: left;
	margin: 2px 4px 2px 0;
	position: relative;
	border: 1px solid #DADADA;
}

.dim-zero-matches .af_filter .color_attribute.no-matches:before {
	content: '';
	position: absolute;
	background: #FFF;
	height: 2px;
	display: block;
	left: 8px;
	right: 8px;
	top: 50%;
	margin-top: -1px;
	transform: rotate(45deg);
	z-index: 10;
}
.dim-zero-matches .af_filter .color_attribute.no-matches:after {
	content: '';
	position: absolute;
	display: block;
	border: 2px solid #FFF;
	border-radius: 100%;
	left: 7px;
	right: 7px;
	top: 7px;
	bottom: 7px;
	z-index: 10;
}

.af_filter li.color_attribute label {
	float:left;
	cursor: pointer;
	width: 25px;
	height: 25px;
	margin: 0;
}
.af_filter li.color_attribute label * {
	display: none;
}

.af_filter li.color_attribute.active {
	border: 3px solid #BBB;
}
.af_filter li.color_attribute.active label {
	width: 21px;
	height: 21px;
}

.color_attribute input{
	visibility:hidden;
	position:absolute;
}
/* text boxes */
.af_filter.tb ul {
	display: inline-block;
}
.af_filter.tb li {
	float: left;
	border: 2px solid #DDD;
	border-radius: 5px;
	margin: 0 4px 4px 0;
	padding: 6px;
	line-height: 1;
}
.af_filter.tb li.active {
	border-color: #999;
}
.af_filter.tb label,
.af_filter.tb .name {
	padding: 0;
	margin: 0;
}
.af_filter.tb input {
	display: none;
}
/* slider values */
.af_filter .slider {
	margin-bottom: 10px;
}
.af_filter .slider-bar {
	padding: 0 7px 0 3px;
	clear: both;
}
.slider .slider_value {
	display:inline-block;
	float: left;
	margin-bottom: 5px;
	border: 1px solid transparent;
	padding: 1px 3px;
	cursor: pointer;
	position: relative;
}

@media (max-width: 479px) {
	.slider .slider_value,
	.af_filter .slider	{
		margin-top: 8px;
	}
}

.af_filter:hover .slider_value,
.slider .slider_value.edit {
	border-color: #DDD;
}
.slider .slider_value.to_display {
	float: right;
}
.slider .slider_value .input-text,
.slider .slider_value.edit > span {
	display: none;
}
.slider .slider_value.edit .input-text {
	display: inline-block;
	border: 0;
	padding: 0;
	max-width: 50px;
	outline: none;
	line-height: 1em;
}

.selectedFilters > div {
    display: inline-block;
    margin-right: 12px;
    margin-bottom: 12px;
    position: relative;
}

.selectedFilters > div > a {
	background: #39a8e0;
    padding: 4px 12px;
    color: #fff;
    border-radius: 2px;
}

.selectedFilters > div.clearAll > a {
	background:#db4836;
}
.selectedFilters a {
    cursor: pointer;
    color: #fff;
    font-size: 13px;
    display: inline-block;
}
#amazzing_filter .unlocked,
#amazzing_filter .unlocked a {
	color: #999;
}

#amazzing_filter .all:after,
#amazzing_filter .close:after {
    content: '\f00d';
    font-family: 'Font Awesome 5 Pro';
    font-weight: 400;
    margin-left: 7px;
    font-size: 14px;
    vertical-align: -1px;
}

/* load more, infinite scroll */
.dynamic-loading {
	text-align: center;
	margin-bottom: 2em;
	position: relative;
}
.dynamic-loading.infinite-scroll {
	margin: 0;
}
.loading-indicator {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 1em;
}
.infinite-scroll .loading-indicator {
	position: relative;
}
.dynamic-loading.infinite-scroll .loadMore {
	display: none;
}
.dynamic-loading .loadMore, .dynamic-loading.loading .loading-indicator {
	visibility: visible;
}
.dynamic-loading .loading-indicator, .dynamic-loading.loading .loadMore {
	visibility: hidden;
}

.hidden-name .name {
	display:none;
}
.customer-filter-label.for-select {
	float: left;
	line-height: 30px;
}
.selector-with-customer-filter {
	padding-left: 15px;
}
.btn.full-width {
	width: 100%;
}
.force-hidden {
	display: none;
}
.af-basic-layout {
	margin-top: 15px;
}
.af-basic-layout .showall {
	display: none;
}
.hide-counters .count,
.dim-zero-matches .no-matches > label .count {
	display: none;
}

#amazzing_filter a, #amazzing_filter a:focus {
	text-decoration: none;
}

/* cut off */
.af_filter {
	position: relative;
}
.af_filter.type-1 .af_filter_content,
.af_filter.type-2 .af_filter_content {
	overflow-y: auto;
}
.af_filter.full .af_filter_content,
.af_filter.foldered .af_filter_content {
	max-height: none;
}
.af_filter .toggle-cut-off {
	position: absolute;
	bottom: -1em;
	font-size: 1em;
	text-align: center;
	display: none;
	left: 0;
	right: 0;
	line-height: 2em;
}
.af_filter .toggle-cut-off span {
	padding: 0 5px;
	background: #FFF;
	color: #999;
}
.af_filter.expandable .toggle-cut-off{
	display: block;
}
.af_filter.expandable:not(.full) .af_filter_content {
	margin-bottom: 10px;
}
.full .toggle-cut-off .less, .toggle-cut-off .more {
	display: inline-block;
}
.full .toggle-cut-off .more, .toggle-cut-off .less {
	display: none;
}

/* toggle filters */
.af_subtitle {
	cursor: pointer;
	position: relative;
	margin: 0;
	padding: 10px 0;
	font-size: 1.1em;
	font-weight: bold;
}

.slider-group .af_subtitle {
	padding: 0 0 3px 0;
}

.af_subtitle i {
	margin-right: 6px;
    font-size: 13px;
}

.closed .af_filter_content,
.af_filter.expandable.closed .toggle-cut-off {
	display: none;
}
.closed .af_subtitle:before {
	border-width: 0 2px 2px 0;
	top: 13px;
}
.special .af_filter_content {
	display: block;
	margin-top: 5px;
}
.horizontal-layout .af_filter {
	float: left;
}

.horizontal-layout .slider-group .af_filter,
.horizontal-layout .slider-group .af_filter_container {
	min-height: initial;
	padding: 0;
}

/* horizontal layout */
@media (min-width: 480px) {
	.horizontal-layout:after {
		content: '';
		display: block;
		clear: both;
	}
	.horizontal-layout .from_display {
		margin-right: 10px;
	}
	.horizontal-layout .from_display:after {
		content: '-';
		position: absolute;
		top: 0;
		right: -9px;
	}
	.horizontal-layout .slider-values {
		float: right;
		margin-top: -60px;
	}
	.horizontal-layout .af_filter .slider {
		margin: 11px 0;
	}
	.horizontal-layout .af_filter.special {
		padding-top: 32px;
	}
	#amazzing_filter.horizontal-layout .btn-holder {
		float: left;
		width: 50%;
		padding: 35px 15px 0;
	}
	#amazzing_filter.horizontal-layout .btn-holder .btn {
		margin: 0;
	}
}

/* compact view */
.has-compact-filter.show-filter {
	overflow: hidden;
	position: fixed;
	width: 100%;
	height: auto;
}
.has-compact-filter #amazzing_filter {
	/* position fixed is defined in hookDisplayHeader() basing on configurable @media max-width */
	opacity: 1;
	z-index: 10001;
	top: 0;
	width: 100%;
	right: 0;
	transform: translateX(100%);
	background: #FFF;
	height: 100%;
	padding: 0;
	overflow: visible;
	/*max-width: 350px;*/
}
.has-compact-filter #amazzing_filter.animation-ready {
	transition: all .2s;
}
.has-compact-filter.show-filter #amazzing_filter {
	transform: translateX(32px);
	padding-right: 32px;
	box-shadow: 0px 0px 10px 3px rgba(0,0,0,0.3);
}
.has-compact-filter .af.block .block_content {
	padding: 10px;
	max-height: 100%;
	overflow-y: auto;
}
.has-compact-filter.show-filter .af.block .block_content,
.has-compact-filter.show-filter .af_filter.type-1 .af_filter_content,
.has-compact-filter.show-filter .af_filter.type-2 .af_filter_content {
	-webkit-overflow-scrolling: touch;
}
.has-compact-filter .af.block .block_content form {
	padding-bottom: 60px;
}
.has-compact-filter #amazzing_filter .btn-holder {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 32px;
	padding: 15px 10px;
	background: #EEE;
	z-index: 10;
}
#amazzing_filter .compact-toggle {
	position: absolute;
	top: 50%;
	margin-top: -16px;
	left: -32px;
	text-align: center;
	display: none;
	box-shadow: none;
	padding: 0;
}
.has-compact-filter #amazzing_filter .compact-toggle {
	display: block;
}
.compact-toggle-text {
	position: absolute;
	transform: rotate(270deg);
	transform-origin: left;
	left: 16px;
	bottom: 16px;
	background: inherit;
	padding-right: 7px; /* +3px from letter spacing */
	letter-spacing: 3px;
	text-transform: uppercase;
	font-size: 12px;
	line-height: 32px;
	white-space: nowrap;
}
.compact-toggle .compact-toggle-icon {
	display: block;
	width: 32px;
	height: 32px;
	line-height: 32px;
	font-size: 18px;
}
/* compact offset left */
.has-compact-filter #amazzing_filter.compact-offset-left {
	transform: translateX(-100%);
}
.has-compact-filter.show-filter #amazzing_filter.compact-offset-left {
	transform: translateX(-32px);
	padding-left: 32px;
	padding-right: 0;
}
#amazzing_filter.compact-offset-left .compact-toggle {
	transform-origin: right;
	right: -32px;
	left: auto;
}
.has-compact-filter #amazzing_filter.compact-offset-left .btn-holder {
	left: 32px;
	right: 0;
}
/* type-2: only text */
.compact-toggle.type-2 .compact-toggle-icon {
	opacity: 0;
}
.compact-toggle.type-2 .compact-toggle-text {
	bottom: -6px;
}
/* type-3: only icon */
.compact-toggle.type-3 .compact-toggle-text {
	display: none;
}
.af-compact-overlay {
	display: none;
}
.has-compact-filter .af-compact-overlay {
	display: block;
	position: fixed;
	opacity: 0;
	margin: 0;
	transition: all 0.3s;
}
.has-compact-filter.show-filter .af-compact-overlay {
	background: #333;
	opacity: 0.3;
	top: 0; right: 0; bottom: 0; left: 0;
	z-index: 10000;
}
.has-compact-filter #amazzing_filter .title_block {
	display: none;
}

.btn-bounce {
	animation: btn-bounce .2s;
}
@keyframes btn-bounce {
	20% { transform: translate3d(0,-2px,0)}
	40% { transform: translate3d(0,0,0)}
	60% { transform: translate3d(0,2px,0)}
	80% { transform: translate3d(0,-2px,0)}
}

/* retro-compatibility */
.icon-times:before {
  content: "\f00d";
}

/* extended compatibility */
.pull-left {
	float: left;
}
.pull-right {
	float: right;
}
.hidden {
	display: none;
}
.clear-both {
	clear: both;
}

.box-group {
	background: #f2eded; /* #efe8e8; */
    margin-bottom: 20px;
	padding: 24px 0;
}

@media (max-width: 1199px) {
	#amazzing_filter {
		padding: 16px 0 0;
	}
}	

@media (max-width: 991px) {
	#amazzing_filter {
		padding: 19px 0 0;
	}
}	

@media (max-width: 868px) {
	#amazzing_filter {
		padding: 17px 0 0;
	}
}	

@media (max-width: 767px) {
	#amazzing_filter {
		padding: 14px 0 0;
	}
}

@media (max-width: 575px) {
	#amazzing_filter {
		padding: 12px 0 0;
	}
}

#amazzing_filter_top .title_block i {
    font-size: 17px;
    padding-top: 0px;
    vertical-align: -2px;
	color: #ABBC13;
}

#amazzing_filter_top .title_block i.icon-filter {
	font-size: 14px;
    color: #ABBC13;
    vertical-align: -2px;
    background: #fff;
    padding: 8px;
    border-radius: 100%;
    margin-right: 4px;
	width: 30px;
    text-align: center;
}

#amazzing_filter_top .title_block .show-button-amazzing i,
#amazzing_filter_top .title_block .show-button-category i {
	margin-left: 6px;
	margin-right: 0;
}

#amazzing_filter_top .title_block {
    display: inline-block;
    font-size: 13px;
    font-family: "Heebo";
    font-weight: 500;
    color: #514848;
    padding: 3px 12px 3px 0;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#amazzing_filter_top .total-products {
	font-size: 13px;
    font-family: 'Heebo';
    font-weight: 400;
	padding-left: 4px;
    color: #666;
}

.block_content {
	float: left;
    width: 100%;
}

@media (max-width: 992px) {
	#amazzing_filter_top .total-products {
		display: none;
	}
	
	#amazzing_filter_top .total-products.end-category {
		display: inline;
	}
}

@media (max-width: 575px) {
	#amazzing_filter_top {
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.flex-amazzing div.type-1 div.af_filter_container {
		min-height: initial;
		margin-bottom: 6px;
	}
	
	.horizontal-layout .af_filter {
		width: 100%;
	}
}

@media (max-width: 369px) {
	#amazzing_filter_top .title_block i.icon-filter {
		display: none;
	}
}