body {
  margin: 0;
  padding: 0;
}

.nav ul {
  list-style: none;
    background: -moz-linear-gradient(top, #333 0%, #777 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #333), color-stop(100%, #777));
  background: -webkit-linear-gradient(top, #333 0%, #777 100%);
  background: -o-linear-gradient(top, #333 0%, #777 100%);
  background: -ms-linear-gradient(top, #333 0%, #777 100%);
  background: linear-gradient(to bottom, #333 0%, #777 100%);
  text-align: center;
  padding: 0;
  margin: 0;
    
}

.nav li {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2em;
  line-height: 40px;
  text-align: left;
}

.nav a {
  text-decoration: none;
  color: #fff;
  display: block;
  padding-left: 15px;
  border-bottom: 1px solid #000;
  transition: .3s background-color;
}

.nav a:hover {
  background-color: #666;
}

.nav a.active {
  background-color: #999;
  color: #0036C2;
  cursor: default;
}

/* Sub Menus */
.nav li li {
  font-size: .8em;
}

/*******************************************
   Style menu for larger screens

   Using 650px (130px each * 5 items), but ems
   or other values could be used depending on other factors
********************************************/

@media screen and (min-width: 650px) {
  .nav li {
    width: 130px;
    border-bottom: none;
    height: 50px;
    line-height: 50px;
    font-size: 1.4em;
    display: inline-block;
    margin-right: -4px;
  }

  .nav a {
    border-bottom: none;
  }

  .nav > ul > li {
    text-align: center;
  }

  .nav > ul > li > a {
    padding-left: 0;
  }

  /* Sub Menus */
  .nav li ul {
    position: absolute;
    display: none;
    width: inherit;
  }

  .nav li:hover ul {
    display: block;
  }

  .nav li ul li {
    display: block;
          height: 85px;
    line-height: 25px;
    padding-top: 5px;
  }
}
