.sm-red {
  background: transparent;
  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-flow: row nowrap;
}
.sm-red a.disabled {
  color: #a1d1e8;
}
.sm-red a span.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);
}
.sm-red a.highlighted span.sub-arrow:before {
  display: block;
  content: '-';
}
.sm-red ul {
  background: white;
}
.sm-red ul ul {
  background: rgba(102, 102, 102, 0.1);
}
.sm-red ul a, .sm-red ul a:hover, .sm-red ul a:focus, .sm-red ul a:active {
  background: transparent;
  color: #2b82ac;
  font-size: 1.25em !important;
  line-height: 1.4em;
  text-shadow: none;
  border-left: 8px solid transparent;
}
.sm-red ul a.disabled {
  color: #b3b3b3;
}
.sm-red ul ul a,
.sm-red ul ul a:hover,
.sm-red ul ul a:focus,
.sm-red ul ul a:active {
  border-left: 16px solid transparent;
}
.sm-red ul ul ul a,
.sm-red ul ul ul a:hover,
.sm-red ul ul ul a:focus,
.sm-red ul ul ul a:active {
  border-left: 24px solid transparent;
}
.sm-red ul ul ul ul a,
.sm-red ul ul ul ul a:hover,
.sm-red ul ul ul ul a:focus,
.sm-red ul ul ul ul a:active {
  border-left: 32px solid transparent;
}
.sm-red ul ul ul ul ul a,
.sm-red ul ul ul ul ul a:hover,
.sm-red ul ul ul ul ul a:focus,
.sm-red ul ul ul ul ul a:active {
  border-left: 40px solid transparent;
}
.sm-red ul li {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.sm-red ul li:first-child {
  border-top: 0;
}

@media (max-width: 767px) {

  #logo .sm-red { margin: 0 !important; padding: 0 !important; top: 0 !important; width: 100% !important; display: flex; flex-flow: column nowrap;}

  #logo .sm-red li,
  #logo .sm-red li a { min-width: 100% !important; border-color: #fff; }

  #logo .sm-red li a { padding-top: 0.5em; padding-bottom: 0.5em; text-align: left !important; border-bottom: 1px solid #fff;}

  #logo .sm-red li li a { padding: 0.5em 7%;; text-align: left !important; border-bottom: 0px solid #fff; background-color: #5d5d5d}

  #logo .sm-red { border-top: 1px solid #fff;}

}


@media (min-width: 768px) {
  /* Switch to desktop layout
  -----------------------------------------------
     These transform the menu tree from
     collapsible to desktop (navbar + dropdowns)
  -----------------------------------------------*/
  /* start... (it's not recommended editing these rules) */
  .sm-red > li > a { border-left: 1px solid #2b82ac; display: block !important; margin: 0 !important}
  .sm-red > li:first-child > a { border-left: 0 !important; }

  .sm-red > li.level_1 > a span.item_text {width: 95% !important;padding: 10px 0 10px 5% !important;margin: 0 !important;display: inline-block;left: 0 !important;text-align: center !important;}

  .sm-red > li:nth-child(1){ width: 9.5%; }
  .sm-red > li:nth-child(2){ width: 16.5%; }
  .sm-red > li:nth-child(3){ width: 12.5%; }
  .sm-red > li:nth-child(4){ width: 20.5%; }
  .sm-red > li:nth-child(5){ width: 21.5%; }
  .sm-red > li:nth-child(6){ width: 17%; }
  .sm-red ul {
    position: absolute;
    width: 2em;
  }

  .sm-red li {
    float: left;
  }

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

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

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

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

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

  /* ...end */
  .sm-red {
    background: transparent !important; border: 0  !important;
    -webkit-box-shadow: 0 0px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 0px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.2);
    display: flex;
  }
  .sm-red > ul {
    display: block; width: 100% !important; 
  }
  .sm-red > ul > li {
    display: block;
  }
  .sm-red > li a {
    /* padding: 10px 13%; */
    /* margin: 0 !important; */
    background: transparent;
    color: #fff !important;
    text-transform: uppercase;
    display: block !important;
  }
  .sm-red > li a:hover, .sm-red > li a:focus, .sm-red  > li a:active, .sm-red  > li a.highlighted {
    background: #feff01;
    color: #000 !important;
    text-transform: uppercase;
  }
  .sm-red > li li a {
    background: transparent;
    color: #fff !important;
    text-transform: none;
  }
  .sm-red > li li a:hover, .sm-red > li li a:focus, .sm-red > li li a:active, .sm-red > li li a.highlighted, .sm-red a.current {
    background: #feff01;
  }
  .sm-red a span.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: #fff transparent transparent transparent;
    background: transparent;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
    display: none;
  }
  .sm-red a.highlighted span.sub-arrow:before {
    display: none;
  }
  .sm-red > li:first-child > a, .sm-red > li:first-child > :not(ul) a {
  }
  .sm-red > li:last-child > a, .sm-red > li:last-child > :not(ul) a {
  }
  .sm-red > li {
/*    margin: 0 auto; */
  }
  .sm-red > li a {
/*    border-right: 1px solid #2b82ac; */
  }
  .sm-red > li:last-child a {
/*    border-right: 0; */
  }
  .sm-red ul {
    border: 1px solid #a8a8a8;
    padding: 7px 0;
    background: #5d5d5d;
    -webkit-box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
    min-width: 100% !important;
  }
  .sm-red ul ul {
    background: #5d5d5d;
  }
  .sm-red ul a, .sm-red ul a:hover, .sm-red ul a:focus, .sm-red ul a:active, .sm-red ul a.highlighted {
    border: 0 !important;
    padding: 6px 15px;
    background: transparent;
    color: #fff;
    text-transform: none;
  }
  .sm-red ul a:hover, .sm-red ul a:focus, .sm-red ul a:active, .sm-red ul a.highlighted, .sm-red ul a.current {
    background: #ee7158;
    background-image: -webkit-gradient(linear, to bottom, to top, color-stop(0%, #ee7158), color-stop(100%, #ee7158));
    background-image: -webkit-linear-gradient(to bottom, #ee7158, #ee7158);
    background-image: -moz-linear-gradient(to bottom, #ee7158, #ee7158);
    background-image: -o-linear-gradient(to bottom, #ee7158, #ee7158);
    background-image: linear-gradient(to bottom, #ee7158, #ee7158);
    color: white;
  }
  .sm-red ul a.disabled {
    background: white;
    color: #b3b3b3;
  }
  .sm-red ul a span.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 #af0404;
    display: block;
  }
  .sm-red ul li {
    border: 0;
  }
  .sm-red span.scroll-up,
  .sm-red span.scroll-down {
    position: absolute;
    display: none;
    visibility: hidden;
    overflow: hidden;
    background: white;
    height: 20px;
  }
  .sm-red span.scroll-up-arrow, .sm-red span.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-red span.scroll-down-arrow {
    top: 6px;
    border-style: solid dashed dashed dashed;
    border-color: #2b82ac transparent transparent transparent;
  }
  .sm-red.sm-rtl.sm-vertical a span.sub-arrow {
    right: auto;
    left: 10px;
    border-style: dashed solid dashed dashed;
    border-color: transparent #a1d1e8 transparent transparent;
  }
  .sm-red.sm-rtl > li:first-child > a, .sm-red.sm-rtl > li:first-child > :not(ul) a {
  }
  .sm-red.sm-rtl > li:last-child > a, .sm-red.sm-rtl > li:last-child > :not(ul) a {
  }
  .sm-red.sm-rtl > li:first-child {
    border-left: 1px solid #2b82ac;
  }
  .sm-red.sm-rtl > li:last-child {
    border-left: 0;
  }
  .sm-red.sm-rtl ul a span.sub-arrow {
    right: auto;
    left: 10px;
    border-style: dashed solid dashed dashed;
    border-color: transparent #a1d1e8 transparent transparent;
  }
  .sm-red.sm-vertical {
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  }
  .sm-red.sm-vertical a {
    padding: 9px 23px;
  }
  .sm-red.sm-vertical a span.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-red.sm-vertical > li:first-child > a, .sm-red.sm-vertical > li:first-child > :not(ul) a {
  }
  .sm-red.sm-vertical > li:last-child > a, .sm-red.sm-vertical > li:last-child > :not(ul) a {
  }
  .sm-red.sm-vertical > li {
    border-left: 0 !important;
  }
  .sm-red.sm-vertical ul {
  }
  .sm-red.sm-vertical ul a {
    padding: 9px 23px;
  }
}