/*
* demo.css
* Demo-specific CSS for login page and general layout
******************************************************************************/

/* ---------------------- Branding ---------------------- */

.menu .app-brand.demo {
  height: 64px;
}

.app-brand-logo.demo svg,
.app-brand-logo.demo img {
  width: 50px;
  height: 55px;
}

.app-brand-text.demo {
  font-size: 0.75rem;
  letter-spacing: 0;
}

.authentication-wrapper .app-brand-text.demo {
  text-transform: capitalize;
}

/* ---------------------- Navbar Fixes ---------------------- */

.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}

.content-wrapper .navbar {
  z-index: auto;
}

/* ---------------------- Content Spacing ---------------------- */

.demo-blocks > * {
  display: block !important;
}

.demo-inline-spacing > * {
  margin: 1rem 0.375rem 0 0 !important;
}

.demo-vertical-spacing > * {
  margin-top: 1.25rem !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;
}

/* ---------------------- Responsive Dropdown Fix ---------------------- */

@media (max-width: 576px) {
  #dropdown-variation-demo .btn-group .text-truncate {
    width: 300px;
    position: relative;
  }
  #dropdown-variation-demo .btn-group .text-truncate::after {
    position: absolute;
    top: 45%;
    right: 0.65rem;
  }
}

/* ---------------------- Layout Demo ---------------------- */

.layout-demo-wrapper {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin-top: 1.25rem;
}

.layout-demo-placeholder img {
  width: 900px;
}

.layout-demo-info {
  text-align: center;
  margin-top: 1.25rem;
}
