+ padding: 0 pvar(--horizontalMarginContent);
+ height: $sub-menu-height;
+ margin-bottom: $sub-menu-margin-bottom;
+ overflow-x: auto;
+
+ &.sub-menu-fixed {
+ position: fixed;
+ z-index: #{z('sub-menu') - 1};
+ max-width: pvar(--mainColWidth);
+ }
+ }
+
+ // Use an appropriate offset top when sub-menu fixed
+ .margin-content.offset-content {
+ padding-top: $sub-menu-height + $sub-menu-margin-bottom;