body {
  overflow-y: hidden;
}

.color-4b4be9 {
  color: #4b4be9;
}
.color-f25f00 {
  color: #f25f00;
}
/* Navbar Css  */
.dropdown:hover .dropdown-menu {
  display: block;
}
.navbar-nav .nav-item .nav-link {
  font-size: 16px;
  font-weight: 500;
  padding: 10px 17px;
}
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .show > .nav-link {
  color: #ef8730 !important;
}
.offcanvas-start {
  width: 250px; /* Adjust the width as needed */
}
.main-navbar {
  background: #fff;
}
.offcanvas-body {
  background: #40599b;
}
.btn-nav-close {
  position: absolute;
  right: 10px;
  opacity: 1;
}
/* CSS for dropdown transitions */
.dropdown-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.dropdown-menu.show {
  max-height: 300px; /* Adjust based on the content */
  transition: max-height 0.5s ease-in;
}

/* CSS for desktop hover dropdowns */
@media (min-width: 992px) {
  .navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
    max-height: 300px; /* Adjust based on content */
    transition: max-height 0.3s ease-out;
  }
}
/* banner css  */
.banner-image {
  width: 100%;
  height: 232px;
}
@media (max-width: 768px) {
  .banner-image {
    height: 100px;
  }
}

/* *******
**********
**********
 sidebar css  
 *********
 *********
 */
.sidebar {
  position: fixed;
  top: 70px;
  left: 0px;
  height: 95%;
  /* width: 70px; */
  background-color: #293061;
  border-right: 1px solid #dee2e6;
  overflow-x: hidden;
  overflow-y: auto;
  transition: width 0.3s ease;
  z-index: 1000;
  scrollbar-width: thin;
}

/* Expanded Sidebar */
.sidebar.expanded {
  width: 200px;
}

/* Show sidebar-text on hover or expand */
.sidebar.expanded .sidebar-text,
.sidebar:hover .sidebar-text {
  display: inline-block;
  width: 142px;
}

/* Sidebar Menu */
.sidebar-menu {
  list-style: none;
  padding-left: 0;
  margin-bottom: 50px;
}

.sidebar-item {
  position: relative;
}

/* Sidebar Link */
.sidebar-link {
  display: flex;
  align-items: center;
  color: #fff;
  padding: 10px;
  text-decoration: none;
  white-space: nowrap;
}

.sidebar-link:hover {
  background-color: #d6d6d6;
  color: #fff;
}

.sidebar-link i.fa {
  min-width: 20px;
  min-height: 20px;
  text-align: center;
}

/* Text hidden by default */
.sidebar-text {
  display: none;
  margin-left: 10px;
}

/* Submenu (hidden by default) */
.sidebar-submenu {
  display: none;
  background-color: #ffffff;
  list-style: none;
  padding-left: 40px;
}

.sidebar-submenu a {
  color: #0083bb;
  display: block;
  padding: 5px;
  text-decoration: none;
}

.sidebar-submenu a:hover {
  background-color: #e6f5fb;
}

/* Dropdown Icon */
.dropdown-icon {
  font-size: 12px;
  margin-left: auto;
  transition: transform 0.3s ease;
}

/* Active Dropdown */
.sidebar-dropdown.open .sidebar-submenu {
  display: block;
}

.sidebar-dropdown.open .dropdown-icon {
  transform: rotate(180deg);
}

/* Sidebar Toggle Button */
.sidebar-toggle {
  /* position: fixed;
  top: 15px;
  left: 75px; */
  background: #0083bb;
  border: none;
  color: #fff;
  font-size: 20px;
  z-index: 1100;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

/* Rotate toggle icon when sidebar expanded */
.sidebar-toggle.rotated i {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

#inner-body {
  height: calc(100vh - 60px);
  overflow-y: scroll;
  background: #f1f1f1;
  scrollbar-width: thin; /* For Firefox */
  scrollbar-color: #888 #f1f1f1; /* For Firefox */
}

/* For WebKit browsers (Chrome, Safari) */
#inner-body::-webkit-scrollbar {
  width: 8px; /* Width of the scrollbar */
}

#inner-body::-webkit-scrollbar-track {
  background: #f1f1f1; /* Background of the track */
}

#inner-body::-webkit-scrollbar-thumb {
  background-color: #888; /* Color of the thumb */
  border-radius: 10px; /* Roundness of the thumb */
  border: 2px solid #f1f1f1; /* Space around the thumb */
}

#inner-body::-webkit-scrollbar-thumb:hover {
  background-color: #555; /* Hover color of the thumb */
}
.body-content {
  /* box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px; */
  margin: 5px;
  border-radius: 7px;
}
#organization-card ul {
  list-style: none;
  padding: 0;
}
.organization-preview {
  background: #f1f1f1;
  padding: 10px;
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
}
.organization-preview h5 {
  color: #f25f00;
}
.organization-preview-btn {
  padding: 3px 8px;
  background: #acacf4;
  border-radius: 3px;
  margin-right: 3px;
  margin-bottom: 0;
  color: #fff;
}
.organization-preview-btn:hover {
  background: #f25f00;
}
.title-org {
  position: relative;
}
.title-org span {
  position: absolute;
  right: 0;
  bottom: 0;
}
.title-org span a {
  text-decoration: none;
  font-size: 14px;
}
.title-org span a:hover {
  text-decoration: underline;
}
.h-underline {
  position: relative;
  color: #4b4be9;
}
.h-underline::after {
  position: absolute;
  content: "";
  top: 35px;
  left: 0;
  width: 32%;
  height: 3px;
  background-color: #a2a2ff;
}
#blog-card ul {
  list-style: none;
  padding: 0;
}
.blog-preview {
  text-decoration: none;
  padding: 10px;
  color: #999999;
  background: #f1f1f1;
  border-radius: 4px;
}
/* Footer CSS  */

.copyright {
  display: flex;
  justify-content: space-between;
}
#footer {
  margin: 5px;
  margin-bottom: 2px;
  border-radius: 5px 5px 0px 0px;
  padding: 5px;
  background: #40599b;
  color: #fff;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
.footer {
  margin: 4px;
  margin-bottom: 0px;
  border-radius: 5px 5px 0px 0px;
  padding: 7px 4px 2px;
  background: #40599b;
  color: #fff;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.footer-icon-mob {
  font-size: 20px;
}

.footer-text-mob {
  font-size: 10px;
  text-decoration: none;
}
@media (max-width: 768px) {
  .body-content {
    margin: 0px;
    margin-top: 10px;
  }
  .organization-preview {
    display: block;
  }
  .organization-preview-btn {
    font-size: 14px;
  }
  #footer,
  .footer {
    position: fixed;
    bottom: 0;
    width: 98%;
  }
}

/* ClassPage And ClassAjax Page  */
.single-dis {
  background: #a2a2ff;
  padding: 5px 10px;
  border-radius: 4px;
}

/* Blog page css */
.underline {
  text-decoration: underline;
}
.custom-file {
  position: relative;
  display: inline-block;
  width: 100%;
  height: calc(2.25rem + 2px);
  margin-bottom: 0;
}
.custom-file-input {
  position: relative;
  z-index: 2;
  width: 100%;
  height: calc(2.25rem + 2px);
  margin: 0;
  opacity: 0;
}
.custom-file-label {
  height: 100%;
  text-align: center;
  align-content: center;
  width: 100%;
  border: 1px solid;
  cursor: pointer;
}
.tag-list,
.add-tag {
  margin: 0px 30px 15px;
  border: 1px solid #dfdfdd;
  border-radius: 4px;
}
@media (max-width: 768px) {
  .tag-list,
  .add-tag {
    margin: 0px 10px 15px;
  }
}

/* admin Page  */
.single-dis-admin {
  background: #f1f1f1;
  padding: 5px 10px;
  border-radius: 4px;
}
.intro-admin a {
  text-decoration: none;
  cursor: pointer;
}
.intro-admin a:hover {
  text-decoration: underline;
}
