/* Shared header: sharper logo, readable menu, even spacing. Loaded last on every page. */
#header { -webkit-backface-visibility: visible; backface-visibility: visible; }
#header.act { background:#fff; }
#logo img { width:66px !important; height:auto !important; image-rendering:auto; }
#logo { margin-top:21px; }
#header.act #logo { margin-top:9px; margin-left:26px; }
#loader-wrapper img { width:72px !important; height:auto !important; }

@media (min-width:1024px) {
  #nav { float:right; padding-left:0; margin-right:16px; }
  /* top-level items only: the theme collapses dropdown links (font-size:0) until hover, so never style those here */
  #main-wrapper #header.act #nav > ul > li > a {
    color:#555;
    font-size:13px;
    font-weight:400;
    letter-spacing:.04em;
    padding:0 11px;
    margin:15px 1px;
    -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; text-rendering:optimizeLegibility;
  }
  #main-wrapper #header.act #nav > ul > li > a:hover,
  #main-wrapper #header.act #nav > ul > li.submeny:hover > a { color:#fff !important; }
  #main-wrapper #header.act #nav > ul > li.current-menu-item > a { color:#fff; }
  /* dropdown items: only when the menu is open */
  #main-wrapper #header.act #nav .submeny:hover > ul > li > a { color:#555; font-size:13px; }
  #main-wrapper #header.act #nav .submeny:hover > ul > li > a:hover { color:#fff !important; }
}
@media (min-width:1024px) and (max-width:1320px) {
  #main-wrapper #header.act #nav > ul > li > a { font-size:12px; letter-spacing:.02em; padding:0 8px; }
}
