.sm-gray {
  border-top: 2px solid #777;
  border-bottom: 2px solid #777;
  background: #fff;
}
.sm-gray a, .sm-gray a:hover, .sm-gray a:focus, .sm-gray a:active {
  padding: 13px 20px;
  /* make room for the toggle button (sub indicator) */
  padding-right: 58px;
  color: #000;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 17px;
  text-decoration: none;
}
.sm-gray a.current {
  font-weight: bold;
}
.sm-gray a.disabled {
  color: #cccccc;
}
.sm-gray a .sub-arrow {
  position: absolute;
  top: 50%;
  margin-top: -17px;
  left: auto;
  right: 4px;
  width: 34px;
  height: 34px;
  overflow: hidden;
  font: bold 14px/34px monospace !important;
  text-align: center;
  text-shadow: none;
  background: #fff;
  border-radius: 4px;
}
.sm-gray a .sub-arrow::before {
  content: '+';
}
.sm-gray a.highlighted .sub-arrow::before {
  content: '-';
}
.sm-gray li {
  border-top: 1px solid rgba(141, 184, 99, 0.2);
}
.sm-gray > li:first-child {
  border-top: 0;
}
.sm-gray ul {
  background: #fff;
}
.sm-gray ul a, .sm-gray ul a:hover, .sm-gray ul a:focus, .sm-gray ul a:active {
  font-size: 13px;
  border-left: 8px solid transparent;
}
.sm-gray ul ul a,
.sm-gray ul ul a:hover,
.sm-gray ul ul a:focus,
.sm-gray ul ul a:active {
  border-left: 16px solid transparent;
}
.sm-gray ul ul ul a,
.sm-gray ul ul ul a:hover,
.sm-gray ul ul ul a:focus,
.sm-gray ul ul ul a:active {
  border-left: 24px solid transparent;
}
.sm-gray ul ul ul ul a,
.sm-gray ul ul ul ul a:hover,
.sm-gray ul ul ul ul a:focus,
.sm-gray ul ul ul ul a:active {
  border-left: 32px solid transparent;
}
.sm-gray ul ul ul ul ul a,
.sm-gray ul ul ul ul ul a:hover,
.sm-gray ul ul ul ul ul a:focus,
.sm-gray ul ul ul ul ul a:active {
  border-left: 40px solid transparent;
}

@media (min-width: 767px) {
  /* Switch to desktop layout
  -----------------------------------------------
     These transform the menu tree from
     collapsible to desktop (navbar + dropdowns)
  -----------------------------------------------*/
  /* start... (it's not recommended editing these rules) */
  .sm-gray ul {
    position: absolute;
    width: 12em;
  }

  .sm-gray li {
    float: left;
  }

  .sm-gray.sm-rtl li {
    float: right;
  }

  .sm-gray ul li, .sm-gray.sm-rtl ul li, .sm-gray.sm-vertical li {
    float: none;
  }

  .sm-gray a {
    white-space: nowrap;
  }

  .sm-gray ul a, .sm-gray.sm-vertical a {
    white-space: normal;
  }

  .sm-gray .sm-nowrap > li > a, .sm-gray .sm-nowrap > li > :not(ul) a {
    white-space: nowrap;
  }

  /* ...end */
  .sm-gray {
    border: 0;
   /* background: #f8f8f8;*/
    
  }
  .sm-gray a, .sm-gray a:hover, .sm-gray a:focus, .sm-gray a:active, .sm-gray a.highlighted {
    padding: 11px 15px;
    color: #000;
    border-radius: 4px 4px 0 0;
  }
  .sm-gray a:hover, .sm-gray a:focus, .sm-gray a:active {
  
    background: #283867; /* initial background color of top level list item on mouseover */
    color: #fff;
  }
  .sm-gray a.highlighted {
    background: #f8f8f8;
    color: #3e3e3e;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.50);
  }
  .sm-gray a.disabled {
    background: transparent;
    color: #cccccc;
    box-shadow: none;
  }
  .sm-gray a.has-submenu {
    padding-right: 29px;
  }
  .sm-gray a .sub-arrow {
    top: 50%;
    margin-top: -3px;
    right: 17px;
    width: 0;
    height: 0;
    border-width: 6px 4.02px 0 4.02px;
    border-style: solid dashed dashed dashed;
    border-color: #999 transparent transparent transparent;
    background: transparent;
    border-radius: 0;
  }
  .sm-gray a:hover .sub-arrow, .sm-gray a:focus .sub-arrow, .sm-gray a:active .sub-arrow {
    border-color: #fff transparent transparent transparent;
  }
  .sm-gray a.highlighted .sub-arrow {
    border-color: #777 transparent transparent transparent;
  }
  .sm-gray a.disabled .sub-arrow {
    border-color: #777 transparent transparent transparent;
  }
  .sm-gray a .sub-arrow::before {
    display: none;
  }
  .sm-gray li {
    border-top: 0;
  }
  .sm-gray ul {
    border: 0;
    padding: 8px 0;
    background: #ededff
    border-radius: 0 4px 4px 4px;
    box-shadow: 0 4px 3px rgba(0, 0, 0, 0.25);
  }
  .sm-gray ul ul {
    border-radius: 4px;
  }
  .sm-gray ul a, .sm-gray ul a:hover, .sm-gray ul a:focus, .sm-gray ul a:active, .sm-gray ul a.highlighted {
    border: 0 !important;
    padding: 10px 20px;
    color: #3e3e3e;
    border-radius: 0;
  }
  .sm-gray ul a:hover, .sm-gray ul a:focus, .sm-gray ul a:active, .sm-gray ul a.highlighted {
    background: #283867;/* background color of drop-down list items*/
    color: #f8f8f8;
    box-shadow: none;
  }
  .sm-gray ul a.disabled {
    background: transparent;
    color: #f7f7f7; /* bright dark purple*/
  }
  .sm-gray ul a.has-submenu {
    padding-right: 20px;
  }
  .sm-gray ul a .sub-arrow {
    right: 10px;
    margin-top: -4.02px;
    border-width: 4.02px 0 4.02px 6px;
    border-style: dashed dashed dashed solid;
    border-color: transparent transparent transparent #283867;
  }
  .sm-gray ul a:hover .sub-arrow, .sm-gray ul a:focus .sub-arrow, .sm-gray ul a:active .sub-arrow, .sm-gray ul a.highlighted .sub-arrow {
    border-color: transparent transparent transparent #fff;
  }
  .sm-gray ul a.disabled .sub-arrow {
    border-color: transparent transparent transparent #777;
  }
  .sm-gray .scroll-up,
  .sm-gray .scroll-down {
    position: absolute;
    display: none;
    visibility: hidden;
    overflow: hidden;
    background: #FEFAF9;
    height: 20px;
  }
  .sm-gray .scroll-up-arrow,
  .sm-gray .scroll-down-arrow {
    position: absolute;
    top: 6px;
    left: 50%;
    margin-left: -8px;
    width: 0;
    height: 0;
    overflow: hidden;
    border-width: 0 6px 8px 6px;
    border-style: dashed dashed solid dashed;
    border-color: transparent transparent #777 transparent;
  }
  .sm-gray .scroll-down-arrow {
    border-width: 8px 6px 0 6px;
    border-style: solid dashed dashed dashed;
    border-color: #283867 transparent transparent transparent;
  }
  .sm-gray.sm-rtl a.has-submenu {
    padding-right: 20px;
    padding-left: 34px;
  }
  .sm-gray.sm-rtl a .sub-arrow {
    right: auto;
    left: 20px;
  }
  .sm-gray.sm-rtl.sm-vertical {
    border-right: 0;
    border-left: 2px solid #777;
  }
  .sm-gray.sm-rtl.sm-vertical a {
    border-radius: 0 4px 4px 0;
  }
  .sm-gray.sm-rtl.sm-vertical a.has-submenu {
    padding: 10px 20px;
  }
  .sm-gray.sm-rtl.sm-vertical a .sub-arrow {
    right: auto;
    left: 10px;
    border-width: 4.02px 6px 4.02px 0;
    border-style: dashed solid dashed dashed;
    border-color: transparent #777 transparent transparent;
  }
  .sm-gray.sm-rtl.sm-vertical a:hover .sub-arrow, .sm-gray.sm-rtl.sm-vertical a:focus .sub-arrow, .sm-gray.sm-rtl.sm-vertical a:active .sub-arrow, .sm-gray.sm-rtl.sm-vertical a.highlighted .sub-arrow {
    border-color: transparent #fff transparent transparent;
  }
  .sm-gray.sm-rtl.sm-vertical a.disabled .sub-arrow {
    border-color: transparent #777 transparent transparent;
  }
  .sm-gray.sm-rtl ul {
    border-radius: 4px 0 4px 4px;
  }
  .sm-gray.sm-rtl ul a {
    border-radius: 0 !important;
  }
  .sm-gray.sm-rtl ul a.has-submenu {
    padding: 10px 20px !important;
  }
  .sm-gray.sm-rtl ul a .sub-arrow {
    right: auto;
    left: 10px;
    border-width: 4.02px 6px 4.02px 0;
    border-style: dashed solid dashed dashed;
    border-color: transparent #777 transparent transparent;
  }
  .sm-gray.sm-rtl ul a:hover .sub-arrow, .sm-gray.sm-rtl ul a:focus .sub-arrow, .sm-gray.sm-rtl ul a:active .sub-arrow, .sm-gray.sm-rtl ul a.highlighted .sub-arrow {
    border-color: transparent #fff transparent transparent;
  }
  .sm-gray.sm-rtl ul a.disabled .sub-arrow {
    border-color: transparent #777 transparent transparent;
  }
  .sm-gray.sm-vertical {
    border-bottom: 0;
    border-right: 2px solid #777;
  }
  .sm-gray.sm-vertical a {
    padding: 10px 20px;
    border-radius: 4px 0 0 4px;
  }
  .sm-gray.sm-vertical a:hover, .sm-gray.sm-vertical a:focus, .sm-gray.sm-vertical a:active, .sm-gray.sm-vertical a.highlighted {
    background: #777;
    color: #fff;
    box-shadow: none;
  }
  .sm-gray.sm-vertical a.disabled {
    background: transparent;
    color: #cccccc;
  }
  .sm-gray.sm-vertical a .sub-arrow {
    right: 10px;
    margin-top: -4.02px;
    border-width: 4.02px 0 4.02px 6px;
    border-style: dashed dashed dashed solid;
    border-color: transparent transparent transparent #777;
  }
  .sm-gray.sm-vertical a:hover .sub-arrow, .sm-gray.sm-vertical a:focus .sub-arrow, .sm-gray.sm-vertical a:active .sub-arrow, .sm-gray.sm-vertical a.highlighted .sub-arrow {
    border-color: transparent transparent transparent #fff;
  }
  .sm-gray.sm-vertical a.disabled .sub-arrow {
    border-color: transparent transparent transparent #777;
  }
  .sm-gray.sm-vertical ul {
    border-radius: 4px !important;
  }
  .sm-gray.sm-vertical ul a {
    padding: 10px 20px;
  }
}