/*** Navigation ***/

/* Main Menu ---------------------------*/
/* Sub Menu ----------------------------*/
/* Logo --------------------------------*/
/* Primary Navigation ------------------*/
/* Secondary Navigation ----------------*/
/* Mobile Navigation Trigger -----------*/
/* Mobile Navigation -------------------*/
/* Search Bar --------------------------*/
/* Mobile Search Bar -------------------*/


/* Main Menu
============================================ */
  body {
    /*height: 100%; This messes up the page's height */
  }
  #page {
    height: 100%; /* Use this with wordpress instead to fill the entire page.*/
  }

  .header {
    height: 80px;
    width: 100%;
    z-index: 3;
    box-shadow: 0px 3px 5px 1px rgba(0, 0, 0, 0.6);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-image: linear-gradient(to right,rgba(0, 15, 53, 0.25) 0%, rgba(4, 83, 176, 0.75) 100%), url(../img/background-bg-nav.jpg);
    background-size: 2500px 100%;
    
     -webkit-transition: all 0.75s ease-in-out;
    -moz-transition: all 0.75s ease-in-out;
    -ms-transition: all 0.75s ease-in-out;
    -o-transition: all 0.75s ease-in-out;
    transition: all 0.75s ease-in-out;
  }
  .header::after {
    clear: both;
    content: "";
    display: block;
    background: rgba(0, 0, 0, 0.35);
  }
  .header.is-fixed {
    /* header will always remain fixed to top of page */
    position: fixed;
  }
  .header.is-hidden {
    -webkit-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    transform: translateY(-100%);
  }
  .header.slide-up {
    /* when the user scrolls down, we hide the header right above the viewport */
    position: fixed;
    top: -80px;
    /* background-color: rgba(4,43,70,1.00); */
    -webkit-transition: -webkit-transform 0.5s;
    -moz-transition: -moz-transform 0.5s;
    transition: transform 0.5s;
  }
  .header.is-visible {
    /* if the user changes the scrolling direction, we show the header */
    -webkit-transform: translate3d(0, 100%, 0);
    -moz-transform: translate3d(0, 100%, 0);
    -ms-transform: translate3d(0, 100%, 0);
    -o-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }
  /*@media only screen and (max-width: 768px) {*/
  @media only screen and (max-width: 900px) {
    /* Previously displayed on 768px - Luke */
    .header {
      height: 50px;
      background: #0f417b;
    }
  }


/* Sub Menu - No longer in use
============================================ */
  .subheader {
    position: fixed;
    top: 80px;
    left: 0;
    background: rgb(255, 255, 255);
    height: 50px;
    width: 100%;
    z-index: 9;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.3);

    font-family: "ambleregular";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    display: none;
    
    -webkit-transition: top 0.5s;
    -moz-transition: top 0.5s;
    transition: top 0.5s;
  }
  @media only screen and (min-width: 768px) {
    .subheader {
      display: block;
    }
    .subheader.slide-up {
      /* when user scrolls down, we slide subheader to the top of the viewport */
      top: 0;
    }
  }


/* Logo
============================================ */
  .header .logo {
    position: absolute;
    top: 0px;
    left: 0;
    padding: 10px 20px;
  }
  .header .logo a {}
  .header .logo-mobile {
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translate(-50%, 0%);
    padding: 7px 5px 7px 0;
  }
  .header .logo-mobile a {}
  .screen-only {
    display: none;
  }
  .mobile-only {
    display: block;
  }
  /*@media only screen and (min-width: 768px) {*/
  @media only screen and (min-width: 901px) {
    /* Previously displayed on 768px - Luke */
    .screen-only {
      display: block;
    }
    .mobile-only {
      display: none;
    }
  }

  @media only screen and (max-width: 900px) {
    .header .logo {
      padding: 0;
      height: 0px;
    }
  }

  /*.header .title {
    font-weight: 300;
    text-align: center;
    font-size: 22px;
    color: white;
    margin-top: 10px;
    letter-spacing: 0px;
  }*/


/* Primary Navigation
============================================ */
  .menu-item a {
    font-family: "amblelight";
  }
  header .menu-item a:hover {
    font-family: "amblelight";
  }
  
  footer .menu-item a:hover {
    font-family: "amblebold";
  }

  .primary-nav {
    float: right;
    padding-top: 15px;
    padding-right: 20px;
    height: auto;
    font-size: 13px;
    /* hidden on small devices */
    display: none;
  }

  /*@media only screen and (min-width: 768px) {*/
  @media only screen and (min-width: 900px) {
    /* Previously displayed on 768px - Luke */
    .primary-nav {
      display: block;
    }
  }

  .primary-nav li {
    display: inline-block;
    margin-left: 20px;
  }
  .primary-nav li.active a,
  .primary-nav li.current-menu-item a,
  .primary-nav li a:hover {
    border-bottom: solid 3px #e68a31;
  }

  /* Helps to differentiate between selectable
     Dropdown headings and those without links */
  .primary-nav li a[href=""], 
  .primary-nav li a[href="#"] {
    pointer-events: none;
    cursor: default;
  }
  .primary-nav li a[href=""]:hover, 
  .primary-nav li a[href="#"]:hover {
    border-bottom: none;
  }
  .primary-nav li a {
    display: inline-block;
    color: white;
    text-transform: uppercase;
    font-family: amblelight;
    font-size: 13px;
    cursor: pointer;

    -webkit-transition: all .1s ease;
    -moz-transition: all .1s ease;
    -ms-transition: all .1s ease;
    -o-transition: all .1s ease;
    transition: all .1s ease;
  }
  li.highlight a {
    position: relative;
    top: 0;
    color: #fff;
    font-family: amblebold !important;
    padding: 8px 12px;
    border-radius: 5px;
    background: #e68a31;
    box-shadow: 0px 4px 0 0 #9c4d00;
  }
  li.highlight a:hover {
    top: 2px;
    box-shadow: 0px 0px 0 0 #9c4d00;
    font-family: "amblebold" !important;
  }
  .primary-nav li a ~ .dropdown-content a,
  .primary-nav li a ~ .sub-menu a,
  .primary-nav li.active a ~ .dropdown-content a,
  .primary-nav li.active a ~ .sub-menu a,
  li.highlight a:hover,
  li.active.highlight a,
  .primary-nav li.search a:hover,
  .primary-nav li.search a {
    border-bottom: none;
  }

  /* Search Icon becomes part of Subheader Search Bar when Active */
  .primary-nav li.active.search i {
    /*position: absolute;*/
    font-size: 18px;
    margin-top: 0;
    z-index: 1;
    color: #fff;
  }
  .primary-nav li.search a {
    padding: 13px 0.5em;
  }

  .primary-nav li.dropdown .dropdown-content,
  .primary-nav li.dropdown .sub-menu {
    visibility: hidden; /* hides sub-menu */
    opacity: 0;
    position: absolute;
    top: 50px; left: 0;
    background: rgba(255,255,255,1);
    min-width: 200px;
    border-bottom: solid 5px rgba(51,122,183,1);
    border-radius: 7px;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    transform: translateY(-3em);
    z-index: 9999;
    transition: all 0.3s ease-in-out 0s, visibility 0s linear 0.1s, z-index 0s linear 0.01s;
  }
  .primary-nav li.dropdown .dropdown-content.is-visible,
  .primary-nav li.dropdown .sub-menu.is-visible,
  .primary-nav li.dropdown .sub-menu[class*=" dropdown-col-"].is-visible,
  .primary-nav li.dropdown .sub-menu[class*=" dropdown-col-"].is-visible li .sub-menu,
  .primary-nav li.dropdown .sub-menu[class*=" dropdown-col-"].is-visible::before {
    visibility: visible; /* shows sub-menu */
    opacity: 1;
    z-index: 9999;
    transform: translateY(0%);
    /* Below removes transition delay so dropdown will be
       visible while the other styles transition */
    transition-delay: 0s, 0s, 0.3s;
  }

  /* Dropdown Arrow "Down" for Primary Menu */
  .primary-nav li.dropdown::before {
    content: "";
    position: relative;
    float: right;
    right: -5px;
    top: 5px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 6px 6px 6px;
    border-color: rgb(255, 250, 245) transparent transparent transparent;
    z-index: 9999;
  }

  /* Dropdown Arrow "Up" for Dropdown Menu */
  .primary-nav li.dropdown .sub-menu::before {
    content: "";
    position: absolute;
    left: 20px;
    top: -14px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0px 15px 15px 15px;
    border-color: transparent transparent rgb(255, 250, 245) transparent;
    z-index: 9999;
  }
  .primary-nav li.dropdown .dropdown-content li,
  .primary-nav li.dropdown .sub-menu li {
    margin-left: 0;
    width: 100%;
  }
  .primary-nav li.dropdown .dropdown-content a,
  .primary-nav li.dropdown .sub-menu a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    text-transform: capitalize;
    border-top: 1px solid rgba(0, 0, 0, 0.25);
    font-family: "ambleregular" !important;
  }
  .primary-nav li.dropdown .dropdown-content a:hover,
  .primary-nav li.dropdown .sub-menu a:hover,
  .primary-nav li.dropdown .dropdown-content a.active,
  .primary-nav li.dropdown .sub-menu a.active,
  .primary-nav li.dropdown .dropdown-content li.current-menu-item a,
  .primary-nav li.dropdown .sub-menu li.current-menu-item a {
    background-color: rgba(29, 108, 177, 1);
    color: white;
  }
  .primary-nav li.dropdown .dropdown-content li:first-child,
  .primary-nav li.dropdown .sub-menu li:first-child,
  .primary-nav li.dropdown .dropdown-content li:first-child a,
  .primary-nav li.dropdown .sub-menu li:first-child a {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
  }

  /* Multi-Column Dropdown */
  .dropdown-col-1 {
    width: 200px;
  }
  .dropdown-col-2 {
    width: 400px;
  }
  .dropdown-col-3 {
    width: 600px;
  }
  
  .primary-nav li.dropdown .sub-menu[class*=" dropdown-col-"] {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 50px;
    left: -250px;
    background: rgba(255,255,255,1);
    min-width: 200px;
    /*border-bottom: none;*/
    transform: translateY(-3em);
    z-index: 9999;
    -webkit-transform: all 0.3s ease-in-out 0s, visibility 0s linear 0.1s, z-index 0s linear 0.01s;
    transition: all 0.3s ease-in-out 0s, visibility 0s linear 0.1s, z-index 0s linear 0.01s;

    /* Unique to multi dropdown */
    height: 346px;
    /*overflow: hidden;*/
  }
  .primary-nav li.dropdown .sub-menu[class*=" dropdown-col-"]::before {
    visibility: hidden;
    opacity: 0;
    left: 280px !important;
    border-color: transparent transparent rgb(26, 94, 153) transparent !important;
  }
  .primary-nav li.dropdown .sub-menu[class*=" dropdown-col-"] li {
    margin-left: -2.2px;
  }
  .primary-nav li.dropdown .sub-menu[class*=" dropdown-col-"] li,
  .primary-nav li.dropdown .sub-menu[class*=" dropdown-col-"] li .sub-menu li {
    width: 200px;
    border-bottom: 1px solid rgba(0,0,0,0.25);
    border-radius: 0;
  }
  .primary-nav li.dropdown .sub-menu[class*=" dropdown-col-"] li:first-child,
  .primary-nav li.dropdown .sub-menu[class*=" dropdown-col-"] li .sub-menu li {
    margin-left: 0px;
  }
  .primary-nav li.dropdown .sub-menu[class*=" dropdown-col-"] li a {
    border: none;
    text-transform: uppercase;
    font-family: "amblebold";
    letter-spacing: 1px;
    border-radius: 0px;
  }
  .primary-nav li.dropdown .sub-menu[class*=" dropdown-col-"] li a:hover {
    background: rgba(51, 122, 183, 0.85);
  }
  .primary-nav li.dropdown .sub-menu[class*=" dropdown-col-"] a {
    text-align: center;
    font-size: 14px;
    font-family: "amblebold" !important;
    color: #ffffff;
    background: #1360a2;
  }

  /* Second Sub-Menu Dropdown */
  .primary-nav li.dropdown .sub-menu[class*=" dropdown-col-"] li:nth-child(1) .sub-menu {
    margin-left: 0px;
  }
  .primary-nav li.dropdown .sub-menu[class*=" dropdown-col-"] li:nth-child(2) .sub-menu {
    margin-left: 200px;
  }
  .primary-nav li.dropdown .sub-menu[class*=" dropdown-col-"] li:nth-child(3) .sub-menu {
    margin-left: 400px;
  }
  .primary-nav li.dropdown .sub-menu[class*=" dropdown-col-"] li .sub-menu {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 43px;
    left: 0px;
    background: rgba(255,255,255,1);
    min-width: 200px;
    border-bottom: none;
    transform: translateY(-3em);
    z-index: 9999;
    -webkit-transform: all 0.3s ease-in-out 0s, visibility 0s linear 0.1s, z-index 0s linear 0.01s;
    transition: all 0.3s ease-in-out 0s, visibility 0s linear 0.1s, z-index 0s linear 0.01s;

    /* Unique to multi dropdown */
    box-shadow: none;
    border-radius: 0;
    border-left: 1px solid rgba(0,0,0,0.25);
    /*height: 100%;*/
  }
  .primary-nav li.dropdown .sub-menu[class*=" dropdown-col-"] li .sub-menu:first-child {
    border-left: none;
  }
  .primary-nav li.dropdown .sub-menu[class*=" dropdown-col-"] li .sub-menu::before {
    content: "";
    opacity: 0;
    visibility: hidden;
  }
  .primary-nav li.dropdown .sub-menu[class*=" dropdown-col-"] li .sub-menu li {
    font-family: "ambleregular";
    letter-spacing: 0px;
    display: block;
    border: none;
  }
  .primary-nav li.dropdown .sub-menu[class*=" dropdown-col-"] li .sub-menu li:first-child {
    margin-left: 0px;
  }
  .primary-nav li.dropdown .sub-menu[class*=" dropdown-col-"] li .sub-menu li:last-child {}
  .primary-nav li.dropdown .sub-menu[class*=" dropdown-col-"] li .sub-menu li a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    text-transform: capitalize;

    font-family: "amblelight" !important;
    font-size: 13px;
    letter-spacing: 0;
    background: #fff;
  }
  .primary-nav li.dropdown .sub-menu[class*=" dropdown-col-"] li .sub-menu li a:hover,
  .primary-nav li.dropdown .sub-menu[class*=" dropdown-col-"] li .sub-menu li a:hover,
  .primary-nav li.dropdown .sub-menu[class*=" dropdown-col-"] li .sub-menu li a.active,
  .primary-nav li.dropdown .sub-menu[class*=" dropdown-col-"] li .sub-menu li a.active,
  .primary-nav li.dropdown .sub-menu[class*=" dropdown-col-"] li .sub-menu li.current-menu-item a,
  .primary-nav li.dropdown .sub-menu[class*=" dropdown-col-"] li .sub-menu li.current-menu-item a {
    background-color: rgba(51,122,183,1);
    color: white;
  }


/* Search Bar
============================================ */
  .header .search-bar {
    visibility: hidden; /* hides sub-menu */
    opacity: 0;
    position: absolute;
    top: 80px;
    right: 15px;
    outline: none;
    box-shadow: 0 10px 10px 1px rgba(0,0,0,0.5);
    transform: translateY(-1em);
    z-index: 10;
    -webkit-transform: all 0.3s ease-in-out 0s, visibility 0s linear 0.1s, z-index 0s linear 0.01s;
    transition: all 0.3s ease-in-out 0s, visibility 0s linear 0.1s, z-index 0s linear 0.01s;
    /*display: none;*/
  }
  .header .search-bar input[type="search"] {
    width: 250px;
    background: rgba(255, 255, 255, 0.9);
    color: black;
  }
  .header .search-bar.is-visible {
    visibility: visible; /* shows sub-menu */
    opacity: 1;
    z-index: 9999;
    transform: translateY(0%);
    /* Below removes transition delay so dropdown will be
       visible while the other styles transition */
    -webkit-transform: 0s, 0s, 0.3s;
    transition-delay: 0s, 0s, 0.3s;
  }
  .header .search-bar input[type="search"]::-webkit-input-placeholder {
    color: black;
  }
  .header .search-bar input[type="search"]:-moz-placeholder { /* Firefox 18- */
    color: black;  
  }
  .header .search-bar input[type="search"]::-moz-placeholder {  /* Firefox 19+ */
    color: black;  
  }
  .header .search-bar input[type="search"]:-ms-input-placeholder {  
    color: black;  
  }

  /* Dropdown Arrow for Search Bar */
  .header .search-bar:before {
    content:"";
    position: absolute;
    right: 11px;
    top: -9px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 10px 10px 10px;
    border-color: transparent transparent rgb(233, 234, 240) transparent;
    z-index: 9999;
  }

  @media only screen and (max-width: 768px) {
    .header .search-bar input[type="search"] {
      display: none !important;
    }
    .header .search-bar:before {
      content:"";
    }
  }


/* Mobile Navigation Trigger 
============================================ */
  .mobile-nav-trigger {
    float: left;
    position: relative;
    height: 100%;
    width: 100px;
  }
  .mobile-nav-trigger .menu-text {
    color: white;
    text-transform: uppercase;
    font-weight: 700;
    display: inline-block;
    position: absolute;
    left: 2.5em;
    top: 14px;
  }
  .mobile-nav-trigger .menu-icon {
    /* this span is the central line of the menu icon */
    display: inline-block;
    position: absolute;
    left: 1em;
    right: auto;
    top: 50%;
    bottom: auto;
    -webkit-transform: translateX(0%) translateY(-50%);
    -moz-transform: translateX(0%) translateY(-50%);
    -ms-transform: translateX(0%) translateY(-50%);
    -o-transform: translateX(0%) translateY(-50%);
    transform: translateX(0%) translateY(-50%);
    width: 18px;
    height: 2px;
    background-color: white;
    -webkit-transition: background-color 0.3s;
    -moz-transition: background-color 0.3s;
    transition: background-color 0.3s;
    /* these are the upper and lower lines in the menu icon */
  }
  .mobile-nav-trigger .menu-icon::before, .mobile-nav-trigger .menu-icon:after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: white;
    left: 0;
    -webkit-transition: -webkit-transform .3s, top .3s, background-color 0s;
    -moz-transition: -moz-transform .3s, top .3s, background-color 0s;
    transition: transform .3s, top .3s, background-color 0s;
  }
  .mobile-nav-trigger .menu-icon::before {
    top: -5px;
  }
  .mobile-nav-trigger .menu-icon::after {
    top: 5px;
  }
  .mobile-nav-trigger .menu-icon.is-clicked {
    background-color: rgba(255, 255, 255, 0);
  }
  .mobile-nav-trigger .menu-icon.is-clicked::before, .mobile-nav-trigger .menu-icon.is-clicked::after {
    background-color: white;
  }
  .mobile-nav-trigger .menu-icon.is-clicked::before {
    top: 0;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
  }
  .mobile-nav-trigger .menu-icon.is-clicked::after {
    top: 0;
    -webkit-transform: rotate(225deg);
    -moz-transform: rotate(225deg);
    -ms-transform: rotate(225deg);
    -o-transform: rotate(225deg);
    transform: rotate(225deg);
  }
  /*@media only screen and (min-width: 768px) {*/
  @media only screen and (min-width: 900px) {
    /* Previously displayed on 768px - Luke */
    .mobile-nav-trigger {
      /* hide mobile menu on larger devices */
      display: none;
    }
  }


/* Mobile Navigation
============================================ */
  .mobile-nav {
    /* by default it's hidden - on top of the viewport */
    position: fixed;
    left: 0;
    top: 50px;
    bottom: 0;
    width: 270px;
    padding-bottom: 50px;
    background: rgba(0, 22, 56, .95);
    box-shadow: 2px 0 1px 0 rgba(0,0,0,0.25);
    z-index: 2;
    text-align: center;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    overflow: auto;

    /* this fixes the buggy scrolling on webkit browsers - mobile devices only - when overflow property is applied */
    -webkit-overflow-scrolling: touch;
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -o-transform: translateX(-100%);
    transform: translateX(-100%);
    -webkit-transition-property: -webkit-transform;
    -moz-transition-property: -moz-transform;
    transition-property: transform;
    -webkit-transition-duration: 0.4s;
    -moz-transition-duration: 0.4s;
    transition-duration: 0.4s;
  }
  .mobile-nav.is-visible {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }

  /* Not sure if this is necessary */
  .menu-mobile-container {
    /*margin-top: 30px;*/
  }

  .mobile-nav li:first-child {
    border-top: none !important;
  }
  .mobile-nav li {
    font-family: "amblelight" !important;
    font-size: 15px;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /*margin: .2em 0;*/
    padding: 0;
    text-transform: capitalize;
  }
  .mobile-nav li:not(.logo):not(.label):not(.social):not(.search) {
    text-align: left;
    /*border-bottom: 1px solid rgba(170, 170, 170, 0.35);*/
  }
  .mobile-nav li:not(.logo):not(.label):not(.social):not(.search) a:hover {
    background: rgba(85, 150, 236, 0.5);
    font-family: "amblelight" !important;
  }

  /* Helps to differentiate between selectable
     Dropdown headings and those without links */
  .mobile-nav li a[href=""]:hover, 
  .mobile-nav li a[href="#"]:hover {
    background: none !important;
  }
  .mobile-nav li.active a,
  .mobile-nav li.current-menu-item a {
    background: rgba(85, 150, 236, 0.5); /* This is so far the same as hover effect */
    border-left: 7px solid #6eaae4;
  }
  .mobile-nav li.current-menu-item.dropdown button {
    /*background: rgba(85, 150, 236, 0.5);*/
  }
  .mobile-nav li.active .dropdown-content a,
  .mobile-nav li.current-menu-item .sub-menu a {
    background: none;
  }
  .mobile-nav li a {
    display: inline-block;
    padding: 8px 20px;
    margin: 0px; 
    width: 100%; 
    height: 100%;
    text-transform: capitalize;
    letter-spacing: 0px;
  }
  .mobile-nav li.dropdown a {
    display: inline-block;
    padding: 8px 20px;
    margin: 0px; 
    width: 100%; 
    height: 100%;
  }
  .mobile-nav a:not(.social):hover {
    color: white;
  }

  .mobile-nav li.dropdown button {
    height: 37px;
    width: 50px;
    padding: 0;
    position: absolute;
    right: 0;
    border: none;
    background: transparent;
  }
  .mobile-nav li.dropdown i {
    font-size: 20px;
    position: absolute;
    right: 16px;
    top: 9px;
    color: white;
  }

  .mobile-nav li.dropdown .dropdown-content,
  .mobile-nav li .sub-menu {
    background: rgba(25, 32, 44, 0.5);
    width: 100%;

    opacity: 0; 
    height: 0;
    overflow: hidden;
    
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -ms-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
    transition: all .3s ease-out;
  }
  .mobile-nav li.dropdown .dropdown-content.is-visible,
  .mobile-nav li .sub-menu.is-visible {
    opacity: 1;
    height: auto;
  }
  .mobile-nav li.dropdown .dropdown-content a,
  .mobile-nav li .sub-menu a {
    color: white;
    text-decoration: none;
    text-align: left;
    padding-left: 30px;
    font-size: 15px;
    width: 100%;
  }
  .mobile-nav li.dropdown .dropdown-content.is-visible a,
  .mobile-nav li .sub-menu.is-visible a {
    opacity: 1;
    height: auto;
  }
  .mobile-nav li.dropdown .dropdown-content a:hover,
  .mobile-nav li .sub-menu a:hover,
  .mobile-nav li.dropdown .dropdown-content a.active,
  .mobile-nav li .sub-menu a.active,
  .mobile-nav li.dropdown .dropdown-content a.current-menu-item,
  .mobile-nav li .sub-menu a.current-menu-item {
    background-color: rgba(51,122,183,1);
    color: white;
  }

  .mobile-nav .label:first-child {
    /*margin-top: 20px;*/
  }
  .mobile-nav .label {
    color: #84b9ff;
    text-transform: uppercase;
    font-family: ambleregular;
    font-weight: 700;
    font-size: 12px;
    margin: 0;
    padding: 10px 0;
    display: block;
    background: rgba(13, 70, 119, 0.5);
    box-shadow: 0 1px 0px;
    border-radius: 0;
  }
  .mobile-nav .label a {
    display: inline;
    padding: 0px;
    margin: 0px;
    width: 100%;
    height: 100%;

    color: #84b9ff;
    text-transform: uppercase;
    font-family: ambleregular;
    font-weight: 700;
    font-size: 12px;
  }

  .mobile-nav .social {
    display: inline-block;
    padding: 10px 0;
    margin: 0 .4em;
  }
  .mobile-nav .social a {
    width: 44px;
    height: 44px;
    padding: 7px 0 0 0;
    border-radius: 5px;
  }
  .mobile-nav .social a:hover {
    color: white;
    background: rgba(74,130,250,0.75);
  }

  .header .social-icons a {
    float: right;
    font-size: 20px;
    height: 50px;
    width: 50px;
    text-align: center;
    line-height: 50px;
  }
  .header .social-icons a,
  .header .social-icons a:hover {
    color: white;
  }

  /*@media only screen and (min-width: 768px) {*/
  @media only screen and (min-width: 900px) {
    /* Previously displayed on 768px - Luke */
    .mobile-nav {
      padding: 80px 0;
      display: none; /* hide mobile menu on larger devices */
    }
    .header .social-icons {
      display: none; /* hide mobile menu on larger devices */
    }
  }
  @media only screen and (min-width: 1170px) {
    .mobile-nav li {
      font-size: 30px;
      font-size: 1.875rem;
    }
    .mobile-nav .label {
      font-size: 16px;
      font-size: 1rem;
    }
  }


/* Mobile Search Bar
============================================ */
  .mobile-nav .search {
    /*margin: 15px 0;*/
  }
  .mobile-nav .search-bar {
    white-space: nowrap;
    position: relative;
  }
  .mobile-nav .search-bar input[type="search"] {
    width: 100%;
    height: 40px;
    background: rgba(65, 122, 193, 0.5);
    border: none;
    padding-left: 45px;
    color: #fff;
    display: inline;

    -webkit-transition: all .55s ease;
    -moz-transition: all .55s ease;
    -ms-transition: all .55s ease;
    -o-transition: all .55s ease;
    transition: all .55s ease;
  }
  .mobile-nav .search-bar input[type="search"]:focus {
    /*width: 250px;*/
    background: rgba(51, 122, 183, 0.35);
    color: #fff;
  }
  .mobile-nav .search-bar .search-icon {
    position: absolute;
    top: 10px;
    margin-left: 17px;
    /* margin-top: 17px; */
    z-index: 1;
    color: #fff;
  }
  .mobile-nav .search-bar input[type="search"]::-webkit-input-placeholder {
     color: white;
  }
  .mobile-nav .search-bar input[type="search"]:-moz-placeholder { /* Firefox 18- */
     color: white;  
  }
  .mobile-nav .search-bar input[type="search"]::-moz-placeholder {  /* Firefox 19+ */
     color: white;  
  }
  .mobile-nav .search-bar input[type="search"]:-ms-input-placeholder {  
     color: white;  
  }


/* Multi-Level Push Menu
============================================ */
  /*
   * Multi-Level Side Menu 
   * Copyright 2013, Codrops
   * http://www.codrops.com
   */

  *,
  *:after,
  *::before {
      -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      box-sizing: border-box;
  }

  .container, .scroller {
    height: 100%;
  }

  .scroller {
    overflow-y: scroll;
  }

  .scroller,
  .scroller-inner {
    position: relative;
  }

  .menu-trigger {
    position: relative;
    padding-left: 60px;
    font-size: 0.9em;
  }

  .menu-trigger:before {
    position: absolute;
    top: 2px;
    left: 0;
    width: 40px;
    height: 6px;
    background: #fff;
    box-shadow: 0 6px #34495e, 0 12px #fff, 0 18px #34495e, 0 24px #fff;
    content: '';
  }

  .mp-pusher {
    position: relative;
    left: 0;
    height: 100%;
  }

  .mp-menu {
    position: absolute; /* we can't use fixed here :( */
    top: 0;
    left: 0;
    z-index: 1;
    width: 300px;
    height: 100%;
    -webkit-transform: translate3d(-100%, 0, 0);
    -moz-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }

  .mp-level {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #336ca6;
    -webkit-transform: translate3d(-100%, 0, 0);
    -moz-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }

  /* overlays for pusher and for level that gets covered */
  .mp-pusher::after,
  .mp-level::after,
  .mp-level::before {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    content: '';
    opacity: 0;
  }

  .mp-pusher::after,
  .mp-level::after {
    background: rgba(0,0,0,0.3);
    -webkit-transition: opacity 0.3s, width 0.1s 0.3s, height 0.1s 0.3s;
    -moz-transition: opacity 0.3s, width 0.1s 0.3s, height 0.1s 0.3s;
    transition: opacity 0.3s, width 0.1s 0.3s, height 0.1s 0.3s;
  }

  .mp-level::after {
    z-index: -1;
  }

  .mp-pusher.mp-pushed::after,
  .mp-level.mp-level-overlay::after {
    width: 100%;
    height: 100%;
    opacity: 1;
    -webkit-transition: opacity 0.3s;
    -moz-transition: opacity 0.3s;
    transition: opacity 0.3s;
  }

  .mp-level.mp-level-overlay {
    cursor: pointer;
  }

  .mp-level.mp-level-overlay.mp-level::before {
    width: 100%;
    height: 100%;
    background: transparent;
    opacity: 1;
  }

  .mp-pusher,
  .mp-level {
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
  }

  /* overlap */
  .mp-overlap .mp-level.mp-level-open {
    box-shadow: 1px 0 2px rgba(0,0,0,0.2);
    -webkit-transform: translate3d(-40px, 0, 0);
    -moz-transform: translate3d(-40px, 0, 0);
    transform: translate3d(-40px, 0, 0);
  }

  /* First level */
  .mp-menu > .mp-level,
  .mp-menu > .mp-level.mp-level-open,
  .mp-menu.mp-overlap > .mp-level,
  .mp-menu.mp-overlap > .mp-level.mp-level-open {
    box-shadow: none;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  /* cover */
  .mp-cover .mp-level.mp-level-open {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  .mp-cover .mp-level.mp-level-open > ul > li > .mp-level:not(.mp-level-open) {
    -webkit-transform: translate3d(-100%, 0, 0);
    -moz-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }

  /* content style */
  .mp-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .mp-menu h2 {
    margin: 0;
    padding: 1em;
    color: rgba(0,0,0,0.4);
    text-shadow: 0 0 1px rgba(0,0,0,0.1);
    font-weight: 300;
    font-size: 2em;
  }

  .mp-menu.mp-overlap h2::before {
    position: absolute;
    top: 0;
    right: 0;
    margin-right: 8px;
    font-size: 75%;
    line-height: 1.8;
    opacity: 0;
    -webkit-transition: opacity 0.3s, -webkit-transform 0.1s 0.3s;
    -moz-transition: opacity 0.3s, -moz-transform 0.1s 0.3s;
    transition: opacity 0.3s, transform 0.1s 0.3s;
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    transform: translateX(-100%);
  }

  .mp-menu.mp-cover h2 {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 1em;
  }

  .mp-overlap .mp-level.mp-level-overlay > h2::before {
    opacity: 1;
    -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
    -moz-transition: -moz-transform 0.3s, opacity 0.3s;
    transition: transform 0.3s, opacity 0.3s;
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    transform: translateX(0);
  }

  .mp-menu ul li > a {
    display: block;
    padding: 0.7em 1em 0.7em 1.8em;
    outline: none;
    box-shadow: inset 0 -1px rgba(0,0,0,0.2);
    text-shadow: 0 0 1px rgba(255,255,255,0.1);
    font-size: 1.4em;
    -webkit-transition: background 0.3s, box-shadow 0.3s;
    -moz-transition: background 0.3s, box-shadow 0.3s;
    transition: background 0.3s, box-shadow 0.3s;
  }

  .mp-menu ul li::before {
    position: absolute;
    left: 10px;
    z-index: -1;
    color: rgba(0,0,0,0.2);
    line-height: 3.5;
  }

  .mp-level > ul > li:first-child > a {
    box-shadow: inset 0 -1px rgba(0,0,0,0.2), inset 0 1px rgba(0,0,0,0.2);
  }

  .mp-menu ul li a:hover,
  .mp-level > ul > li:first-child > a:hover {
    background: rgba(0,0,0,0.2);
    box-shadow: inset 0 -1px rgba(0,0,0,0);
  }

  .mp-menu .mp-level.mp-level-overlay > ul > li > a,
  .mp-level.mp-level-overlay > ul > li:first-child > a {
    box-shadow: inset 0 -1px rgba(0,0,0,0);
  }

  .mp-level > ul > li:first-child > a:hover,
  .mp-level.mp-level-overlay > ul > li:first-child > a {
    box-shadow: inset 0 -1px rgba(0,0,0,0), inset 0 1px rgba(0,0,0,0);
  } /* seems like Chrome 34.0.1847.131 needs the second shadow otherwise the transition breaks */

  .mp-back {
    background: rgba(0,0,0,0.1);
    outline: none;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    display: block;
    font-size: 0.8em;
    padding: 1em;
    position: relative;
    box-shadow: inset 0 1px rgba(0,0,0,0.1);
    -webkit-transition: background 0.3s;
    -moz-transition: background 0.3s;
    transition: background 0.3s;
  }

  .mp-back::after {
    font-family: 'linecons';
    position: absolute;
    content: "\e037";
    right: 10px;
    font-size: 1.3em;
    color: rgba(0,0,0,0.3);
  }

  .mp-menu .mp-level.mp-level-overlay > .mp-back,
  .mp-menu .mp-level.mp-level-overlay > .mp-back::after {
    background: transparent;
    box-shadow: none;
    color: transparent;
  }

  /* Fallback example for browsers that don't support 3D transforms (and no JS fallback) */
  /* We'll show the first level only */
  .no-csstransforms3d .mp-pusher,
  .no-js .mp-pusher {
    padding-left: 300px;
  }

  .no-csstransforms3d .mp-menu .mp-level,
  .no-js .mp-menu .mp-level {
    display: none;
  }

  .no-csstransforms3d .mp-menu > .mp-level,
  .no-js .mp-menu > .mp-level {
    display: block;
  }
