

nav {
  height: 40px;
  width: 100%;
  background-color: #fff;
  color: #333;
   /* position: absolute;
    top: 0px;
    left: 0px;
    position: fixed;*/
    z-index: 9999;
}
nav ul {
  padding: 0;
  margin: 0;
     z-index: 9999;
}
nav li {
  display: inline;
  float: left;
   /*new*/ width: 13%;
     z-index: 9999;
}
nav a {
  display: inline-block;
  /*width: 100px;*/
    width: 100%;
  text-align: center;
  text-decoration: none;
  padding: 10px 0;
  color: #333;
  text-decoration: none;
}
nav li:hover {
  background-color: #a9072c;
    
}
nav a:hover{
    color: #fff;
}
nav a#openup {
  display: none;
}

.icon-menu{
    width: 95%;
    max-width: 100px;
    padding-left: 2.5%;
}

@media screen and (max-width: 780px) {

  nav {
    height: auto;
    border-bottom: 0;
      z-index: 9999;
  }
  nav ul {
    display: none;
    height: auto;
  }
  nav li {
    width: 100%;
    float: left;
    position: relative;
  }
  nav a {
    text-align: left;
    width: 100%;
    text-indent: 25px;
    background: #333;
    border-bottom: 1px solid #555;
      color: #fff;
  }
  nav a:hover {
    background: #a8062d;
  }
  nav a#openup:after {
    content: "|||";
    transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    /* IE 9 */
    -webkit-transform: rotate(-90deg);
    /* Safari and Chrome */
    width: 30px;
    height: 30px;
    display: inline-block;
    position: absolute;
    right: 5px;
    top: 20px;
  }
  nav a#openup {
    display: block;
    background-color: #333;
    width: 100%;
    position: relative;
  }
}
.cf:before, .cf:after {
  content: "";
  display: table;
}

.cf:after {
  clear: both;
}

.cf {
  zoom: 1;
}