:root{
  --space--gap--g_xl:calc( 30px * 1 );
  --space--gap--g_xl;calc( 50px * 1 );
  --space--gap--g_main:calc( 20px * 1 );
  --space--gap--g_main:calc( 20px * 1 );
  --border-radius: 6px;
}
.resource-library_grid__sidebar {
    grid-column-gap: var(--space--gap--g_xl);
    grid-row-gap: var(--space--gap--g_xl);
    grid-template-rows: auto;
    grid-template-columns: 180px 1fr;
    grid-auto-columns: 1fr;
    display: grid;
  position:relative;
}
.resource-library_search{
  position:relative;
  display:flex;
  width:100%;
}
.resource-library_search__layout{
  display:flex;
  grid-gap:10px;
  margin-bottom:24px;
}
.resource-library_layout{
  display:flex;
  grid-gap:10px;
  margin-left:auto;
}
.element-item{
  display:flex;
}
.resource-library_lgrid,
.resource-library_llist,
.resource-library_lfilters{
  border-radius:var(--border-radius);
  flex:none;
  border: 1px solid #ccc;
  cursor:pointer;
  display:flex;
    aspect-ratio: 1 / 1;
    width: 45px;
    padding: 12px;
  transition: background-color 0.5s ease;
}
.resource-library_lfilters{
  display:none;
}
.resource-library_lgrid.active,
.resource-library_llist.active,
.resource-library_lfilters.active{
  background:#000;
  color:#fff;
}
.resource-library_lgrid svg,
.resource-library_llist svg,
.resource-library_lfilters svg{
  width:100%;
  height:auto;
}
.resource-library_quicksearch{
    border-radius:var(--border-radius);
    width: 100%;
    padding: 10px;
    transition-property: border-color;
    transition-duration: .3s;
    transition-timing-function: cubic-bezier(.165, .84, .44, 1);
    border: 1px solid #ccc;
    min-height: 45px;
    padding-left: 50px;
}
.resource-library_search_icon{
     color:#333;
    width: 20px;
    height: 20px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 15px;
}
.resource-library_load_more{
  margin: 20px auto;
  color: #fff;
  padding: 5px 15px;
  border: none;
}
.resource-library_grid{
  grid-column-gap: var(--space--gap--g_main);
  grid-row-gap: var(--space--gap--g_main);
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}
.resource-library_noresults{
    display: flex;
    flex-direction: column;
    grid-gap: 20px;
    align-items: center;
    padding: 40px;
    border: 1px solid #000;
    border-radius:var(--border-radius);
  width:100%;
}
.resource-library_noresults font{
  font-weight:700;
  font-size:20px;
}
.resource-library_reset__filters{
  width: fit-content;
  color: #fff;
  padding: 5px 10px;
  border: none;
}
.resource-library_check__filters_title{
  margin-bottom:25px;
  min-height: 45px;
  display:flex;
  flex-direction:column;
  grid-gap:5px;
}
.resource-library_check__filters_title h3{
  font-size:25px;
  margin:0;
}
.resource-library_button__simple:before,
.resource-library_button__simple:after{
  display:none;
}
.resource-library_button__simple{
  color:#ccc;
}
.resource-library_button__simple:hover,
.resource-library_button__simple:focus,
.resource-library_button__simple:active{
  color:#000;
}
.resource-library_button__simple,
.resource-library_button__simple:hover,
.resource-library_button__simple:focus,
.resource-library_button__simple:active{
  padding: 0;
  background: no-repeat;
  border: none;
  font-weight:400;
  font-size:14px;
}
.resource-library_item{
  border: 1px solid #ccc;
  border-radius:var(--border-radius);
  overflow: hidden;
  width: 100%;
  text-decoration:none;
}
.resource-library_item:hover,
.resource-library_item:hover > *{
  text-decoration:none;
}
.resource-library_content{
  padding:20px;
}
.resource-library_image img{
    display: flex;
    width: 100%;
}
.resource-library_title h3{
  margin:0 0 5px;
}
.resource-library_description>*,
.resource-library_description p{
  margin-bottom:0;
  color:#333;
}
.resource-library_description p+p{
  margin-top:16px;
}
.resource-library_visible_link{
  font-weight:bold;
  margin-top:16px;
}
.layout__list.resource-library_grid .resource-library_item_inner{
  align-items: center;
  display:flex;
  grid-gap:0;
  width: 100%;
}
.layout__list.resource-library_grid .resource-library_item_inner .resource-library_image{
  max-width: 25%;
  flex: auto;
  display: flex;
  align-self: stretch;
  height: auto;
  width: 100%;
}
.layout__list.resource-library_grid .resource-library_item_inner .resource-library_image img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}
@media (min-width: 768px){
  .resource-library_check__filters{
    display:flex!important;
    flex-direction: column;
  }
}
.resource-library_check__filters_tags{
  display:flex;
  flex-direction:column;
  grid-gap:15px;
}
.check__filter{
  display:flex;
  grid-gap:10px;
}


.resource-library{
  --active: #0a2540;
  --active-inner: #fff;
  --focus: 2px rgba(10,37,64,1);
  --border: #196DB6;
  --border-size: 2px;
  --border-hover: #196DB6;
  --background: #fff;
  --disabled: #196DB6;
  --disabled-inner: #f6f8ff;
}
.resource-library input[type='checkbox'] {
		 -webkit-appearance: none;
		 -moz-appearance: none;
		 height: 21px;
		 outline: none;
		 display: inline-block;
		 vertical-align: top;
		 position: relative;
		 margin: 0 0 0 0;
		 cursor: pointer;
		 border: var(--border-size) solid var(--bc, var(--border));
		 background: var(--b, var(--background));
		 transition: background 0.3s, border-color 0.3s, box-shadow 0.2s;
     width:21px!important;
     flex-shrink: 0;
	}
	 .resource-library input[type='checkbox']:after {
		 content: '';
		 display: block;
		 left: 0;
		 top: 0;
		 position: absolute;
		 transition: trans.resource-library var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s);
	}
	 .resource-library input[type='checkbox']:checked {
		 --b: var(--active);
		 --bc: var(--active);
		 --d-o: 0.3s;
		 --d-t: 0.6s;
		 --d-t-e: cubic-bezier(0.2, 0.85, 0.32, 1.2);
	}
	 .resource-library input[type='checkbox']:disabled{
		 --b: var(--disabled);
		 cursor: not-allowed;
		 opacity: 0.9;
	}
	 .resource-library input[type='checkbox']:disabled:checked {
		 --b: var(--disabled-inner);
		 --bc: var(--border);
	}
	 .resource-library input[type='checkbox']:disabled + label {
		 cursor: not-allowed;
	}
	 .resource-library input[type='checkbox']:hover:not(:checked):not(:disabled) {
		 --bc: var(--border-hover);
	}
	 .resource-library input[type='checkbox']:focus{
		 box-shadow: 0 0 0 var(--focus);
	}
	 .resource-library input[type='checkbox']:not(.switch) {
		 width: 21px;
	}
	 .resource-library input[type='checkbox']:not(.switch):after {
		 opacity: var(--o, 0);
	}
	 .resource-library input[type='checkbox']:not(.switch):checked {
		 --o: 1;
	}
	.resource-library input[type='checkbox'] + label {
		 line-height: 21px;
		 display: flex;
		 vertical-align: top;
		 cursor: pointer;
    width:100%;
	}
  .resource-library input[type=checkbox]:checked  + label {
    opacity: .6;
  }
	 .resource-library input[type='checkbox']:not(.switch) {
		 border-radius: 5px;
	}
	 .resource-library input[type='checkbox']:not(.switch):after {
		 width: 5px;
		 height: 9px;
		 border: 2px solid var(--active-inner);
		 border-top: 0;
		 border-left: 0;
		 left: 6px;
		 top: 4px;
		 transform: rotate(var(--r, 20deg));
	}
	 .resource-library input[type='checkbox']:not(.switch):checked {
		 --r: 43deg;
	}
	 .resource-library input[type='checkbox'].switch {
		 width: 38px;
		 border-radius: 11px;
	}
	 .resource-library input[type='checkbox'].switch:after {
		 left: 2px;
		 top: 2px;
		 border-radius: 50%;
		 width: 15px;
		 height: 15px;
		 background: var(--ab, var(--border));
		 transform: translateX(var(--x, 0));
	}
	 .resource-library input[type='checkbox'].switch:checked {
		 --ab: var(--active-inner);
		 --x: 17px;
	}
	 .resource-library input[type='checkbox'].switch:disabled:not(:checked):after {
		 opacity: 0.6;
	}
@media (max-width: 767px){
  .layout__list.resource-library_grid .resource-library_item_inner .resource-library_image,
  .layout__list .resource-library_image{
    display:none;
  }
  .resource-library_grid__sidebar{
   grid-template-columns: 1fr;
  }
  .resource-library_check__filters{
    display:none;
  }
  .resource-library_lgrid, 
  .resource-library_llist,
  .resource-library_lfilters{
    width: 40px;
  }
  .resource-library_quicksearch {
    padding: 5px;
    min-height: 40px;
    background-size: 18px;
    padding-left: 45px;
  }
  .resource-library_lfilters{
    display:flex;
  }
  .resource-library_search__layout,
  .resource-library_layout{
    grid-gap:5px;
  }
  .resource-library_check__filters{
    position: absolute;
    flex-direction: column;
    background: #fff;
    padding: 10px;
    top: 60px;
    right: 0px;
    width: 220px;
    border: 1px solid #ccc;
    border-radius: 6px;
  }
  .resource-library_check__filters_tags {
    padding:5px;
    max-height: 170px;
    overflow: auto;
  }
}