/* Mobile Manu */
#mobileBook {width:32px;height:32px;background:url('icons.png') -10px -10px;}
#mobileBurger {width:32px;height:32px;background:url('icons.png') -62px -10px;}
#mobileDirectory {width:28px;height:32px;background:url('icons.png') -62px -62px;}
#mobileHome {width:32px;height:32px;background:url('icons.png') -10px -62px;}
#mobileMap {width:26px;height:32px;background:url('icons.png') -114px -10px;}
#navMobile a {
  display:inline-block;
  margin-top:10px;
  margin-bottom:10px;
}
#navMobile a:first-child {margin-left:10px;}
#navMobile a:last-child {margin-right:10px;}
#navMobile {
  background-color:var(--nav-bg-color);
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-pack:justify;
  -ms-flex-pack:justify;
  justify-content:space-between;
  -webkit-box-align:center;
  -ms-flex-align:center;
  align-items:center;
}
#home {display:none;}

/* 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{box-sizing:border-box;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0);}
.sm,.sm ul,.sm li{display:block;list-style:none;margin:0;padding:0;line-height:normal;direction:ltr;text-align:left;}
.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:default;}
.sm::after{content:"";display:block;height:0;font:0px/0 serif;clear:both;overflow:hidden;}
.sm *,.sm *::before,.sm *::after{box-sizing:inherit;}
/* Source: https://www.smartmenus.org/ */

.sm-custom {
  background: transparent;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.sm-custom a, .sm-custom a:hover, .sm-custom a:focus, .sm-custom a:active {
  padding: 10px 20px;
  /* make room for the toggle button (sub indicator) */
  padding-right: 58px;
  background-color:var(--nav-bg-color);
  background-image: linear-gradient(to bottom,var(--nav-bg-color), var(--nav-bg-color));
  color: var(--nav-color);
  font-size: var(--text-size);
  font-weight: bold;
  line-height: 23px;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}
.sm-custom a.current {
  background: #006892;
  background-image: linear-gradient(to bottom, #006188, #006f9c);
  color: var(--nav-color);
}
.sm-custom a.disabled {
  color: #a1d1e8;
}
.sm-custom 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: 4px;
}
.sm-custom a .sub-arrow::before {
  content: '+';
}
.sm-custom a.highlighted .sub-arrow::before {
  content: '-';
}
.sm-custom > li:first-child > a, .sm-custom > li:first-child > :not(ul) a {
  border-radius: 8px 8px 0 0;
}
.sm-custom > li:last-child > a, .sm-custom > li:last-child > *:not(ul) a, .sm-custom > li:last-child > ul, .sm-custom > li:last-child > ul > li:last-child > a, .sm-custom > li:last-child > ul > li:last-child > *:not(ul) a, .sm-custom > li:last-child > ul > li:last-child > ul, .sm-custom > li:last-child > ul > li:last-child > ul > li:last-child > a, .sm-custom > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a, .sm-custom > li:last-child > ul > li:last-child > ul > li:last-child > ul, .sm-custom > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a, .sm-custom > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a, .sm-custom > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul, .sm-custom > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a, .sm-custom > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a, .sm-custom > 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-custom > li:last-child > a.highlighted, .sm-custom > li:last-child > *:not(ul) a.highlighted, .sm-custom > li:last-child > ul > li:last-child > a.highlighted, .sm-custom > li:last-child > ul > li:last-child > *:not(ul) a.highlighted, .sm-custom > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted, .sm-custom > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a.highlighted, .sm-custom > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted, .sm-custom > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a.highlighted, .sm-custom > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted, .sm-custom > 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;
}
.sm-custom ul {
  background: #fff;
}
.sm-custom ul ul {
  background: rgba(102, 102, 102, 0.1);
}
.sm-custom ul a, .sm-custom ul a:hover, .sm-custom ul a:focus, .sm-custom ul a:active {
  background: transparent;
  color: black;/*var(--text-color)*/;
  font-size: 16px;
  text-shadow: none;
  border-left: 8px solid transparent;
}

/**/
.sm-custom ul a.current {
  background: #006892;
  background-image: linear-gradient(to bottom, #006188, #006f9c);
  color: var(--nav-color);
}
.sm-custom ul a.disabled {
  color: #b3b3b3;
}
.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;
}
.sm-custom ul li {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.sm-custom ul li:first-child {
  border-top: 0;
}

@media (min-width: 900px) { /* Default: 768px */
  #home {display:block;}
  #navMobile {display:none;}
  #mainMenu {display:inline-block;}
  /* 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;
  }

  #mainMenu {display:inline-block;}
  nav {text-align:center;background-color:var(--nav-bg-color);}
  /* ...end */

  .sm-custom {
    background:var(--nav-bg-color);
    background-image: linear-gradient(to bottom, var(--nav-bg-color), var(--nav-bg-color));
    border-radius: 8px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  }
  .sm-custom a, .sm-custom a:hover, .sm-custom a:focus, .sm-custom a:active, .sm-custom a.highlighted {
    padding: 13px 24px;
    background: var(--nav-bg-color);
    background-image: linear-gradient(to bottom, var(--nav-bg-color), var(--nav-bg-color));
    color: var(--nav-color);
  }
  /* New Code: Desktop Color link black */
  .sm-custom ul > li > a {color:black;}
  /**/
  .sm-custom a:hover, .sm-custom a:focus, .sm-custom a:active, .sm-custom a.highlighted {
    background: var(--nav-bg-color);
    background-image: linear-gradient(to bottom, var(--nav-bg-color), var(--nav-bg-color));
  }
  .sm-custom a.current {
    background: var(--nav-bg-color);
    background-image: linear-gradient(to bottom, var(--nav-bg-color), var(--nav-bg-color));
    color: var(--nav-color);
  }
  .sm-custom a.disabled {
    background: #3092c0;
    background-image: linear-gradient(to bottom, #3298c8, #2e8cb8);
    color: #a1d1e8;
  }
  /* arrows */
  .sm-custom a .sub-arrow {
    /* v2 */
    top: 50%;
    margin-top: -2px;
    bottom: auto;
    left: auto;
    right:5%;
    width: 0;
    height: 0;
    border-width: 5px;
    border-style: solid dashed dashed dashed;
    border-color: var(--nav-color) transparent transparent transparent;
    background: transparent;
    border-radius: 0;
    /* v1 *
    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: var(--nav-color) transparent transparent transparent;
    background: transparent;
    border-radius: 0;
    /**/
  }
  .sm-custom a .sub-arrow::before {
    display: none;
  }
  /**/
  .sm-custom > li:first-child > a, .sm-custom > li:first-child > :not(ul) a {
    border-radius: 8px 0 0 8px;
  }
  .sm-custom > li:last-child > a, .sm-custom > li:last-child > :not(ul) a {
    border-radius: 0 8px 8px 0 !important;
  }

  /* Border between li's */
  .sm-custom > li {
    border-left: 1px solid var(--nav-color);
  }
  .sm-custom > li:last-child {
    border-right: 1px solid var(--nav-color);
  }
  /**/
  .sm-custom ul {
    border: 1px solid #a8a8a8;
    padding: 7px 0;
    background: #fff;
    border-radius: 0 0 4px 4px !important;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
  }
  .sm-custom ul ul {
    border-radius: 4px !important;
    background: #fff;
  }
  .sm-custom ul a, .sm-custom ul a:hover, .sm-custom ul a:focus, .sm-custom ul a:active, .sm-custom ul a.highlighted {
    border: 0 !important;
    padding: 9px 23px;
    background: transparent;
    color: var(--text-color);
    border-radius: 0 !important;
  }
  /* Rotate sub-arrows */
  .sm-custom 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 black;
  }
  /**/
  .sm-custom ul a:hover, .sm-custom ul a:focus, .sm-custom ul a:active, .sm-custom ul a.highlighted {
    background: var(--nav-bg-color);
    background-image: linear-gradient(to bottom, var(--nav-bg-color), var(--nav-bg-color));
    color: var(--nav-color);
  }

  /* New Code */
  .sm-custom ul a:hover .sub-arrow {
    border-color: transparent transparent transparent var(--nav-color);
  }
  .sm-custom ul a.highlighted .sub-arrow {
    border-color: transparent transparent transparent var(--nav-color);
  }
  /**/

  .sm-custom ul a.current {
    background: var(--nav-bg-color);
    background-image: linear-gradient(to bottom, var(--nav-bg-color), var(--nav-bg-color));
    color: var(--nav-color);
  }
  .sm-custom ul a.disabled {
    background: #fff;
    color: #b3b3b3;
  }
  .sm-custom ul li {
    border: 0;
  }
  .sm-custom .scroll-up,
  .sm-custom .scroll-down {
    position: absolute;
    display: none;
    visibility: hidden;
    overflow: hidden;
    background: #fff;
    height: 20px;
  }
  /* arrows */
  .sm-custom .scroll-up-arrow,
  .sm-custom .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 var(--text-color) transparent;
  }
  .sm-custom .scroll-down-arrow {
    top: 6px;
    border-style: solid dashed dashed dashed;
    border-color: var(--text-color) transparent transparent transparent;
  }
  /**/
  .sm-custom.sm-rtl.sm-vertical a .sub-arrow {
    right: auto;
    left: 10px;
    border-style: dashed solid dashed dashed;
    border-color: transparent #a1d1e8 transparent transparent;
  }
  .sm-custom.sm-rtl > li:first-child > a, .sm-custom.sm-rtl > li:first-child > :not(ul) a {
    border-radius: 0 8px 8px 0;
  }
  .sm-custom.sm-rtl > li:last-child > a, .sm-custom.sm-rtl > li:last-child > :not(ul) a {
    border-radius: 8px 0 0 8px !important;
  }
  .sm-custom.sm-rtl > li:first-child {
    border-left: 1px solid #2b82ac;
  }
  .sm-custom.sm-rtl > li:last-child {
    border-left: 0;
  }
  .sm-custom.sm-rtl ul a .sub-arrow {
    right: auto;
    left: 10px;
    border-style: dashed solid dashed dashed;
    border-color: transparent #a1d1e8 transparent transparent;
  }
  .sm-custom.sm-vertical {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  }
  .sm-custom.sm-vertical a {
    padding: 9px 23px;
  }
  .sm-custom.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-custom.sm-vertical > li:first-child > a, .sm-custom.sm-vertical > li:first-child > :not(ul) a {
    border-radius: 8px 8px 0 0;
  }
  .sm-custom.sm-vertical > li:last-child > a, .sm-custom.sm-vertical > li:last-child > :not(ul) a {
    border-radius: 0 0 8px 8px !important;
  }
  .sm-custom.sm-vertical > li {
    border-left: 0 !important;
  }
  .sm-custom.sm-vertical ul {
    border-radius: 4px !important;
  }
  .sm-custom.sm-vertical ul a {
    padding: 9px 23px;
  }
}
