.elespare-navigation-wrapper {
	&.horizontal {
		.elespare-main-navigation {
			div.elespare-menu > ul,
			ul.elespare-menu {
				list-style: none;
				margin: 0;
				padding: 0;
				display: flex;
				flex-wrap: wrap;

				> li {
					margin: 0;
					display: flex;
					align-items: center;
					position: relative;

					> a {
						line-height: 50px;
						display: block;
						font-weight: 600;
						padding: 0 10px;
						display: flex;
						align-items: center;
					}
				}
				.elespare-menu-child {
					position: absolute;
					top: 100%;
					left: 0;
					visibility: hidden;
				}
				.children,
				.sub-menu {
					list-style: none;
					min-width: 245px;
					padding: 0;
					margin: 0;
					background-color: #fff;
					box-shadow: 1px 5px 15px rgba(0, 0, 0, 0.1);
					visibility: hidden;
					opacity: 0;
					position: absolute;
					top: 100%;
					left: 15px;
					z-index: 9999;
					overflow: visible;

					li > a {
						line-height: 1.6;
						display: block;
					}
					li a {
						border-style: solid;
					}
					.children,
					.elespare-menu-child {
						left: 100%;
					}
					li.page_item_has_children,
					li.menu-item-has-children {
						position: relative;
					}
				}
				li.page_item_has_children,
				li.menu-item-has-children {
					> a:after {
						padding-left: 10px;
					}
					> a > button.elespare-dropdwon-toggle {
						display: none;
					}
					.page_item_has_children,
					.menu-item-has-children {
						a {
							display: flex;
							justify-content: space-between;
							align-items: center;
						}
						.sub-menu {
							left: 0;
							top: 0;
						}
						.children,
						.elespare-menu-child {
							top: 0;
						}
					}
				}
			}
		}
		span.elespare-menu-item-description {
			font-size: 12px;
			line-height: normal;
			padding: 0 5px;
			font-style: italic;
			font-weight: normal;
			display: none;
		}
		a {
			text-decoration: none;
		}
	}
}

.elespare-navigation-wrapper {
	&.horizontal {
		&.sub-hover {
			.elespare-main-navigation {
				.elespare-menu {
					li.page_item_has_children,
					li.menu-item-has-children {
						&:hover {
							> .children,
							> .elespare-menu-child > .sub-menu,
							> .elespare-menu-child {
								visibility: visible;
								opacity: 1;
								z-index: 9999999;
								transition-delay: 0s, 0s, 0.3s;
								-webkit-transition: all 0.3s ease 0s, opacity 0.3s;
								transition: all 0.3s ease 0s, opacity 0.3s;
							}
						}
						&:focus-within {
							> .children,
							> .elespare-menu-child > .sub-menu,
							> .elespare-menu-child {
								visibility: visible;
								opacity: 1;
								z-index: 9999999;
								transition-delay: 0s, 0s, 0.3s;
								-webkit-transition: all 0.3s ease 0s, opacity 0.3s;
								transition: all 0.3s ease 0s, opacity 0.3s;
							}
						}
					}
					&.animation-1 {
						.elespare-menu-child {
							.sub-menu {
								transform: translateY(-15px);
							}
						}
						.children {
							transform: translateY(-15px);
						}
						li.page_item_has_children,
						li.menu-item-has-children {
							&:hover {
								> .children,
								> .elespare-menu-child > .sub-menu,
								> .elespare-menu-child {
									transform: translateY(0%);
								}
							}
							&:focus-within {
								> .children,
								> .elespare-menu-child > .sub-menu,
								> .elespare-menu-child {
									transform: translateY(0%);
								}
							}
						}
					}
					&.animation-2 {
						.elespare-menu-child {
							.sub-menu {
								transform: translateY(15px);
							}
						}
						.children {
							transform: translateY(15px);
						}
						li.menu-item-has-children {
							&:hover {
								> .children,
								> .elespare-menu-child > .sub-menu,
								> .elespare-menu-child {
									transform: translateY(0%);
								}
							}
							&:focus-within {
								> .children,
								> .elespare-menu-child > .sub-menu,
								> .elespare-menu-child {
									transform: translateY(0%);
								}
							}
						}
					}
					&.animation-3 {
						.elespare-menu-child {
							.sub-menu {
								transform: scaleY(0);
								transform-origin: top;
							}
						}
						.children {
							transform: scaleY(0);
							transform-origin: top;
						}
						li.page_item_has_children,
						li.menu-item-has-children {
							&:hover {
								> .children,
								> .elespare-menu-child > .sub-menu,
								> .elespare-menu-child {
									transform: scaleY(1);
								}
							}
							&:focus-within {
								> .children,
								> .elespare-menu-child > .sub-menu,
								> .elespare-menu-child {
									transform: scaleY(1);
								}
							}
						}
					}
				}
			}
		}
		&.sub-click {
			.elespare-main-navigation {
				.elespare-menu {
					li.page_item_has_children,
					li.menu-item-has-children {
						> .children.active,
						> .elespare-menu-child.active > .sub-menu,
						> .elespare-menu-child.active {
							visibility: visible;
							opacity: 1;
							z-index: 9999999;
							transition-delay: 0s, 0s, 0.3s;
							transition: all 0.3s ease 0s, opacity 0.3s;
						}
						> a:after {
							display: none;
						}
						> a > button.elespare-dropdwon-toggle {
							padding-left: 10px;
							display: inline-block;
							border: none;
							padding: 0;
							margin: 0;
							background-color: transparent;
							color: inherit;
							line-height: 1.2;
							&:hover {
								background-color: transparent;
								border: none;
								color: inherit;
							}
							&:focus {
								background-color: transparent;
								border: none;
								color: inherit;
								outline: none;
							}
							&:focus-visible {
								outline: 1px solid;
							}
						}
					}
					&.animation-1 {
						.elespare-menu-child {
							.sub-menu {
								transform: translateY(-15px);
							}
						}
						.children {
							transform: translateY(-15px);
						}
						li.page_item_has_children,
						li.menu-item-has-children {
							> .children,
							> .elespare-menu-child.active > .sub-menu,
							> .elespare-menu-child.active {
								transform: translateY(0%);
							}
						}
					}
					&.animation-2 {
						.elespare-menu-child {
							.sub-menu {
								transform: translateY(15px);
							}
						}
						.children {
							transform: translateY(15px);
						}
						li.menu-item-has-children {
							> .children,
							> .elespare-menu-child.active > .sub-menu,
							> .elespare-menu-child.active {
								transform: translateY(0%);
							}
						}
					}
					&.animation-3 {
						.elespare-menu-child {
							.sub-menu {
								transform: scaleY(0);
								transform-origin: top;
							}
						}
						.children {
							transform: scaleY(0);
							transform-origin: top;
						}
						li.menu-item-has-children {
							> .children,
							> .elespare-menu-child.active > .sub-menu,
							> .elespare-menu-child.active {
								transform: scaleY(1);
							}
						}
					}
				}
			}
		}
	}
}

// toggle and responsive
.elespare-navigation-wrapper {
	&.horizontal {
		&.dropdown {
			.elespare-menu-toggle {
				display: none;
				font-size: 48px;
				.elespare-close-toggle {
					display: none;
				}
				.elespare-open-toggle {
					display: block;
				}
				&.elespare-nav-menu-toggle {
					.elespare-close-toggle {
						display: block;
					}
					.elespare-open-toggle {
						display: none;
					}
				}
			}
		}
		&.drawer {
			.elespare-menu-toggle {
				display: none;
				font-size: 48px;
				.elespare-close-toggle {
					display: none;
				}
				.elespare-open-toggle {
					display: block;
				}
			}
		}
	}
}
.elesapre-nav-menu__breakpoint-tablet-large {
	.elespare-navigation-wrapper {
		&.horizontal {
			&.drawer,
			&.dropdown {
				@media (max-width: 1025px) {
					.elespare-menu-toggle {
						display: block;
					}
					.elespare-overlay {
						background-color: rgba(0, 0, 0, 0.6);
						position: fixed;
						z-index: 999998;
						top: 0;
						bottom: 0;
						left: 0;
						right: 0;
						transition: all 0.3s ease-out;
					}
					.elespare-overlay.show {
						display: block;
						transition: all 0.3s ease-out;
					}
					.elespare-menu-sidebar.show {
						transform: translateX(0);
						transition: transform 0.3s ease-out;
						display: block;
					}
					.elespare-main-navigation {
						display: none;
					}
				}
			}
		}
	}
}
.elesapre-nav-menu__breakpoint-tablet-small {
	.elespare-navigation-wrapper {
		&.horizontal {
			&.drawer,
			&.dropdown {
				@media (max-width: 992px) {
					.elespare-menu-toggle {
						display: block;
					}
					.elespare-overlay {
						background-color: rgba(0, 0, 0, 0.6);
						position: fixed;
						z-index: 999998;
						top: 0;
						bottom: 0;
						left: 0;
						right: 0;
						transition: all 0.3s ease-out;
					}
					.elespare-overlay.show {
						display: block;
						transition: all 0.3s ease-out;
					}
					.elespare-menu-sidebar.show {
						transform: translateX(0);
						transition: transform 0.3s ease-out;
						display: block;
					}
					.elespare-main-navigation {
						display: none;
					}
				}
			}
		}
	}
}
.elesapre-nav-menu__breakpoint-mobile-large {
	.elespare-navigation-wrapper {
		&.horizontal {
			&.drawer,
			&.dropdown {
				@media (max-width: 768px) {
					.elespare-menu-toggle {
						display: block;
					}
					.elespare-overlay {
						background-color: rgba(0, 0, 0, 0.6);
						position: fixed;
						z-index: 999998;
						top: 0;
						bottom: 0;
						left: 0;
						right: 0;
						transition: all 0.3s ease-out;
					}
					.elespare-overlay.show {
						display: block;
						transition: all 0.3s ease-out;
					}
					.elespare-menu-sidebar.show {
						transform: translateX(0);
						transition: transform 0.3s ease-out;
						display: block;
					}
					.elespare-main-navigation {
						display: none;
					}
				}
			}
		}
	}
}
.elesapre-nav-menu__breakpoint-mobile-small {
	.elespare-navigation-wrapper {
		&.horizontal {
			&.drawer,
			&.dropdown {
				@media (max-width: 480px) {
					.elespare-menu-toggle {
						display: block;
					}
					.elespare-overlay {
						background-color: rgba(0, 0, 0, 0.6);
						position: fixed;
						z-index: 999998;
						top: 0;
						bottom: 0;
						left: 0;
						right: 0;
						transition: all 0.3s ease-out;
					}
					.elespare-overlay.show {
						display: block;
						transition: all 0.3s ease-out;
					}
					.elespare-menu-sidebar.show {
						transform: translateX(0);
						transition: transform 0.3s ease-out;
						display: block;
					}
					.elespare-main-navigation {
						display: none;
					}
				}
			}
		}
	}
}
// toggle and responsive
.elespare-navigation-wrapper {
	&.horizontal {
		&.drawer {
			.elespare-menu-sidebar {
				position: fixed;
				left: 0;
				width: 300px;
				transform: translateX(-100%);
				transition: transform 0.3s ease-out;
				top: 0;
				bottom: 0;
				z-index: 999999;
				background-color: #fff;
				display: none;

				.elespare--close-menu-side-bar {
					font-size: 30px;
					display: block;
					padding: 5px 10px;
					text-align: right;
				}
				.elespare-menu-sidebar--wrapper {
					padding: 0 0 20px 0px;
					height: 100vh;
					.elespare-menu-dropdown {
						list-style: none;
						margin: 0;
						padding: 20px;
						height: 100%;
						overflow-y: scroll;
						width: 100%;

						ul {
							list-style: none;
							margin: 0;
							padding: 0;
							li.page_item,
							li.menu-item {
								a {
									display: flex;
									justify-content: flex-start;
									align-items: center;
									line-height: 50px;
									border-bottom: 1px solid #eee;
								}
							}
						}
						.children,
						.sub-menu {
							display: none;
							padding-left: 10px;
						}
						&::-webkit-scrollbar {
							width: 5px;
						}
						&::-webkit-scrollbar-thumb {
							background: #1f3d70;
							border-radius: 50px;
						}
						&::-webkit-scrollbar-thumb:hover {
							background: #fc1550;
						}
					}
				}
				.page_item_has_children,
				.menu-item-has-children {
					a {
						display: flex;
						justify-content: space-between;
						&::after {
							display: none;
						}
					}
					> a > button.elespare-dropdwon-toggle {
						display: inline-block;
						background-color: transparent;
						border: none;
						padding: 0;
						margin: 0;
						color: inherit;
						width: 30px;
						height: 30px;
						&:hover {
							background-color: transparent;
							border: none;
							color: inherit;
						}
						&:focus {
							outline: 1px dotted;
							background: transparent;
							border: none;
						}
						&:after {
							transition: all 0.3s;
							display: inline-block;
						}
					}
					> a > button.elespare-dropdwon-toggle.up:after {
						transition: all 0.3s;
					}
				}

				&.elespare-menu-right {
					right: 0;
					left: auto;
					transform: translateX(100%);
					.elespare--close-menu-side-bar {
						text-align: left;
					}
				}
			}
		}
		&.dropdown {
			.elespare-menu-sidebar-dropdown {
				position: absolute;
				top: 100%;
				left: 0;
				z-index: 12;
				background-color: #fff;
				margin-top: 10px;
				padding: 0 20px 20px;
				-webkit-transition: max-height 0.3s, -webkit-transform 0.3s;
				transition: max-height 0.3s, -webkit-transform 0.3s;
				-o-transition: max-height 0.3s, transform 0.3s;
				transition: max-height 0.3s, transform 0.3s;
				transition: max-height 0.3s, transform 0.3s, -webkit-transform 0.3s;
				-webkit-transform-origin: top;
				-ms-transform-origin: top;
				transform-origin: top;
				overflow: auto;
				-webkit-transform: scaleY(0);
				-ms-transform: scaleY(0);
				transform: scaleY(0);
				max-height: 0;

				ul {
					list-style: none;
					padding: 0;
					margin: 0;
					li.page_item,
					li.menu-item {
						margin: 0;
						a {
							display: flex;
							justify-content: flex-start;
							align-items: center;
							line-height: 50px;
							border-bottom: 1px solid #eee;
						}
					}
				}
				.page_item_has_children,
				.menu-item-has-children {
					a {
						display: flex;
						justify-content: space-between;
						&::after {
							display: none;
						}
					}
					> a > button.elespare-dropdwon-toggle {
						display: inline-block;
						border: none;
						padding: 0;
						margin: 0;
						color: inherit;
						width: 30px;
						height: 30px;
						&:hover {
							background-color: transparent;
							border: none;
							color: inherit;
						}
						&:focus {
							outline: 1px dotted;
							background: transparent;
							border: none;
						}
						&:after {
							transition: all 0.3s;
							display: inline-block;
						}
					}
					> a > button.elespare-dropdwon-toggle.up:after {
						transition: all 0.3s;
					}
				}
				.children,
				.sub-menu {
					display: none;
				}

				&.show {
					-webkit-transform: scaleY(1);
					-ms-transform: scaleY(1);
					transform: scaleY(1);
					max-height: 100vh;
				}
			}
		}
	}
}
.elespare-overlay {
	display: none;
}

// effects
.elespare--hover-background ul.elespare-menu > li:hover > a,
.elespare--hover-background div.elespare-menu ul > li:hover > a {
	color: #aa3166;
}

.elespare--hover-overline .elespare-menu li a:before,
.elespare--hover-underline .elespare-menu li a:before {
	position: absolute;
	display: block;
	content: "";
	height: 3px;
	width: 0;
	transition: width 0.3s linear;
}

.elespare--hover-overline div.elespare-menu ul > li:hover > a,
.elespare--hover-overline ul.elespare-menu > li:hover > a,
.elespare--hover-underline div.elespare-menu ul > li:hover > a,
.elespare--hover-underline ul.elespare-menu > li:hover > a {
	position: relative;
}

.elespare--hover-overline div.elespare-menu ul > li:hover > a:before,
.elespare--hover-overline ul.elespare-menu > li:hover > a:before,
.elespare--hover-underline div.elespare-menu ul > li:hover > a:before,
.elespare--hover-underline ul.elespare-menu > li:hover > a:before {
	width: 50px;
	background-color: #000;
}

.elespare--hover-overline .elespare-menu li .sub-menu > li a,
.elespare--hover-underline .elespare-menu li .sub-menu > li a {
	position: relative;
}

.elespare--hover-overline .elespare-menu li .sub-menu > li a:after,
.elespare--hover-underline .elespare-menu li .sub-menu > li a:after {
	top: auto;
	bottom: 12px;
}

.elespare--hover-underline li a:before {
	bottom: 0;
}

.elespare--hover-overline .elespare-menu li a:before {
	top: 0;
}

.elespare--hover-overline div.elespare-menu ul > li:hover > a,
.elespare--hover-overline ul.elespare-menu > li:hover > a {
	position: relative;
}

.elespare--hover-overline div.elespare-menu ul > li:hover > a:before,
.elespare--hover-overline ul.elespare-menu > li:hover > a:before {
	width: 80px;
	background-color: #000;
}
// effects
// submenu icons
.elementor-widget-elespare-nav-horziontal-menu {
	&.elespare-submenu-icon-elespare-submenu-icon-arrow {
		.elespare-navigation-wrapper {
			&.horizontal {
				.elespare-menu {
					li.page_item_has_children,
					li.menu-item-has-children {
						> a:after {
							content: "\f107";
							font-family: "elespare-icons";
						}
					}
					.elespare-menu-child {
						.sub-menu {
							li.menu-item-has-children {
								> a:after {
									content: "\f105";
									font-family: "elespare-icons";
								}
							}
						}
					}
					.children {
						li.page_item_has_children {
							> a:after {
								content: "\f105";
								font-family: "elespare-icons";
							}
						}
					}
				}
				&.sub-click {
					.elespare-menu {
						li.page_item_has_children,
						li.menu-item-has-children {
							> a:after {
								display: none;
							}
							> a > button.elespare-dropdwon-toggle:after {
								content: "\f107";
								font-family: "elespare-icons";
								padding-left: 10px;
							}
						}
						.elespare-menu-child {
							.sub-menu {
								li.menu-item-has-children {
									> a:after {
										display: none;
									}
									> a > button.elespare-dropdwon-toggle:after {
										content: "\f105";
										font-family: "elespare-icons";
									}
								}
							}
						}
						.children {
							li.page_item_has_children {
								> a:after {
									display: none;
								}
								> a > button.elespare-dropdwon-toggle:after {
									content: "\f105";
									font-family: "elespare-icons";
								}
							}
						}
					}
				}
				&.drawer {
					.elespare-menu-sidebar {
						.page_item_has_children,
						.menu-item-has-children {
							> a > button.elespare-dropdwon-toggle {
								margin-left: auto;
								&:after {
									content: "\f107";
									font-family: "elespare-icons";
								}
							}
							> a > button.elespare-dropdwon-toggle.up:after {
								content: "\f106";
							}
						}
					}
				}
				&.dropdown {
					.elespare-menu-sidebar-dropdown {
						.page_item_has_children,
						.menu-item-has-children {
							> a > button.elespare-dropdwon-toggle {
								margin-left: auto;
								&:after {
									content: "\f107";
									font-family: "elespare-icons";
								}
							}
							> a > button.elespare-dropdwon-toggle.up:after {
								content: "\f106";
							}
						}
					}
				}
			}
		}
	}

	&.elespare-submenu-icon-elespare-submenu-icon-plus {
		.elespare-navigation-wrapper {
			&.horizontal {
				.elespare-menu {
					li.page_item_has_children,
					li.menu-item-has-children {
						> a:after {
							content: "\e82e";
							font-family: "elespare-icons";
						}
					}
				}
				&.drawer {
					.elespare-menu-sidebar {
						.page_item_has_children,
						.menu-item-has-children {
							> a > button.elespare-dropdwon-toggle {
								margin-left: auto;
								&:after {
									content: "\e82e";
									font-family: "elespare-icons";
								}
							}
						}
					}
				}
				&.dropdown {
					.elespare-menu-sidebar-dropdown {
						.page_item_has_children,
						.menu-item-has-children {
							> a > button.elespare-dropdwon-toggle {
								margin-left: auto;
								&:after {
									content: "\e82e";
									font-family: "elespare-icons";
								}
							}
						}
					}
				}
			}
		}
	}
	&.elespare-submenu-icon-elespare-submenu-icon-classic {
		.elespare-navigation-wrapper {
			&.horizontal {
				.elespare-menu {
					li.page_item_has_children {
						> a:after {
							content: "\e82d";
							font-family: "elespare-icons";
						}
					}
					li.menu-item-has-children {
						> a:first-child:after {
							content: "\e82d";
							font-family: "elespare-icons";
						}
					}
					.elespare-menu-child {
						.sub-menu {
							li.menu-item-has-children {
								> a:after {
									content: "\e82d";
									font-family: "elespare-icons";
								}
							}
						}
					}
					.children {
						li.page_item_has_children {
							> a:after {
								content: "\e82d";
								font-family: "elespare-icons";
							}
						}
					}
				}
				&.drawer {
					.elespare-menu-sidebar {
						.page_item_has_children,
						.menu-item-has-children {
							> a > button.elespare-dropdwon-toggle {
								margin-left: auto;
								&:after {
									content: "\e82d";
									font-family: "elespare-icons";
								}
							}
							> a > button.elespare-dropdwon-toggle.up:after {
								content: "\e821";
							}
						}
					}
				}
				&.dropdown {
					.elespare-menu-sidebar-dropdown {
						.page_item_has_children,
						.menu-item-has-children {
							> a > button.elespare-dropdwon-toggle {
								margin-left: auto;

								&:after {
									content: "\e82d";
									font-family: "elespare-icons";
								}
							}
							> a > button.elespare-dropdwon-toggle.up:after {
								content: "\e821";
							}
						}
					}
				}
			}
		}
	}
}

.elementor-widget-elespare-nav-horziontal-menu {
	&.elespare-submenu-icon-elespare-submenu-icon-plus {
		.elespare-navigation-wrapper {
			&.horizontal.sub-click {
				.elespare-menu {
					li {
						&.menu-item-has-children {
							> a > button.elespare-dropdwon-toggle:after {
								content: "\e82e";
								font-family: "elespare-icons";
								padding-left: 10px;
							}
						}
					}
				}
			}
		}
	}
}

.elementor-widget-elespare-nav-horziontal-menu {
	&.elespare-submenu-icon-elespare-submenu-icon-classic {
		.elespare-navigation-wrapper {
			&.horizontal.sub-click {
				.elespare-menu {
					li {
						&.menu-item-has-children {
							> a > button.elespare-dropdwon-toggle:after {
								content: "\e82d";
								font-family: "elespare-icons";
								padding-left: 10px;
							}
						}
					}
				}
			}
		}
	}
}

// submenu icons
// menu alignment
.elementor-widget-elespare-nav-horziontal-menu {
	.elespare-navigation-wrapper {
		&.horizontal {
			&.flex-start {
				.elespare-main-navigation {
					div.elespare-menu > ul,
					ul.elespare-menu {
						justify-content: flex-start;
					}
				}
			}
			&.center {
				.elespare-main-navigation {
					div.elespare-menu > ul,
					ul.elespare-menu {
						justify-content: center;
					}
				}
			}
			&.flex-end {
				.elespare-main-navigation {
					div.elespare-menu > ul,
					ul.elespare-menu {
						justify-content: flex-end;
					}
				}
			}
		}
	}
}

// last-two sub-menus
.elementor-widget-elespare-nav-horziontal-menu {
	.elespare-navigation-wrapper {
		&.horizontal {
			&.flex-end {
				.elespare-main-navigation {
					div.elespare-menu > ul,
					ul.elespare-menu {
						> li.menu-item:nth-last-child(2):has(.elespare-menu-child),
						> li.menu-item:last-child:has(.elespare-menu-child) {
							> .elespare-menu-child {
								left: auto;
								right: 0;
								.sub-menu {
									left: auto;
									right: 0;
									.menu-item-has-children {
										a::after {
											transform: scaleX(-1);
											padding-left: 0;
											padding-right: 10px;
										}
									}
								}
								.elespare-menu-child {
									left: auto;
									right: 100%;
								}
							}
						}
					}
				}
			}
		}
	}
}

// .elementor-section-boxed .elementor-element-populated {
// 	padding: 0 10px;
// }

// menu alignment
// menu alignment responsive
@media (max-width: 1025px) {
	.elementor-widget-elespare-nav-horziontal-menu {
		.elespare-navigation-wrapper {
			&.horizontal {
				&.elespare-mobile-none-left {
					.elespare-main-navigation {
						div.elespare-menu > ul,
						ul.elespare-menu {
							justify-content: flex-start;
						}
					}
				}
				&.elespare-mobile-none-center {
					.elespare-main-navigation {
						div.elespare-menu > ul,
						ul.elespare-menu {
							justify-content: center;
						}
					}
				}
				&.elespare-mobile-none-right {
					.elespare-main-navigation {
						div.elespare-menu > ul,
						ul.elespare-menu {
							justify-content: flex-end;
						}
					}
				}
			}
		}
	}
}
@media (max-width: 1025px) {
	.elementor-widget-elespare-nav-horziontal-menu {
		.elespare-navigation-wrapper {
			&.horizontal {
				&.elespare-mobile-responsive-left {
					.elespare-menu-toggle {
						text-align: left;
					}
				}
				&.elespare-mobile-responsive-center {
					.elespare-menu-toggle {
						text-align: center;
					}
				}
				&.elespare-mobile-responsive-right {
					.elespare-menu-toggle {
						text-align: right;
					}
				}
			}
		}
	}
}

// menu alignment responsive

.elementor-align-justify .elespare-menu-toggle-vertical {
	width: 100%;
}

@media (max-width: 480px) {
	.elespare-navigation-wrapper {
		&.horizontal {
			&.drawer {
				.elespare-menu-sidebar {
					width: 100%;
				}
			}
		}
	}
	.elespare-navigation-wrapper {
		&.horizontal {
			&.dropdown {
				.elespare-menu-sidebar-dropdown {
					&.show {
						width: calc(100vw - 20px);
					}
				}
			}
		}
	}
}

// skiplink
.elespare-navigation-wrapper {
	&.horizontal {
		a:focus {
			outline: none;
		}
		a:focus-visible {
			outline: 1px dotted;
		}
	}
}
// skiplink

body.rtl {
	.elementor-column {
		overflow-x: visible;
	}

	.elementor-widget-elespare-nav-horziontal-menu {
		.elespare-navigation-wrapper {
			&.horizontal {
				&.flex-start {
					.elespare-main-navigation {
						div.elespare-menu > ul,
						ul.elespare-menu {
							justify-content: flex-end;
						}
					}
				}
				&.flex-end {
					.elespare-main-navigation {
						div.elespare-menu > ul,
						ul.elespare-menu {
							justify-content: flex-start;
						}
					}
				}
			}
		}
	}
	.elementor-widget-elespare-nav-horziontal-menu {
		&.elespare-submenu-icon-elespare-submenu-icon-arrow {
			.elespare-navigation-wrapper {
				&.horizontal {
					.elespare-menu {
						.elespare-menu-child {
							.sub-menu {
								li {
									&.menu-item-has-children > a:after {
										transform: scale(-1);
									}
								}
							}
						}
					}
				}
			}
		}
	}
	.elementor-widget-elespare-nav-horziontal-menu {
		.elespare-navigation-wrapper {
			&.horizontal {
				&.flex-start {
					.elespare-main-navigation {
						div.elespare-menu > ul,
						ul.elespare-menu {
							> li.menu-item:nth-last-child(2):has(.elespare-menu-child),
							> li.menu-item:last-child:has(.elespare-menu-child) {
								> .elespare-menu-child {
									left: 0;
									right: auto;
									.sub-menu {
										left: 0;
										right: auto;
										.menu-item-has-children {
											a::after {
												transform: scaleX(1);
												padding-left: 0;
												padding-right: 10px;
											}
										}
									}
									.elespare-menu-child {
										left: 100%;
										right: auto;
									}
								}
							}
						}
					}
				}
			}
		}
	}
	.elespare-navigation-wrapper {
		&.horizontal {
			.elespare-main-navigation {
				ul.elespare-menu {
					li {
						&.menu-item-has-children > a:after {
							padding-left: 0px;
							padding-right: 10px;
						}
					}
				}
			}
		}
	}
	
	.elementor-widget-elespare-nav-horziontal-menu {
		&.elespare-submenu-icon-elespare-submenu-icon-arrow,
		&.elespare-submenu-icon-elespare-submenu-icon-plus,
		&.elespare-submenu-icon-elespare-submenu-icon-classic {
			.elespare-navigation-wrapper {
				&.horizontal {
					&.drawer {
						.elespare-menu-sidebar {
							.page_item_has_children,
							.menu-item-has-children {
								> a > button.elespare-dropdwon-toggle {
									margin-left: unset;
									margin-right: auto;
								}
							}
						}
					}
					&.dropdown {
						.elespare-menu-sidebar-dropdown {
							.page_item_has_children,
							.menu-item-has-children {
								> a > button.elespare-dropdwon-toggle {
									margin-left: unset;
									margin-right: auto;
								}
							}
						}
					}
				}
			}
		}
	}
	.elementor-widget-elespare-nav-horziontal-menu {
		&.elespare-submenu-icon-elespare-submenu-icon-plus,
		&.elespare-submenu-icon-elespare-submenu-icon-classic,
		&.elespare-submenu-icon-elespare-submenu-icon-arrow {
			.elespare-navigation-wrapper {
				&.horizontal.sub-click {
					.elespare-menu {
						li {
							&.menu-item-has-children {
								> a > button.elespare-dropdwon-toggle:after {
									padding-left: unset;
									padding-right: 10px;
								}
							}
						}
					}
				}
			}
		}
	}
	.elespare-navigation-wrapper {
		&.horizontal {
			.elespare-main-navigation {
				ul {
					&.elespare-menu {
						li {
							&.menu-item-has-children > a:after {
								padding-left: 0px;
								padding-right: 10px;
							}
						}
					}
				}
			}
		}
	}
	.elespare-navigation-wrapper {
		&.horizontal {
			.elespare-main-navigation {
				.elespare-menu-child {
					left: unset;
					right: 0;
				}
				.children,
				.sub-menu {
					right: 15px;
					left: unset;
					.children,
					.elespare-menu-child {
						right: 100%;
						left: unset;
					}
				}
				li.page_item_has_children,
				li.menu-item-has-children {
					> a:after {
						padding-left: 0px;
						padding-right: 10px;
					}
					.page_item_has_children,
					.menu-item-has-children {
						.sub-menu {
							left: unset;
							right: 0;
						}
					}
				}
			}
		}
	}
}

