body {
    margin: 0px;
    padding: 0px;
    overflow: hidden;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none;   /* Chrome/Safari/Opera */
    -khtml-user-select: none;    /* Konqueror */
    -moz-user-select: none;      /* Firefox */
    -ms-user-select: none;       /* IE/Edge */
    user-select: none;           /* Standard */
}

/* Element attributes */
ul[menu] {
    list-style: none;
    padding: 0px;
    margin: 0px;
    background-color: white;
    z-index: 100;
}
li[menu-item] {
    background-color: white;
    z-index: 100;
}
/* UI position attributes */
[menu] {
    position: absolute;
    display: inline-block;
    border: 1px solid black;
}
[menu-item] {
    position: relative;
}
.hovered[menu-item] {
    background-color: rgb(223,223,223);
}
/* Top-level menu */
:not([menu-item])>[menu] {
    position: inherit;
    border: none;
}
/* Top-level menu item */
:not([menu-item])>[menu]>[menu-item] {
    display: inline-block;
}
/* Not top-level menu */
[menu-item]>[menu] {
    box-shadow: 2px 2px 5px #07162D;
}
[menu-item]>label {
    white-space: nowrap;
    display: block;
    padding: 3px 10px;
}
[menu-item][disabled]>label {
    color: rgb(223,223,223);
}
[menu-item] .shortcut {
    color: rgb(127,127,127);
    text-align: right;
    margin-left: 20px;
    font-size: 80%;
}
[menu-item][disabled] .shortcut {
    color: rgb(223,223,223);
}

.menu-arrow {
    float: right;
    color: rgb(127,127,127);
}
[menu-item][disabled] .menu-arrow {
    color: rgb(223,223,223);
}


/* Settings for small screens */
@media only handheld, screen and (max-device-width: 820px), screen and (max-width: 820px) {
[menu] {
    font-size: 200%;
}
}