
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}


/* Navbar Styles */
.navbarstyle {
  width: 100%;
}


.navbar-custom {
  width: 100%;
  height: 70px;
  background-color: #076086;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-bottom: 2px solid #0056b3;
  z-index: 1000; /* Adjusted z-index for navbar */
  transition: all 0.3s ease;
}

.navbar-brand {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  color: #3dd129;
  text-decoration: none;
  transition: color 0.3s ease;
}

.navbar-brand:hover {
  color: #42b300;
}

/* Active Links */
.nav-link.active,
.subpage-link.active {
  background-color: #e9ecef;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-link.active {
  color: #ff4500; /* Active text color */
  background-color: #f0f0f0; 
  font-weight: bold;
  border-radius: 4px;
}

.nav-link.active:hover {
  background-color: #e9ecef;
  color: #ff5733;
}

/* Sidebar Styles */
#hub-sidebar {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 22%;
  position: fixed;
  top: 75px;
  left: 0;
  bottom: 0;
  overflow-y: auto;
  padding: 20px 0;
  transition: all 0.3s ease;
  z-index: 999; /* Adjusted z-index for sidebar */
}

#hub-sidebar.hide-sidebar {
  transform: translateX(-100%);
}

#hub-sidebar .nav-item {
  position: relative;
}

.dropdown-toggle {
  border-radius: 10px; 
  padding: 5px 15px;
 
}
.dropdown-menu {
  min-width: 150px; 
  border-radius: 10px; 
}

/* Main, Submenu, and Subsubmenu Links */
.nav-link,
.subpage-link,
.subsubpage-link {
  color: #076086; 
  display: flex;
  align-items: center;
  border-radius: 4px;
  padding: 10px 20px; 
  border-bottom: 1px solid #eaeaea;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hover Effects */
.nav-link:hover,
.subpage-link:hover,
.subsubpage-link:hover {
  color: #ff4500;
  background-color: #e9ecef;
  text-decoration: none;
}

/* Icon Positioning */
.nav-link .arrow-icon,
.subpage-link .arrow-icon,
.subsubpage-link .arrow-icon {
  margin-left: 15px;
  transition: transform 0.3s ease;
}

/* Sidebar Headings */
.sidebar-heading {
  font-size: 1.25rem;
  color: #076086;
  padding: 1rem;
  border-bottom: 1px solid #eaeaea;
}

/* Subpages */
.subpages,
.subsubpages {
  padding-left: 2.5rem;
  display: none;
}

.subpages.show,
.subsubpages.show {
  display: block;
}

/* Icon Rotation on Collapse/Expand */
.arrow-icon {
  transition: transform 0.3s ease;
}

.nav-link.collapsed .arrow-icon {
  transform: rotate(0deg);
}

.nav-link.expanded .arrow-icon {
  transform: rotate(180deg);
}

/* Full Page Layout */
.row {
  width: 100vw;
  height: 100vh;
}

/* Content Area */
#content {
  margin-left: 22%;
  width: 78%;
  margin-top: 70px;
  padding: 20px;
  height: 100vh;
  transition: margin-left 0.3s ease;
 
  
}





/* Responsive Sidebar */
@media (max-width: 768px) {
  #hub-sidebar {
    width: 250px;
    transform: translateX(-100%);
  }

  #hub-sidebar.show-sidebar {
    transform: translateX(0);
  }

  #content {
    margin-left: 0;
    min-width: 100%
  }

  .navbar-custom {
    height: auto;
    padding: 10px;
  }

  .navbar-brand {
    font-size: 1.25rem;
  }
}

/* Toggle Button for Sidebar */
.navbar-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: #076086;
}

@media (max-width: 768px) {
  .navbar-toggle {
    display: block;
  }
}

/* Scrollbar Customization */
#hub-sidebar::-webkit-scrollbar {
  width: 8px;
}

#hub-sidebar::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 10px;
}

#hub-sidebar::-webkit-scrollbar-track {
  background-color: #f1f1f1;
}

/* Font Sizes for Menu Links */
#hub-sidebar .nav > .nav-item > .nav-link {
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
}

#hub-sidebar .nav .nav .nav-item > .nav-link {
  font-size: 0.8rem;
  margin-left: 10px;
}

#hub-sidebar .nav .nav .nav .nav-item > .nav-link {
  font-size: 0.75rem;
  margin-left: 25px;
}




.modal {
  z-index: 1050; /* Set a higher z-index for the modal */

}

.modal-backdrop {
  z-index: 1040; /* Ensure the backdrop is below the modal */

}

#pdfViewer{

  z-index: 1060;
}








