/*  */

	.custom-filters{
		display: flex;
		flex-direction: column;
	}
	.custom-filters__label{
		position: relative;
		display: flex;
		order: 1;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		border-top: 1px solid var(--grey39);
		height: 60px;
		cursor: pointer;
	}
	.custom-filters__label:first-of-type{
		border-top: none;
	}
	.custom-filters__label:last-of-type{
		border-bottom: 1px solid var(--grey39);
	}
	.custom-filters__label::after{
		content: '';
		position: absolute;
		top: 21px;
		right: 0;
		display: block;
		height: 20px;
		width: 20px;
		margin-left: 15px;
		background-repeat: no-repeat;
		background-size: auto 20px;
		background-image: url(../img/items/filter_open_close.svg);
		background-position: -20px 0;
	}
	.custom-filters__label .count{
		margin-right: 36px;
		color: var(--grey18);
		padding: 1px 9px;
		border-radius: 5px;
		background-color: var(--yellow);
		font-size: 1.4rem;
		font-weight: bold;
	}
	.custom-filters__label.active::after{
		Xbackground-position: 0 0;
		transform: rotate(180deg);
	}
	.custom-filters__list{
		Xdisplay: none;
		position: relative;
		order: 2;
	}
	.custom-filters__list.active{
		display: block;
	}
	.custom-filters__list > li{
		display: none !important;
	}
	.custom-filters__sublist{
		padding: 10px 0 20px 0;
		display: none;
	}
	.custom-filters__list.active .custom-filters__sublist{
		display: block;
	}
	.custom-filters__sublist li{
		display: flex;
		justify-content: space-between;
		align-items: center;
		width: 100%;
		cursor: pointer;
		padding: 10px 0;
		color: var(--grey9);
	}
	.custom-filters__sublist li .count{
		display: flex;
		justify-content: flex-end;
		margin-left: 10px;
	}
	.custom-filters__sublist li .count::after{
		content: '';
		display: block;
		margin-left: 15px;
		height: 30px;
		width: 30px;
		background-size: auto 30px;
		background-repeat: no-repeat;
		background-image: url(../img/items/filter_radio.svg);
		background-position: 0 0;
		display: none;
	}
	.custom-filters__sublist li:not(.active):hover .count::after{
		background-position: -30px 0;
	}
	.custom-filters__sublist li.active{
		color: #fff;
		position: relative;
	}
	.custom-filters__sublist li.active::before{
		content: '';
		position: absolute;
		left: 7px;
		top: 13px;
		display: block;
		height: 15px;
		width: 15px;
		background-size: auto 15px;
		background-image: url(../img/items/filter_open_close.svg);
		background-position: 0 0;
		background-repeat: no-repeat;
	}
	.custom-filters__sublist li.active .count{
		color: var(--yellow);
	}
	.custom-filters__sublist li.active .count::after{
		background-position: -60px 0;
	}

	.search-filter-results img{
		display: none;
	}
	.post-categories{
		display: none;
	}
	.searchandfilter li:not(.sf-field-reset){
		display: none;
	}
	
	.reset-filters{
		display: flex;
		align-items: center;
		margin-top: 30px;
	}
	.sf-field-reset a{
		border: 1px solid var(--greye3);
		border-radius: var(--radius);
		background-color: transparent;
		color: var(--greye3);
		font-size: 1.6rem;
		padding: 12px 24px;
		white-space: nowrap;
		margin-right: 20px;
	}
	.sf-field-reset a:hover,
	.sf-field-reset a:focus{
		background-color: var(--greye3);
		color: var(--grey1e);
	}
	.section-page-navigation--nav__header{
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		display: block;
		height: var(--page-navigation-height);
		line-height: var(--page-navigation-height);
		padding-left: 62px;
		background-color: var(--grey1e);
		background-image: url(../img/items/filter.svg), url(../img/items/filter_close.svg);
		background-size: auto 20px, auto 20px;
		background-repeat: no-repeat;
		background-position: 30px center, center right 30px;
	}
	.section-page-navigation--nav__header::after{
		content: '';
		display: block;
		height: 1px;
		position: absolute;
		left: 30px;
		right: 30px;
		bottom: 0;
		background-color: var(--grey39);
	}
	.loading-filters{
		display: none;
	}
	@media screen and (max-width: 1024px) {
		.reset-filters{
			justify-content: center;
		}
		.reset-filters a{
			display: flex;
			width: 136px;
			justify-content: center;
		}
	}
	@media screen and (min-width: 1025px) {
		.section-page-navigation--nav__header,
		.return-filters::before{
			display: none;
		}
		.reset-filters{
			margin-top: 0;
		}
		.sf-field-reset a{
			background-color: var(--yellow);
			color: var(--grey18);
			border-radius: var(--radius);
			font-size: 1.6rem;
			font-weight: 600;
			padding: 12px 24px;
			white-space: nowrap;
			margin-right: 0;
			border: none;
		}
		.sf-field-reset a:hover,
		.sf-field-reset a:focus{
			background-color: var(--yellow-hover);
		}
		.custom-filters{
		  max-width: 280px;
		  width: 17%;
		}
		.custom-filters__label{
			font-size: 1.6rem;
			line-height: 1.8rem;
			background-color: var(--grey18);
			border: 1px solid var(--grey39);
			border-radius: var(--radius);
			height: 48px;
			padding: 0 16px;
		}
		.custom-filters__label:first-of-type{
			border-top: 1px solid var(--grey39);
		}
		.custom-filters__label:hover,
		.custom-filters__label.active{
			background-color: var(--grey19);
			border-color: var(--grey99);	
		}
		.custom-filters__label::after{
			top: 15px;
			right: 15px;	
		}
		.custom-filters__sublist{
			position: absolute;
			top: 10px;
			left: 0;
			right: 0;
			padding: 30px 0;
			border: 1px solid var(--grey39);
			border-radius: var(--radius);
			background-color: var(--grey1e);
		}
		.custom-filters__sublist li{
			display: flex;
			width: 100%;
			justify-content: space-between;
			padding: 8px 30px;
			font-size: 1.6rem;
		}
		.custom-filters__sublist li:hover{
			background-color: var(--grey39);
			color: var(--text-color);
		}
		.loading-filters{
			display: block;
			height: 47px;
			width: 30px;
			margin-top: 5px;
			margin-right: 15px;
			background-repeat: no-repeat;
			background-size: 30px auto;
			background-position: center;
			background-image: none;
		}
		.loading-filters.active{
			background-image: url(../img/items/loading.webp);
		}
	}


/* TEMP */

	.page-template-tpl-events .custom-filters__label-select-filter-3{
		display: none;
	} 