/*Strip the ul of padding and list styling*/
ul {
  list-style-type:none;
  margin:0;
  padding:0;
  display: inline-block;
}

ul.hidden {
  position: absolute;
  text-align: center;
}

/*Create a horizontal list with spacing*/
li {
  display:inline-block;
}

/*Style for menu links*/
li a {
  display:block;
  font-size: 0.8em;
  font-weight: 400;
  font-family: "acumin-pro-wide";
  text-transform: uppercase;
  color: #444;
  
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
}

/*Hover state for top level links*/
li:hover a {
  text-decoration: none;
  color: #AA2E49;
}

/*Style for dropdown links*/
li:hover ul a {
  background: #f3f3f3;
  color: #2f3036;
  padding: 8% 0;
}

/*Hover state for dropdown links*/
li:hover ul a:hover {
  background: #AA2E49;
  color: #fff;
}

/*Hide dropdown links until they are needed*/
li ul {
  display: none;
}

/*Make dropdown links vertical*/
li ul li {
  display: block;
}

/*Prevent text wrapping*/
li ul li a {
  width: auto;
}

/*Display the dropdown on hover*/
ul li a:hover + .hidden, .hidden:hover {
  display: block;
  width: 20%;
  margin-left: -7% !important;
}

/*Style 'show menu' label button and hide it by default*/
.show-menu {
  text-decoration: none;
  color: #fff;
  background: #AA2E49;
  text-align: right;
  display: none;
}

/*Hide checkbox*/
input[type=checkbox]{
    display: none;
}

/*Show menu when invisible checkbox is checked*/
input[type=checkbox]:checked ~ #menu{
    display: block;
}


/*Responsive Styles*/

@media screen and (max-width : 760px){
  ul li a:hover + .hidden, .hidden:hover {
    display: none;
  }
  li:hover ul a {
    padding: 1% 0 !important;
  }
  
  /*Make dropdown links appear inline*/
  ul {
    position: static;
    display: none;
    padding: 0;
  }
  /*Create vertical spacing*/
  li {
    margin-bottom: 1px;
  }
  /*Make all menu links full width*/
  ul li, li a {
    display: block;
    text-align: center;
    margin:0;
    padding: 1.6%;

  }
  ul li {
    border-bottom: 1px solid silver;    
  }
  /*Display 'show menu' link*/
  .show-menu {
    display:block;
    text-align: center !important;
    padding: 2% 0;
    margin: 0 !important;
  }
}