/* ------------------------------------------------ 
 
	air_filter.css
 
 ------------------------------------------------ */
 
/*------------------------
   Filter Generellt (OBS! Återfinns i air_artgroup_critical.css)
------------------------*/
.FilterWrapper{
	position: relative;
}
.Filter_Titel:hover{
	filter:none;
}
.X_of_Y>div {
	display: inline-block;
}
.loadz {
	position: absolute;
	top: 4px;
}
.loadz>img {
	max-width: 30px;
	display: none;
}
.hide-filter {
	display: none;
}
/* Filter - knapp - mobil */
.filter-showmore span::after{
	content: attr(data-more);
	speak: never;
}
.filter-showmore[aria-expanded="true"] span::after{
	content: attr(data-less);
}
/*Clear filter*/
.ClearFilterWrapper, .showFilterResultsWrapper{
	order:1;
}
@media screen and (min-width: 64.01em) {
	.filter {
		box-sizing: border-box;
		display: -ms-flexbox;
		display: -webkit-box;
		display: flex;
		-ms-flex: 0 1 auto;
		-webkit-box-flex: 0;
		flex: 0 1 auto;
		-ms-flex-direction: row;
		-webkit-box-orient: horizontal;
		-webkit-box-direction: normal;
		flex-direction: row;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		margin-right: -1rem;
		margin-left: -1rem;
	}
	.filter .canvas-main{
		width: 100%;
	}
	.ClearFilter {
		width: auto;
		float: right;
		margin: 0 0 -1.85em;
	}
	.filter .canvas-header{
		/* background:transparent; */
	}
}
@media screen and (max-width: 64em) {
	.FilterWrapper .select-ul-li-dd {
		position: relative;
		max-height: initial;
		border: 0;
		padding: var(--gutter) 0;
		top:5px;
	}
	.FilterWrapper.select-ul-li.open span.active {
		font-weight: 700;
	}
}
/*------------------------
   Inuti filter dropdown
------------------------*/
.filter>div.open.FilterWrapper>div:not(.ui-slider) {
	position: absolute;
	display: block;
}
.Filter_Container .inactive {
	opacity: 0.5;
	pointer-events: none;
	cursor: pointer;
}
.Filter_Container>span:before {/*CL : används denna? */
	font-family: "Font Awesome 5 Pro";
	content: "\f0c8";
	speak: never;
	margin-right: 10px;
	font-weight: 200;
	color: var(--brand-color2);
}
.Filter_Container>span.selected:before {
	font-weight: 800;
	border-radius: 2px;

}
.filter input:disabled + span{
	opacity: 0.2;
	text-decoration: none !important;
}

/* General dropdown */
.Bild_Container>label, .CheckboxDropdown_Container>label{
	width: 100%;
	padding: 0.5em 0;
	display: -webkit-box;
	display: -moz-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	align-items: center;
	cursor: pointer;
}
.Bild_Container>label:hover, .CheckboxDropdown_Container>label:hover span, label.Filter_checkbox_wrap:hover span{
	text-decoration: underline;
}
/* Checkbox */
.Filter_Checkbox .Filter_Titel{
	margin-bottom:var(--gutter);
	display: block;
	font-weight: 700;
}
.Checkbox_Container{
	box-sizing: border-box;
	display: -ms-flexbox;
	display: -webkit-box;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	gap:var(--gutter);
}
.filter input[type='checkbox']:checked{
	background:transparent
}
.filter input[type='checkbox']:checked::after{
	opacity: 0;
}
.filter input[type='checkbox'].selected:after{
	opacity: 1;
}

/* Bild */
.Filter_checkbox_wrap{
	position: relative;
	display: -webkit-box;
	display: -moz-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
}
.Filter_checkbox_wrap input[type='checkbox']{
	position: absolute;
    width: 100%;
    margin: 0;
    height: 100%;
    background: transparent !important;
}
.Filter_checkbox_wrap input[type='checkbox'].selected:after{
	content:'\f00c';
	speak: never;
	font-family: "Font Awesome 5 Pro";
    font-weight: 200;
	position: absolute;
	color:#fff;
	top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.Bild_Container span{
	margin-left: var(--gutter);
}

/* Länk */
.Lank_Container input[type='checkbox']{
	border:none;
}
.Lank_Container input.selected + span{font-weight: 700;}
.Lank_Container input + span{
	padding: 0.5em 0;
}

/* Slider */
 .Filter_Slider .Filter_Slider_Container {
	font-size: var(--text-s);
	padding: var(--gutter);
}
.Filter_Slider .Filter_Slider_Container label {
	margin-bottom: 5px;
	display: block;
}
.ui-widget-header {
	background: var(--brand-color2);
}
.ui-widget.ui-widget-content {
	border: 1px solid var(--border-color1);
	max-width: calc(100% - 1.2em);
	margin-left: auto;
	margin-right: auto;
}