/*
 Theme Name:   Salient Child
 Author:       WebMechanix
 Template:     salient
*/

html:not([lang="en-US"]) .hide-in-en-us,
html[lang="en-US"] .show-only-in-en-us {
	display: block;
}

html[lang="en-US"] .hide-in-en-us,
html:not([lang="en-US"]) .show-only-in-en-us {
	display: none;
}

#header-secondary-outer .wpml-ls-legacy-dropdown {
	display: block;
	width: auto;
	height: 16px;
	margin: .75rem auto 0;
}

@media (min-width: 576px) {
	#header-secondary-outer .wpml-ls-legacy-dropdown {
		display: inline-block;
		vertical-align: top;
		margin: 0 0 0 .5rem;
	}
}

#header-secondary-outer .wpml-ls-legacy-dropdown a {
	border: 0;
}

#header-secondary-outer .wpml-ls-legacy-dropdown>ul {
	display: flex;
	height: 100%;
	position: relative;
	padding: 0;
	list-style: none;
	align-items: center;
	flex-wrap: wrap;
	flex-direction: row;
}

#header-secondary-outer .wpml-ls-legacy-dropdown>ul>li {
	position: relative;
	margin: 0;
	padding: 0;
}

#header-secondary-outer .wpml-ls-legacy-dropdown>ul>li:hover ul.wpml-ls-sub-menu,
#header-secondary-outer .wpml-ls-legacy-dropdown>ul>li:focus ul.wpml-ls-sub-menu {
	display: flex;
}

#header-secondary-outer .wpml-ls-legacy-dropdown>ul>li>a {
	display: inline-block;
	position: relative;
	background-color: transparent;
	border: 0;
	margin: 0 auto;
	padding: 0 1rem 0 1.5rem;
	text-align: center;
	color: #666;
	font-size: inherit;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
}

@media (min-width: 576px) {
	#header-secondary-outer .wpml-ls-legacy-dropdown>ul>li>a {
		display: block;
		margin: 0;
	}
}

#header-secondary-outer .wpml-ls-legacy-dropdown>ul>li>a::before {
	content: '';
	display: block;
	width: 0;
	height: 0;
	position: absolute;
	top: 40%;
	left: 11px;
	border-top: 6px solid #4739e7;
	border-right: 5px solid transparent;
	border-bottom: none;
	border-left: 5px solid transparent;
}

#header-secondary-outer .wpml-ls-legacy-dropdown>ul>li>a::after {
	display: none;
}

#header-secondary-outer .wpml-ls-legacy-dropdown ul.wpml-ls-sub-menu {
	display: none;
	min-width: 200px;
	border: 0;
	flex-wrap: nowrap;
	flex-direction: column;
}

#header-secondary-outer .wpml-ls-legacy-dropdown ul.wpml-ls-sub-menu>li.wpml-ls-item {
	display: block;
	background: #4739e7;
	text-align: left;
}

#header-secondary-outer .wpml-ls-legacy-dropdown ul.wpml-ls-sub-menu>li>a.wpml-ls-link {
	display: block;
	padding: 10px;
}

/* BLOG LISTING OVERRIDES */


.post-area.featured_img_left .article-content-wrap .post-featured-img-wrap {
	height: auto;
	aspect-ratio: 900 / 600;
	border-radius: 20px;
	overflow: hidden;
}

.post-area.featured_img_left .article-content-wrap {
	align-items: center;
}

@media only screen and (min-width: 768px) {

	.post-area.featured_img_left .article-content-wrap .post-featured-img-wrap {
		width: 40%;
	}

	.post-area.featured_img_left .article-content-wrap .post-content-wrap {
		width: 60%;
	}

	.post-area.featured_img_left article:hover .article-content-wrap .post-featured-img-wrap {
		transform: translateY(-55%);
	}
}

@media only screen and (min-width: 1000px) {
	.post-area.featured_img_left .article-content-wrap .post-featured-img-wrap {
		/*height: 160px;*/
		top: 50%;
		transform: translateY(-50%);
	}

	.post-area.featured_img_left .article-content-wrap .post-content-wrap {
		left: 40%;
	}
}

@media only screen and (max-width: 999px) {
	.post-area.featured_img_left .article-content-wrap {
		/*align-items: stretch;*/
	}

	.post-area.featured_img_left article:hover .article-content-wrap .post-featured-img-wrap {
		transform: translateY(0);
	}
	
	.single-post .author-about{
		margin-bottom: 35px;
	}
	
	
}


/* Wrapped in ID: blog-card-styling */

@import url("https://use.typekit.net/cjw6ehj.css");

body.single-post .related-post-wrap .related-title {
	font-family: all-round-gothic;
	font-weight: 600;
	font-size: 48px;
	line-height: 56px;
	letter-spacing: 0%;
	color: #4739E7;
}

#blog-cards-styling #blog-filter {
	align-items: center;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	justify-items: stretch;
	grid-gap: 20px;
	padding: 11px 0 32px;
}

@media screen and (min-width: 992px) {

	#blog-cards-styling #blog-filter {
		padding: 11px 65px 32px;
		grid-template-columns: repeat(4, 1fr);
		grid-template-areas:
			"filter filter filter submit"
			"filtered filtered filtered reset";
	}

	#blog-cards-styling #blog-filter .filter {
		grid-area: filter;
	}

	#blog-cards-styling #blog-filter #resource-filter--current {
		grid-area: filtered;
	}
}

#blog-cards-styling #blog-filter--results {
	display: grid;
	grid-template-columns: 1fr;
	grid-gap: 30px;
}

@media screen and (min-width: 768px) {
	#blog-cards-styling #blog-filter--results {
		grid-template-columns: repeat(2, 1fr)
	}
}

@media screen and (min-width: 992px) {
	#blog-cards-styling #blog-filter--results {
		grid-template-columns: repeat(3, 1fr);
	}
}

#blog-cards-styling #blog-filter--results .card {
	background: #FFF;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15);
	top: 0;
	transition: opacity .2s ease-out, top .3s ease-out, box-shadow .3s ease-out, transform .3s ease-out;
	position: relative;
	display: grid;
	grid-template-rows: auto 1fr;
}

#blog-cards-styling #blog-filter--results .card:hover {
	z-index: 9;
}

#blog-cards-styling #blog-filter--results .card:hover .card-image img {
	transform: scale(1.07);
}

#blog-cards-styling #blog-filter--results .card .card-image {
	overflow: hidden;
}

#blog-cards-styling #blog-filter--results .card .card-image img {
	object-fit: cover;
	height: 100%;
	width: 100%;
	transform: scale(1);
	transition: transform .7s cubic-bezier(.2, 1, .22, 1);
}

#blog-cards-styling #blog-filter--results .card .card-content {
	padding: 35px 44px 48px;
	display: grid;
	grid-template-rows: auto auto 1fr;
}

/* @media screen and (max-width: 1200px) {
	#blog-cards-styling #blog-filter--results .card .card-content {
		padding: 20px;
	}
} */

#blog-cards-styling #blog-filter--results .card .card-meta {
	/* margin-bottom: 14px; */
	font-size: 16px;
	line-height: 28px;
	color: #0E0E1E;
}

@media screen and (max-width: 1200px) {
	#blog-cards-styling #blog-filter--results .card .card-meta {
		font-size: 14px;
		line-height: 18px;
	}
}

#blog-cards-styling #blog-filter--results .card .card-meta p {
	font-weight: 400;
}

#blog-cards-styling #blog-filter--results .card .card-meta p span {
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: .2em;
}

#blog-cards-styling #blog-filter--results .card .card-meta .topic {
	font-weight: bold;
}

#blog-cards-styling #blog-filter--results .card .post-title {
	margin-bottom: 14px;
	font-size: 22px;
	font-family: 'roboto';
	font-weight: bold;
	line-height: 36px;
	letter-spacing: 0;
	color: #0E0E1E
}

#blog-cards-styling #blog-filter--results .card .post-title a {
	font-size: 22px;
	line-height: 36px;
	color: #0E0E1E;
}

@media screen and (max-width: 1200px) {
	#blog-cards-styling #blog-filter--results .card .post-title a {
		font-size: 20px;
		line-height: 24px;
	}
}

#blog-cards-styling #blog-filter--results .card .post-link {
	padding-bottom: 0;
	text-transform: uppercase;
	align-self: flex-end;
}

#blog-cards-styling #blog-filter--results .card .post-link a {
	font-weight: 900;
	font-size: 12px;
	line-height: 28px;
	letter-spacing: .2em;
	color: #4739E7;
}

#blog-cards-styling #blog-filter--results .card .post-link a::after {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	content: "";
}

#blog-cards-styling #blog-filter--results .card--loading {
	opacity: 0;
}

#blog-cards-styling #blog-filter--results .card--loaded {
	animation: scale-up-top 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}

#blog-cards-styling #blog-filter--results .col-span-3 {
	grid-column: span 3;
}

#blog-cards-styling #load-more {
	padding: 54px 0;
	text-align: center;
}

#blog-cards-styling #load-more .btn-load-more {
	padding: 21px 27px;
	color: #FFF;
	font-weight: bold;
	font-size: 18px;
	background: #4739e7;
}

#blog-cards-styling #load-more .btn-load-more:active {
	color: inherit;
}

#blog-cards-styling #load-more .btn-load-more:hover {
	color: inherit;
}

#blog-cards-styling #load-more .btn-load-more:focus {
	color: inherit;
}

/* Blog archive updates 20230111 */
.blog .page-header-no-bg .section-title h1,
.archive .page-header-no-bg .section-title h1 {
	font-family: all-round-gothic !important;
	font-weight: 600 !important;
	font-size: 56px !important;
	line-height: 62px !important;
	letter-spacing: 0% !important;
	color: #4739E7;
}

.archive .page-header-no-bg .section-title .subheader {
    position: relative;
    display: inline-block;
	margin-bottom: 0;
	font-size: 16px;
    line-height: 22px;
	font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .2em;
	color: #919191;
}

.blog .page-header-no-bg .section-title,
.archive .page-header-no-bg .section-title {
	padding: 60px 0 100px 0;
	border-bottom: 2px solid #EDECFD;
}

.blog .container-wrap
.archive .container-wrap {
	padding-top: 100px !important;
}

.blog .post-area.featured_img_left article,
.archive .post-area.featured_img_left article {
	margin-bottom: 50px;
	padding-bottom: 50px;
	border-bottom: 1px solid #EDECFD;
}

.blog .posts-container .post .post-featured-img-wrap,
.archive .posts-container .post .post-featured-img-wrap {
	background-color: transparent;
	border: 1px solid #EDECFD;
}

.blog .posts-container .post:first-child .post-featured-img-wrap,
.archive .posts-container .post:first-child .post-featured-img-wrap {
	overflow: visible;
}

.blog .posts-container .post:first-child .post-featured-img-wrap::after,
.archive .posts-container .post:first-child .post-featured-img-wrap::after {
	content: '';
	position: absolute;
	top: -25px;
	left: -25px;
	height: 95px;
	width: 95px;
	border: 4px solid #DAD7FA;
	border-radius: 15px;
}

.blog .posts-container .post:first-child .post-featured-img-wrap a,
.archive .posts-container .post:first-child .post-featured-img-wrap a {
	z-index: 1;
	border-radius: 20px;
	overflow: hidden;
}

.blog .posts-container .post .meta-category,
.archive .posts-container .post .meta-category {
	font-size: 16px;
	line-height: 22px;
	text-transform: uppercase;
	letter-spacing: .2em;
}

.blog .posts-container .post .meta-category a,
.archive .posts-container .post .meta-category a {
	margin-right: 0;
	margin-bottom: 0;
}

.blog .posts-container .post .meta-category .divider,
.archive .posts-container .post .meta-category .divider {
	padding: 0 10px;
	color: #B7B8BC;
}

.blog .posts-container .post .post-header,
.archive .posts-container .post .post-header {
	margin-top: 12px;
}

.blog .posts-container .post .post-header .title,
.archive .posts-container .post .post-header .title {
	font-size: 22px;
	font-weight: 700;
	line-height: 36px;
	color: #0A1B51;
}

.blog .posts-container .post .grav-wrap .text,
.archive .posts-container .post .grav-wrap .text {
	display: flex;
	align-items: center;
}

.blog .posts-container .post .grav-wrap .text > *,
.archive .posts-container .post .grav-wrap .text > * {
	font-size: 16px;
	line-height: 22px;
	color: #0E0E1E;
}

.blog .posts-container .post .grav-wrap .text .divider,
.archive .posts-container .post .grav-wrap .text .divider {
	color: #B7B8BC;
}

.single-post .container-wrap {
	padding-bottom: 0;
}

.single-post #page-header-wrap {
	height: auto !important;
}

.single-post #page-header-wrap #page-header-bg {
	height: auto !important;
	padding: 0 !important;
	background-color: transparent !important;
}

.single-post #page-header-wrap #page-header-bg .page-header-bg-image {
	display: none;
}

.single-post #page-header-wrap #page-header-bg .blog-title {
	width: 68.5%;
	margin-right: 4%;
	transform: none;
}

.single-post #page-header-wrap #page-header-bg .blog-title .inner-wrap {
	padding-top: 60px;
	text-align: left;
}

.single-post #page-header-wrap #page-header-bg .blog-title .inner-wrap > a {
	margin: 0;
	padding: 0;
	font-size: 18px;
	line-height: 24px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: #4739E7 !important;
	border-color: transparent;
	border-radius: 0;
}

.single-post #page-header-wrap #page-header-bg .blog-title .inner-wrap > .divider {
	position: relative;
	top: -2px;
	padding: 0 10px;
	font-size: 16px;
	color: #B7B8BC !important;
}

.single-post #page-header-wrap #page-header-bg .blog-title .inner-wrap > a:hover {
	background-color: transparent !important;
}

.single-post #page-header-wrap #page-header-bg .blog-title .inner-wrap .entry-title {
	margin: 0 !important;
	padding: 31px 0 46px;
	font-family: all-round-gothic;
	font-size: 56px;
	font-weight: 600;
	line-height: 62px;
	text-align: left;
	color: #4739E7 !important;
}

.single-post #page-header-wrap #page-header-bg .blog-title .inner-wrap #single-below-header {
	display: flex;
	align-items: center;
	text-align: left;
}

.single-post #page-header-wrap #page-header-bg .blog-title .inner-wrap #single-below-header > span {
	padding: 0;
}

.single-post #page-header-wrap #page-header-bg .blog-title .inner-wrap #single-below-header * {
	color: #666 !important;
}

.single-post #page-header-wrap #page-header-bg .blog-title .inner-wrap #single-below-header .divider {
	color: #B1B3B7 !important;
	line-height: 18px;
}

.single-post #page-header-wrap #page-header-bg .blog-title .inner-wrap #single-below-header .meta-author-image {
	flex: 0 0 auto;
	height: 60px;
	width: 60px;
	margin-right: 1rem;
	border: 3px solid #4739E7;
	border-radius: 50%;
	overflow: hidden;
}

.single-post #page-header-wrap #page-header-bg .blog-title .inner-wrap #single-below-header .meta-author-image > img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	object-position: center;
}

@media only screen and (max-width: 690px) {

	.single-post #page-header-wrap #page-header-bg .blog-title .inner-wrap #single-below-header {
		flex-direction: row;
    	align-items: center;
	}

/* 	.single-post #page-header-wrap #page-header-bg .blog-title .inner-wrap #single-below-header .divider {
		display: none;
	} */

/* 	.single-post #page-header-wrap #page-header-bg .blog-title .inner-wrap #single-below-header .meta-author-image {
		margin-bottom: 1rem;
	} */
}

body.single-post .feat-image-shortcode-wrapper {
	position: relative;
	width: 50%;
	float: right;
	margin-left: 1.5rem;
	margin-bottom: 1.5rem;
	aspect-ratio: 1.66;
}

body.single-post .feat-image-shortcode-wrapper::before {
	content: '';
	position: absolute;
	top: -25px;
	right: -25px;
	height: 95px;
	width: 95px;
	border: 4px solid #FFBA00;
	border-radius: 15px;
}

body.single-post .feat-image-shortcode-wrapper img {
	position: relative;
	z-index: 1;
	height: 100%;
	width: 100%;
	margin-bottom: 0;
	object-fit: cover;
	object-position: center;
	border-radius: 15px;
	padding-bottom: 0;
}

@media only screen and (max-width: 690px) {

	body.single-post .feat-image-shortcode-wrapper {
		width: 100%;
	}
}

.single-post .author-about {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.single-post .author-about .meta-author-image img {
	height: 60px;
	width: 60px;
	margin-right: 1rem;
	margin-bottom: 0;
	border: 3px solid #4739E7;
	border-radius: 50%;
	overflow: hidden;
	object-fit: cover;
	object-position: center;
	margin-left: 0;
	float: none;
	padding-bottom: 0px;
}

.single-post .author-about .meta-author a {
	font-size: 22px;
	line-height: 28px;
	font-weight: 700;
	color: #0A1849;
}

.single-post .author-about .author-bio {
	width: 100%;
}

.single-post .blog-recent.related-posts {
    padding: 0 0 150px 0;
}

@media only screen and (max-width: 999px) {
	.single-post #page-header-wrap #page-header-bg .blog-title {
    	width: 100%;
	}
	.single-post #page-header-wrap #page-header-bg .blog-title .inner-wrap .entry-title{
		font-size: 42.9px;
    	line-height: 49.4px;
	}
	
	.single-post .blog-recent.related-posts {
    	padding: 0 0 75px 0 !important;
	}
}