.sm-custom {
   background: #ffffff;
	/*bar background*/
}
.sm-custom a, .sm-custom a:hover, .sm-custom a:focus, .sm-custom a:active {
  padding: 13px 20px;
  /* make room for the toggle button (sub indicator) */
  padding-right: 58px;
  color: #231f20;
  /*font-family: "Lucida Sans Unicode", "Lucida Sans", "Lucida Grande", Arial, sans-serif;*/
  font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
  font-size: 16px;
  font-weight: normal;
  line-height: 17px;
  text-decoration: none;
}
.sm-custom a.current {
  background: #555555;
  color: #d7182a;
}
.sm-custom a.disabled {
  color: #cccccc;
}
.sm-custom a span.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: rgba(0, 0, 0, 0.08);
}
.sm-custom a.highlighted span.sub-arrow:before {
  display: block;
  content: '-';
}
.sm-custom li {
  border-top: 1px solid rgba(0, 0, 0, 0.2);
}
.sm-custom > li:first-child {
  border-top: 0;
}

/*.sm-custom > li:last-child {
  background: #005063;
}*/
.sm-custom ul {
  background: rgba(215, 24, 42, 1.0);
  color: #ffffff;
}
.sm-custom ul a, .sm-custom ul a:hover, .sm-custom ul a:focus, .sm-custom ul a:active {
  font-size: 14px;
  border-left: 8px solid transparent;
}
.sm-custom ul ul a,
.sm-custom ul ul a:hover,
.sm-custom ul ul a:focus,
.sm-custom ul ul a:active {
  border-left: 16px solid transparent;
}
.sm-custom ul ul ul a,
.sm-custom ul ul ul a:hover,
.sm-custom ul ul ul a:focus,
.sm-custom ul ul ul a:active {
  border-left: 24px solid transparent;
}
.sm-custom ul ul ul ul a,
.sm-custom ul ul ul ul a:hover,
.sm-custom ul ul ul ul a:focus,
.sm-custom ul ul ul ul a:active {
  border-left: 32px solid transparent;
}
.sm-custom ul ul ul ul ul a,
.sm-custom ul ul ul ul ul a:hover,
.sm-custom ul ul ul ul ul a:focus,
.sm-custom ul ul ul ul ul a:active {
  border-left: 40px solid transparent;
}

/*@media (min-width: 768px) {*/
@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-custom ul {
    position: absolute;
    width: 12em;
  }

  .sm-custom li {
    float: left;  
  }

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

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

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

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

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

  /* ...end */
  .sm-custom {
    background: #ffffff;
  }
		
  .sm-custom a, .sm-custom a:hover, .sm-custom a:focus, .sm-custom a:active, .sm-custom a.highlighted {
    /*padding: 11px 20px;*/
	padding: 20px 20px;
    color: #231f20;
  }
/*.sm-custom > li:last-child a, .sm-custom > li:last-child a:hover, .sm-custom > li:last-child a:focus, .sm-custom > li:last-child a:active, .sm-custom > li:last-child a.highlighted {
    /*padding: 11px 20px;*/
/*	padding: 20px 40px;
    color: #ffffff;
  }*/
		
  .sm-custom a:hover, .sm-custom a:focus, .sm-custom a:active, .sm-custom a.highlighted {
    background: #d7182a;
	color: #ffffff;
  }
	
  .sm-custom a.current {
    background: #555555;
    color: white;
  }
  .sm-custom a.disabled {
    background: white;
    color: #cccccc;
  }
  .sm-custom a.has-submenu {
    padding-right: 32px;
  }
  .sm-custom a span.sub-arrow {
    top: 50%;
    margin-top: -8px;
    right: 20px;
    width: 8px;
    height: 16px;
    font: 14px/16px monospace !important;
    background: transparent;
  }
  .sm-custom a.highlighted span.sub-arrow:before {
    display: none;
  }
  .sm-custom > li {
    border-top: 0;
    /*border-left: 1px solid #787878;*/
	/*padding-top: 100px;*/
	/*padding: 10px 0 10px 0;*/
  }
  .sm-custom > li:first-child {
     border-left: 0;
  }
	
	/*.sm-custom > li:last-child {
    float:right;
	border-left:0;
	background: #005063;
		
  }*/
			
  .sm-custom ul {
    /*border: 1px solid #70e3ff;*/
    background: #cccccc;
	-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  }
	
  .sm-custom ul a, .sm-custom ul a:hover, .sm-custom a:focus, .sm-cusom a:active {
    border: 0 !important;
  }
  .sm-custom ul a.has-submenu {
    padding-right: 20px;
  }
  .sm-custom ul a span.sub-arrow {
    right: auto;
    margin-left: -12px;
  }
  .sm-custom ul > li {
    border-left: 0;
    border-top: 1px solid #000000;
  }
  .sm-custom ul > li:first-child {
    border-top: 0;
  }
  .sm-custom ul > li a, ul > li .sm-custom ul > li a:focus, .sm-custom ul > li a:active {
    padding: 11px 20px;
	color: #231f20;
  }	
  .sm-custom ul > li a:hover, .sm-custom ul > li a.highlighted {
    padding: 11px 20px;
	color: #ffffff;
  }	
  .sm-custom span.scroll-up,
  .sm-custom span.scroll-down {
    position: absolute;
    display: none;
    visibility: hidden;
    overflow: hidden;
    background: white;
    height: 20px;
  }
  .sm-custom span.scroll-up-arrow, .sm-custom 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 #555555 transparent;
  }
  .sm-custom span.scroll-down-arrow {
    top: 6px;
    border-style: solid dashed dashed dashed;
    border-color: #555555 transparent transparent transparent;
  }
  .sm-custom.sm-rtl a.has-submenu {
    padding-right: 20px;
    padding-left: 32px;
  }
  .sm-custom.sm-rtl a span.sub-arrow {
    right: auto;
    left: 20px;
  }
  .sm-custom.sm-rtl.sm-vertical a.has-submenu {
    padding: 11px 20px;
  }
  .sm-custom.sm-rtl.sm-vertical a span.sub-arrow {
    right: 20px;
    margin-right: -12px;
  }
  .sm-custom.sm-rtl > li:first-child {
    border-left: 1px solid #eeeeee;
  }
  .sm-custom.sm-rtl > li:last-child {
    border-left: 0;
  }
  .sm-custom.sm-rtl ul a.has-submenu {
    padding: 11px 20px;
  }
  .sm-custom.sm-rtl ul a span.sub-arrow {
    right: 20px;
    margin-right: -12px;
  }
  .sm-custom.sm-vertical a span.sub-arrow {
    right: auto;
    margin-left: -12px;
  }
  .sm-custom.sm-vertical li {
    border-left: 0;
    border-top: 1px solid #eeeeee;
  }
  .sm-custom.sm-vertical > li:first-child {
    border-top: 0;
  }
}
