

#container {
  margin: 0 auto;
  max-width: 960px;
}

 

.toggle,
[id^=drop] {
  display: none;
}


/* Giving a background-color to the nav container. */

nav {
  margin: 0;
  padding: 0;
  background-color: #e2e2e2;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .0), 0 2px 10px 0 rgba(0, 0, 0, .0); border-top: 0px solid #555; border-bottom: 0px solid #555;
}

 


/* Since we'll have the "ul li" "float:left"
 * we need to add a clear after the container. */

nav:after {
  content: "";
  display: table;
  clear: both;
}


/* Removing padding, margin and "list-style" from the "ul",
 * and adding "position:reltive" */

nav ul {

  padding: 0;
  margin: 0;
  list-style: none;
  position: relative;
  z-index:2;
}


/* Positioning the navigation items inline */

nav ul li {
  margin: 0px;
  display: inline-block;
  float: left;
  background-color: #e2e2e2;
}


/* Styling the links */

nav a {
  display: block;
  padding: 14px 20px 12px 20px; border-bottom: 0px solid transparent;
font-family: 'PFBeauSansPro-Regular';
  font-size: 21px;
  text-decoration: none;
}

nav ul li ul li:hover {
   
}


/* Background color change on Hover */

nav a:hover {
 
}


/* Hide Dropdowns by Default
 * and giving it a position of absolute */

nav ul ul {
  display: none;
  position: absolute; border: 0px solid #555;
  /* has to be the same number as the "line-height" of "nav a" */
  top: 54px;
}


/* Display Dropdowns on Hover */

nav ul li:hover > ul {
  display: inherit;
}


/* Fisrt Tier Dropdown */

nav ul ul li {
  
  float: none;
  display: list-item;
  position: relative;
}


/* Second, Third and more Tiers	
 * We move the 2nd and 3rd etc tier dropdowns to the left
 * by the amount of the width of the first tier.
*/

nav ul ul ul li {
  position: relative;
  top: -60px;
  /* has to be the same number as the "width" of "nav ul ul li" */
  left: 170px;
}


/* Change ' +' in order to change the Dropdown symbol */



li > a:only-child:after {
  content: '';
}


/* Media Queries
--------------------------------------------- */

@media all and (max-width: 768px) {
  #logo {
    display: block;
    padding: 0;
    width: 100%;
    text-align: center;
    float: none;
  }
  nav {
    margin: 0;
  }
  /* Hide the navigation menu by default */
  /* Also hide the  */
  .toggle + a,
  .menu {
    display: none;
  }
  /* Stylinf the toggle lable */
  .toggle {
    display: block;
    background-color: #e2e2e2;
    padding: 14px 20px;
    cursor:pointer;
    font-size: 19px;
    text-decoration: none;
    border: none;
  }
  
  /* Display Dropdown when clicked on Parent Lable */
  [id^=drop]:checked + ul {
    display: block;
  }
  /* Change menu item's width to 100% */
  nav ul li {
    display: block;
    width: 100%;
  }
  nav ul ul .toggle,
  nav ul ul a {
    padding: 0 40px;
  }
  nav ul ul ul a {
    padding: 0 80px;
  }
  nav a:hover,
  nav ul ul ul a {
    background-color: #fff;
  }
  nav ul li ul li .toggle,
  nav ul ul a,
  nav ul ul ul a {
    padding: 14px 20px;

    font-size: 17px;
  }
  nav ul li ul li .toggle,
  nav ul ul a {
    background-color: #fff;
  }
  /* Hide Dropdowns by Default */
  nav ul ul {
    float: none;
    position: static;
    color: #ccc;
    /* has to be the same number as the "line-height" of "nav a" */
  }
  /* Hide menus on hover */
  nav ul ul li:hover > ul,
  nav ul li:hover > ul {
    display: none;
  }
  /* Fisrt Tier Dropdown */
  nav ul ul li {
    display: block;
    width: 100%;
  }
  nav ul ul ul li {
    position: static;
    /* has to be the same number as the "width" of "nav ul ul li" */
  }
}

@media all and (max-width: 330px) {
  nav ul li {
    display: block;
    width: 94%;
  }
}


.container > ul > li > a:after {
  content: '';
      background-color: #32a75d;
    display: block;
  
    height: 2px;
    width: 0%;
    -webkit-transition: width .2s ease-in-out;
    -moz--transition: width .2s ease-in-out;
    transition: width .2s ease-in-out;
}
.container > ul > li > a:hover:after {
     width: 100%;
 } 
 
.container > ul > li > a:focus:after {
     width: 100%;
 }
 
 
 
 .container > ul > li > ul > li > a:after {
  content: '';
      background-color: #32a75d;
    display: block;
  
    height: 2px;
    width: 0%;
    -webkit-transition: width .2s ease-in-out;
    -moz--transition: width .2s ease-in-out;
    transition: width .2s ease-in-out;
}
.container > ul > li > ul > li > a:hover:after {
     width: 100%;
 } 
 
.container > ul > li > ul > li > a:focus:after {
     width: 100%;
 }
 
.nmenu :after {
    background-color: #32a75d;
    display: block;
    content: "";
    height: 2px;
    width: 0%;
    -webkit-transition: width .2s ease-in-out;
    -moz--transition: width .2s ease-in-out;
    transition: width .2s ease-in-out;
}
.nmenu :hover:after,
.nmenu :focus:after {
    width: 100%;
}

.container > ul > li > label:after {
  content: '';
      background-color: #32a75d;
    display: block;
  
    height: 2px;
    width: 0%;
    -webkit-transition: width .2s ease-in-out;
    -moz--transition: width .2s ease-in-out;
    transition: width .2s ease-in-out;
}
.container > ul > li > label:hover:after {
     width: 100%;
 } 
.container > ul > li > label:focus:after {
     width: 100%;
 }
 
 


