/*
 Theme Name:   Granola Child Theme
 Theme URI:    https://granola.themerex.net/
 Description:  Granola Child Theme
 Author:       ThemeREX
 Author URI:   https://themerex.net/
 Template:     granola
 Version:      1.0
 Tags:         flexible-header, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, full-width-template, microformats, post-formats, theme-options, threaded-comments, translation-ready
 Text Domain:  granola
*/

.top_panel .elementor-element-6f7d1d9 {
	display: none !important;
}

.body_wrap.with_pattern {
	background-image: none !important;
}

/*
* Home Hero
------------------------------------------------------------ */

.home-hero {
	background-image: url(http://www.virginiaipc.org/wp-content/uploads/2024/05/Virginia-Invests-1-scaled.jpg);
	background-size: cover;
	background-position: center;
	background-position-y: 14%;
}

.home-hero-content {
	padding: 150px 20px 180px;
	background: #040b136b;
	text-align: center;
}

.home-hero h1 {
	color: #fff;
	text-align: center;
	font-size: 38px !important;
	line-height: 1.1 !important;
}

.home-hero h1 span {
	color: #8ec4ff;
}

@media screen and (min-width: 520px) {
	.home-hero h1 span {
		display: block;
	}
}

@media screen and (min-width: 768px) {
	.home-hero-content {
		padding: 190px 20px 210px;
	}

	.home-hero h1 {
		font-size: 60px !important;
	}
}

/*
* Announcement
------------------------------------------------------------ */

.home-announcement {
	padding: 0 20px;
}

.home-announcement .elementor-element {
	text-align: left;
	width: auto;
}

.home-announcement img {
	width: 400px;
	max-width: 100%;
}

.home-announcement-inner > .elementor-widget-wrap {
	display: block !important;
}

.home-announcement .elementor-container {
	max-width: 1230px !important;
}

.home-announcement-inner {
	max-width: 100%;
	position: relative;
	background-color: #fff;
	border-radius: 16px;
	top: -80px;
	padding: 32px;
}

.home-announcement h2 {
	font-size: 20px !important;
	font-weight: 700 !important;
	line-height: 28px !important;
	letter-spacing: 0;
	margin-top: 24px !important;
}

@media screen and (min-width: 991px) {
	.home-announcement-inner {
		top: -148px;
	}
}

#ha-btn-wrap {
	margin: 32px auto 0;
}

#ha-btn-wrap .elementor-widget-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

#ha-btn-wrap .elementor-widget-wrap .elementor-child {
	width: auto;
}

#ha-btn-wrap .elementor-widget-wrap {
	padding: 0 !important;
}

#ha-btn-wrap .elementor-button {
	font-weight: bold;
	background-color: #22548a;
	transition-duration: 0.1s;
	border-radius: 30px 30px 30px 30px;
	padding: 15px 58px 15px 58px;
	color: #fff;
}

#ha-btn-wrap .elementor-button:hover {
	background-color: #386595;
}

/*
* Slider
------------------------------------------------------------ */

.home-slider {
	padding: 0 20px;
}

.home-slider .ue-carousel-item {
	border-radius: 16px;
	border: 0;
}

.home-slider .owl-prev {
	top: 50% !important;
	left: -70px !important;
	margin-top: -32px !important;
}

.home-slider .owl-next {
	top: 50% !important;
	right: -70px !important;
	margin-top: -32px !important;
}

.home-slider-inner {
	position: relative;
	top: -80px;
}

@media screen and (max-width: 1279px) {
	.home-slider .owl-prev,
	.home-slider .owl-next {
		display: none !important;
	}
}

@media screen and (min-width: 768px) {
	.home-slider-inner {
		top: -100px;
	}
}

@media screen and (min-width: 991px) {
	.home-slider-inner {
		top: -148px;
	}
}

/*
* Funding Opps
------------------------------------------------------------ */
.funding-opps {
	padding: 80px 20px;
	display: flex;
	flex-direction: column;
}

.funding-opps-image img {
	border-radius: 16px !important;
	box-shadow: 0px 4px 24px 0px #64646429 !important;
}

@media screen and (min-width: 768px) {
	.funding-opps {
		flex-direction: row;
	}

	.funding-opps .elementor-column.elementor-col-33 {
		width: 40%;
	}

	.funding-opps .elementor-column.elementor-col-66 {
		width: 60%;
	}
}

@media screen and (min-width: 991px) {
	.funding-opps {
		padding: 120px 20px;
	}
}

.funding-opps-right {
	display: flex;
	align-items: center;
	padding-top: 32px;
}

@media screen and (min-width: 768px) {
	.funding-opps-right {
		padding-top: 0;
		padding-left: 60px;
	}
}

/*
* Initiatives
------------------------------------------------------------ */
.initiatives {
	padding: 0px 20px 80px;
}

@media screen and (min-width: 991px) {
	.initiatives {
		padding-bottom: 80px;
	}
}

.initiatives-right {
	padding-top: 32px;
}

@media screen and (min-width: 991px) {
	.initiatives-right {
		padding-top: 0;
		padding-left: 32px;
	}

	.initiatives-right .elementor-button-wrapper {
		display: flex;
		justify-content: flex-end;
	}
}

.initiatives-image {
	padding-top: 38%;
	background-image: url(https://virginiaipc.org/wp-content/uploads/2023/10/Initiatives.jpg);
	background-size: cover;
	border-radius: 16px;
	background-position-y: 60%;
}

/*
* Resources
------------------------------------------------------------ */
.resources {
	padding: 80px 20px;
	display: flex;
	flex-direction: column;
}

@media screen and (min-width: 768px) {
	.resources {
		flex-direction: row;
	}
}

@media screen and (min-width: 991px) {
	.resources {
		padding: 120px 20px;
	}
}

.resources-left {
	display: flex;
	align-items: center;
	padding-bottom: 32px;
}

@media screen and (min-width: 768px) {
	.resources-left {
		padding-bottom: 0;
		padding-right: 60px;
	}

	.resources .elementor-column.elementor-col-33 {
		width: 40%;
	}

	.resources .elementor-column.elementor-col-66 {
		width: 60%;
	}
}

.resources-image img {
	border-radius: 16px !important;
	box-shadow: 0px 4px 24px 0px #64646429 !important;
}

/* 
* Three Column
------------------------------------------------------------ */
.home-three-column {
	background-color: #fafafa;
	padding: 80px 20px;
}

.home-three-column > .elementor-container {
	display: grid;
	gap: 60px;
}

@media screen and (min-width: 768px) {
	.home-three-column > .elementor-container {
		grid-template-columns: 1fr 1fr 1fr;
	}

	.home-three-column > .elementor-container > .elementor-column {
		width: auto;
	}
}

.home-three-column p {
	line-height: 28px !important;
}

@media screen and (min-width: 991px) {
	.home-three-column {
		padding: 120px 20px;
	}
}

.vipc-social-links {
	display: flex;
	column-gap: 12px;
}

.vipc-social-links a {
	margin-top: 26px;
	flex: 0 0 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid #d9d9d9;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: border-color 0.1s;
}

.vipc-social-links a:hover {
	border-color: #22548a;
}

.btn-link .elementor-button {
	background-color: transparent;
	padding: 0 0 8px 0;
	color: #171717;
	border-bottom: 1px solid #22548a;
	font-size: 15px;
	line-height: 18px;
	font-weight: 500;
}

.btn-link .elementor-button:hover {
	color: #22548a;
}

/*
* Contact form
------------------------------------------------------------ */
.wpcf7-form-control-wrap + .wpcf7-submit-style {
	margin-top: 32px;
}

/*
* Footer
------------------------------------------------------------ */
.footer_wrap a.underline_hover {
	color: #fff !important;
}

/*
* Utils
------------------------------------------------------------ */
.shadow {
	box-shadow: 0px 4px 24px 0px #64646429 !important;
}

.rounded {
	border-radius: 16px !important;
}

/*
* Fund managers page
------------------------------------------------------------ */
.elementor-page-36554 .top_panel_title {
	display: none !important;
}
