/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

p:last-child,
ul:last-child,
ol-last-child {
	margin-bottom:0 !important;
}
.elementor-widget-theme-post-content {
	H2,H3,H4,H5,H6 {
		margin-bottom:10px;
		&:first-child {
			margin-top:0;
		}
		&:not(:first-child) {
			margin-top:20px;
		}
	}
	ul, ol {
		&:not(:last-child) {
			margin-bottom:10px;
		}
	}
	a {
		color:var(--e-global-color-text);
		text-decoration:underline;
	}
}

.text-accent{
    color:var(--e-global-color-accent);
}
.text-primary{
	color:var(--e-global-color-primary);
}

/* Header */
header.elementor-location-header {
	background:none;
	background-color:transparent;
	position:fixed;
	top:0;
	left:0;
	right:0;
	z-index:999;
	transition:all ease-in-out 0.2s;
	
	&.sticky_on_top_active {
		background-color:#ffffff !important;
		.ma_custom_header > .e-con-inner {
			padding:0 !important;
		}
		.header_top_bar {
			margin-top:-40px;
		}
	}
}

.ma-breadcrumb ol {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	gap:8px;
	flex-wrap: wrap;
	
	li {
		var(--e-global-color-text);
		
		&:not(:first-child):before {
			content:"»";
			margin-right:8px;
			opacity:0.5;
		}
	}
	
	a {
    color:var(--e-global-color-primary);
		
		&:hover {
			color:var(--e-global-color-text);
			text-decoration:underline;
		}
	}
}

.elementor-button-content-wrapper {
	align-items:center;
}
.btn_icn_24 {
	span.elementor-button-icon,
	span.elementor-button-icon svg {
		width:24px;
		height:24px;
	}
}

.icon_phone a.elementor-button {
	span.elementor-button-icon,
	span.elementor-button-icon svg {
		width:20px;
	}
	
	&:hover {
		span.elementor-button-icon svg path {
			fill:var(--e-global-color-secondary);
		}
	}
}

@media (min-width:1025px) {
	a.ma_service_item {
		transition:all ease-in-out 0.2s;
		&:hover {
			transform:translatey(-8px);
			box-shadow: 0px 16px 40px -16px rgba(0, 0, 0, 0.35) !important;
		}
	}
}

.ma_cities_grid {
	.elementor-heading-title {
		a {
			display:block;
			background-color:var(--e-global-color-a2686c5);
			padding:12px;
			border-radius:4px;
			transition:all ease-in-out 0.2s;
			
			&:hover {
				background-color:var(--e-global-color-primary);
				color:var(--e-global-color-a2686c5);
			}
		}
	}
}

.cta_sticky_on_mobile {
	position:fixed;
	left:0;
	right:0;
	bottom:0;
	z-index:9;
	transition:transform ease-in-out 0.2s;
	
	&:not(.cta_sticky_on_mobile_active) {
		transform:translatey(100%);
	}
}

.ma_hero,
.ma_slide_container {
	max-height:56vw;
	@media (max-width:1024px) {
		max-height:100vw;
	}
	@media (max-width:600px) {
		max-height:100dvh;
	}
}
.ma_hero .swiper {
	padding:0 !important;
}
.ma_slide_container {
	position:relative;
	&:after {
		content:"";
		background:linear-gradient(180deg, rgba(0, 0, 0, 0%) 0%, #000000 100%);
		position:absolute;
		top:50%;
		bottom:0;
		left:0;
		right:0;
		z-index:1;
		@media (max-width:600px) {
			top:25%;
		}
	}
}

@keyframes bgZoomInOut {
  50% {
    transform:scale(1.2);
  }
}
.bgZoomInOut {
	position:relative;
	overflow:hidden;
	z-index:1;
	
	.bgZoomInOut_img {
		width:100%;
		height:100%;
		position:absolute;
		top:0;
		bottom:0;
		left:0;
		right:0;
		animation:bgZoomInOut 40s linear infinite;
		z-index:-1;
	}
}

.ma_bulleted_list {
	ul {
		list-style:none;
		padding-left:0;
		
		li {
			position:relative;
			padding-left:24px;
			@media (max-width:600px) {
				padding-left:22px;
			}
			
			&:before {
				content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M8 16C12.4182 16 16 12.4182 16 8C16 3.58172 12.4182 0 8 0C3.58172 0 0 3.58172 0 8C0 12.4182 3.58172 16 8 16ZM12.3657 5.96569L7.2 11.1314L3.83431 7.76568L4.96569 6.63432L7.2 8.86864L11.2343 4.83431L12.3657 5.96569Z' fill='%238BC34A'/%3E%3C/svg%3E");
				position:absolute;
				left:0;
				top:3px;
				@media (max-width:600px) {
					top:3.5px;
				}
			}

			&:not(:last-child) {
				margin-bottom:6px;
			}
		}
	}
}

details.e-n-accordion-item {
	background-color:var(--e-global-color-941ede4);
	border-radius:16px;
	overflow:hidden;
}

.elementor-widget-loop-grid nav.elementor-pagination {
	display:flex;
	align-items:center;
	justify-content:center;
	gap:6px;
	
	.page-numbers {
		min-width:36px;
		height:36px;
		color:var(--e-global-color-text);
		display:flex;
		align-items:center;
		justify-content:center;
		border:1px solid var(--e-global-color-text);
		border-radius:6px;
		margin:0 !important;
		
		&.current {
			background-color:var(--e-global-color-text);
			color:#ffffff;
			border-color:var(--e-global-color-text);
		}
	}
	
	a.page-numbers:hover {
		background-color:var(--e-global-color-text);
		color:var(--e-global-color-a2686c5);
	}
}

.elementor-widget-text-editor.common-text :where(h2,h3,h4,h5,h6) {
	margin-bottom:10px;
	
	&:not(:first-child) {
		margin-top:20px;
	}
}

@media (max-width:1024px) {
	.hide_in_tablet {
		display:none !important;
	}
}

.ma_communities_grid {
	a {
		display:block;
		background-color:var(--e-global-color-a2686c5);
		padding:20px;
		border-radius:4px;
		transition:all ease-in-out 0.2s;

		&:hover {
			background-color:var(--e-global-color-primary);

			.elementor-heading-title {
				color:var(--e-global-color-a2686c5) !important;
			}
		}
	}
}