/**
Theme Name: Power Pro Solutions
Author: Tenika Jones by CM2 Media
Author URI: https://cm2media.ca/
Description: Theme of Power Pro Solutions
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: power-pro-solutions
Template: astra
*/

/* Global */

.entry-content :where(h1,h2,h3,h4,h5,h6) {
	margin-top: 0;
}

.entry-content h1,.entry-content h2,.entry-content h3,.entry-content h4,.entry-content h5,.entry-content h6,.entry-content p,.entry-content ul,.entry-content ol {
	margin-bottom: 30px
}

.elementor-element p a {
	/* font-weight: 700; */
}

/* Paragraphs */
.elementor-widget-text-editor p:last-child {
	margin-bottom:0;
}

.elementor-widget-n-accordion .e-n-accordion-item .e-n-accordion-item-title-icon span>svg {
	fill: var(--n-accordion-icon-normal-color) !important;
}

/* Elementor Button */

.elementor-button .elementor-button-icon {
	transform: rotate(-45deg);
	transition: transform 0.4s ease;
}

.elementor-button:hover .elementor-button-icon {
	transform: rotate(0deg);
	
}

/* Menu */

.ast-desktop .main-header-menu > .menu-item > .menu-link {
	position: relative;
	z-index: 1;
	min-height: 100px;
	/* display: flex; */
	/* align-items: center; */
	/* justify-content: center; */
	/* padding: 25px 28px 0; */
}

.ast-desktop .main-header-menu > .menu-item > .menu-link::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 85%;
	height: 20px;
	background: transparent;
	transform: translateX(-50%);
	transition: height 0.3s ease;
	z-index: -1;
}

/* Hover and active-page state */
.ast-desktop  .main-header-menu > .menu-item:hover > .menu-link::before,
.ast-desktop  .main-header-menu > .current-menu-item > .menu-link::before,
.ast-desktop  .main-header-menu > .current-menu-ancestor > .menu-link::before {
	background: var(--ast-global-color-1);
	transform: translateX(-50%);
}

/* sub menu */
/* .ast-desktop .ast-builder-menu-1 .menu-item .sub-menu:before {
	 content: "";
	 display: block;
	 padding-top: 10px;
 } */

 .ast-desktop .ast-builder-menu-1 .menu-item .sub-menu {
	 /* margin-top: 10px; */
	 padding: 0 10px 10px;
	 /* background: #FFFFFF 0% 0% no-repeat padding-box; */
	 /* box-shadow: 0px 0px 20px #0000001A; */
	 /* border-radius: 20px; */
	 min-width: max-content !important;
	 width: max-content !important;
	 max-width: max-content !important;
 }

/* Footer Menu  */

#menu-footer-menu {
	columns: 2 100px;
	column-gap: 20px;
	text-transform: uppercase
}

#menu-footer-menu li {
  break-inside: avoid;
  page-break-inside: avoid;
}

@media (min-width: 1520px) {

	.ast-above-header-bar .ast-container,
	.ast-primary-header-bar .ast-container {
		/* padding-right: 0; */
		/* padding-left: 0; */
	}
	
	.ast-above-header-bar .ast-container,
	.ast-primary-header-bar .ast-container {
		width: 100% !important;
		max-width: 1520px !important;
	}
	
	.ast-primary-header-bar.ast-sticky-active .ast-container  {
		/* padding-right: 0; */
		/* padding-left: 0; */
	}
	
	
	/* .ast-above-header-bar .ast-container {
		padding-right:0;
		padding-left:0;
	} */
	
	.header-widget-area[data-section="sidebar-widgets-header-widget-1"] {
		/* padding-right:0; */
	}
	
	/* .site-primary-footer-wrap[data-section="section-primary-footer-builder"] .ast-builder-grid-row, */
	.site-below-footer-wrap[data-section="section-below-footer-builder"] .ast-builder-grid-row  {
		max-width: 1520px !important;
	}
}

@media (min-width: 1441px) {

	.ast-primary-header-bar .ast-container {
/* 		width: 100% !important; */
/* 		max-width: 100% !important; */
	}

	.site-below-footer-wrap[data-section="section-below-footer-builder"] .ast-builder-grid-row {
		max-width: 1520px !important;
	}	
	
	.ast-hfb-header .site-logo-img .sticky-custom-logo img {
		max-width: 240px !important;
		width: 240px !important;
	}


}


@media (max-width: 1440px) {

	.ast-primary-header-bar .ast-container {
		/* padding-right: 0; */
		/* padding-left: 0; */
	}
	
	.site-below-footer-wrap[data-section="section-below-footer-builder"] .ast-builder-grid-row {
		max-width: 1200px !important;
	}	

}
@media (min-width: 1201px) {
	
	.ast-primary-header-bar .ast-container {
/* 		width: 100% !important; */
/* 		max-width: 100% !important; */
	}
	
	.ast-primary-header-bar .ast-container {
		width: 100% !important;
		max-width: 1520px !important;
	}
	
	html .ast-builder-grid-row-3-equal .ast-builder-grid-row {
		/* grid-column-gap: 60px !important; */
	}

}

/* Contact Form */

.frm_form_fields .frm_fields_container {
	column-gap: 8%;
	row-gap: 0;
}

@media (max-width: 800px) {
	.frm_form_fields .frm_fields_container {
		column-gap: 2%;
	}
}

#frm_form_1_container .frm_required {
	color: var(--ast-global-color-2);
}

.with_frm_style .frm_primary_label {
	font-size: 14px;
	text-transform: uppercase;
	color: var(--ast-global-color-5);
}

.with_frm_style .frm_primary_label span {
	font-weight: normal;
	text-transform: none;
}

.frm_button_submit {
	padding: 25px 32px !important;
	font-size: 18px !important;
	background-color: var(--ast-global-color-1) !important;
	border: 0 !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	display: flex !important;
	flex-direction: row;
	gap: 15px;
}

.frm_button_submit:hover {
	background-color: var(--ast-global-color-3) !important;
	border: 0 !important;
}

@media (max-width: 1240px) {
	.frm_button_submit {
		padding: 14px 28px !important;
	}
}

@media (max-width: 544px) {
	.frm_button_submit {
		padding: 12px 24px !important;
	}
}



.with_frm_style input[type=text], .with_frm_style input[type=password], .with_frm_style input[type=email], .with_frm_style input[type=number], .with_frm_style input[type=url], .with_frm_style input[type=tel], .with_frm_style input[type=phone], .with_frm_style input[type=search], .with_frm_style select, .with_frm_style textarea, .frm_form_fields_style, .with_frm_style .frm_scroll_box .frm_opt_container, .frm_form_fields_active_style, .frm_form_fields_error_style, .with_frm_style .frm-card-element.StripeElement {
	border: 0;
	border-bottom: 1px var(--ast-global-color-5) solid;
	border-radius: 0;
	box-shadow: none !important;
	padding: 0px !important;
	font-size: 18px !important;
	background: none !important;
	color: #ffffff !important;
}

.with_frm_style select {
	font-style: italic;
	color: var(--ast-global-color-5) !important;
}

.with_frm_style select::placeholder {
	color: var(--ast-global-color-5) !important;
}

input[type="text"], input[type="number"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type=reset], input[type=tel], input[type=date], select {
	height: 60px;
}

/* Slider Grid: Arrows */

.eq-prev .elementor-button .elementor-button-icon,
.eq-next .elementor-button .elementor-button-icon{
	transform: unset;
	transition: unset;
}

.eq-prev .elementor-button:hover .elementor-button-icon,
.eq-next .elementor-button:hover .elementor-button-icon{
	transform: unset;
}

/* Services Grid */

/* .services-grid {
	background-size: cover;
	background-position: center;
	transition: background-image 0.4s ease;
} */

/* Home: What We Do */

/* default */
#service-grid-1 {
	background-image: url('/wp-content/uploads/2026/08/bg-protection.jpg.webp');
}

/* child 1 hover */
#service-grid-1:has(#service-1:hover) {
	background-image: url('/wp-content/uploads/2026/08/bg-protection.jpg.webp');
}

/* child 2 hover */
#service-grid-1:has(#service-2:hover) {
	background-image: url('/wp-content/uploads/2026/08/bg-3d-bim.jpg.webp');
}

/* child 3 hover */
#service-grid-1:has(#service-3:hover) {
	background-image: url('/wp-content/uploads/2026/08/bg-configure.jpg.webp');
}

/* child 4 hover */
#service-grid-1:has(#service-4:hover) {
	background-image: url('/wp-content/uploads/2026/08/bg-testing.jpg.webp');
}

/* Industries */

/* default */
#service-grid-2 {
	background-image: url('/wp-content/uploads/2026/08/bg-utilities.jpg.webp');
}

/* child 1 hover */
#service-grid-2:has(#service-1:hover) {
	background-image: url('/wp-content/uploads/2026/08/bg-utilities.jpg.webp');
}

/* child 2 hover */
#service-grid-2:has(#service-2:hover) {
	background-image: url('/wp-content/uploads/2026/08/bg-energy.jpg.webp');
}

/* child 3 hover */
#service-grid-2:has(#service-3:hover) {
	background-image: url('/wp-content/uploads/2026/08/bg-oems.jpg.webp');
}

/* child 4 hover */
#service-grid-2:has(#service-4:hover) {
	background-image: url('/wp-content/uploads/2026/08/bg-epc.jpg.webp');
}

/* child 5 hover */
#service-grid-2:has(#service-5:hover) {
	background-image: url('/wp-content/uploads/2026/08/bg-private.jpg.webp');
}

/* child 6 hover */
#service-grid-2:has(#service-6:hover) {
	background-image: url('/wp-content/uploads/2026/08/bg-industrial.jpg.webp');
} 
/* 
@media (max-width: 820px) {
	
	#service-grid-1 {
		background-size: cover;
		background-repeat: no-repeat;
		background-position: center;
	}
	
	#service-grid-2 {
		background-size: cover;
		background-repeat: no-repeat;
		background-position: center;
	}
} */

@media (max-width: 820px) {

	#service-grid-1 {
		background-image: none !important;
	}
	
	#service-grid-1 #service-1 {
		background-image: url('/wp-content/uploads/2026/08/bg-protection.jpg.webp') !important;
	}

	#service-grid-1 #service-2 {
		background-image: url('/wp-content/uploads/2026/08/bg-3d-bim.jpg.webp') !important;
	}

	#service-grid-1 #service-3 {
		background-image: url('/wp-content/uploads/2026/08/bg-configure.jpg.webp') !important;
	}

	#service-grid-1 #service-4 {
		background-image: url('/wp-content/uploads/2026/08/bg-testing.jpg.webp') !important;
	}

	#service-grid-1 .service-panel {
		background-size: cover;
		background-position: center center;
		background-repeat: no-repeat;
	}

	#service-grid-2 {
		background-image: none !important;
	}

	#service-grid-2 #service-1 {
		background-image: url('/wp-content/uploads/2026/08/bg-utilities.jpg.webp');
	}

	#service-grid-2 #service-2 {
		background-image: url('/wp-content/uploads/2026/08/bg-energy.jpg.webp');
	}

	#service-grid-2 #service-3 {
		background-image: url('/wp-content/uploads/2026/08/bg-oems.jpg.webp');
	}

	#service-grid-2 #service-4 {
		background-image: url('/wp-content/uploads/2026/08/bg-epc.jpg.webp');
	}

	#service-grid-2 #service-5 {
		background-image: url('/wp-content/uploads/2026/08/bg-private.jpg.webp');
	}

	#service-grid-2	#service-6 {
		background-image: url('/wp-content/uploads/2026/08/bg-industrial.jpg.webp');
	}

	#service-grid-2 .service-panel {
		background-size: cover;
		background-position: center;
		background-repeat: no-repeat;
	}

}


/* Services Grid Global settings */

.services-grid {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.services-grid > .e-con {
	background: transparent;
	border-right: 1px solid rgba(255,255,255,.5);
}

services-grid > .e-con:last-child {
	border-right: 0;
}

@media (max-width: 820px) {
	#service-grid-1 > .e-con {
		border-right: 1px solid rgba(255,255,255,.5);
		border-bottom: 1px solid rgba(255,255,255,.5);
	}
	
	#service-grid-2 > .e-con {
		border-right: 1px solid rgba(255,255,255,.5);
		border-bottom: 1px solid rgba(255,255,255,.5);
	}
	
	.services-grid > .e-con:last-child {
		border-bottom: 0;
	}
}


@media (max-width: 767px) {
	.services-grid > .e-con {
		border-right: 0 !important;
		border-bottom: 1px solid rgba(255,255,255,.5);
	}
	
	.services-grid > .e-con:last-child {
		border-bottom: 0;
	}
}

.services-grid .service-panel {
	position: relative;
}

.services-grid .service-panel::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(48, 69, 177, .88);
	opacity: 0;
	transition: opacity .35s ease;
}

.services-grid .service-panel:hover::before {
	opacity: 1;
}

.services-grid .service-panel > * {
	position: relative;
	z-index: 1;
}

.service-panel {
	position: relative;
	overflow: hidden;
}

.service-panel::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(53, 72, 177, 0.88);
	opacity: 0;
	transition: opacity 0.4s ease;
	z-index: 0;
}

.service-panel:hover::before {
	opacity: 1;
}

.service-panel > * {
	position: relative;
	z-index: 1;
}

.service-panel .hover-content {
	display: none;
}

.service-panel:hover .hover-content {
	display: block;
	animation: serviceFadeIn 0.4s ease forwards;
}

.service-panel .elementor-icon svg {
	transition: transform 0.35s ease;
	transform-origin: center;
}

.service-panel:hover .elementor-icon svg {
	transform: rotate(-45deg);
}

@keyframes serviceFadeIn {
	from {
		opacity: 0;
		transform: translateY(15px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.e-n-accordion-item-title-icon {
	align-self: flex-start;
	margin-top: 4px;
}

.e-n-accordion-item-title-icon svg {
	width: 32px !important;
	height: 32px !important;
}

.e-n-accordion-item-title-icon .e-opened svg path {
	fill: #4969f5 !important;
}

/* Shortcode: Case Study */

.case-study-projects-grid {
	display: grid;
	grid-template-columns: repeat(var(--case-study-project-count), minmax(0, 1fr));
	gap: 40px;
	width: 100%;
}

.case-study-project-card {
	position: relative;
	width: 100%;
	min-height: clamp(380px, 32vw, 770px);
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	text-decoration: none;
}

.case-study-project-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.30);
	opacity: 1;
	transition: background 0.35s ease;
}

.case-study-project-card:hover::before {
	background: rgba(74, 103, 232, 0.85);
}

.case-study-project-card-content {
	position: relative;
	z-index: 1;
	text-align: center;
	color: #fff;
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.case-study-project-card h3 {
	margin: 0;
	color: #fff;
}

.case-study-project-arrow {
	display: inline-block;
	margin-top: 24px;
	line-height: 1;
	transform: rotate(-45deg);
	transition: transform 0.4s ease;
}

.case-study-project-card:hover .case-study-project-arrow {
	transform: rotate(0deg);
}

@media (max-width: 1024px) {
	.case-study-projects-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 767px) {
	.case-study-projects-grid {
		grid-template-columns: 1fr;
	}
}

/* Single Case Study */

/* Rotates the default downward arrow left and right */
.ast-left-arrow svg {
	transform: rotate(90deg);
	display: inline-block;
	vertical-align: middle;
}

.ast-right-arrow svg {
	transform: rotate(-90deg);
	display: inline-block;
	vertical-align: middle;
}

/* Footer */

@media (min-width: 545px) {
	.ast-builder-grid-row-3-lheavy .site-footer-section-3 {
		justify-self: end;
	}
	
	.ast-builder-grid-row-3-lheavy .ast-builder-grid-row {
		grid-template-columns: 1.25fr 1fr 0.75fr !important;
		padding-left: 20px;
		padding-right: 20px;
	}
	
	.ast-builder-footer-grid-columns {
		grid-column-gap: 80px;
	}
}


@media (max-width: 544px) {
	
	.ast-builder-grid-row-container.ast-builder-grid-row-mobile-full .ast-builder-grid-row {
		grid-template-columns: 1fr !important;
	}
	
	.ast-footer-copyright {
		position: absolute;
		left: 0;
		top: 225px;
		width: 100%;
	}
}


.ast-sticky-main-shrink #masthead .ast-sticky-shrunk .site-logo-img img {
	max-width: 300px !important;
	width: 300px !important;
}


@media (max-width: 599px) {
	.ast-sticky-main-shrink #masthead .ast-sticky-shrunk .site-logo-img img {
		max-width: 175px !important;
		width: 175px !important;
	}
}


@media (max-width: 389px) {
	header .custom-logo-link img, .ast-header-break-point .site-branding img, .ast-header-break-point .custom-logo-link img,
	.ast-hfb-header .site-logo-img .sticky-custom-logo img{
		max-width: 180px !important;
		width: 180px !important;
	}
}


@media (min-width: 1241px) 
and (max-width: 1439px) {
	header .custom-logo-link img {
		max-width: 255px;
		width: 255px;
	}
	
	.ast-sticky-main-shrink #masthead .ast-sticky-shrunk .site-logo-img img {
		max-width: 255px !important;
		width: 255px !important;
	}
}

@media (max-width: 1240px) {
	.ast-builder-menu-mobile .main-navigation .ast-menu-toggle
	.ast-builder-menu-mobile .main-navigation .ast-menu-toggle:hover, 
	.ast-builder-menu-mobile .main-navigation .ast-menu-toggle:focus
	.ast-builder-menu-mobile .main-navigation .main-header-menu > .menu-item > .ast-menu-toggle,
	.ast-builder-menu-mobile .main-navigation .main-header-menu > .menu-item:hover > .ast-menu-toggle,
	.ast-builder-menu-mobile .main-navigation .main-header-menu > .menu-item:focus > .ast-menu-toggle  {
		background-color: var(--ast-global-color-0);
	}
}

/* Removes mobile/touch blue overlay on click */
a, button, input, textarea, [role="button"], .elementor-button {
  -webkit-tap-highlight-color: transparent !important;
}

/* Removes blue focus ring on click (if outline-based) */
a:focus, button:focus, .elementor-button:focus,
a:active, button:active, .elementor-button:active {
  /* outline: none !important; */
  box-shadow: none !important;
}

/* mobile menu */

.ast-mobile-popup-inner .ast-mobile-popup-content {
	-ms-flex-item-align: center;
	align-self: center;
}
.ast-mobile-popup-content {
	max-height: calc(100vh - 150px);
	overflow-y: auto;
}
.ast-mobile-popup-drawer .ast-mobile-popup-overlay {
	background-color: rgba(0, 0, 0, 0.8);
}


.ast-mobile-popup-drawer .menu-toggle-close svg {
	fill: var(--ast-global-color-5);
	width: 40px;
	height: 40px;
}

#menu-toggle-close {
	margin-top: 20px;
	margin-right: 10px;
}

.ast-builder-menu-mobile {
	max-width: 768px;
	margin: 0 auto;
	padding-top: 20px !important;
	padding-left: 20px;
	padding-right: 20px;
}

.ast-builder-menu-mobile .main-navigation .menu-item {
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px #fff solid;
	background-color: transparent !important;
}
.ast-builder-menu-mobile .main-navigation .menu-item .menu-link {
	background-color: transparent !important;
	font-size: 18px !important;
	line-height: 28px !important;
	padding: 0 !important;
}

.ast-builder-menu-mobile .main-navigation .menu-item .ast-menu-toggle svg {
	color: var(--ast-global-color-5);
	margin-top: 15px;
}
.ast-builder-menu-mobile .main-navigation .sub-menu {
	margin-top: 20px;
}

.ast-builder-menu-mobile .main-navigation .sub-menu .menu-item .menu-link {
	/* color: var(--ast-global-color-5) !important; */
	font-size: 14px !important;
	line-height: 24px !important;
	padding-top: 0;
	padding-bottom: 0;
}

.ast-builder-menu-mobile .main-navigation .sub-menu .menu-item .icon-arrow {
	display: none !important;
}

.ast-builder-menu-mobile .main-navigation .sub-menu .menu-item:last-child {
	border-bottom: 0;
}

/* showcase image */

.showcase-image {
	height: 100%;
}

.showcase-image .elementor-widget-container {
	height: 100%;
}

.showcase-image img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	display: block;
}