/*  NAVIGATION
------------------------------------------------*/
#menu-button {
  display: none;
}

nav.mobile {
  display: none;
}

nav.primary {
  display: block;
  margin: 0;
  padding: 0;
  border-top: #314d91 1px solid;
}
nav.primary ul {
  padding: 0;
  margin: 0;
  float: right;
}
nav.primary ul li {
  display: block;
  float: left;
  margin: 0 15px;
}
nav.primary ul li:last-child {
  margin-right: 0;
}

nav.primary ul li:hover:before,
nav.primary ul li:focus:before,
nav.primary ul li:active:before {
  -webkit-transform: scaleY(1);
  transform: scaleY(1);
}

nav.primary ul li a {
  text-transform: uppercase;
  padding: 15px 15px;
  text-decoration: none;
  display: block;
  border-bottom: #fff 2px solid;
  -webkit-transition: 0.3s ease-in;
  -moz-transition: 0.3s ease-in;
  -o-transition: 0.3s ease-in;
  transition: 0.3s ease-in;
}

nav.primary ul li a:hover {
  border-bottom: #efc545 2px solid;
}

/*  SUB NAV
------------------------------------------------*/
nav.primary ul li li a:link,
nav.primary ul li li a:visited {
  font-size: 14px;
  line-height: 14px;

  color: #fff;
  background: #262626;
  width: 210px;

  border-right: none;
  border-left: none;
  border-bottom: #fff solid 1px;
}

nav.primary ul li li a:hover,
nav.primary ul li li a:active {
  background: #f47820;
}

/*  OPTIONAL SUB-LEVEL LINKS
------------------------------------------------*/
nav.primary ul li li:last-child {
}

nav.primary ul li li:last-child a {
  border-bottom: none;
}

/*  NAV DROPDOWNS
------------------------------------------------*/
nav.primary ul ul {
  display: none;
  position: absolute;
}

nav.primary ul ul ul {
  position: absolute;
  left: 100%;
  top: 0;
}

nav.primary ul li:hover > ul {
  display: block;
  line-height: 18px;
  z-index: 500;
}

nav.primary ul ul li {
  float: none;
  position: relative;
  margin: 0;
}

/*===================== 
	Responsive styles 
=======================*/
@media screen and (max-width: 1270px) {
}

@media screen and (max-width: 1170px) {
  nav.primary ul li a {
    padding: 15px 5px !important;
  }
}
@media screen and (max-width: 900px) {
}
@media screen and (max-width: 1020px) {
  nav.primary {
    display: none;
  }

  #menu-button {
    /* initially will need to be hidden */
    display: block;
    font-family: "bebas_neueregular";
    font-size: 24px;
    width: 90px;
    position: relative;
    z-index: 400; /* needs to be lower than nav.mobile, adjust as needed */
    width: 100%;
  }
  #menu-button a {
    color: #314d91;
    text-decoration: none;
    padding: 0 15px;
    float: right;
  }
  nav.mobile {
    display: block;
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background: #333;
    z-index: 500; /* needs to be higher than #menu-button, adjust as needed */
    overflow: auto;
  }
  nav.mobile h3 {
    /* Menu header styles */
    position: relative;
    text-align: left;
    padding: 12px 10px;
    color: #fff;
    font-size: 1.2em;
    font-weight: 400;
    border-bottom: 4px solid #222;
    display: block;
  }
  nav.mobile .menu-toggle {
    /* Menu close button */
    position: absolute;
    top: 12px;
    right: 10px;
    display: inline-block;
    padding: 6px 9px 5px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    line-height: 1;
    background: #222;
    color: #999;
    text-decoration: none;
    vertical-align: top;
    margin-left: 10px;
  }
  nav.mobile .menu-toggle:hover {
    color: #fff;
  }
  nav.mobile ul {
    list-style: none;
    font-weight: 300;
    border-top: 1px solid #151515;
    border-bottom: 1px solid #454545;
    margin: 0;
    padding: 0;
  }
  nav.mobile ul li {
    border-top: 1px solid #454545;
    border-bottom: 1px solid #151515;
  }
  nav.mobile ul li a {
    position: relative;
    display: block;
    padding: 15px 0px 15px 20px;
    color: #999;
    font-size: 15px;
    text-decoration: none;
  }
  nav.mobile ul li a:hover {
    background: #000;
    color: #fff;
  }

  nav.mobile ul li span.click {
    /* dropdown menu idicator arrow be sure to include this image with your image files */
    background: url(../siteart/arrow.png) 10px 12px no-repeat;
    background-size: 55%;
    position: relative;
    display: block;
    float: right;
    margin: -44px 0 0 0;
    cursor: pointer;
    z-index: 12399994;
    width: 44px;
    height: 44px;
    -webkit-transition: background-size 0.3s ease-in-out;
    -moz-transition: background-size 0.3s ease-in-out;
    transition: background-size 0.3s ease-in-out;
  }
  nav.mobile ul li span.click:hover {
    background-size: 60%;
  }
}
