ul.uwt-menu
{
	list-style-type: none;
	padding-left: 0px;
	margin: 0px;
	user-select: none;
	&.uwt-popup
	{
		max-height: 200px;
		overflow: scroll;
		overflow-x: hidden;
	}
	&> li
	{
		padding: .438rem 1.25rem;
		position: relative;
		&:not(.uwt-visible)
		{
			display: none;
		}
		&> a
		{
			color: var(--uwt-control-text);
			display: block;
			font-size: initial;
			padding: .438rem 1.25rem;
			margin: -.438rem -1.25rem;
			text-align: initial;
			text-decoration: none;

			&> span
			{
				/* not required, but if used, block-level elements */
				display: block;
				&.uwt-title
				{
					//font-weight: bold;
				}
				&.uwt-description
				{
					font-size: 0.8em;
				}
			}
		}
		&.uwt-menu-item-command
		{
			&:hover, &.uwt-highlight
			{
				background-color: rgba(0, 0, 0, 0.03); // var(--uwt-dropdown-menu-highlight-background);
				color: var(--uwt-dropdown-menu-highlight-foreground);
				&> a
				{
					background-color: inherit;
					color: inherit;
				}
			}
		}
		&.uwt-separator
		{
			border-bottom: solid 1px #eee;
			margin-left: 8px;
			margin-right: 8px;
			margin-top: 4px;
			margin-bottom: 4px;
		}
		&> ul.uwt-menu
		{
			position: absolute;
			top: 0px;
		}
		&:hover > ul.uwt-menu
		{
			visibility: visible;
			opacity: 1;
		}
	}
	&.uwt-multiselect
	{
		&> li:not(.uwt-section)
		{
			&> a
			{
				padding: 10px;
				padding-left: 40px;

				&::before
				{
					content: " ";
					color: #fff;
					font-family: "Font Awesome 6 Pro";
					font-weight: bold;
					border: 1px solid var(--uwt-color-gray);
					width: 16px;
					height: 16px;
					border-radius: 4px;
					display: inline-block;
					position: absolute;
					left: 8px;
					top: 8px;
					padding: 4px;
				}
			}
		}
	}
	&> li:not(.uwt-section)
	{
		&.uwt-selected
		{
			&> a
			{
				/*
				&::before
				{
					background-color: var(--uwt-color-accent);
					border-color: var(--uwt-color-accent);
					content: "\f00c";
				}
				*/
				background-color: var(--uwt-color-accent);
				border-color: var(--uwt-color-accent);
				color: #fff;
			}
		}
	}
}

div.uwt-popup.uwt-contextmenu
{
	position: fixed;
}