/*** ESSENTIAL STYLES ***/
.sf-menu {
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%; }
  .sf-menu * {
    margin: 0;
    padding: 0;
    list-style: none; }
  .sf-menu li {
    position: relative; }
  .sf-menu ul {
    position: absolute;
    display: none;
    top: 100%;
    z-index: 99; }
    .sf-menu ul li {
      display: block;
      max-width: 100%;
      min-width: 12em; }
      .sf-menu ul li a {
        white-space: nowrap; }
  .sf-menu > li > ul {
    position: absolute;
    left: 0;
    top: 100%; }
  .sf-menu li:hover > ul, .sf-menu li.sfHover > ul {
    display: block; }
  .sf-menu a {
    display: block;
    position: relative; }
  .sf-menu ul ul {
    top: 0;
    left: 100%; }

/*** SKIN ***/
.sf-menu {
  margin: 0;
  padding: 0;
  background: #f5f5f5;
  border-bottom: 1px solid #e3e3e3; }
  .sf-menu li {
    list-style: none;
    display: inline-block; }
    .sf-menu li a {
      display: block;
      padding: 7px 10px;
      font-size: 16px; }
      .sf-menu li a:hover {
        background: #0088cc;
        text-decoration: none;
        color: #fff; }
  .sf-menu ul {
    border: 1px solid #e3e3e3;
    background: #f5f5f5;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
    min-width: 100%;
    /* allow long menu items to determine submenu width */
    *width: 100%;
    /* no auto sub width for IE7, see white-space comment below */ }

/*** arrows (for all except IE7) **/
.sf-arrows .sf-with-ul {
  padding-right: 2.5em;
  *padding-right: 1em;
  /* no CSS arrows for IE7 (lack pseudo-elements) */ }
  .sf-arrows .sf-with-ul:after {
    content: '';
    position: absolute;
    top: 50%;
    right: 1em;
    margin-top: -3px;
    height: 0;
    width: 0;
    /* order of following 3 rules important for fallbacks to work */
    border: 5px solid transparent;
    border-top-color: #0088cc;
    /* edit this to suit design (no rgba in IE8) */
    border-left-color: transparent; }
.sf-arrows > li > .sf-with-ul:focus:after, .sf-arrows > li:hover > .sf-with-ul:after {
  border-top-color: #0088cc;
  /* IE8 fallback colour */ }
.sf-arrows > .sfHover > .sf-with-ul:after {
  border-top-color: transparent;
  /* IE8 fallback colour */ }
.sf-arrows ul .sf-with-ul:after {
  margin-top: -5px;
  margin-right: -3px;
  border-color: transparent;
  border-left-color: #0088cc; }
.sf-arrows ul li > .sf-with-ul:focus:after, .sf-arrows ul li:hover > .sf-with-ul:after {
  border-left-color: #0088cc; }
.sf-arrows ul .sfHover > .sf-with-ul:after {
  border-left-color: #0088cc; }

/* styling for both css and generated arrows */
/* styling for right-facing arrows */
/* adding sf-vertical class in addition to sf-menu creates a vertical menu */
/* eg. <ul class="sf-menu sf-vertical"> ... */
.sf-vertical {
  /*width: 12em;*/
  /* If you want the width of the closed menu to expand to its
  widest top-level menu item (like its "Supersubs" submenus do),
  replace the width rule above with the following two rules. */
  /*
  min-width: 12em;
  *width: 12em;
  */ }
  .sf-vertical ul {
    left: 100%;
    top: 0; }
  .sf-vertical > li {
    float: none; }
  .sf-vertical li {
    width: 100%; }
  .sf-vertical.sf-arrows > li > .sf-with-ul:after {
    margin-top: -5px;
    margin-right: -3px;
    border-color: transparent;
    border-left-color: #0088cc;
    /* edit this to suit design (no rgba in IE8) */
    border-left-color: #0088cc; }
  .sf-vertical.sf-arrows li > .sf-with-ul:focus:after, .sf-vertical.sf-arrows li:hover > .sf-with-ul:after {
    border-left-color: white; }
  .sf-vertical.sf-arrows .sfHover > .sf-with-ul:after {
    border-left-color: green; }

/*** alter arrow directions ***/

