.filterarea { background:var(--bg-purple); padding-bottom:32px;     z-index: 12;}
.resource_area { background:#d1ced9; padding:32px 0 var(--gutter_big);}
 
 .resource_area #currentfilters { margin-bottom:24px; padding-top:0; }

 #resource_header {  display:flex; align-items:center; margin-bottom:24px;}
 #resource_header p#found,
 #resource_header h2#found{  margin:0; }
 
 
 #order_options_cloned label { font-size:16px;}
#resource_filter #order_options { visibility:hidden; }

@media all and (max-width:599px) {
	 #resource_header { display:block; }
    #resource_header p#found,
    #resource_header h2#found{ margin-bottom: 1em; }
	
}

#resource_filter { display:flex; flex-wrap:wrap; }
#resource_filter >label:first-child {  width:100%;  font-size:var(--bodytext_size); font-weight:600; line-height:1; margin-bottom:1em;  padding-left:24px; }
#resource_filter #resource_search { flex:1;  }
#resource_filter .filters { width: calc(50% - (var(--gutter) / 2)); max-width:480px; margin-left:var(--gutter);   }


#resource_filter .filters label { display:flex; align-items:center;position: relative; font-family: inherit; cursor: pointer; font-size: 16px; border: 1px solid transparent; }
#resource_filter .filters label input {  position: fixed; opacity: 0; pointer-events: none; top: -100px; }
#resource_filter .filters label span { display:block;   }
#resource_filter .filters label>b { display:block; content:""; width:42px; min-width:42px; height: 42px; border: 4px solid transparent; position: relative;  border-radius: 50%;  margin-right:1px; /*background: red; border-color: blue;*/ }
#resource_filter .filters label>b::before { content:""; display: block; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width:15px; height: 15px; border: 1px solid #9288B2;  border-radius: 2px; }
#resource_filter .filters label>input:checked~b::before {  background: #9288B2;   }

#resource_filter .filters label:is(:hover,:focus-visible)>b {  background: #d8ccff;  }


#resource_filter .filters label>input:checked~b {    }


#resource_filter .filters label>input:checked~b::after { content:""; display: block; position: absolute; width:10px; height:5px; border: 2px solid #FFF; border-top: none; border-right: none; left:12px; top: 13px; transform: rotate(-45deg); }

#resource_filter #resource_search input:focus-visible,
#resource_filter .filters button:focus-visible ,
#resource_filter .filters label:has(input:focus-visible) {  box-shadow:  0 0 0 3px var(--orange); }

#resource_filter .filters form>div:first-child label { border-radius: 60px; background: white; padding: 0 12px 0 1px; border: 1px solid #221D33  }
#resource_filter .filters form>div:first-child label>b { border-color: white;}

.extrafilters,
.showfilters,
#resource_search { align-self:flex-start;  font-family:inherit;
    background:white; display: flex; align-items: center;  border-radius: 300px;  height:72px; flex:1;
	
	
	border:1px solid var(--dark-purple);   
	box-shadow: rgba(167,141,252, 0.2) 0 8px 16px; padding:0 12px 0 24px;
}
 
 #resource_search input
{font-size:var(--bodytext_size); line-height:1;  font-family:inherit;}

#resource_search input { height: 32px; line-height: 1; outline: none; background:none; padding: 0;
    border: none;

    font-weight: 600 !important; font-family: inherit;

}
#resource_search input:focus-visible  {box-shadow: 0 0 0 2px white , 0 0 0 4px var(--orange); border-radius: 2px;}

 
#resource_search >div,
#resource_search >input[type="text"] { flex:1;  margin-right: 6px;  }
#resource_search input[type="text"]{ width:100%; padding:0 0 0; margin-right: 6px; background:white; }
 
#resource_search input[type="submit"] {
    cursor: pointer; background-color: var(--bg-purple); border-radius: 50%;
    text-indent: -999px; width:36px; min-width:48px; height: 48px;
    background-size: 24px 24px; background-repeat: no-repeat; background-position: center;
 
    background-image: url('data:image/svg+xml;utf8,<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 34 34" style="enable-background:new 0 0 34 34;" xml:space="preserve"><path fill="%23110E19" d="M26.4,24.1l6.9,6.9L31,33.3l-6.9-6.9c-2.5,2-5.7,3.2-9,3.2c-7.9,0-14.4-6.5-14.4-14.4S7.2,0.7,15.1,0.7 s14.4,6.5,14.4,14.4C29.6,18.4,28.4,21.6,26.4,24.1z M23.2,22.9c2-2.1,3.2-4.9,3.2-7.8c0-6.2-5-11.2-11.2-11.2S3.9,9,3.9,15.1 s5,11.2,11.2,11.2c2.9,0,5.7-1.1,7.8-3.2L23.2,22.9z"/></svg>');

}
#resource_search input[type="submit"]:hover {
    opacity: 0.7;
	
	}

	
	@media all and (max-width:1023px) {
		
 .filterarea { padding-top:24px;}
		#resource_filter #resource_search { width: 100%; }
	#resource_filter .filters { width: 100%; max-width:9999px; margin-left:0; margin-top:24px; }


	}
	
	
	
.extrafilters,
	.showfilters { border-radius:12px; font-family:inherit; }
	
		button.showfilters {   font-size:var(--bodytext_size); font-weight:700; padding:0 24px;  width:100%; text-align:left; cursor:pointer; display: flex; align-items: center; color: var(--black); }
		button.showfilters::after {  content:""; width:0.8em; height:0.8em; min-width:0.8em; display:block;  margin-left: auto;
    position: relative; top:-0.2em; transform: rotate(45deg); border: 2px solid currentColor; border-left: none; border-top: none; }
button.showfilters[aria-expanded="true"]::after {  transform: rotate(225deg); top:0.2em; }


button.showfilters {margin-bottom:16px;}
.extrafilters { height:auto; padding:0 24px; }
		
		.extrafilters::before,	
		.extrafilters::after { display:block; content:""; height:24px;}	
		
		
.extrafilters { display: block;	
    visibility: hidden;  

	opacity:0;
    max-height: 0;
    transition: max-height 0.2s ease-out,  opacity 0.5s ease; 
    overflow: hidden;
}


 

.extrafilters.visible {
	visibility: visible;
}
.extrafilters.open {
    max-height: 180em; opacity:1;
    transition: max-height 0.3s ease-in, opacity 0.5s ease;
}



@media all and (max-width:599px) {
    button.showfilters {  margin: 0 0 8px 0 !important; }


    #resource_filter .filters {  margin: 8px 0 !important; }

    button.showfilters,
    .extrafilters {  padding:0 16px; }
    .extrafilters {  padding-left: 12px; margin-top:8px; }
    .extrafilters::before,
    .extrafilters::after { display:block; content:""; height:16px;}
}