/*****************************************

		CUSTOM CSS

******************************************/

/*
 * Drop-down submenu of the LAST top-level menu item opens to the left so it
 * doesn't overflow the right edge. In the original template this relied on a
 * "> div > div > ul" structure; the Joomla 4/5 mod_menu override places the
 * <ul> one level higher (required by the mobile menu), so the same rule is
 * reproduced here with the "> div > ul" structure.
 */
@media screen and (min-width: 980px) {

	.drop-down > div > ul > li:last-child > ul {
	left: inherit;
	right: 0;
	}

	.drop-down > div > ul > li:last-child > ul ul {
	left: inherit;
	right: 97%;
	}

}
