.menu-navigation {
	width: 100%;
	margin-bottom: 10px;
}

.menu-navigation li {
	cursor: pointer;
}

.menu-topic {
	height: 35px;
	display: table;
	width: 100%;
}

.menu-topic > * {
	display: table-cell;
	vertical-align: middle;
	height: 100%;
}

.menu-item {
	display: table;
	position: relative;
	width: 100%;
}

.menu-item > * {
	display: table-cell;
}

.menu-item > *,
.menu-item-add {
	padding-left: 2px;
	padding-right: 2px;
	margin: 0px;
}

.menu-item-title {
	display: table-cell;
	vertical-align: middle;
}

:root {
	--menu-item-icon-offset: 8px;
	--menu-item-text-offset: 28px;
}

.menu-item-icon {
	position: absolute;
	width: calc(var(--menu-item-icon-offset) + 16px);
	height: 16px;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: var(--menu-item-icon-offset);
	mask-position: var(--menu-item-icon-offset);
	background-color: black;
}

.menu-items ul ul .menu-item-icon {
	width: calc(var(--menu-item-text-offset) + 16px);
	-webkit-mask-position: var(--menu-item-text-offset);
	mask-position: var(--menu-item-text-offset);
}

.menu-item-icon.masked-icon {
	/* override brightness set for .masked-icons in window.css:
	   .menu-item-icons use mask-image with background color instead */
	filter: brightness(100%);
}

.menu-item-icon[data-icon="broken"] {
	-webkit-mask-image: url('/images/sprite_16[144].png');
	mask-image: url('/images/sprite_16[144].png');
	background-color: red;
}

.menu-item-icon[data-icon="add"] {
	-webkit-mask-image: url('/images/plussab.png');
	mask-image: url('/images/plussab.png');
}

.menu-item-text {
	padding-left: var(--menu-item-text-offset);
	display: inline-block;
	overflow-wrap: anywhere;
}

.menu-items ul ul .menu-item-text {
	padding-left: calc(2 * var(--menu-item-text-offset) - var(--menu-item-icon-offset))
}

.menu-submenu-show {
	width: 16px;
	padding-left: 5px;
	padding-right: 10px;
}

.menu-topic-button {
	cursor: pointer;
}

.menu-topic-title {
	display: table;
	cursor: pointer;
	width: 80%;
}

.menu-topic-title > * {
	display: table-cell;
	vertical-align: middle;
}

.menu-topic-icon {
	padding-left: 10px;
	padding-right: 10px;
	width: 16px;
	height: 16px;
	background-repeat: no-repeat;
	background-position: 50% 50%;
}

.menu-topic-ok {
	visibility: hidden;
}

.menu-topic-show {
	width: 16px;
	padding-left: 5px;
	padding-right: 10px;
}

#menu .menu-items {
	width: 100%;
	display: none;
	padding-top: 11px;
	border-top: none;
}

.menu-items > ul > ul {
	padding: 0px 0px 0px 0px;
}

#menu .submenu {
	list-style-type: none;
}

.menu-submenu-add {
	list-style-type: none;
	padding: 0px 0px 0px 0px;
	margin-top: 0px;
	margin-bottom: 0px;
	background-repeat: no-repeat;
    background-position: 0% 50%;
}

.menu-submenu {
	list-style-type: none;
	padding: 0px 0px 10px 0px;
	margin-top: 0px;
	margin-bottom: 0px;
	background-repeat: no-repeat;
    background-position: 0% 50%;
}

#menu li {
	border: 0px;
	margin-left: 0;
	padding-top: 3px;
	padding-bottom: 3px;
	background-repeat: no-repeat;
    background-position: 0% 50%;
}

.menu-item-icon[data-icon="add"] {
	background-image: url('/images/plussab.png');
}
