
/* Main colors of system  */
.primary-blue {
    /* color: #0D6EFD; */
    color: var(--primary-color);
}

/* Loader styles */
.loader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none; /* Hidden by default */
    z-index: 9999;
}

.loader-gif {
    width: 15em;
    height: 15em;
}

.ajaxLoader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none; /* Hidden by default */
    z-index: 9999;
}

.ajaxLoader-gif {
    width: 15em;
    height: 15em;
}

.nav-item {
    margin-bottom: 1.5em;  /* Adjust the value to your preference */
    margin-top: 1.5em;  /* Adjust the value to your preference */
}

/* Remove bullet points */
.sidebar ul {
    list-style-type: none; /* Removes default bullets */
    padding-left: 0; /* Removes default padding */
}

/* Change color on hover */
.sidebar .nav-item .nav-link:hover {
    color: var(--secondary-color); /* Change to your preferred color */
    background-color: var(--neutral-color); /* Optional: add a background color on hover */
}

/* Optionally, add some padding between the items */
.sidebar .nav-item {
    margin-bottom: 10px; /* Adjust space between each item */
}

.dl, ol, ul {
    margin-top: 0.4em;
    margin-bottom: 1rem;
}

/* Style for the toggle button */
#toggleSidebarBtn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    font-size: 24px;
    width: 29px;
    height: 29px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 50%;
}

#toggleSidebarBtn:hover {
    background-color: var(--primary-color);
}

/* Sidebar hidden effect */
.sidebar.collapsed {
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}

/* When hovering, display the title */
.sidebar a {
    position: relative;
}

.sidebar a:hover::after {
    content: attr(data-title);
    position: absolute;
    left: 100%;
    top: 0;
    padding-left: 10px;
    white-space: nowrap;
}

/* Styling for the collapse submenu */
.sidebar ul.collapse {
    display: none;
    z-index: 999; /* Ensure submenus appear on top of other content */
    transition: opacity 0.3s ease;
}

.sidebar ul.show {
    display: block;
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Ensuring the submenu is correctly positioned when shown */
.sidebar ul.collapse.show {
    position: relative;
    z-index: 1000; /* Bring the submenu in front */
}

@media (min-width: 576px) { /* Small devices (landscape phones, 576px and up) */
    .custom-margin { margin-left: 0rem; }
}

@media (min-width: 768px) { /* Medium devices (tablets, 768px and up) */
    .custom-margin { margin-left: 0rem; }
}

@media (min-width: 992px) { /* Large devices (desktops, 992px and up) */
    .custom-margin { margin-left: 1rem; }
}

body {
    /* background-color: #F6F9FF; */
    background-color: var(--neutral-color);
}

  

input:-webkit-autofill {
    background-color: white !important;
    background-image: none !important;
    color: inherit !important;
    box-shadow: 0 0 0px 1000px white inset !important;
}

.pagetitle h1 {
    font-size: 24px;
    margin-bottom: 0;
    font-weight: 600;
    color: var(--secondary-color);
}

.breadcrumb {
    font-size: 14px;
    color: #899bbd;
    font-weight: 600;
}

.breadcrumb a {
    color: var(--primary-color);
    transition: 0.3s;
}

.breadcrumb .active {
    color: var(--secondary-color);
    /* font-weight: 600; */
}

.breadcrumb-item.active {
    color: var(--bs-breadcrumb-item-active-color);
}

.breadcrumb-item+.breadcrumb-item {
    padding-left: var(--bs-breadcrumb-item-padding-x);
}

.breadcrumb-item+.breadcrumb-item::before {
    content: var(--bs-breadcrumb-divider, ">");
}

.breadcrumb-item a {
    text-decoration: none;
}

aside.sidebar {
    width: 250px;
    flex: 0 0 250px;
    padding-inline: 15px;
}
aside.sidebar.sidebar-collapse {
    width: 72px;
    flex: 0 0 72px;
}
.main-content {
    width: calc(100% - 250px);
    padding-inline: 15px;
}
.main-content.main-expanded {
    width: calc(100% - 72px);
}


/* Customizing Toaster */
.toast {
    font-size: 16px!important;
    border-radius: 4px!important;
    opacity: 1!important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2)!important;

    /* Center alignment styles */
    position: fixed!important;
    top: 107px!important;
    left: 50%!important;
    transform: translate(-50%, -50%)!important; /* Aligns to the center */
    z-index: 9999!important; /* Ensure it appears on top */
    width: 600px!important; /* Increased width */
    max-width: 90%!important; /* Ensure it adjusts on smaller screens */
}

/* Customizing Toaster Ends */

/* dbl click input element styling */
.dblclick_span_to_input, .dblclick_span_to_dropdown {
    font-weight: 500 !important; /* Initially set font weight to normal */
    cursor: pointer; /* Change the cursor to indicate it's clickable */
    font-weight: bold;
}



    
.main-content:not(.expand-content) {
    flex: 0 0 calc(100% - 60px);
    max-width: calc(100% - 60px);;
}

.main-content.expand-content {
   flex: 0 0 calc(100% - 250px);
    max-width: calc(100% - 250px);
}
  
.text-wrap {
    display: -webkit-box;
    /* -webkit-line-clamp: var(--line-clamp, 3); Default to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.show-more {
    color: blue;
    cursor: pointer;
    margin-left: 5px;
    font-size: 12px;
    text-decoration: underline;
}


#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999; 
    cursor: not-allowed;
}