<style>
nav {    
    display: block;
    text-align: left;
  }
  nav ul {
    margin: 0;
    padding:0;
    list-style: none;
  }
  .nav a {
    display:block; 
    background: #333; 
    color:#fff; 
    text-decoration: none;
    padding: 8px 15px;
    text-transform: uppercase;
    font-size: 60%;letter-spacing: 2px;
    text-shadow: 0 -1px 0 #000;
    position: relative;
  }
  .nav{  
    vertical-align: top; 
    display: inline-block;
    box-shadow: 1px -1px -1px 1px #000, -1px 1px -1px 1px #fff, 0 0 6px 3px #fff;
    border-radius:6px;
  }
/* line on bottom of main row */
  .nav li{position: relative;}
  .nav > li { 
    float:left; 
    border-bottom: 4px #666666 solid; 
    margin-right: 1px; 
  } 
  .nav > li > a { 
    margin-bottom:1px;
    box-shadow:inset 0 2em .33em -.5em #555; 
  }
/* line on bottom selection section hover */
  .nav > li:hover , .nav > li:hover >a{  border-bottom-color:#aaa;}

/* Text hover */
  .nav li:hover > a { color:#d4af37; }

  .nav > li:first-child  { border-radius: 4px 0 0 4px;} 
  .nav > li:first-child>a{border-radius: 4px 0 0 0;}
  .nav > li:last-child  { 
    border-radius: 0 0 4px 0; 
    margin-right: 0;
  } 
  .nav > li:last-child >a{border-radius: 0 4px 0 0; }
  
/* space between link boxes in sub-menus */
  .nav li li a { margin-top:1px}
  
  
  
    .nav li a:first-child:nth-last-child(2):before { 
     content:""; 
     position: absolute; 
     height:0; 
     width: 0; 
     border: 5px solid transparent; 
     top: 50% ;
     right:5px;  
   }
    
   /* submenu positioning*/
.nav ul {
  position: absolute;
  white-space: nowrap;
  border-bottom: 2px solid #d4af37;
 /* border-left:2px solid #d4af37; */
  z-index: 1;
  left: -99999em;
}
.nav > li:hover > ul {
  left: auto;
  padding-top: 5px  ;
  min-width: 100%;
}
/* sub-child menu styling (borders) */
.nav > li li ul {  border-right:2px solid #d4af37;}
.nav > li li ul {  border-top: 2px solid #d4af37;}  


.nav > li li:hover > ul { 
 /* margin-left: 1px */
  left: 100%;
  top: -1px;
}
/* default child indicator arrow styling */
.nav > li > a:first-child:nth-last-child(2):before { 
  border-top-color: #d4af37;
}
/* child arrow hover styling */
.nav > li:hover > a:first-child:nth-last-child(2):before {
  border: 5px solid transparent; 
  border-bottom-color: #d4af37; 
  margin-top:-5px
}
/* child arrow facing right styling */
.nav li li > a:first-child:nth-last-child(2):before {  
  border-left-color: #d4af37; 
  margin-top: -5px
}
/* child arrow facing right hover styling (reverse it) */
.nav li li:hover > a:first-child:nth-last-child(2):before {
  border: 5px solid transparent; 
  border-right-color: #d4af37;
  right: 10px; 
}

</style>