/*
 * A partial implementation of the Ruby list functions from Compass:
 * https://github.com/Compass/compass/blob/stable/lib/compass/sass_extensions/functions/lists.rb
 */
/*
 * A partial implementation of the Ruby constants functions from Compass:
 * https://github.com/Compass/compass/blob/stable/lib/compass/sass_extensions/functions/constants.rb
 */
/*
 * A partial implementation of the Ruby display functions from Compass:
 * https://github.com/Compass/compass/blob/stable/core/lib/compass/core/sass_extensions/functions/display.rb
 */
@media (min-width: 600px) {
  .header {
    z-index: 450;
    position: fixed;
    top: 0;
    right: 0;
    left: 0; } }

header {
  -webkit-box-shadow: 0 0 5px #000;
  -moz-box-shadow: 0 0 5px #000;
  box-shadow: 0 0 5px #000;
  background: #225500;
  position: relative;
  z-index: 60;
  padding: 10px 0; }
  header .container {
    padding: 0 40px; }
  header .logo {
    position: absolute;
    display: block;
    width: 100px;
    margin: 0 auto 40px; }
    header .logo h1 {
      height: 100px;
      background: center center url("/mysite/images/logo.png");
      -webkit-background-size: contain;
      -moz-background-size: contain;
      -o-background-size: contain;
      background-size: contain;
      display: block;
      margin: 0;
      padding: 0;
      text-indent: 110%;
      white-space: nowrap;
      overflow: hidden; }
      .lt-ie9 header .logo h1 {
        -ms-behavior: url(/mysite/polyfill/background-size/backgroundsize.min.htc); }
    @media (min-width: 600px) {
      header .logo {
        float: left;
        margin: 0; } }
    .no-mediaqueries header .logo {
      float: left;
      margin: 0; }
  header .toggle-nav {
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    background: transparent;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 0;
    display: block;
    outline: none;
    padding: 0;
    margin: 0;
    margin: 0 auto;
    width: 60px;
    height: 60px;
    cursor: pointer;
    background: #225500;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%; }
    @media (min-width: 600px) {
      header .toggle-nav {
        display: none; } }
    .no-mediaqueries header .toggle-nav {
      display: none; }
    header .toggle-nav span {
      vertical-align: top;
      position: relative;
      margin: 0 18px; }
      header .toggle-nav span, header .toggle-nav span:before, header .toggle-nav span:after {
        display: block;
        background: #FFF;
        height: 3px;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        -ms-border-radius: 3px;
        -o-border-radius: 3px;
        border-radius: 3px; }
      header .toggle-nav span:before, header .toggle-nav span:after {
        content: '';
        position: absolute;
        left: 0;
        right: 0; }
      header .toggle-nav span:before {
        top: -6px; }
      header .toggle-nav span:after {
        bottom: -6px; }
  header nav {
    display: none;
    clear: both;
    position: relative; }
    .no-js header nav {
      display: block; }
    header nav ul {
      list-style: none;
      margin: 0;
      padding: 0 0 40px;
      text-align: right; }
      header nav ul li {
        display: block;
        margin: 0;
        padding: 4px 0;
        text-align: center; }
        header nav ul li a {
          display: block;
          padding: 4px 0;
          color: #FFF;
          text-transform: uppercase;
          font-weight: 700;
          text-decoration: none;
          -webkit-transition: color 200ms ease;
          -moz-transition: color 200ms ease;
          -o-transition: color 200ms ease;
          transition: color 200ms ease; }
        header nav ul li.current a, header nav ul li a:hover {
          text-decoration: none; }
    @media (min-width: 600px) {
      header nav {
        display: block !important; }
        header nav ul {
          padding: 14px 0 0;
          margin: 0 0 -4px; }
          header nav ul li {
            display: inline-block;
            padding: 0 8px 0 0; } }
    .no-mediaqueries header nav {
      display: block !important; }
      .no-mediaqueries header nav ul {
        padding: 14px 0 0;
        margin: 0 0 -4px; }
        .no-mediaqueries header nav ul li {
          display: inline-block;
          padding: 0 8px 0 0; }
    @media (min-width: 800px) {
      header nav {
        clear: none;
        margin: 0 0 0 160px;
        height: 40px; }
        header nav ul {
          padding: 0;
          position: absolute;
          right: 0;
          bottom: 0;
          left: 0; } }
    .no-mediaqueries header nav {
      clear: none;
      margin: 0 0 0 160px;
      height: 40px; }
      .no-mediaqueries header nav ul {
        padding: 0;
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0; }

.sub-nav {
  background: red;
  padding: 6px 0 4px;
  -webkit-box-shadow: 0 0 5px #000;
  -moz-box-shadow: 0 0 5px #000;
  box-shadow: 0 0 5px #000;
  display: none;
  position: relative;
  z-index: 50;
  min-height: 40px; }
  .sub-nav .container {
    padding: 0 40px; }
  @media (min-width: 600px) {
    .sub-nav {
      display: block; } }
  .no-mediaqueries .sub-nav {
    display: block; }
  .sub-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left; }
    .sub-nav ul li {
      display: inline-block;
      margin: 0;
      padding: 0 8px 0 0; }
      .sub-nav ul li a {
        display: block;
        padding: 4px 0;
        color: #000;
        text-transform: uppercase;
        font-weight: 700;
        text-decoration: none;
        -webkit-transition: color 200ms ease;
        -moz-transition: color 200ms ease;
        -o-transition: color 200ms ease;
        transition: color 200ms ease; }
      .sub-nav ul li.current a, .sub-nav ul li a:hover {
        color: #225500;
        text-decoration: none; }
