/*
Theme name: Emissions Reduction Alberta WordPress
Description: Custom Theme
*/

/*
	Source post-css styles are located in resources/css/
	The compiled bundle is saved to `dist/css/bundle-${fingerprint}.css`
	(dist/manifest.json provides the exact path mapping).

	DEVELOPMENT.md file contains instructions how to get the compilation
	process up & running.

	If you need to make a quick fix, feel free to add CSS
	below this comment -- it's loaded after the compiled bundle.
*/

.search-form {
	color: var(--color-brand-blue-dk);
}

.esb-hero.hero--secondary .hero__body:after {
	border-color: transparent transparent transparent var(--color-brand-green-dkr) !important;
}
.esb-hero .hero__bar {
	background-color: var(--color-brand-green-dkr) !important;
}

.esb-hero-image-caption {
	padding: 35px;
	line-height: 1;
	max-width: calc(50%);
}

.esb-logo {
	background: no-repeat url(/wp-content/uploads/2021/01/ERA-ESB-Logo_white.svg);
	height: 7em;
	margin-bottom: 2em;
}

.esb-title {
	letter-spacing: 0em !important;
}

.esb-lede {
	font-style: italic;
}

.esb-lede + p {
	margin-top: 3rem;
}

.esb-remainingfunding-title {
	margin-top: 2em;
	color: #a5e554 !important;
	font-weight: bolder;
	font-size: 18px;
	text-transform: uppercase;
}

.esb-remainingfunding-value {
	font-weight: 500;
	font-size: 32px;
}

.esb-remainingfunding-date {
	font-style: italic;
	font-size: 14px;
	font-weight: 100;
}

.esb_hero {
	background: var(--color-brand-green-dk) !important;
	color: #ffffff !important;
}
.esb_hero p,
.esb_hero li {
	color: #ffffff !important;
}

.esb_hero ul {
	list-style-type: disc;
	padding-left: 40px;
}

.esb_hero ul.list-stats {
	list-style-type: none;
	padding-left: 0;
}

.esb-aboutprogram-title {
	color: #a5e554 !important;
}

.esb-aboutprogram-copy {
}
.esb-applynow-widget {
	min-height: 13em;
}
.widget__aside.esb-applynow-widget p {
	color: #ffffff !important;
}
.widget-secondary .widget__aside.esb-applynow-widget:after {
	background: #a5e554 !important;
}

@media (min-width: 1651px) {
	/*.esb-hero .hero__body .hero__inner .shell{
		padding-left: 90px;
	}
	.esb_hero .shell{
		padding-left:90px;
	}*/
}

.funding-selector-sidebar
	.articles-alt--primary
	.grid__col
	+ .grid__col
	.article-alt:after {
	background: color('brand', 'blue-light');
	top: 20px;
}

.funding-selector-sidebar .article-alt--blue-alt {
	border-top: 3px solid color('brand', 'blue-light');
	padding: 43px 0 0;
}

@media (max-width: 767px) {
	.section-alt .section__aside-alt {
		margin-top: 55px;
	}
}

/* .grid__col {
	position: relative;
} */

.wp-block-cover.is-style-announcement img.wp-block-cover__image-background {
	top: unset;
	right: unset;
	width: auto;
	height: auto;
	z-index: 1;
}
