/* CSS Document */
section.resources-results {
	margin-top: 60px;
}

.resources-masthead {
	background-color: #0d2440;
	display: flex;
	flex-direction: column;
	gap: 20px 40px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 50px;
	max-width: 1300px;
	padding: 20px 20px 17px;
}
@media (min-width: 769px) {
	.resources-masthead {
		margin-top: 100px;
		padding: 20px 30px 17px 30px;
	}
}
@media (min-width: 1025px) {
	.resources-masthead {
		flex-direction: row;
		margin-top: 140px;
	}
}
@media (min-width: 1200px) {
	.resources-masthead {
		padding: 20px 40px 17px 40px;
	}
}

.resources-masthead h2 {
	color: #fff;
	font-size: 24px;
	font-weight: 700;
	line-height: 1;
	margin-bottom: 0;
	margin-top: 0;
}
@media (min-width: 769px) {
	.resources-masthead h2 {
		font-size: 28px;
	}
}
@media (min-width: 1025px) {
	.resources-masthead h2 {
		font-size: 30px;
		flex-direction: row;
		margin-top: 4px;
	}
}

div#resources-results {
	margin: 0 auto;
	max-width: 1200px;
}
div#resources-results .resource-group-items{
	margin: 0 auto 60px auto;
	max-width: 1000px;
}

div#resources-results h3.resource-group-heading {
    font-size: 28px;
	color:#668185;
    border-bottom: #EFF0F2 3px solid;
}
.resources-summary {
	padding-bottom: 5px;
}

.resources-filters {
	display: flex;
	flex-direction: column;
	gap: 10px 30px;
	padding-top: 0px;
}
@media (min-width: 769px) {
	.resources-filters {
		flex-direction: row;
		flex-flow: wrap;	 
 
}

 
}

.filter-checkbox {
	align-items: flex-start;
	color: #fff;
	display: flex;
	font-size: 19px;
	font-weight: 400;
	gap: 10px;
	line-height: 1;
	margin: 0;
	padding: 0;
}
@media (min-width: 1025px) {
	.resources-filters {
		flex-direction: row;
		flex-flow: wrap;
		gap: 10px 14px;
	}
	.filter-checkbox {
		margin-right: 16px;
		max-width: 210px;
	}
	.filter-checkbox:nth-of-type(2) {
		max-width: 130px;
	}
	.filter-checkbox:nth-of-type(3) {
		max-width: 95px;
	}
	.filter-checkbox:nth-of-type(5) {
		max-width: 115px;
	}
}

.filter-checkbox input[type="checkbox"] {
	margin-top: 2px;
}

.results-meta {
	border-bottom: 3px solid #ee3126;
	display: flex;
	flex-direction: column-reverse;
	justify-content: space-between;
	margin: 30px auto 0px auto;
	max-width: 1200px;
	padding-bottom: 0px;
}
@media (min-width: 481px) {
	.results-meta {
		align-items: flex-end;
		flex-direction: row;
	}
}

span#resources-count {
	color: #0d2440;
	font-family: ITCAvantGardeGothicProBold, sans-serif;
	font-size: 21px;
	letter-spacing: 1px;
	line-height: 1;
	margin-bottom: 0px;
	position: relative;
	text-transform: uppercase;
}

.resources-share .btn {
	font-size: 15px;
	margin-bottom: 10px;
	padding: 13px 40px 8px 15px;
	text-transform: uppercase;

}

.resources-share .btn:after {
	background-image: url(/wp-content/uploads/icon_share-results_w.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	bottom: 0;
	content: '';
	height: 23px;
	margin: auto 0;
	position: absolute;
	right: 10px;
	top: 0;
	width: 20px;
}
.resources-results .resource-cta  .btn,
.resources-share .btn{
	color:#fff;
	background-color: #668185;
}
#resources-results.is-loading {
	opacity: .5;
	pointer-events: none
}

#resources-loading {
	margin: 10px 0;
}

.is-hidden {
	display: none !important;
}

.resource-card {
	display: flex;
	flex-direction: column;
	gap: 15px 72px;
	margin: 60px auto;
	max-width: 400px;
	text-align: center;
}
@media (min-width: 769px) {
	.resource-card {
		align-items: center;
		flex-direction: row;
		margin: 60px 0;
		max-width: none;
		text-align: left;
	}
	.resource-card:first-of-type {		 
		margin: 40px 0 60px 0;	 
	}
}

@media (min-width: 769px) {
	.resource-card.video {
		column-gap: 50px;
	}
}

.resource-card:last-of-type {
	margin-bottom: 0;
}

.resource-card.thumbnail .resource-thumb {
	align-self: center !important;
	display: flex !important;
	flex: 0 0 217px;
	justify-content: space-evenly;
	margin: 0 auto 20px;
    max-width: 217px;
}
@media (min-width: 769px) {
	.resource-card.thumbnail .resource-thumb {
		margin: 0;
	}
}

.resource-card.thumbnail .resource-thumb .thumb3d {
	align-items: center;
	display: flex;
	justify-content: center;
	perspective: 600px;
}

.resource-card.thumbnail .resource-thumb .resource-thumb-holder {
	height: 216px;
	position: relative;
	top: 9px;
	transform-style: preserve-3d;
	transform: rotateY(20deg) rotateX(10deg) rotateZ(-10deg);
	width: 152px;
}

.resource-card.thumbnail .resource-thumb .resource-thumb-holder::after {
	background-color: #01060f4f;
	border-radius: 0;
	content: ' ';
	filter: blur(8px);
	height: 174px;
	left: -1px;
	position: absolute;
	top: 34px;
	transform: translateZ(1px) rotateX(25deg);
	width: 148px;
}

.resource-thumb img {
	height: auto;
	margin: 0 auto;
}
@media (min-width: 769px) {
	.resource-thumb img {
		margin: 0;
	}
}

.resource-card:not(.thumbnail) .resource-thumb img {
	display: block;
	max-width: 217px;
}

.resource-card.thumbnail .resource-thumb img {
	background-color: #ffffff;
	border: 1px solid #ccc;
	border-radius: 0 2px 2px 0;
	left: 0;
	position: absolute;
	top: 0;
	transform: translateZ(50px);
	width: 200px;
}

@media (min-width: 769px) {
	.resource-video {
		width: calc(50% - 25px);
	}
}

.resource-video-holder {
	height: 0;
	padding-bottom: 56.25%;
	position: relative;
}

.resource-video-holder iframe {
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

@media (min-width: 769px) {
	.resource-card.video .resource-body {
		width: calc(50% - 25px);
	}
}

@media (min-width: 769px) {
	.resource-card.thumbnail .resource-body {
		width: calc(100% - 217px);
	}
}

.resource-type {
	color: #ee3126;
	font-family: ITCAvantGardeGothicProBold, sans-serif;
	font-size: 18px;
	line-height: 1;
	text-transform: uppercase;
	margin-bottom: 10px;
}
@media (min-width: 769px) {
	.resource-type {
		font-size: 20px;
	}
}

.resource-title {
	font-size: 24px;
	line-height: 1.2;
	margin: 0;
}
@media (min-width: 769px) {
	.resource-title {
		font-size: 28px;
	}
}
@media (min-width: 1025px) {
	.resource-title {
		font-size: 35px;
	}
}

.resource-title a {
	color: #0e2341;
}

.resource-excerpt {
	color: #0d2440;
	font-family: ITCAvantGardeGothicProMedium, sans-serif;
	font-size: 20px;
	line-height: 1.25;
	margin-bottom: 0;
}
@media (min-width: 769px) {
	.resource-excerpt {
		font-size: 24px;
	}
}
@media (min-width: 1025px) {
	.resource-excerpt {
		font-size: 28px;
	}
}

.resource-cta {
	margin-top: 15px;
}

.col img {
	display: block;
	height: auto;
	max-width: 100%;
}

.cols {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	width: 100%;
}

.col {
	width: 50%;
}
@media (max-width: 768px) {
	.col {
		width: 100%;
	}
}

.page-template-page-resources section#about-afp {
	background-color: #f2f2f2;
	margin-top: 150px;
}

.page-template-page-resources section#about-afp .cols {
	align-items: stretch;
}

.page-template-page-resources section#about-afp .col.left {
	align-self: stretch;
	--bottom-right: 72.5%;
	display: flex;
	flex-direction: column;
	isolation: isolate;
	justify-content: center;
	padding: 85px;
	position: relative;
	width: 30%;
}

.page-template-page-resources section#about-afp .col.left h2 {
	color: #fff;
	font-size: 39px;
	line-height: 1;
	margin-bottom: 0;
}

.page-template-page-resources section#about-afp .col.left:before {
	background: #0d2440;
	bottom: -1px;
	clip-path: polygon(0% 0%, 100% 0%, var(--bottom-right) 100%, 0% 100%);
	content: '';
	left: 0;
	pointer-events: none;
	position: absolute;
	right: 0;
	top: -1px; 
	z-index: 0;
}

.page-template-page-resources section#about-afp .col.left > * {
	position: relative;
	z-index: 1;
}

.page-template-page-resources section#about-afp .col.mid {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0 50px;
	width: 30%;
}

.page-template-page-resources section#about-afp .col.mid p {
	font-size: 20px;
}

.page-template-page-resources section#about-afp .col.right {
	width: 40%;
}

.page-template-page-resources section#about-afp .slant-box {
	aspect-ratio: 660 / 420;
	--cut: 21%;
	isolation: isolate;
	overflow: hidden;
	position: relative;
	width: 100%;
	z-index: 2;
}

.page-template-page-resources section#about-afp .slant-box > img {
	display: block;
	height: 100%;
	inset: 0;
	position: absolute;
	width: 100%;
}

.page-template-page-resources section#about-afp .slant-box.crop-left .photo {
	clip-path: polygon(var(--cut) 0%, 100% 0%, 100% 100%, 0% 100%);
	object-fit: cover;
	object-position: center;
	z-index: 1;
}

.page-template-page-resources section#about-afp .slant-box.crop-left .overlay {
	object-fit: contain;
	object-position: 35px center;
	pointer-events: none;
	z-index: 2;
}

@media (max-width: 1024px) {
	.page-template-page-resources section#about-afp .col.left,
	.page-template-page-resources section#about-afp .col.mid {
		width: 50%;
	}
	.page-template-page-resources section#about-afp .col.mid {
		padding: 40px;
	}
	.page-template-page-resources section#about-afp .col.right {
		width: 100%;
	}
}