/*--------------------------------------*/
/*     yec customer connects
/*     APril 29, 2025
/*--------------------------------------*/

.customer-connects h3{
	color: rgb(0, 130, 186);
	font-family: 'ITC Avant Garde Gothic W01', Arial, Helvetica, sans-serif;
	font-size: 28px;
	font-style: normal;
	font-weight: 600;
	line-height: 109%;
	margin: 2em 0 1em 0;
}

.customer-connects h4{
	color: rgb(0, 130, 186);
	font-family: 'Titillium Web', Arial, Helvetica, sans-serif;
	font-weight: 400;
	font-size: 24px;
	line-height: 130%;
	margin: 1.5em 0 1em 0;
	text-transform: none;
}

.customer-connects ul li{
	margin-bottom: 0.8em;
}

.numbered{
	color: rgb(240, 179, 35);
	font-family: "Titillium Web";
	font-size: 28px;
	font-style: normal;
	font-weight: 700;
	line-height: 130%;
	padding-right: 10px;
}

.ico-p a{
	color: rgb(0, 130, 186);
}


/* FORMS CARDS */

.form-residential,
.form-commercial,
.form-multi-residential{
	background: rgb(0, 130, 186);
	color: #fff;	
	display: inline-flex;	
	margin-bottom: 7px;
	text-align: center;
	width: 49%;
	margin-right: 1%;
	justify-content: center;
	cursor: pointer;
	align-items: center;
}
	.form-residential a,			
	.form-commercial a,
	.form-multi-residential a{
		color: #fff;		
		display: block;
		font-family: "ITC Avant Garde Gothic Pro";
		font-size: 18px;
		font-style: normal;
		font-weight: 500;
		line-height: 109%;
		margin: 50px 20px 50px 20px;
	}
	.form-residential a::before,
	.form-commercial a::before,
	.form-multi-residential a::before{
		content:'';
		display: block;
		margin: 0 auto 20px auto;
		height: 60px;
		width: 150px;
	}
	.form-residential a::before{
		background: transparent url(/assets/layout/ico-residential-form.svg) no-repeat center center;
		background-size: contain;
	}
	.form-commercial a::before{
		background: transparent url(/assets/layout/ico-commercial-form.svg) no-repeat center center;
		background-size: contain;
	}
	.form-multi-residential a::before{
		background: transparent url(/assets/layout/ico-multi-residential-form.svg) no-repeat center center;
		background-size: contain;
	}
	.form-residential a::after,
	.form-commercial a::after,
	.form-multi-residential a::after{
		content:'';
		background: transparent url(/assets/layout/ico-download-yellow.svg) no-repeat 0 0;
		background-size: contain;
		display: block;
		height: 20px;
		width: 20px;
		margin: 0 auto;
	}
	
	
	@media only screen and (min-width: 1200px) {
		.form-residential,
		.form-commercial,
		.form-multi-residential{
			width: 32%;
			margin-right: 2%;
		}		
		.form-residential a,			
		.form-commercial a,
		.form-multi-residential a{
			font-size: 20px;
		}
	}
	@media only screen and (min-width: 1530px) {
		.form-residential a,			
		.form-commercial a,
		.form-multi-residential a{
			font-size: 24px;
		}
		.form-residential a::after,
		.form-commercial a::after,
		.form-multi-residential a::after{
			display: inline-block;
			margin-left: 10px;
		}
	}
	
	.form-multi-residential{
		margin-right: 0;
	}


/* HOME BLUE CARD */

.blue-cards{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	padding-top: 0;
}
.blue-card{
	background: rgb(0, 130, 186);
	display: flex;
	align-items: center;
	padding: 0;
	position: relative;
	overflow: hidden;
	width: 100%;
	margin-bottom: 10px;
}

@media only screen and (min-width: 600px) {
	.blue-card{
		width: 49%;
		margin-bottom: 15px;
	}
}

@media only screen and (min-width: 920px) {
	.blue-card{
		width: 32%;
		margin-bottom: 15px;
	}
}

@media only screen and (min-width: 1200px) {
	.blue-card{
		width: 24%;
	}
}

.blue-card:before{
	content: "";
	display: block;
	padding-bottom: 100%; /* Creates a square aspect ratio */
}
	.blue-card .blue-card-front{
		position: absolute;
		top: 0;
		left: 0;
		width: 80%;
		height: 80%;
		padding: 10%;
		text-align: center;
		display: flex;
		flex-direction: column;
		justify-content: center;
	}
		.blue-card .blue-card-front figure{
			height: 40%;
		}
			.blue-card .blue-card-front figure img{
				height: 100%;
				width: auto;
			}
		.blue-card .blue-card-front h3{
			color: rgb(255, 255, 255);
		}
	
	
	.blue-card .blue-card-back{
		display: none;
		position: absolute;
		top: 0;
		left: 0;
		width: 80%;
		height: 80%;
		padding: 10%;
		flex-direction: column;
	}
	
	@media only screen and (min-width: 768px) {
		.blue-card .blue-card-back{
			width: 95%;
			height: 95%;
			padding: 2.5%;
		}
	}
	
	@media only screen and (min-width: 1200px) {
		.blue-card .blue-card-back{
			width: 80%;
			height: 80%;
			padding: 10%;
		}
	}
		.blue-card .blue-card-back .blue-card-body{
		  margin: 20px 30px;
		  flex-grow: 1; /* Allow body to take up available space */
		  display: flex;
		  align-items: center; /* Center content horizontally within the body */
		  justify-content: center; /* Center content vertically within the body */
		}
			/*
			.blue-card .blue-card-back .blue-card-body ul li{
				color: #ffffff;
				display: flex;
				flex-direction: row;
				align-items: start;
				padding: 0;
				margin: 0;
			}
			.blue-card .blue-card-back .blue-card-body ul li:before{
				content:'';
				background: transparent url(/assets/layout/ico-lightning.svg) no-repeat center center;
				width: 17px;
				height: 17px;
				background-size: contain;
				display: block;
				margin-right: 12px;
				margin-top: 4px;
			}
			*/
			.blue-card .blue-card-back .blue-card-body ul li{
				color: #ffffff;
				padding: 0 0 0 7px;
				margin: 0 0 5px 0;
				list-style-image: url('/assets/layout/ico-lightning.svg');
			}			
			.blue-card .blue-card-back .blue-card-body ul li::marker{
			   font-size: 1.8em;
			   line-height: 0.1;
			}   

		
		.blue-card .blue-card-back .blue-card-link{		
			text-align: center;
			margin: 20px;
			margin-top: auto; /* Push the link to the bottom */
		}
			.blue-card .blue-card-back .blue-card-link a{
				display: inline-block;
				color: #ffffff;
				background: rgb(0, 175, 215);
				text-align: center;
				padding: 5px 10px;
				font-size: 20px;
			}	
	
	
	.blue-card:hover .blue-card-front{
		display: none;
	}
	.blue-card:hover .blue-card-back{
		display: flex;
	}
	/* Style for mobile "hover" (first touch) */
	.blue-card.hover .blue-card-back {
		display: flex;
		pointer-events: auto; /* Make the back interactive */
	}
	.blue-card:not(.hover) .blue-card-back {
		pointer-events: none; /* Prevent interaction when not visible */
	}
	.blue-card.hover .blue-card-front {
		display: none;
	}
	

/* TABS */

.tabs-container ul.tabs{
	display: flex;
	flex-direction: column;	
	justify-content: space-between;
	list-style-type: none;	
	margin: 0 0 50px 0;
	padding: 0;
	gap: 17px;
}
	.tabs-container ul.tabs li{
		flex: 1 1 0;
		align-content: center;
		border: 1px solid rgb(0, 130, 186);
		padding: 20px 10%;
		margin: 0;
		width: 80%;
		text-align: center;
		font-size: 20px;
		line-height: 130%;
	}
		.tabs-container ul.tabs li a{
			color: rgb(76, 76, 76);
		}
	
	.tabs-container ul.tabs li.active,
	.tabs-container ul.tabs li:hover{
		background: rgb(0, 130, 186);
		cursor: pointer;
	}
		.tabs-container ul.tabs li.active a,
		.tabs-container ul.tabs li:hover a{
			color: rgb(255, 255, 255);
		}

@media only screen and (min-width: 1048px) {
	.tabs-container ul.tabs{
		flex-direction: row;
		flex-wrap: nowrap;
	}
	.tabs-container ul.tabs li{
		width: 30%;
		padding: 20px 30px;
	}
}


/* FOOTER CUSTOMER CONNECTS */

.footer_customer_connects{
	background: rgb(76, 76, 76);
	color: rgb(255, 255, 255);
}

	.footer_customer_connects .footer-content{
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;		
	}
		.footer_customer_connects .footer-content .fcol{
			padding: 0 5%;
			margin-bottom: 30px;
		}
		.footer_customer_connects .footer-content .col-25{
			width: 40%;
		}
		.footer_customer_connects .footer-content .col-20{
			width: 40%;
		}
		.footer_customer_connects .footer-content .col-30{
			width: 40%;
		}
	
	.footer_customer_connects .ico-large{
		margin-bottom: 20px;
	}
	
	.footer_customer_connects .be-aware a{
		color: #ffffff;
		text-decoration: underline;
	}
	
	.footer_customer_connects h4{
		color: #ffffff;
		text-transform: none;
	}
	
	.ico-p::before{			
		content: '';
		float: left;
		width: 20px;
		height: 20px;		
		margin-right: 8px;
		position: relative;
		top: 2px;
	}
		.footer_customer_connects .ico-p a{
			color: #ffffff;
		}
		.ico-envelope::before{
			background: transparent url(/assets/layout/ico-envelope-yellow.svg) no-repeat 0 0;
			background-size: contain;
		}
		.ico-chat::before{
			background: transparent url(/assets/layout/ico-chat-yellow.svg) no-repeat 0 0;
			background-size: contain;
		}
		.ico-warning::before{
			background: transparent url(/assets/layout/ico-warning-yellow.svg) no-repeat 0 0;
			background-size: contain;
		}
		.footer_customer_connects .ico-blue-bullet::before{
			background: transparent url(/assets/layout/ico-blue-bullet.svg) no-repeat 0 0;
			background-size: contain;
			width: 15px;
			height: 15px;	
			top: 4px;
		}
		
	.footer_customer_connects .related-down{
		border: 1px solid rgb(240, 179, 35);
		padding: 15px 4.5% 0 4.5%!important;
		align-self: flex-start;
		max-width: 400px;
	}
		.footer_customer_connects .related-down a img{
			position: relative;
			top: 1px;
			left: 4px;
		}

@media only screen and (min-width: 1048px) {
	.footer_customer_connects .footer-content{
		flex-wrap: nowrap;		
	}
		.footer_customer_connects .footer-content .fcol{
			padding: 0 30px;
			margin-bottom: 0;
		}
		.footer_customer_connects .footer-content .col-25{
			width: 25%;
		}
		.footer_customer_connects .footer-content .col-20{
			width: 20%;
		}
		.footer_customer_connects .footer-content .col-30{
			width: 30%;
		}
		.footer_customer_connects .related-down{		
			padding: 15px 30px 0 30px!important;
		}
	
}	
