.css({
						'animationDelay': "0." + i + "s",

					});

				}
				//close other sub items if opened
				$(".has-child ul").not(subMenu).not($(this).parents("ul")).slideUp();

			});


			// Mobile Design

			$(hamburger).click(function () {
				$(this).toggleClass("active");

				openMenu();

				$(dimOverlay).fadeIn();


			});

			var offCanvasDirection = setting.offCanvasDirection;

			//Open Menu
			function openMenu() {

				switch (offCanvasDirection) {
					case "left"