.subcategory-nav-wrapper,
#filter-wrapper {
	background-color: transparent;
	display: flex;
	margin-top: 3rem;
	margin-bottom: 1rem;
}
.subcategory-nav-wrapper .scroll,
#filter-wrapper .scroll {
	display: flex;
	justify-content: flex-start;
	padding: 0 15px;
	border-top: 1px solid #D3D3D3;
	border-bottom: 1px solid #D3D3D3;
	align-items: normal;
	width: 100%;
}
.subcategory-nav-wrapper .row {
	margin: 0 -2rem;
}
.subcategory-nav-wrapper .separator,
#filter-wrapper .separator,
#filter-wrapper .filters-right {
	border-left: 1px solid #d3d3d3;
	margin: 0 1rem;
}
#filter-wrapper .filters-right {
	padding-left: 1rem;
	margin-right: 0;
}
#filter-wrapper .filters-right .icon {
	color: var(--link-color);
}
#filter[type="text"] {
	padding: 10px 0;
	font-size: 1.125rem;
	width: 170px;
	border: 0;
	border-bottom: 1px solid;
	margin-left: .5rem;
}
#filter-result-info {
	margin-bottom: 2rem;
}
#filter-result-info #filter-reset,
#filter-result-info #result-count {
  display: none;
}
#filter-result-info #result-count {
	margin-right: .75rem;
	font-weight: bold;
}
#filter-result-info #filter-reset {
	font-weight: 600;
	color: var(--link-color);
	font-size: .925rem;
	cursor: pointer;
}
@media only screen and (max-width: 576px) {
	.subcategory-nav-wrapper .row {
		margin: 0 -1.5rem;
	}
}
.subcategory-nav-wrapper .row .scroll > div,
#filter-wrapper .scroll > div {
	display: flex;
	align-items: center;
}
.subcategory-nav-wrapper.category-nav-wrapper::before {
	content: none;
}
.subcategory-nav-wrapper .filter-group,
#filter-wrapper .filter-group {
	padding: .5rem 0;
	min-height: 80px;
}
.subcategory-nav-wrapper .filter-label,
#filter-wrapper .filter-label {
	font-size: 0.875rem;
	margin-right: .75rem;
}
.subcategory-nav-wrapper .view-mode {
	margin-left: auto;
}
#filter-wrapper .filter-icon {
	color: var(--link-color);
}

@media only screen and (max-width: 1199px) {
	.subcategory-nav-wrapper .row .scroll,
	#filter-wrapper .scroll {
		justify-content: flex-start;
		flex-wrap: nowrap;
		flex-direction: row;
		overflow-x: auto;
	}
	.subcategory-nav-wrapper .row .scroll > *,
	#filter-wrapper .scroll > * {
		flex: 0 0 auto;	
	}
	.subcategory-nav-wrapper  .view-mode {
		margin-left: auto;
	}
}



@media only screen and (max-width: 768px) {

	.subcategory-nav-wrapper .grade-filter {
		align-items: center;
		display: flex;
		justify-content: center;
	}
}

@media only screen and (max-width: 576px) {
	.subcategory-nav-wrapper .row .scroll > .view-mode {
		display: none;
	}

	.subcategory-nav-wrapper .row .scroll,
	#filter-wrapper .scroll {
		justify-content: space-between;
		padding: 0;
	}
}