.resource-library__results { padding: 80px 0; }
.resource-library__filter__container { display: flex; align-items: center; }

.resource-library__filter__filters { display: flex; justify-content: flex-end; width: 50%; gap: 40px; }
.resource-library__filter {position: relative;padding: 0;}
/*.resource-library__filter__cat { position: relative; }*/
.resource-library__filter__search {  width: 50%; position: relative; }
.resource-library__filter__search__container { position: relative; width: 290px;  }
.resource-library__filter__search input[type="text"] { margin: 0; width: 100%; border:0; border-bottom: 1px solid #fff; background: transparent; border-radius: 0; height: 40px; line-height: 40px; padding: 0 40px 0 0!important;}
.resource-library__filter__search input::placeholder { font-weight: var(--medium); font-size: 1.1875rem; color: var(--near-black) }
.resource-library__filter__search input::placeholder { font-weight: var(--medium); font-size: 1.1875rem; color: var(--near-black) }

.resource-library__filter__button {text-transform: uppercase;font-weight: var(--bold);padding: 50px 35px 50px 10px;position: relative;}
.resource-library__filter__button:after {font-family: var(--icon-family);content: '\e911'; position: absolute;right: 10px;height: 100%;display: flex;align-items: center;top: 0;color: var(--secondary); }
.resource-library__filter__button:hover:before { width: 0; }

.resource-library__checkbox__choices {margin:0;opacity: 0; z-index: -9999; left: -99999px; position: absolute; top: 90%; width: 100%; transition: ease background 350ms; background: var(--near-black);padding: 3rem; columns: 4; -webkit-columns: 4; -moz-columns: 4; }
.resource-library__filter__cat:hover > .resource-library__checkbox__choices { opacity: 1; left: 0; z-index: 100; }
.resource-library__checkbox__choice { text-transform: uppercase; font-weight: var(--bold); color: #fff; margin: 3px 0;  }
.resource-library__checkbox__choice label { font-size: .875rem; font-weight: var(--medium) }

.resource-library__filter__search__button { position: absolute; right: 0; top: 0; color: var(--secondary); font-size: 1.25rem; height: 100%; display: flex; align-items: center; justify-content: flex-end; width: 30px; }
.button-reset { padding: 0; background: transparent; }
.button-reset:hover:before { width: 0; }

.resource-library__results .row { position: relative; z-index: 20; }
.resource-library__results.notched-corner:before { clip-path: none; }
.resource-library__grid { position: relative; z-index: 20; display: grid; grid-template-columns: repeat(3, minmax(200px, 33.33%)); grid-gap: 70px; margin-top: 40px; position: relative; }

.resource-library__results__viewing { position: relative; padding-right: 200px; }
.resource-library__results__viewing__reset { position: absolute; top: 0; right: 15px; }
.resource-library__results__viewing__reset button { padding: 8px 20px 8px 10px; background: var(--secondary); color: #fff; text-transform: uppercase; font-size: 14px; font-family: var(--text-family); clip-path: var(--notch-right-xsmall); display: none; }
.resource-library__results__noposts { display: none; }
.resource-library__results__noposts p { margin: 0; }

.resource-library__results__related { display: none; }
.resource-library__results__related p { margin: 0; }

.resource-library__checkbox__choice { display: flex; align-items: center; }
input.js-resource-filter { -webkit-appearance: none; }
input.js-resource-filter:before { font-family: var(--icon-family); display: flex; align-items: center; background-color: transparent; border: 1px solid var(--primary); content: ''; width: 16px; height: 16px; margin-right: 5px; cursor: pointer; }
input.js-resource-filter:checked:before { background-color: var(--primary) }

.tool-kits__grid { display: grid; grid-template-columns: repeat(4, minmax(200px, 25%)); grid-gap: 7px;}
.tool-kits__box { background: #fff; padding: 25px; }
.tool-kits__box__title { margin: 0 0 10px; }
.tool-kits__box__title a { color: inherit; }
.tool-kits__box__title a:hover { color: var(--light-blue); }
.tool-kits__box__excerpt { margin: 10px 0 0; }
.tool-kits__box span { color: var(--secondary); font-size: 24px; display: inline-block; margin: 28px 0 0; }
.tool-kits__box span:hover { color: var(--light-blue); }

.spinner-container { position: relative; }
.spinner{position:absolute; z-index:999999; top:100px; left:50%; margin:-30px 0 0 -30px; height:60px;width:60px; -webkit-animation:rotation .6s infinite linear;-moz-animation:rotation .6s infinite linear;-o-animation:rotation .6s infinite linear;animation:rotation .6s infinite linear;border-left:6px solid rgba(232, 232, 232,1);border-right:6px solid rgba(232, 232, 232,1);border-bottom:6px solid rgba(232, 232, 232,1);border-top:6px solid var(--secondary);border-radius:100%}
.spinner-container .spinner { top: auto; bottom: 120px; }

@-webkit-keyframes rotation{from{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(359deg)}}
@-moz-keyframes rotation{from{-moz-transform:rotate(0deg)}to{-moz-transform:rotate(359deg)}}
@-o-keyframes rotation{from{-o-transform:rotate(0deg)}to{-o-transform:rotate(359deg)}}
@keyframes rotation{from{transform:rotate(0deg)}to{transform:rotate(359deg)}}

.single__post-content--resource p { font-size: 1.25rem; }
.single__post-content--resource figure { margin: 0 0 30px; }

@media only screen and (max-width: 1400px) {
	.resource-library__filter__search__container { width: 180px; } 
	.resource-library__filter__container { justify-content: space-between; padding: 0 30px;  }
	.resource-library__filter__filters { width: auto; }
	.resource-library__filter__search { width: auto; }
	.resource-library__checkbox__choices {padding: 2rem; columns: 3; -webkit-columns: 3; -moz-columns: 3; }
	.resource-library__grid { grid-template-columns: repeat(2, minmax(200px, 50%)); grid-gap: 40px; padding-right: calc(15px + 30px)}
}

@media only screen and (max-width: 600px) {
	.resource-library__filter__button {padding: 20px 35px 20px 10px;}
	.resource-library .notched-corner:before { width:100%; }
	.resource-library__filter__search__container { width: 180px; }
	.resource-library__checkbox__choices {columns: 1; -webkit-columns: 1; -moz-columns: 1; }
	.resource-library__filter__container { justify-content: space-between; flex-direction:column; gap: 20px; padding:30px 0 }
	.resource-library__filter__filters { display: flex; justify-content: space-between; gap: 10px; }
	.resource-library__filter__search { width: auto; }
	.resource-library__grid { grid-template-columns: repeat(1, minmax(200px, 100%)); grid-gap: 30px; padding-right: 0.6667rem; }
}