#postmeta_filter {
 width:100%; margin-left: 0;
 background: rgba(255,255,255,0.15);
 background: color-mix(in srgb, var(--current_bg) 85%, white 15%);
  border-radius: var(--radius);
 padding:40px;
 align-self: flex-start;

 --head: 28px;

}

@media (prefers-color-scheme: dark) {
 #postmeta_filter { background-color: var(--ttl_footer-2); }
 #postmeta_filter dd a {background: rgba(255,255,255,0.8); color: var(--ttl_black);  }
}


@media all and (min-width:1200px) {
 #postmeta_filter {
  width: var(--grid-half);
  margin-left: var(--gutter);
 }
 }
@media all and (max-width:1199.98px) {
 #postmeta_filter {
  margin-top: var(--gutter_big);
 }
}
@media all and (max-width:1023.98px) {
 #postmeta_filter {
  margin-top: 0;
 }
}
@media all and (max-width:899.98px) {
 #postmeta_filter {

  width:100%; margin-left: 0;
  padding:24px;
  --head: 24px;
 }
}
@media all and (max-width:599.98px) {
 #postmeta_filter {
  padding:16px;
  --head: 20px;
 }
}

#postmeta_filter .heading { font-size: var(--head);
 font-weight: 700; line-height: 1.2; }

.filterarea {  }
.resource_area { 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 {  margin:0; }


#order_options_cloned label { font-size:16px;}
.ttl_filter #order_options { visibility:hidden; }

@media all and (max-width:599.98px) {
 #resource_header { display:block; }
 #resource_header p#found{ margin-bottom: 1em; }

}

.ttl_filter { display:flex; flex-wrap:wrap; gap: 16px; }


.ttl_filter >label:first-child {  width:100%;  font-size:var(--bodytext_size); font-weight:600;   margin-bottom:1em;  padding-left:24px; }
.ttl_filter #resource_search { flex:1;  }
.ttl_filter .filters { width:100%; /*width: calc(50% - (var(--gutter) / 2)); max-width:480px; margin-left:var(--gutter);*/ }

@media all and (min-width:900px) {
 .ttl_filter:has(.filters:nth-child(2)) .filters {
  width: calc(50% - 8px);
 }
}

.ttl_filter .filters label { display:flex; align-items:center;position: relative; font-family: inherit; cursor: pointer; font-size: 16px; border: 1px solid transparent; }
.ttl_filter .filters label input {  position: fixed; opacity: 0; pointer-events: none; top: -100px; }
.ttl_filter .filters label span { display:block;   }
.ttl_filter .filters label>b { display:block; content:""; width:42px; min-width:42px; height: 42px; border: 4px solid transparent; position: relative;  border-radius: 8px;  margin-right:1px; /*background: red; border-color: blue;*/ }
.ttl_filter .filters label>b::before { content:""; display: block; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width:15px; height: 15px; border: 1.5px solid currentColor;  border-radius: 2px; }
.ttl_filter .filters label>input:checked~b::before {  background: var(--ttl_black);   }

.ttl_filter .filters label:is(:hover,:focus-visible)>b {  background: var(--ttl_lightyellow);  }


@media (prefers-color-scheme: dark) {

 .ttl_filter .filters label:is(:hover,:focus-visible)>b {  background: rgba(233,197,81,0.25);  }

 }
.ttl_filter .filters label>input:checked~b {    }


.ttl_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); }

.ttl_filter #resource_search input:focus-visible,
.ttl_filter .filters button:focus-visible ,
.ttl_filter .filters label:has(input:focus-visible) {  outline: 3px solid black; box-shadow: 0 0 0 6px white; }

.ttl_filter .filters form>div:first-child label { border-radius: 60px; background: white; padding: 0 12px 0 1px; border: 1px solid #221D33  }
.ttl_filter .filters form>div:first-child label>b { border-color: white;}

.extrafilters,
.showfilters,
#resource_search { align-self:flex-start;  font-family:inherit;
 background:rgba(255,255,255,0.5); display: flex; align-items: center;  border-radius: 300px;  height:72px; flex:1;


 border:1px solid transparent;

}

@media (prefers-color-scheme: dark) {
 .extrafilters,
 .showfilters,
 #resource_search {
  background-color: transparent;
  border: 1px solid white;
 }
}

#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  {
  outline: 3px solid black; box-shadow: 0 0 0 6px white;

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;   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;

}



.extrafilters,
.showfilters { border-radius:12px; font-family:inherit; }

button.showfilters {   font-size:18px; font-weight:700; padding:0 24px;  width:100%; display:block; text-align:left; cursor:pointer; display: flex; align-items: center;	}
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 .icon::after { font-family: 'ttl_icons'; content:"\E80a"; /*font-size: 24px;*/ margin-right: 0.5em;  }

.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, margin 0.2s ease-out;
 overflow: hidden
}




.extrafilters.visible {
 visibility: visible;
}
.extrafilters.open {
 max-height: 180em; opacity:1; margin-top:16px;
 transition: max-height 0.3s ease-in, opacity 0.5s ease, margin 0.2s ease-in;
}



body.loading::before {
 display: block;
 content: "";
 width: 100%;
 height: 100%;
 position: fixed;
 left: 0;
 top: 0;
 background: var(--ttl_green);
 opacity: 0.75;
 background-position: center;
 background-repeat: no-repeat;
 z-index: 9992;
}




body.loading::after {
 z-index: 9993; box-sizing: border-box;
 content: " ";
 display: block;
 width: 80px;
 height: 80px;
 animation: spin 1s infinite linear;
 border-radius: 50%;
 border-width: 12px;
 border-style: solid;

 border-color: rgba(255, 255, 255, 0.4) rgba(255, 255, 255, 1) rgba(255, 255, 255, 0.4) rgba(255, 255, 255, 1);

 overflow: hidden;
 text-indent: -99999em;
 margin: auto;
 position: fixed;
 top: 50%;
 left: 50%;  /*
    position: relative; left: calc(50% - 45px);*/
 margin: -40px 0 0 -40px;
}

@keyframes spin {
 to {
  transform: rotate(360deg);
 }
}