@import url('https://fonts.googleapis.com/css?family=Arya');

.sm-green {
  background: transparent;
  border-radius: 0px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.sm-green a, .sm-green a:hover, .sm-green a:focus, .sm-green a:active {
  padding: 10px 10px;
  /* make room for the toggle button (sub indicator) */
  padding-right: 58px;
  background: #159f88; /* #16a18c; */
  /* background-image: linear-gradient(to bottom, #3298c8, #2e8cb8); */
  color: #fff;
  font-family: Arya, Arial, Helvetica, sans-serif;
  font-size: 45px;
  line-height: 60px; /* 23px; */
  text-decoration: none;
  /* text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2); */
}

.sm-green a.current {
  background: #3366ff; /* #cc0033;  #006892; */
  /* background-image: linear-gradient(to bottom, #006188, #006f9c); */
  color:  #fff;
}

.sm-green a:hover, .sm-green a:focus, .sm-green a:active, .sm-green a.highlighted {
    color: #fff;
}

.sm-green a.disabled {
  color: #a1d1e8;
}

.sm-green a .sub-arrow {
  position: absolute;
  top: 50%;
  margin-top: -17px;
  left: auto;
  right: 4px;
  width: 34px;
  height: 34px;
  overflow: hidden;
  font: bold 16px/34px monospace !important;
  text-align: center;
  text-shadow: none;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 0px;
}

.sm-green a .sub-arrow::before {
  content: '+';
}

.sm-green a.highlighted .sub-arrow::before {
  content: '-';
}

.sm-green > li:first-child > a, .sm-green > li:first-child > :not(ul) a {
  border-radius: 8px 8px 0 0;
}

.sm-green > li:last-child > a, .sm-green > li:last-child > *:not(ul) a, .sm-green > li:last-child > ul, .sm-green > li:last-child > ul > li:last-child > a, .sm-green > li:last-child > ul > li:last-child > *:not(ul) a, .sm-green > li:last-child > ul > li:last-child > ul, .sm-green > li:last-child > ul > li:last-child > ul > li:last-child > a, .sm-green > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a, .sm-green > li:last-child > ul > li:last-child > ul > li:last-child > ul, .sm-green > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a, .sm-green > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a, .sm-green > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul, .sm-green > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a, .sm-green > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a, .sm-green > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul {
  border-radius: 0 0 8px 8px;
}

.sm-green > li:last-child > a.highlighted, .sm-green > li:last-child > *:not(ul) a.highlighted, .sm-green > li:last-child > ul > li:last-child > a.highlighted, .sm-green > li:last-child > ul > li:last-child > *:not(ul) a.highlighted, .sm-green > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted, .sm-green > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a.highlighted, .sm-green > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted, .sm-green > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a.highlighted, .sm-green > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted, .sm-green > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a.highlighted {
  border-radius: 0;
}


/* Submenu box */

.sm-green ul {
  background: #fff;
  border: 1px solid #3366ff;
  border-radius: 0 0 6px 6px;
}

.sm-green ul ul {
  background: rgba(102, 102, 102, 0.1);

}

.sm-green ul a, .sm-green ul a:hover, .sm-green ul a:focus, .sm-green ul a:active {
  background: transparent;
  color: #0066cc; /* #3366ff; #cc0033;  #2b82ac; */
  font-size: 45px;
  text-shadow: none;
  border-left: 8px solid transparent;
}

.sm-green ul a.current {
  background: #3366ff; /* #cc0033;  #006892; */
  /* background-image: linear-gradient(to bottom, #006188, #006f9c); */
  color: #fff;
}

.sm-green ul a.disabled {
  color: #b3b3b3;
}

.sm-green ul ul a,
.sm-green ul ul a:hover,
.sm-green ul ul a:focus,
.sm-green ul ul a:active {
  border-left: 16px solid transparent;
}

.sm-green ul ul ul a,
.sm-green ul ul ul a:hover,
.sm-green ul ul ul a:focus,
.sm-green ul ul ul a:active {
  border-left: 24px solid transparent;
}

.sm-green ul ul ul ul a,
.sm-green ul ul ul ul a:hover,
.sm-green ul ul ul ul a:focus,
.sm-green ul ul ul ul a:active {
  border-left: 32px solid transparent;
}

.sm-green ul ul ul ul ul a,
.sm-green ul ul ul ul ul a:hover,
.sm-green ul ul ul ul ul a:focus,
.sm-green ul ul ul ul ul a:active {
  border-left: 40px solid transparent;
}

.sm-green ul li {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.sm-green ul li:first-child {
  border-top: 0;
}



@media (min-width: 1000px) {  /* originally 768 */
  /* Switch to desktop layout
  **** These transform the menu tree from  collapsible to desktop (navbar + dropdowns) */

  /* start... (it's not recommended editing these rules) */

  .sm-green ul {
    position: absolute;
    width: 12em;
  }

  .sm-green li {
    float: left;
  }

  .sm-green.sm-rtl li {
    float: right;
  }

  .sm-green ul li, .sm-green.sm-rtl ul li, .sm-green.sm-vertical li {
    float: none;
  }

  .sm-green a {
    white-space: nowrap;
  }

  .sm-green ul a, .sm-green.sm-vertical a {
    white-space: normal;
  }

  .sm-green .sm-nowrap > li > a, .sm-green .sm-nowrap > li > :not(ul) a {
    white-space: nowrap;
  }

  /* ...end */

  .sm-green {
    background: #159f88; /* #16a18c; #cc0033;  #3092c0; */
    border-radius: 0px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  }

  .sm-green a, .sm-green a:hover, .sm-green a:focus, .sm-green a:active, .sm-green a.highlighted {
    padding: 8px 10px;
    background: #159f88; /* #16a18c; #cc0033; #3092c0; */
    color: white;
    font-size: 16px;
    line-height: 20px;
  }

  .sm-green a:hover, .sm-green a:focus, .sm-green a:active, .sm-green a.highlighted {
    background: #159f88; /*  #cc0033;  #2b82ac; */
    color: #ffff00;
    /* background-image: linear-gradient(to bottom, #2d89b4, #297ca3); */
  }

  .sm-green a.current {
    background: #3366ff; /* #cc0033; #006892; */
    color: #fff;
  }

  .sm-green a.disabled {
    background: #159f88; /* #16a18c; #cc0033;  #3092c0; */
    color: #a1d1e8;
  }

  .sm-green a .sub-arrow {
    top: auto;
    margin-top: 0;
    bottom: 2px;
    left: 50%;
    margin-left: -5px;
    right: auto;
    width: 0;
    height: 0;
    border-width: 5px;
    border-style: solid dashed dashed dashed;
    border-color: #a1d1e8 transparent transparent transparent;
    background: transparent;
    border-radius: 0;
  }

  .sm-green a .sub-arrow::before {
    display: none;
  }

  .sm-green > li:first-child > a, .sm-green > li:first-child > :not(ul) a {
    border-radius: 8px 0 0 8px;
  }

  .sm-green > li:last-child > a, .sm-green > li:last-child > :not(ul) a {
    border-radius: 0 8px 8px 0 !important;
  }

  .sm-green > li {
    border-left: 1px solid #33ff99;  /* border between top menu items */
  }

  .sm-green > li:first-child {
    border-left: 0;
  }

  .sm-green ul {
    border: 1px solid #a8a8a8;
    padding: 7px 0;
    background: #fff;
    border-radius: 0 0 6px 6px !important;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
  }

  .sm-green ul ul {
    border-radius: 4px !important;
    background: #fff;
  }


  /* Submenu items */

  .sm-green ul a, .sm-green ul a:hover, .sm-green ul a:focus, .sm-green ul a:active, .sm-green ul a.highlighted {
    border: 0 !important;
    font-size: 15px;
    /* border-bottom: 1px solid #CCCCCC; - for separator lines */
    padding: 3px 8px; /* 9px 23px; Reduce space between submenu items */
    background: transparent;
    color: #0066cc; /* #1f93cf; #2b82ac; #6633cc; */
    border-radius: 0 !important;
  }


  .sm-green ul a:hover, .sm-green ul a:focus, .sm-green ul a:active, .sm-green ul a.highlighted {
    background: #ffdead; /* #ffcc66;  #cc0033; #3092c0; */
    /* background-image: linear-gradient(to bottom, #3298c8, #2e8cb8); */
    color:  #000000; /* #fff; */
  }

  .sm-green ul a.current {
    background: #ffdead; /* #ffcc66; #cc0033; #006892; */
    /* background-image: linear-gradient(to bottom, #006188, #006f9c); */
    color: #000000; /* #fff; */
  }

  .sm-green ul a.disabled {
    background: #fff;
    color: #b3b3b3;
  }

  .sm-green ul a .sub-arrow {
    top: 50%;
    margin-top: -5px;
    bottom: auto;
    left: auto;
    margin-left: 0;
    right: 10px;
    border-style: dashed dashed dashed solid;
    border-color: transparent transparent transparent #a1d1e8;
  }

  .sm-green ul li {
    border: 0;
  }

  .sm-green .scroll-up,
  .sm-green .scroll-down {
    position: absolute;
    display: none;
    visibility: hidden;
    overflow: hidden;
    background: #fff;
    height: 20px;
  }

  .sm-green .scroll-up-arrow,
  .sm-green .scroll-down-arrow {
    position: absolute;
    top: -2px;
    left: 50%;
    margin-left: -8px;
    width: 0;
    height: 0;
    overflow: hidden;
    border-width: 8px;
    border-style: dashed dashed solid dashed;
    border-color: transparent transparent #2b82ac transparent;
  }

  .sm-green .scroll-down-arrow {
    top: 6px;
    border-style: solid dashed dashed dashed;
    border-color: #2b82ac transparent transparent transparent;
  }

  .sm-green.sm-rtl.sm-vertical a .sub-arrow {
    right: auto;
    left: 10px;
    border-style: dashed solid dashed dashed;
    border-color: transparent #a1d1e8 transparent transparent;
  }

  .sm-green.sm-rtl > li:first-child > a, .sm-green.sm-rtl > li:first-child > :not(ul) a {
    border-radius: 0 8px 8px 0;
  }

  .sm-green.sm-rtl > li:last-child > a, .sm-green.sm-rtl > li:last-child > :not(ul) a {
    border-radius: 8px 0 0 8px !important;
  }

  .sm-green.sm-rtl > li:first-child {
    border-left: 1px solid #2b82ac;
  }

  .sm-green.sm-rtl > li:last-child {
    border-left: 0;
  }

  .sm-green.sm-rtl ul a .sub-arrow {
    right: auto;
    left: 10px;
    border-style: dashed solid dashed dashed;
    border-color: transparent #a1d1e8 transparent transparent;
  }

  .sm-green.sm-vertical {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  }

  .sm-green.sm-vertical a {
    padding: 9px 10px; /* 9px 23px; Move text further to the left */
  }

  .sm-green.sm-vertical a .sub-arrow {
    top: 50%;
    margin-top: -5px;
    bottom: auto;
    left: auto;
    margin-left: 0;
    right: 10px;
    border-style: dashed dashed dashed solid;
    border-color: transparent transparent transparent #a1d1e8;
  }

  .sm-green.sm-vertical > li:first-child > a, .sm-green.sm-vertical > li:first-child > :not(ul) a {
    border-radius: 8px 8px 0 0;
  }

  .sm-green.sm-vertical > li:last-child > a, .sm-green.sm-vertical > li:last-child > :not(ul) a {
    border-radius: 0 0 8px 8px !important;
  }

  .sm-green.sm-vertical > li {
    border-left: 0 !important;
  }

  .sm-green.sm-vertical ul {
    border-radius: 4px !important;
  }

  .sm-green.sm-vertical ul a {
    /* padding: 9px 23px; Reduce space between submenu items */
    padding: 3px 10px;
  }

}