/*** ESSENTIAL STYLES ***/
#nav .sf-menu, #nav .sf-menu * { margin: 0; padding: 0; list-style: none }
#nav .sf-menu li { position: relative }
#nav .sf-menu ul { position: absolute; display: none; top: 100%; left: 0; z-index: 99; transition: 0s display; transition-delay: 1s }
#nav .sf-menu > li { display: block; float: left }
#nav .sf-menu li:hover > ul, #nav .sf-menu li.sfHover > ul { display: block; transition: 0s display; transition-delay: 1s }
#nav .sf-menu a { display: block; position: relative }
#nav .sf-menu ul ul { top: 0; left: 100% }


/*** DEMO SKIN ***/
#nav .sf-menu { display: table; width: 100%; box-sizing: border-box; padding-left: 20px }
#nav .sf-menu ul { box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5); min-width: 12em } /* allow long menu items to determine submenu width */
#nav .sf-menu > li:not(:last-child) > a { border-right: 1px solid #777777 }
#nav .sf-menu a { padding: .25em 1em; text-decoration: none; color: white }
#nav .sf-menu li { white-space: nowrap; transition: background 0.2s } /* no need for Supersubs plugin */
#nav .sf-menu ul li { background: black }
#nav .sf-menu li:hover, #nav .sf-menu li.sfHover { background: #555; } /* only transition out, not in */


/*** arrows (for all except IE7) **/
.sf-arrows .sf-with-ul { padding-right: 2.5em }

/* styling for both css and generated arrows */
.sf-arrows .sf-with-ul:after { content: ''; position: absolute; top: 50%; right: 1em; margin-top: -3px; height: 0; width: 0; border: 5px solid transparent; border-top-color: rgba(255, 255, 255, 0.5) }


/* styling for right-facing arrows */
.sf-arrows ul .sf-with-ul:after { margin-top: -5px; margin-right: -3px; border-color: transparent; border-left-color: rgba(255, 255, 255, 0.5) }
.sf-arrows ul li > .sf-with-ul:focus:after, .sf-arrows ul li:hover > .sf-with-ul:after, .sf-arrows ul .sfHover > .sf-with-ul:after { border-left-color: white }


/** Additional styles for CTNP */
#nav .sf-menu p { display: inline-block }