

.nav ul {
  list-style: none;
  background-color: #f7f5cc;
  text-align: center;
  padding: 0;
  margin: 0; z-index:100000;
}

.nav li {
  font-size:13px;
  line-height: 12px;
  text-align: center; text-align:center;
}

.nav a {
  text-decoration: none;
  color: #600; 
  display: block;
  padding: 10px 0px;
  border-bottom: 0px solid #888;
  transition: .3s background-color;
}

.nav a:hover {
  background-color: # C90; color:#ffffff;
}

.nav a.active {
  background-color: #;
  color: #;
  cursor: default;
}

/* Sub Menus */
.nav li li {
  font-size: 12px;
}

/*******************************************
   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: auto; text-transform:uppercase;
    border-bottom: none; background-color:#888799;
    height: 60px;
    line-height: 12px;
    font-size: 11px; font-weight:700;
    display: inline-block; padding:0px 8px;
  }

  .nav a {
    border-bottom: none;
  }
  
  .nav a:hover {
 color:#000000;
}

  .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; width:auto; font-size:11px; padding:9px 7px; height:60px;
  }
}


@media screen and (min-width: 350px) {

  .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; width:auto; font-size:11px; padding:9px 67px; height:60px;
  }
}
