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

.menu .app-brand.demo {
  height: 64px;
  margin-top: 12px;
}

.app-brand-logo.demo svg {
  width: 22px;
  height: 38px;
}

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

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
/* Detached navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 76px !important;
}
/* Default navbar */
.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;
}

/*
* 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;
}

/* create badge notification */
.badge-notification {
  position: absolute;
  left: 60%;
  top: -10%;
  display: inline-block;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
  background-color: #dc3545;
}

.badge-notification.badge-pill {
  padding-right: 0.6em;
  padding-left: 0.6em;
  border-radius: 10rem;
}

.badge-notification.badge-pill::before {
  border-radius: 10rem;
}

.badge-notification.badge-pill::after {
  border-radius: 10rem;
}

.badge-notification.badge-pill + .badge-notification.badge-pill {
  margin-left: 0.25em;
}

.badge-notification.badge-pill + .badge-notification.badge-pill::before {
  margin-left: 0.25em;
}

/* create dropdown notification list */
.dropdown-notification {
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 1000;
  display: none;
  min-width: 20rem;
  padding: 0.5rem 0;
  margin: 0.125rem 0 0;
  font-size: 0.875rem;
  color: #495057;
  text-align: left;
  list-style: none;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.25rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175);
}

.dropdown-notification.dropdown-menu-right {
  right: 0;
  left: auto;
}

.dropdown-notification.dropdown-menu-left {
  right: auto;
  left: 0;
}

.dropdown-notification.show {
  display: block;
}

.dropdown-notification .dropdown-item-text {
  display: block;
  width: 100%;
  padding: 0.5rem 1rem;
  clear: both;
  font-weight: 400;
  color: #212529;
  text-align: inherit;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
}

.dropdown-notification .dropdown-item-text:focus, .dropdown-notification .dropdown-item-text:hover {
  color: #16181b;
  text-decoration: none;
  background-color: #f8f9fa;
}

.dropdown-notification .dropdown-item-text.active {
  color: #fff;
  text-decoration: none;
  background-color: #007bff;
}

.dropdown-notification .dropdown-item-text.disabled {
  color: #6c757d;
  pointer-events: none;
  background-color: transparent;
}

.dropdown-notification .dropdown-divider {
  height: 0;
  margin: 0.5rem 0;
  overflow: hidden;
  border-top: 1px solid #e9ecef;
}

.dropdown-notification .dropdown-header {
  display: block;
  padding: 0.5rem 1rem;
  margin-bottom: 0;
  font-size: 0.875rem;
  color: #6c757d;
  white-space: nowrap;
}

.dropdown-notification .dropdown-header:not(:first-of-type) {
  margin-top: 0.5rem;
}

.dropdown-notification .dropdown-header:first-of-type {
  margin-top: 0;
}

.dropdown-notification .dropdown-header:last-of-type {
  margin-bottom: 0;
}

.dropdown-notification .dropdown-header + .dropdown-divider {
  margin-top: 0;
}

.dropdown-notification .dropdown-body h6.message {
  font-size: 95%;
}

.dropdown-notification .dropdown-footer {
  display: block;
  padding: 0.5rem 1rem;
  margin-bottom: 0;
  font-size: 0.875rem;
  color: #6c757d;
  white-space: nowrap;
}

.dropdown-notification .dropdown-footer:not(:first-of-type) {
  margin-top: 0.5rem;
}

.dropdown-notification .dropdown-footer:first-of-type {
  margin-top: 0;
}

.dropdown-notification .dropdown-footer:last-of-type {
  margin-bottom: 0;
}

.dropdown-notification .dropdown-footer + .dropdown-divider {
  margin-top: 0;
}

/* create notification alert in right top */
.notification-alert {
  position: absolute;
  right: 2%;
  top: 5%;
  z-index: 9999;
  display: none;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: #fff;
  text-align: left;
  background-color: #000000e8;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.25rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175);
}

.notification-alert.show {
  display: block;
}

.notification-alert .notification-alert-text {
  display: block;
  width: 100%;
  padding: 0.5rem 1rem;
  clear: both;
  font-weight: 400;
  color: #212529;
  text-align: inherit;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
}

.notification-alert .notification-alert-text:focus, .notification-alert .notification-alert-text:hover {
  color: #16181b;
  text-decoration: none;
  background-color: #f8f9fa;
}

.notification-alert .notification-alert-text.active {
  color: #fff;
  text-decoration: none;
  background-color: #007bff;
}

.notification-alert .notification-alert-text.disabled {
  color: #6c757d;
  pointer-events: none;
  background-color: transparent;
}

.notification-alert .notification-alert-divider {
  height: 0;
  margin: 0.5rem 0;
  overflow: hidden;
  border-top: 1px solid #e9ecef;
}

.notification-alert .notification-alert-header {
  display: block;
  padding: 0.5rem 1rem;
  margin-bottom: 0;
  font-size: 0.875rem;
  color: #6c757d;
  white-space: nowrap;
}

.notification-alert .notification-alert-header:not(:first-of-type) {
  margin-top: 0.5rem;
}

.notification-alert .notification-alert-header:first-of-type {
  margin-top: 0;
}

.notification-alert .notification-alert-header:last-of-type {
  margin-bottom: 0;
}

.notification-alert .notification-alert-header + .notification-alert-divider {
  margin-top: 0;
}

.notification-alert .notification-alert-body h6.message {
  font-size: 95%;
}

.notification-alert .notification-alert-footer {
  display: block;
  padding: 0.5rem 1rem;
  margin-bottom: 0;
  font-size: 0.875rem;
  color: #6c757d;
  white-space: nowrap;
}

.notification-alert .notification-alert-footer:not(:first-of-type) {
  margin-top: 0.5rem;
}

.notification-alert .notification-alert-footer:first-of-type {
  margin-top: 0;
}

.notification-alert .notification-alert-footer:last-of-type {
  margin-bottom: 0;
}

.notification-alert .notification-alert-footer + .notification-alert-divider {
  margin-top: 0;
}
