/*
* 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: 34px;
  height: 24px;
}

.app-brand-logo.demo svg {
  width: 35px;
  height: 24px;
}

.app-brand-text.demo {
  font-size: 1.375rem;
}

.app-brand-text img{
  width: 150px !important;
  margin-top: -3px;
}
/* ! 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;
}
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 78px !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;
}

/* Dropdown buttons going out of small screens */
@media (max-width: 576px) {
  #dropdown-variation-demo .btn-group .text-truncate {
    width: 254px;
    position: relative;
  }
  #dropdown-variation-demo .btn-group .text-truncate::after {
    position: absolute;
    top: 45%;
    right: 0.65rem;
  }
}

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

.main-menu-pipeline::after {
  content: '|';
  position: absolute;
  color: #5d596c;
  right: 31px;
}

.dark-style .main-menu-pipeline::after {
  color: #cfd3ec;
}

#loader-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.4);
  z-index: 99999;
  justify-content: center;
  align-items: center;
}

#narative_refresh_loader {
  display: none;
  position: absolute;
  width: calc(100% - 80px);
  height: calc(100% - 65px);
  background-color: rgba(255, 255, 255, 0.4);
  z-index: 99999;
  justify-content: center;
  align-items: center;
}

.dark-style #narative_refresh_loader {
  display: none;
  position: absolute;
  width: calc(100% - 80px);
  height: calc(100% - 65px);
  background-color: #1d223d94;
  z-index: 99999;
  justify-content: center;
  align-items: center;
}

#keyMetricsOverlay, #keyTrendPerformanceOverlay, #keyBetDistributionOverlay, #keyTopPerformanceOverlay {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.4);
  z-index: 99999;
  justify-content: center;
  align-items: center;
}

.spinner-border {
  z-index: 99999;
  position: relative;
  top: 50%;
  left: 50%;
}

body {
  overflow-x: hidden;
}

/*notify*/
.aiz-notify {
  min-width: 350px;
  max-width: 350px;
  padding-right: 50px;
  border-radius: 0.25rem;
  overflow: hidden;
  border: 0;
  color: var(--bs-white);
  box-shadow: 0 5px 20px 0 rgba(38, 45, 58, 0.2);
  -webkit-box-shadow: 0 5px 20px 0 rgba(38, 45, 58, 0.2);
  padding: 1.25rem 1.25rem;
  font-size: 0.875rem;
  z-index: 999999999 !important;
}
[dir="rtl"] .aiz-notify {
  text-align: right !important;
}
.aiz-notify .close {
  top: 50% !important;
  height: 20px;
  width: 20px;
  margin-top: -10px;
  font-size: 20px;
  line-height: 20px;
  color: var(--bs-white);
  opacity: 0.7;
  right: 15px !important;
  text-shadow: none;
}
[dir="rtl"] .aiz-notify .close {
  right: auto !important;
  left: 15px !important;
}
.aiz-notify .close:before {
  content: "";
  position: absolute;
  border-radius: 50%;
  background-color: #fff;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  z-index: -1;
  opacity: 0;
}
.aiz-notify .close:hover {
  color: var(--dark);
  opacity: 1;
}
.aiz-notify .close:hover:before {
  opacity: 1;
  background-color: #fff;
  width: 170%;
  height: 170%;
  top: -35%;
  left: -35%;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.aiz-notify .progress {
  height: 3px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  border-radius: 0;
  background-color: transparent;
}
.aiz-notify .progress-bar {
  background-color: var(--bs-white);
}
.aiz-notify.alert-success {
  background-color: var(--bs-success);
}
.aiz-notify.alert-danger {
  background-color: var(--bs-danger);
}
.aiz-notify.alert-primary {
  background-color: var(--bs-primary);
}
.aiz-notify.alert-warning {
  background-color: var(--bs-warning);
}
.aiz-notify.alert-secondary-base {
  background-color: var(--bs-secondary-base);
}
.aiz-notify.alert-info {
  background-color: var(--bs-info);
}
.aiz-notify.alert-dark {
  background-color: var(--bs-dark);
}
.aiz-notify.alert-secondary {
  background-color: var(--bs-secondary);
}
.aiz-notify.alert-light,
.aiz-notify.alert-light .close {
  background-color: var(--bs-light);
  color: var(--bs-dark);
}
.aiz-notify.alert-light .progress-bar {
  background-color: var(--bs-primary);
}


.progress {
  display: -ms-flexbox;
  display: flex;
  height: 1rem;
  overflow: hidden;
  line-height: 0;
  font-size: .75rem;
  background-color: #e9ecef;
  border-radius: .25rem
}

.aiz-notify .progress-bar {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  background-color: #fff;
  transition: width .6s ease
}

@media (prefers-reduced-motion:reduce) {
  .aiz-notify .progress-bar {
      transition: none
  }
}

.aiz-notify .progress-bar-striped {
  background-image: linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);
  background-size: 1rem 1rem
}

.aiz-notify .progress-bar-animated {
  -webkit-animation: progress-bar-stripes 1s linear infinite;
  animation: progress-bar-stripes 1s linear infinite
}

@media (prefers-reduced-motion:reduce) {
  .aiz-notify .progress-bar-animated {
      -webkit-animation: none;
      animation: none
  }
}

@media (max-width: 575px) {
  .aiz-notify {
      width: calc(100% - 40px);
      min-width: auto;
  }
  .h-sm-auto {
      height: auto;
  }
}