/* A single centred canvas for the public site and both application areas. */
:root { --vr-box-width: 1440px; }
html { background: #fff; }
body {
  width: 100%;
  max-width: var(--vr-box-width);
  min-height: 100vh;
  margin-left: auto;
  margin-right: auto;
}
body.vadmin-body { margin-left: auto; margin-right: auto; }
.header_area,
.tabler-user-app .header_area,
.vbottom-nav {
  width: 100%;
  max-width: var(--vr-box-width);
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
}
.vadmin { width: 100%; }
.vadmin-body .content,
.vadmin-body section.content-header { width: 100%; max-width: none; }

/* The footer background spans the viewport; its content stays easy to read. */
#footer {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  border: 0 !important;
  border-top: 1px solid var(--vr-border) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
#footer > .container-fluid-90 {
  width: 100% !important;
  max-width: 1380px;
  margin-right: auto;
  margin-left: auto;
}

/* Navigation hover never changes text weight or adds a shadow. */
.header_area .vtabler-top-nav-link,
.header_area .vtabler-top-nav-link.active,
.header_area .show > .vtabler-top-nav-link { font-weight: 500; }
.header_area .vtabler-top-nav-link:hover,
.header_area .vtabler-top-nav-menu .dropdown-item:hover,
.header_area .vtabler-account-dropdown .vuser-item:not(.vuser-item--cta):hover,
.vtabler-mobile-drawer .vmob-item:hover,
.tabler-user-app .vmob-item:hover {
  background: transparent;
  font-weight: 500;
  text-decoration: none;
}
.header_area .vtabler-top-nav-link:hover > span,
.header_area .vtabler-top-nav-menu .dropdown-item:hover > span,
.header_area .vtabler-account-dropdown .vuser-item:not(.vuser-item--cta):hover > span:not(.vuser-badge),
.vtabler-mobile-drawer .vmob-item:hover > span:not(.vmob-badge),
.tabler-user-app .vmob-item:hover > span:not(.vmob-badge) { text-decoration: underline; text-underline-offset: 4px; }
.header_area .vtabler-top-nav-menu,
.header_area .vtabler-account-dropdown,
.tabler-user-app .vtabler-user-menu,
.vtabler-mobile-drawer .modal-content.vtabler-mobile-drawer-content,
.tabler-user-app .vmob-modal .modal-content.vmob-content { box-shadow: none; }

/* Account sub-navigation follows the same flat treatment as the top menu. */
.tabler-user-app .vpill-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 16px 0 22px;
  padding: 0;
  border: 0;
}
.tabler-user-app .vpill-nav a,
.tabler-user-app .vpill-nav .nav-link,
.tabler-user-app .vprofile-nav a,
.tabler-user-app .vprofile-nav .nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--vr-text) !important;
  font-family: 'Red Hat Text', sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  box-shadow: none;
  text-decoration: none;
}
.tabler-user-app .vpill-nav a.vpill-active,
.tabler-user-app .vpill-nav .nav-link.active,
.tabler-user-app .vprofile-nav a.vpill-active,
.tabler-user-app .vprofile-nav .nav-link.active {
  border: 0;
  background: var(--vr-primary-softer);
  color: var(--vr-primary) !important;
  font-weight: 500;
}
.tabler-user-app .vpill-nav a:hover,
.tabler-user-app .vpill-nav .nav-link:hover,
.tabler-user-app .vprofile-nav a:hover,
.tabler-user-app .vprofile-nav .nav-link:hover {
  background: transparent;
  color: var(--vr-primary) !important;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.tabler-user-app .vpill-nav a:focus-visible,
.tabler-user-app .vpill-nav .nav-link:focus-visible {
  outline: 2px solid var(--vr-primary);
  outline-offset: -2px;
}
@media (max-width: 767.98px) {
  .tabler-user-app .vpill-nav { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
  .tabler-user-app .vpill-nav li { flex: 0 0 auto; }
  .tabler-user-app .vpill-nav a { white-space: nowrap; }
}
