/*
* 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 svg {
  width: 38px;
  height: 20px;
}

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

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

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

.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: 300px;
    position: relative;
  }
  #dropdown-variation-demo .btn-group .text-truncate::after {
    position: absolute;
    top: 45%;
    right: 0.65rem;
  }
}
/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1.25rem;
}
.layout-demo-placeholder img {
  width: 900px;
}
.layout-demo-info {
  text-align: center;
  margin-top: 1.25rem;
}
.ta-c {
    text-align: center;
}
span.app-brand-logo.demo img {
    height: 56px;
}
/* scrollbar */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.3);
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}

    ::-webkit-scrollbar-thumb:window-inactive {
        background: rgba(255, 255, 255, 0.3);
    }


ul.menu-inner.py-1.ps.ps--active-y:hover {
    overflow-y: auto !important;
}
.card-full-height {
    height: calc(100vh - 64px - 1.5rem - 1.5rem)!important;
    overflow-y:auto;
}
    .card-full-height .card-body > div:first-child {
        min-height: calc(100% - 40px) !important;
        border-bottom: 1px solid #e3e3e3 !important;
    }

.col-right {
    float: right;
}
input#color {
    height: 48px;
}
.card.card-nothing .card-body {
    padding: 0;
    border-radius: var(--bs-card-border-radius) !important;
    overflow: hidden;
}
.menu-vertical .menu-item .menu-link > div {
    white-space: pre-wrap !important;
    text-overflow: unset !important;
    font-size: .8375rem;
    line-height: 1.0rem !important;
}

li.dropdown-notifications-list.scrollable-container:hover {
    overflow-y: auto;
}
img.icon-image-login {
    width: 20px;
}

a.btn.btn-icon.rounded-circle {
    overflow: hidden;
    border-radius: 50%;
}
a.menu-link {
    padding-right: 0 !important;
}

h5.card-title a {
    font-size: 16px;
}
.chat-bot {
    position: fixed !important;
    width: 600px;
    right: -600px;
    bottom: 0;
    background: #f7f6fa;
    max-height: 80%;
    padding: 0;
    max-width: 100%;
    transition: right 0.3s ease-in-out;
}
    .chat-bot.active{
        right: 21px;
    }
    .chat-history-header.border-bottom {
        background: white;
    }
 

.chat-history-footer {
    background: white;
}

li.chat-message.chat-message-right {
    text-align: right;
    margin-bottom: 17px;
}