#filters {
	text-align: center;
}
#filters .filter {
	display: inline-block;
	vertical-align: top;
	text-align: left;
	margin: 0 0.5rem 1rem 0.5rem;
}
#filters .filter label {
	font-weight: 500;
}
#filters .filter-by {
	vertical-align: bottom;
}
#filters .filter-by label {
	color: inherit;
	line-height: 1.75rem;
	font-weight: 500;
}
#filters .filter select {
	margin-top: 0.5em;
}
#filters .filter select,
#filters .filter option {
	background-color: white;
	color: #878787;
	font-family: inherit;
}
#filtered_page_items {
	margin: 2em 0;
}
@media screen and (max-width: 60rem) {
	#filters .filter {
		display: block;
		margin: 1em 0 0 0;
	}
	#filters .filter-by label {
		font-size: 1.2rem;
		line-height: inherit;
	}
	#filters .filter select {
		margin-top: 0.25em;
		width: 100%;
	}
}
#resources {
	text-align: left;
}
#resources .resource-container {
	display: inline-block;
	vertical-align: top;
	width: 33.33%;
	box-sizing: border-box;
	padding: 2.5%;
}
@media screen and (max-width: 1000px) {
    #resources .resource-container { width: 50%; }
}

@media screen and (max-width: 600px) {
    #resources .resource-container { width: 100%; }
}
#resources .resource {
	text-align: center;
	background: white;
	border: 1px solid #ebebeb;
	box-shadow: rgba(0, 0, 0, 0.2) 0 0 1em;
	padding: 2em;
}

.resource {
	position: relative;
}

#resources .resource .resource-thumbnail {
	position: absolute;
	top: -1.2em;
	right: -1.5em;
	width: 30%;
	z-index: 1;
}
.resource .resource-thumbnail-container {
	text-align: center;
	padding: 1em;
}
.resource .resource-thumbnail-container .resource-thumbnail {
	max-width: 70%;
	margin: 0 auto;
}
.resource .resource-thumbnail a,
.resource .resource-thumbnail img {
	display: inline-block;
	max-width: 100%;
}
.resource .resource-thumbnail img {
	border: 1px solid #ebebeb;
	box-shadow: rgba(0, 0, 0, 0.2) 0 0 1em;
}

.resource .resource-type-icon {
	background: transparent none no-repeat scroll center center;
	background-size: contain;
	padding-bottom: 50%;
	max-width: 4em;
	margin: 0 auto;
}
.resource h2 + .resource-summary {
	margin-top: 0.3em;
}

.resource-links {
	font-size: 0.875rem;
}
.resource-links a.button {
	margin: 0 !important;
	vertical-align: middle;
	padding: 0 3.5em;
	line-height: 3.75em;
	font-weight: 500;
}
.resource-links a.button + a.button {
	margin-left: 0.5em !important;
}
.resource-links a.button.download {
	background-image: url('https://www.e4tech.com/templates/e4tech/images/download.png');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: auto 50%;
	overflow: hidden;
	text-indent: -10em;
	padding: 0;
	width: 3.75em;
}

.resource .resource-content-container {
	padding: 2em 1em;
}
.resource .resource-tags {
	padding: 2em 1em;
}
.resource-type-foreground-colour {
	text-align: left;
}	
.resource-summary {
	text-align: left;
}
#content_page_banner .resource-type-icon img {
	position: static;
	width: auto;
	height: auto;
	max-width: 4rem;
	max-height: 4rem;
	vertical-align: bottom;
}
