.asa-resources { position: relative; }
.asa-resources.loading:after { position: absolute; top: 0; bottom: 0; left: 0; right: 0; content: ' '; background: rgba(0,0,0,0.1); }
.asa-resources .resource-row { display: flex; flex-direction: row; align-items: center; background: #fff; border-radius: 10px; box-shadow: 0 2px 10px 0 rgba(0,0,0,0.15); margin: 16px 0; padding: 2em; }
.asa-resources .resource-row:hover { box-shadow: 0 2px 10px 0 rgba(0,0,0,0.25); }
.asa-resources .resource-row .resource-thumb { width: 60px; min-width: 60px; text-align: center; padding-right: 2em; }
.asa-resources .resource-row .resource-thumb img { height: 40px; width: auto; }
.asa-resources .resource-row .resource-thumb i { font-size: 32px; }
.asa-resources .resource-row.pdf .resource-thumb i { color: #af292e; }
.asa-resources .resource-row.image .resource-thumb i { color: #00a9e0; }
.asa-resources .resource-row .resource-title { margin-bottom: 2px; }
.asa-resources .resource-row .resource-meta { font-size: 12px; }
.asa-resources .resource-row .resource-details { flex-grow: 3; }
.asa-resources .resource-row .resource-download { width: 120px; min-width: 120px; padding-left: 2em; text-align: center; font-weight: bold; }

.resource-filter h3 { margin: 1.5em 0 0.5em 0; }
.resource-filter .filter { margin: 6px 0; }
.resource-filter .filter label { position: relative; cursor: pointer; }
.resource-filter .filter.checkbox input[type="checkbox"] { opacity: 0; margin-left: -13px; }
.resource-filter .filter.checkbox label::before { content: ""; display: inline-block; vertical-align: middle; margin-top: -2px; margin-right: 0.8em; height: 20px; width: 20px; border: 1px solid #00a9e0; }
.resource-filter .filter.checkbox label::after { content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: bold; left: 4px; top: 0; display: inline-block; position: absolute; color: #00a9e0; }
.resource-filter .filter.checkbox input[type="checkbox"] + label::after { content: none; }
.resource-filter .filter.checkbox input[type="checkbox"]:checked + label::after { content: "\f00c"; }
.resource-filter .filter.checkbox input[type="checkbox"]:focus + label::before { outline: #00a9e0 auto 2px; }

.resource-search { position: relative; }
.resource-search input[type="search"] { border: 0 none; border-bottom: 1px solid #979797; background: transparent !important; padding-left: 32px; border-radius: 0; height: auto; font-size: 16px; }
.resource-search .uk-icon-search { color: #00A9E0; font-size: 20px; position: absolute; left: 0; top: 12px; }

@media screen and (max-width: 768px)
{
	.asa-resources .resource-row { padding: 1.5em; }
	.asa-resources .resource-row .resource-thumb { width: 32px; min-width: 32px; padding-right: 1em; }
	.asa-resources .resource-row .resource-download { padding-left: 1em; font-size: 12px; min-width: 40px; width: 40px; }
	.asa-resources .resource-row .resource-download .text { display: none; }
}