/* Import Google font - Poppins */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Montserrat:wght@400;700&family=Lato&display=swap');

/* Applying Roboto font to body text */
body {
    font-family: 'Roboto', sans-serif;
    min-height: 100vh;
    padding-top: 150px;
    padding-left: 80px;

    }

/* Applying Montserrat font to headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

:root {
  --white-color: #fff;
  --grey-color: #123C69;
  --blue-color: #AC3B61;
  --grey-color-light: #aaa;
}
body {
  background-color: #EEE2DC;
  transition: all 0.5s ease;
}
body.dark {
  background-color: #333;
}
body.dark {
  --white-color: #333;
  --blue-color: #fff;
  --grey-color: #f2f2f2;
  --grey-color-light: #aaa;
}

/* navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  left: 0;
  background-color: var(--grey-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 10px;
  z-index: 1000;
  box-shadow: 0 0 2px var(--grey-color-light);
  height: 140px;
  z-index: 1000;
}
.logo_item {
  display: flex;
  align-items: center;
  column-gap: 10px;
  font-size: 22px;
  font-weight: 500;
  color: var(--white-color);
}

.align-logo{
  color: var(--white-color);
  background-color:var(--blue-color);
  padding: 5px;
  border-radius: 4px; 
}
.navbar img {
  width: 35px;
  height: 35px;
  object-fit: cover;
  border-radius: 50%;
}
.search_bar {
  height: 47px;
  max-width: 430px;
  width: 100%;
}
.search_bar input {
  height: 100%;
  width: 100%;
  border-radius: 25px;
  font-size: 18px;
  outline: none;
  background-color: var(--white-color);
  color: var(--grey-color);
  border: 1px solid var(--grey-color-light);
  padding: 0 20px;
}
.navbar_content {
  display: flex;
  align-items: center;
  column-gap: 25px;
}
.navbar_content i {
  cursor: pointer;
  font-size: 20px;
  color: var(--white-color);
}

/* sidebar */
.sidebar {
  background-color: #6B6E70;
  max-width: 600px;
  position: fixed;
  top: 50px;
  left: 0;
  min-height: 100%;
  padding: 20px 20px;
  z-index: 100;
  overflow-y: auto;
  box-shadow: 0 0 1px var(--grey-color-light);
  transition: all 0.5s ease;
  max-height: 100vh;
  padding-bottom: 200px;
}

.sidebar.close {
  padding: 60px 0;
  width: 80px;
}

.sidebar::-webkit-scrollbar {
  width: 8px; /* Adjust scrollbar width */
  display: block; /* Ensure scrollbar is always displayed */
}


.sidebar::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.5); /* Adjust scrollbar thumb color */
}

.menu_content {
  position: relative;  
}


.menu_title {
  margin: 15px 0;
  padding: 0 20px;
  font-size: 18px;
}
.sidebar.close .menu_title {
  padding: 6px 30px;
}
.menu_title::before {
  color: var(--grey-color);
  white-space: nowrap;
}
.menu_aoi::before {
  content: "Activities of Integration";
}
.menu_editor::before {
  content: "Finance";
}
.menu_setting::before {
  content: "Procurement";
}

.menu_store::before {
  content: "Store";
}

.menu_library::before {
  content: "Library";
}

.menu_cbc::before {
  content: "CBC Assessment";
}

.sidebar.close .menu_title::before {
  content: "";
  position: absolute;
  height: 2px;
  width: 18px;
  border-radius: 12px;
  background: var(--grey-color-light);
}
.menu_items {
  padding: 0;
  list-style: none;
}
.navlink_icon {
  position: relative;
  font-size: 22px;
  min-width: 50px;
  line-height: 40px;
  display: inline-block;
  text-align: center;
  border-radius: 6px;
}
.navlink_icon::before {
  content: "";
  position: absolute;
  height: 100%;
  width: calc(100% + 100px);
  left: -20px;
}
.navlink_icon:hover {
  background: var(--grey-color);
}
.sidebar .nav_link {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 4px 15px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--white-color);
  white-space: nowrap;
}
.sidebar.close .navlink {
  display: none;
}
.nav_link:hover {
  color: var(--white-color);
  background: var(--grey-color);
}
.sidebar.close .nav_link:hover {
  background: var(--white-color);
}
.submenu_item {
  cursor: pointer;
}
.submenu {
  display: none;
}
.submenu_item .arrow-left {
  position: absolute;
  right: 10px;
  display: inline-block;
  margin-right: auto;
}
.sidebar.close .submenu {
  display: none;
}
.show_submenu .submenu {
  display: block;
}
.show_submenu .arrow-left {
  transform: rotate(90deg);
}
.submenu .sublink {
  padding: 15px 15px 15px 52px;
}
.bottom_content {
  position: fixed;
  bottom: 60px;
  left: 0;
  width: 260px;
  cursor: pointer;
  transition: all 0.5s ease;
}
.bottom {
  position: absolute;
  display: flex;
  align-items: center;
  left: 0;
  justify-content: space-around;
  padding: 18px 0;
  text-align: center;
  width: 100%;
  color: var(--grey-color);
  border-top: 1px solid var(--grey-color-light);
  background-color: var(--white-color);
}
.bottom i {
  font-size: 20px;
}
.bottom span {
  font-size: 18px;
}
.sidebar.close .bottom_content {
  width: 50px;
  left: 15px;
}
.sidebar.close .bottom span {
  display: none;
}
.sidebar.hoverable .collapse_sidebar {
  display: none;
}

#sidebarOpen {
  display: none;
}

.logo_item {
  display: flex;
  align-items: flex-start; /* Align content to the left */
}

.logo_item .top-row {
  display: flex;
  align-items: center; /* Vertically center the icon and text */
  margin-bottom: 5px; /* Space between the top row and the heading */
}

.logo_item img.icon {
  max-width: 30px; /* Adjust the size of the icon as needed */
  height: auto; /* Maintain aspect ratio */
  margin-right: 5px; /* Space between the icon and text */
}

.small-font {
  font-size: 0.7rem; /* Smaller font size for Exmerit School IMS */
}

.large-font {
  font-size: 1rem;
}

.align-logo{
align-items: center;
display: flex;
}
.school-title{
  background: var(--grey-color);
  padding: 1px;

}
.school-title h1{
  color:white;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  top: 65px;
  line-height: 20px;
  border-radius: 0 0 4px 4px;
  right: 0px;
}

/* Style the links inside the dropdown */
.dropdown-content a {
  color:#123C69;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover hoverable */
.dropdown-content a:hover {
  background-color: #f1f1f1;
  color:#AC3B61;
  opacity: 0.7;
}

.dropdown{
display: flex;
flex-direction: column;
}

.dropbtn{
  background-color:#6B6E70; 
  color:  whitesmoke;
  border-radius: 10px;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: right;
  top:0px;
  
}

.dropbtn:hover{
  background-color:  whitesmoke;
 color:#AC3B61; 
}


/* Show the dropdown content on hover */
.dropdown:hover .dropdown-content {
  display: block;
}



.user_logo {
  /* Adjust the path to your IconsFolder and the specific icon file */  
  display: block;
  max-width: 40px; /* Adjust the width according to your icon size */
  height: auto;
  max-height: 40px;
   /* Adjust the height according to your icon size */
  padding: 1px;
  margin: 5px;
  align-items: center;
  border-radius: 50%;
  border: #f1f1f1;
}

.user_logo img{
  width: 100%;
  height: auto;
  max-width: 40px;
  max-height: 40px;
  padding: 0px;
  border-radius: 50%;

}

.logo{
  left: 10px;
  line-height: 5px;
  padding: 3px;
  margin: 5px;
  align-self: center;
  justify-content: center;

  display: block;
}

.logo h5{
color:#123C69;
font-size: 14px;
line-height: 14px;
padding: 2px;
}

.logo-small{
  display: flex;
  left: 5px;
  justify-content: center;
  align-self: start;
  top: 10px;
   }
  
.heading-format{
  position: fixed;
  top: 70px;
  padding: 2px;
  justify-content: center;
  width: 100%;
  background-color: #AC3B61;
  align-items: center;

}

.heading-format h1{
  font-size: large;
color:#FFFFFF;
}


.submenu {
  display: none;
}

.submenu.show {
  display: block;
}

.downward {
  transform: rotate(90deg);
}


#closebtn {
  display: none; /* Hidden by default */
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
  color: white;
}

/* Media query to show the close button on small screens */
@media screen and (max-width: 920px) {
  #closebtn {
    display: block;
  }
}

   @media (max-width:920px) {

    .navbar{
      height: 200px;
    }
    nav .navbar{
      max-width: 100%;
      padding: 5px 2px;
      margin: 0px;

    }
  
    nav .navbar .logo a{
      font-size: 16px;
    }
    nav .navbar .links li{
      padding: 0 10px;
      white-space: nowrap;
    }
    nav .navbar .links li a{
      font-size: 15px;
    }
  
  .logo{
  
   left: 10px;
    line-height: 3px;
    padding: 2px;
    margin: 0px;
    align-self: center;
    justify-content: center;
  
    display: block;
  }
  .logo h5{
    color:#123C69;
    margin:10px;
    margin-left:0px ;
   font-size: 11px;
   line-height: 10px;
   }
   
   .logo-small{
  display: flex;
  left: 5px;
  margin: 0px;
  align-self: start;
  
   }
  
    .dropbtn{
      font-size: 12px; 
      padding: 5px; 
    }
  
    .dropdown-content {
  
      min-width: 120px;
      top: 51px;
      line-height: 20px;
      margin: 0px;
      right: 0px 
      
  
    }
  
    /* Style the links inside the dropdown */
  .dropdown-content a {
   
    padding: 6px 8px;
    font-size: 12px;
  
  }
  
    
    .user_logo {
  
      max-width: 20px; /* Adjust the width according to your icon size */
      max-height: 20px; /* Adjust the height according to your icon size */
      vertical-align: middle;
      padding: 1px;
      margin: 1px;
    }
  
  
    h1 {
      font-size: 15px; /* Adjust the font size as needed */

    }
  
    .sidebar {
      top: 15px;
    }
  
  
  
  }


@media (max-width: 920px) {
  .small-font {
      font-size: 0.8rem; /* Smaller font on small screens */
  }


  .logo_item {
    display: flex;
    align-items: flex-start; /* Align content to the left */
    flex-direction: column;
    padding: 1px;
  }
  
}



@media screen and (max-width: 920px) {
  #sidebarOpen {
    font-size: 25px;
    display: block;
    margin-right: 10px;
    cursor: pointer;
    color: var(--white-color);
  }
  .sidebar.close {
    left: -100%;
  }
  .search_bar {
    display: none;
  }
  .sidebar.close .bottom_content {
    left: -100%;
  }
  body {
    padding-left: 10px;
    padding-top: 200px;
    padding-right: 10px;
}

.sidebar {
  top: 70px;}
.heading-format{
  top: 70px;
}

.navbar {
  height: 70px;
}

.small-font {
  font-size: 0.4rem; /* Smaller font size for Exmerit School IMS */
}

.school-title h1 {
  font-size: 9px;
}

.user_logo {
  padding-bottom: 4px;
  margin-bottom: 5px;

}
}
