.main-navigation { @include typecsset-space(margin-top); display: table-cell; vertical-align: middle; width: 60%; .has-site-logo & { margin-top: 0; } ul { display: none; list-style: none; margin: 0; padding-left: 0; ul { background: #fff; box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2); float: left; position: absolute; top: 2.5em; left: -999em; z-index: 99999; &::before { border-color: transparent transparent #fff; border-style: solid; border-width: 6px 6px 8px; content: ""; position: absolute; top: -13px; left: 20px; } ul { left: -999em; top: 0; &::before { border: none; } } li { border-bottom: 1px solid $color_border; display: block; margin-left: 0; padding-bottom: 0; width: 100%; &:hover > ul, &.focus > ul { left: 100%; } &:after { display: none; } } a, a:visited { @include typecsset-font-size(14px); @include typecsset-space(padding,0.25); color: $color__grey; display: block; margin: 0; letter-spacing: 0; text-transform: none; width: 220px; } :hover > a, .focus > a { background-color: $color_border; color: $color__darknavy; font-weight: 400; } a:hover, a.focus { } } li:hover > ul, li.focus > ul { left: auto; } } li { @include typecsset-space(padding-bottom,0.5); display: inline-block; position: relative; &:hover > a, &.focus > a { } &:after { content: '/'; display: inline-block; margin: 0 6px; opacity: 0.5; } &:last-child:after { content: ''; margin: 0; } } a, a:visited { color: #fff; @include typecsset-font-size(14px); letter-spacing: 2px; @include typecsset-space(padding,0.25); text-decoration: none; text-transform: uppercase; } a:hover, a:focus { color: $color__grey; } .current_page_item > a, .current-menu-item > a, .current_page_ancestor > a, .current-menu-ancestor > a { color: $color__grey; } } /* Small menu. */ .menu-toggle, .main-navigation.toggled ul { display: block; } @media screen and (min-width: 37.5em) { .menu-toggle { display: none; } .main-navigation ul { display: block; } .main-navigation li a:not(:last-child):after { content: '\f431'; font-family: Genericons; font-size: 13px; margin: 0 0 0 5px; } .main-navigation ul ul li a:not(:last-child):after { float: right; margin: 2px 0 0 5px; transform: rotate(-90deg); } }