/*
 Theme Name:   Hello Elementor Child
 Template:     hello-elementor
 Version:      1.0.0
 Text Domain:  hello-elementor-child
*/

@import url("../hello-elementor/style.css");

body>header>div:first-child{
	box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.25);
}

.elementor-menu-toggle{
	margin-left: auto!important;
	margin-right: 0!important;
}

.elementor-menu-toggle svg{
	fill: var(--e-global-color-text)!important;
	width: 1.4em!important;
	height: 1.4em!important;
}

.highlights-list .elementor-icon-list-item:not(:last-child){
	margin-bottom: 1.5rem;
}

.highlights-list .elementor-icon-list-icon{
	background-color: #63873B;
	border-radius: 50%;
	width: 50px;
	min-width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 1rem;
}

@media screen and (max-width: 767px){
	.highlights-list .elementor-icon-list-icon{
		width: 35px;
		min-width: 35px;
		height: 35px;
	}
}

.highlights-list .elementor-icon-list-icon svg{
	margin: 0!important;
}

.house-clip{
	overflow: hidden;
	display: inline-block;
	-webkit-mask-image: url('https://ethicx.ca/wp-content/uploads/2025/05/house.svg');
	mask-image: url('https://ethicx.ca/wp-content/uploads/2025/05/house.svg');
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: 100%;
	mask-size: 100%;
	max-width: 100%;
	position: relative;
}

.video-play-trigger{
	position: absolute!important;
	top: 2rem;
	left: 50%;
	z-index: 3;
	width: 100px;
	border-radius: 50%;
	transform: translateX(70%);
}

.perks-grid .elementor-image-box-img img{
	max-width: 100%;
	width: 350px;
	height: 350px;
	object-fit: cover;
	object-position: center;
}

@media screen and (max-width: 767px){
	.perks-grid .elementor-image-box-img img{
		height: 50vw;
	}
}


.scroll-down-btn a{
	background: transparent;
}

.scroll-down-btn a .elementor-button-icon,
.scroll-down-btn a .elementor-button-text{
	color: var(--e-global-color-text);
}

.scroll-down-btn a svg{
	fill: var(--e-global-color-text);
}

.scroll-down-btn.white-text a .elementor-button-icon,
.scroll-down-btn.white-text a .elementor-button-text{
	color: #fff;
}

.scroll-down-btn.white-text a svg{
	fill: #fff;
}

.scroll-down-btn a .elementor-button-content-wrapper{
	display: flex;
	flex-direction: column;
	align-items: center;
}

.scroll-down-btn a .elementor-button-icon{
	font-size: 64px;
}

.scroll-down-btn a .elementor-button-text{
	font-size: 1.2rem;
	letter-spacing: 2px;
}

.steps-grid figure.elementor-image-box-img{
	display: block;
	margin-bottom: 0!important;
}


.steps-grid figure img{
	display: block;
	margin: 0;
}

.steps-grid .elementor-image-box-content,
.steps-grid .step-indicator{
	background: var(--e-global-color-primary);
	margin: 0;
	padding: 0 26px;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 38px;
	position: relative;
}

.steps-grid .step-indicator>div{
	display: flex;
	align-items: center;
}

.steps-grid .elementor-widget-image-box:first-child .elementor-image-box-content::before,
.steps-grid .step-item:first-child .step-indicator::before{
	content: '';
	position: absolute;
	left: -14px;
	width: 28px;
	height: 28px;
	background: #fff;
	transform: rotate(45deg);
}

.steps-grid .elementor-image-box-content::after,
.steps-grid .step-item .step-indicator::after{
	content: '';
	position: absolute;
	background-color: var(--e-global-color-primary);
	width: 28px;
	height: 28px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	transform: rotate(45deg);
	right: -15px;
	z-index: 2;
}

.steps-grid .elementor-image-box-title{
	margin: 0;
}

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

	.steps-grid .step-item{
		position: relative;
		padding-left: 50px;
	}

	.steps-grid .step-indicator{
		padding: 0 16px;
		writing-mode: vertical-rl;
		text-orientation: mixed;
		position: absolute;
		left: 0;
		top: 0;
		height: 100%;
		z-index: 2;
	}

	.steps-grid .step-item:nth-child(1) .step-indicator{
		z-index: 6;
	}

	.steps-grid .step-item:nth-child(2) .step-indicator{
		z-index: 5;
	}

	.steps-grid .step-item:nth-child(3) .step-indicator{
		z-index: 4;
	}

	.steps-grid .step-item:nth-child(4) .step-indicator{
		z-index: 3;
	}

	.steps-grid .step-indicator>div{
		justify-content: center;
	}

	.steps-grid .step-item:first-child .step-indicator::before{
		top: -18px;
		left: 8px;
		transform: rotate(45deg);
		width: 35px;
		height: 35px;
	}

	.steps-grid .step-item .step-indicator::after{
		top: auto;
        bottom: -18px;
        right: 7px;
        width: 36px;
        height: 36px;
        transform: rotate(135deg);
	}
}

.overflow-hidden>div{
	overflow: hidden;
}

.footer-copyright p:last-child{
	margin-bottom: 0!important;
}

@media screen and (max-width: 767px){
	.elementor-location-footer .elementor-nav-menu{
		flex-direction: column;
		align-items: center;
		width: 100%;
		margin: 0;
	}

	.footer-copyright p:last-child{
		text-align: center;
	}

	.elementor-location-header .elementor-nav-menu__container{
		position: fixed;
		top: 80px;
		left: 0;
		right: 0;
		z-index: 9999;
	}

	.elementor-location-header .elementor-nav-menu .menu-item a{
		font-size: 16px!important;
		text-transform: uppercase!important;
	}
}

.elementor-location-header .elementor-nav-menu .menu-item a{
	color: var(--e-global-color-text)!important;
}

.elementor-location-header .elementor-nav-menu .menu-item a:hover,
.elementor-location-header .elementor-nav-menu .menu-item a.elementor-item-active{
	color: var(--e-global-color-primary)!important;
}

.text-widget-p-no-m p:last-child{
	margin-bottom: 0!important;
}

.phone-icon{
	border: 1px solid #fff;
	padding: 4px;
	border-radius: 50%;
}

.phone-icon .elementor-widget-container{
	width: 40px;
	height: 40px!important;
	border-radius: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.phone-icon .elementor-icon{
	display:  block;
}

.main-form{
	max-width: 100%;
	width: 600px;
	margin-bottom: 0!important;
}

.latitude-field, .longitude-field{
	display: none;
}

.address-field{
	display: flex;
}

.wpforms-container .address-field label.wpforms-error{
	position: absolute;
    top: 100%;
    margin-top: 10px;
}

input[type=date]:focus, input[type=email]:focus, input[type=number]:focus, input[type=password]:focus, input[type=search]:focus, input[type=tel]:focus, input[type=text]:focus, input[type=url]:focus, select:focus, textarea:focus{
	outline: none;
	box-shadow: none;
	border: none;
}

.main-form.wpforms-container .wpforms-field{
	padding: 0;
}

.main-form .form-back .wpforms-field{
	margin-bottom: 10px;
}

.main-form input[type=date], .main-form input[type=email], .main-form input[type=number], .main-form input[type=password], .main-form input[type=search], .main-form input[type=tel], .main-form input[type=text], .main-form input[type=url], .main-form select, .main-form textarea{
	background-color: var(--e-global-color-secondary);
	color: var(--e-global-color-text);
	flex: 1;
	min-height: 44px;
	border: 1px solid #ddd;
	max-width: 100%!important;
	border-radius: 33px;
}

.wpforms-container label.wpforms-error{
	background-color: rgba(255, 0, 0, 0.8);
	color: #fff!important;
	padding: 3px 8px;
	border-radius: 0;
	display: block;
	border: 1px solid #ff0000;
	margin-top: 5px;
}

.main-form .form-front input[type=date], .main-form .form-front input[type=email], .main-form .form-front input[type=number], .main-form .form-front input[type=password], .main-form .form-front input[type=search], .main-form .form-front input[type=tel], .main-form .form-front input[type=text], .main-form .form-front input[type=url], .main-form .form-front select, .main-form .form-front textarea{
	min-height: 66px;
}

.address-field{
	overflow: visible!important;
}

.address-field input[type="text"]{
	background-color: var(--e-global-color-secondary);
	color: var(--e-global-color-text);
	flex: 1;
	height: 66px;
	border-top-left-radius: 33px;
	border-bottom-left-radius: 33px;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	border: 1px solid #ddd;
	border-right: 0;
	max-width: 100%!important;
}

.address-field .address-btn,
.main-form button[type="submit"]{
	flex: 1;
	text-transform: uppercase;
	transition: background-color 200ms ease-in-out;
	background-color: var(--e-global-color-primary);
	height: 66px;
	border-radius: 33px;
	border: 0;
	outline: 0;
	color: #fff;
	text-transform: uppercase;
	font-weight: 600;
	font-size: 16px;
}

.main-form button[type="submit"]{
	width: 100%;
}

.address-field .address-btn{
	flex: 0 0 auto;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

.address-field .address-btn:hover,
.address-field .address-btn:focus{
	background-color: var(--e-global-color-text);
}

.form-front, .form-back{
	max-height: 0;
	transition: max-height 0.5s ease-in-out;
	display: none;
}

.form-front.shown, .form-back.shown{
	max-height: 1000px;
}



/* Google autocomplete */
.address-field{
	position: relative;
}

.address-field .autocomplete-list{
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background-color: #fff;
	border: 1px solid #ddd;
	z-index: 99;
	max-height: 300px;
	overflow-y: auto;
	background-color: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.address-field .autocomplete-list:empty{
	display: none;
}

.address-field .autocomplete-list .autocomplete-item{
	padding: 10px;
	cursor: pointer;
	background-color: #fff;
	transition: background-color 200ms ease-in-out;
}

.address-field .autocomplete-list .autocomplete-item:hover{
	background-color: #f0f0f0;
}

.elementor-location-footer .elementor-nav-menu .menu-item a{
	color: #fff!important;
}

.elementor-location-footer .elementor-nav-menu .menu-item a:hover{
	color: var(--e-global-color-primary)!important;
}

@media screen and (min-width: 991px){
	.flipping-form-container{
		max-width: 980px;
		margin: 0 auto;
	}
}
