/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

.light-style .menu .app-brand.demo {
  height: 64px;
}

.dark-style .menu .app-brand.demo {
  height: 64px;
}

.app-brand-logo.demo {
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  display: -ms-flexbox;
  display: flex;
  width: 30px;
  height: 30px;
}

.app-brand-logo.demo svg {
  width: 1.7rem;
  height: 1.7rem;
}

.app-brand-text.demo {
  font-size: 1.75rem;
  letter-spacing: -0.45px;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/* Shared ClientZone navigation controls */
#layout-menu button.menu-link,
.layout-navbar button.nav-link {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: inherit;
}

#layout-menu button.menu-toggle {
  width: 100%;
}

#layout-menu .menu-inner {
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

#layout-menu .layout-menu-close {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 2.5rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 0.375rem;
}

.layout-overlay {
  border: 0;
  padding: 0;
}

.layout-overlay[hidden] {
  display: none !important;
}

.layout-overlay[aria-hidden='true'] {
  pointer-events: none;
}

@media (max-width: 1199.98px) {
  body.clientzone-menu-open {
    overflow: hidden;
  }
}

#layout-menu button.menu-link:focus-visible,
.layout-navbar button.nav-link:focus-visible,
.layout-overlay:focus-visible {
  outline: 3px solid #5a8dee;
  outline-offset: 2px;
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
  display: block !important;
}

.demo-inline-spacing > * {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-lg.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-xl.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.rtl-only {
  display: none !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir='rtl'] .rtl-only {
  display: block !important;
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem;
}
.layout-demo-placeholder img {
  width: 900px;
}
.layout-demo-info {
  text-align: center;
  margin-top: 1rem;
}

/* MWCL-14 usability and accessibility baseline. */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid #005fcc !important;
  outline-offset: 2px;
}

.menu-link,
.btn,
.nav-link,
.form-control,
.form-select {
  min-height: 44px;
}

.table-responsive {
  overscroll-behavior-inline: contain;
}

.readiness-card-count {
  font-variant-numeric: tabular-nums;
}

@media (max-width: 575.98px) {
  .container-xxl.container-p-y {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .card-body {
    padding: 1rem;
  }

  .btn:not(.btn-icon) {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
