
afx-menu {
    position:relative;
    display:inline-block;
    z-index: 100000;
}
afx-menu a{
    text-decoration: none;
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: row;
}
afx-menu a afx-label{
    flex:1;
}
afx-menu ul{
    padding:0;
    margin: 0;
    display:inline-block;
}
afx-menu ul li{
    white-space:nowrap;
}

afx-menu span.shortcut{
   text-align: right;
}

afx-menu ul  li {
    list-style:none;
    margin:0;
    position: relative;
    float: left;
    cursor:default;
}
afx-menu ul  li.fix_padding{
    padding-top:1px;
    padding-bottom: 0;
    padding-left: 5px;
    padding-right: 5px;
}

afx-menu afx-menu ul  li.fix_padding{
    padding:3px;
    padding-left: 5px;
    padding-right: 5px;
} 
afx-menu  afx-menu {
    top:100%;
    left:0;
    position: absolute;
    display:none;
}

afx-menu  afx-menu li{
    float:none;
    cursor:default;
}
afx-menu  afx-menu afx-menu, afx-menu  ul.context afx-menu{
    top:-4px;
    left: 100%;
}

afx-menu afx-menu   li:hover > afx-menu, ul.context  li:hover > afx-menu
{
    display: block;
}
afx-menu li.afx-corner-fix{
    height: 3px;
    padding: 0;
    margin: 0;
    background-color: transparent;
}
afx-menu li.afx-corner-fix:hover{
    background-color: transparent;
}


 afx-menu ul.context{
    position: absolute;
    z-index: 1000000;
    padding: 0;
 }
 afx-menu  ul.context li{
    clear:float;
 }