@import "_colours"; @import "../sass/layout"; #front-main-container { background-color: $hart_primary; } body.twothirdswidthpage .content { .sticky-sidebar { aside { top: 14em; } } } .mobile-header-nav { display: none; } #site-header { margin-bottom: 2em; // To push main content down under abs. pos menu } #site-logo { margin-left: 2.25em; border-bottom: solid 0.75em $primary; padding: 1em 0; background: url("/cobrands/hart/hart-logo.png") 0 50% no-repeat; width: 123px; height: 132px; } #main-nav--hart { margin: 0; } // "Home | My Services | Residents" etc menu *in* the header .nav-menu--hart { margin-left: 157px; position: relative; top: 110px; float: none; li { text-align: center; text-transform: uppercase; padding: 0 15px; font-size: 16px; border-right: solid 1px white; line-height: 1.5em; } li:last-child { border-right: none; } a { padding: 0; font-size: inherit; } li:hover, li:hover a { background-color: white; color: black; text-decoration: none; } } // Menu *under* header - with a full width shadow first .container--hart { box-shadow: 0 0 20px rgba(0,0,0,0.2); // shadow to add contrast with map position: absolute; max-width: none; padding: 0; width: 100%; body.mappage & { position: absolute; // rather than static } } #main-nav { min-height: 0; float: none; margin: 11em auto 0; // To push it under header background-color: #fff; height: auto; // #main-nav acts a bit like a .container, so we give it the same max-width. max-width: $container-max-width; // And, like other .containers, we remove the max-width on the map page. body.mappage & { max-width: none; } .ie9 & { position: static; & > * { position: static; -ms-transform: none; } } } // FixMyStreet "Report a problem | Sign in | All reports" etc menu .nav-menu--first { padding: 0.25em 0; float: none; li { float: left; margin-left: 1em; text-align: center; a, span { padding: 0; display: inline; font-size: 1em; color: #333; background: #fff; } a { &:link, &:visited { color: $hart_primary; text-decoration: none; } &:hover { background-color: #fff; color: $hart_primary; text-decoration: underline; } } } }