/* Begin Additional CSS Styles */
.art-blockheader .t, .art-vmenublockheader .t {white-space: nowrap;}
/* End Additional CSS Styles */
/* Joomla 5 horizontal menu fix for Position 1 */
nav.art-nav .mod-menu ul.art-hmenu {
  display: flex !important;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: flex-start;
  width: auto;
  margin: 0 auto;
  padding: 0 20px;
}

nav.art-nav .mod-menu ul.art-hmenu > li {
  display: block !important;
  float: none !important;
  flex: 0 0 auto;
}

nav.art-nav .mod-menu {
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: center;
}

/* Keep the menu horizontal on normal desktop/tablet widths. */
@media (min-width: 700px) {
  nav.art-nav .mod-menu ul.art-hmenu {
    display: flex !important;
  }
}

/* Final Joomla 5 / Artisteer horizontal menu correction.
   The legacy responsive stylesheet changes .art-hmenu to a vertical menu.
   Position-1 is the main desktop navigation, so explicitly restore its
   horizontal layout while retaining the existing Artisteer appearance. */
.art-nav ul.art-hmenu,
.responsive .art-nav ul.art-hmenu,
.default-responsive .art-nav ul.art-hmenu {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  float: none !important;
  width: auto !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  text-align: center !important;
  align-items: flex-end !important;
  justify-content: center !important;
}

.art-nav ul.art-hmenu > li,
.responsive .art-nav ul.art-hmenu > li,
.default-responsive .art-nav ul.art-hmenu > li {
  display: block !important;
  float: none !important;
  flex: 0 0 auto !important;
  width: auto !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.art-nav ul.art-hmenu > li > a,
.responsive .art-nav ul.art-hmenu > li > a,
.default-responsive .art-nav ul.art-hmenu > li > a {
  display: block !important;
  width: auto !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}

/* Keep the navigation itself at the bottom of the header/navigation area. */
.art-nav {
  width: 100%;
}

.art-nav-inner {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  width: 100% !important;
  box-sizing: border-box;
}

.art-nav-inner > .art-hmenu-extra1,
.art-nav-inner > .art-hmenu-extra2 {
  flex: 0 0 auto;
}


/* v11: Position-1 must use the horizontal Artisteer menu renderer. */
.art-nav ul.art-hmenu,
.art-nav ul.art-hmenu > li {
  list-style: none !important;
}
.art-nav ul.art-hmenu > li {
  display: inline-block !important;
  float: none !important;
  vertical-align: bottom !important;
}
.art-nav ul.art-hmenu {
  display: block !important;
  white-space: nowrap !important;
  text-align: center !important;
}
.art-nav ul.art-hmenu > li > a {
  display: inline-block !important;
  white-space: nowrap !important;
}
