/* Mobile first layout SmartMenus Core CSS (it's not recommended editing these rules)
   You need this once per page no matter how many menu trees or different themes you use.
-------------------------------------------------------------------------------------------*/

.sm,.sm ul,.sm li{display:block;list-style:none;margin:0;padding:0;line-height:normal;direction:ltr;-webkit-tap-highlight-color:rgba(0,0,0,0);}
.sm-rtl,.sm-rtl ul,.sm-rtl li{direction:rtl;text-align:right;}
.sm>li>h1,.sm>li>h2,.sm>li>h3,.sm>li>h4,.sm>li>h5,.sm>li>h6{margin:0;padding:0;}
.sm ul{display:none;}
.sm li,.sm a{position:relative;}
.sm a{display:block;}
.sm a.disabled{cursor:not-allowed;}
.sm:after{content:"\00a0";display:block;height:0;font:0px/0 serif;clear:both;visibility:hidden;overflow:hidden;}
.sm,.sm *,.sm *:before,.sm *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;}




/* ************* */
@media (max-width: 991px) {
  #main-nav ul ul {background-color: inherit;}
  .caret, #nav ul li a .fa {display: none}
  .sm-clean a, .sm-clean a:hover, .sm-clean a:focus, .sm-clean a:active {
    padding: 13px 20px;
    /* make room for the toggle button (sub indicator) */
    padding-right: 58px;
    font-weight: normal;
    line-height: 17px;
    text-decoration: none;
  }

  .sm-clean a span.sub-arrow {
    position: absolute;
    top: 50%;
    margin-top: -17px;
    left: auto;
    right: 4px;
    width: 34px;
    height: 34px;
    overflow: hidden;
    font: bold 15px/34px monospace !important;
    text-align: center;
    text-shadow: none;
    border-radius: 5px;
  }
  .sm-clean a.highlighted span.sub-arrow:before {
    display: block;
    content: '-';
  }

  .sm-clean li {

  }
  .sm-clean > li:first-child {
    border-top: 0;
  }
  .sm-clean ul {

  }
  .sm-clean ul a, .sm-clean ul a:hover, .sm-clean ul a:focus, .sm-clean ul a:active {

    border-left: 8px solid transparent;
  }
  .sm-clean ul ul a,
  .sm-clean ul ul a:hover,
  .sm-clean ul ul a:focus,
  .sm-clean ul ul a:active {
    border-left: 16px solid transparent;
  }
  .sm-clean ul ul ul a,
  .sm-clean ul ul ul a:hover,
  .sm-clean ul ul ul a:focus,
  .sm-clean ul ul ul a:active {
    border-left: 24px solid transparent;
  }
  .sm-clean ul ul ul ul a,
  .sm-clean ul ul ul ul a:hover,
  .sm-clean ul ul ul ul a:focus,
  .sm-clean ul ul ul ul a:active {
    border-left: 32px solid transparent;
  }
  .sm-clean ul ul ul ul ul a,
  .sm-clean ul ul ul ul ul a:hover,
  .sm-clean ul ul ul ul ul a:focus,
  .sm-clean ul ul ul ul ul a:active {
    border-left: 40px solid transparent;
  }
}
@media (min-width: 992px) {
  /* Switch to desktop layout
  -----------------------------------------------
     These transform the menu tree from
     collapsible to desktop (navbar + dropdowns)
  -----------------------------------------------*/
  /* start... (it's not recommended editing these rules) */
  .sm-clean ul {
    position: absolute;
  }

  .sm-clean li {
    float: left;
  }

  .sm-clean ul li {
    float: none;
  }

  .sm-clean a {
    white-space: nowrap;
  }

  .sm-clean ul a {
    white-space: normal;
  }

  .sm-clean .sm-nowrap > li > a, .sm-clean .sm-nowrap > li > :not(ul) a {
    white-space: nowrap;
  }

  /* ...end */
  .sm-clean a, .sm-clean a:hover, .sm-clean a:focus, .sm-clean a:active, .sm-clean a.highlighted {
    padding: 12px 12px;
  }
  .sm-clean a.has-submenu {
    padding-right: 24px;
  }
  .sm-clean a span.sub-arrow {
      display: none
  }
  .sm-clean a.highlighted span.sub-arrow:before {
    display: none;
  }
  .sm-clean li {
    border-top: 0;
  }
  .sm-clean > li > ul:after {
    top: -16px;
    left: 31px;
    border-width: 8px;
  }
  .sm-clean ul a, .sm-clean ul a:hover, .sm-clean ul a:focus, .sm-clean ul a:active, .sm-clean ul a.highlighted {

    padding: 10px 20px;

  }
  .sm-clean ul a:hover, .sm-clean ul a:focus, .sm-clean ul a:active, .sm-clean ul a.highlighted {

  }
  .sm-clean ul a.current {

  }
  .sm-clean ul a.disabled {

  }
  .sm-clean ul a.has-submenu {
    padding-right: 20px;
  }
  .sm-clean ul a span.sub-arrow {

  }
  .sm-clean span.scroll-up,
  .sm-clean span.scroll-down {
    position: absolute;
    display: none;
    visibility: hidden;
    overflow: hidden;
    background: white;
    height: 20px;
  }
  .sm-clean span.scroll-up:hover,
  .sm-clean span.scroll-down:hover {

  }
  .sm-clean span.scroll-up:hover span.scroll-up-arrow, .sm-clean span.scroll-up:hover span.scroll-down-arrow {

  }
  .sm-clean span.scroll-down:hover span.scroll-down-arrow {

  }
  .sm-clean span.scroll-up-arrow, .sm-clean span.scroll-down-arrow {

  }
  .sm-clean span.scroll-down-arrow {

  }
}


