nav {
  background: #efefef;
  padding: 6px;
  text-align: center;
  font-size: 1.15em; }
  nav > a {
    padding: 1rem; }
  nav ul {
    margin: 0;
    padding: 0; }
    nav ul li {
      display: inline-block; }
      nav ul li:hover ul {
        display: block; }
      nav ul li a {
        display: block;
        padding: 0 1rem;
        text-decoration: none; }
      nav ul li ul {
        display: none;
        position: absolute;
        z-index: 500;
        padding: .5em 1.15em;
        background: #efefef; }
        nav ul li ul li {
          display: block;
          text-align: left;
          float: none;
          padding: .3em .2em; }
        nav ul li ul a {
          display: inline;
          padding: 0;
          font-size: .9em; }

