@media screen and (min-width: 700px) {
  body {
    font-family: Calibri, Arial, Verdana;
    max-width: 100vw !important;
    max-height: 100vh !important;
    overflow-y: hidden;
    background: #fafafa !important;
    margin: 0;
  }

  .rht_logo {
    height: 50px;
    margin:0;
  }

  #outer_container{

    background-color: white;
    height: 97vh;
    border-bottom: solid 10px #ebf1fb;
  }

  .timesheet_info{

    border: none;
  }

  .sidebar-logo-text {
    margin-left: 15px;
    color: white;
    text-decoration: none;
    font-size: large;
    font-weight: 600;
  }
  .sidebar {
    width: 250px; /* Set the sidebar width */
    transition: transform 0.5s ease; /* Smooth transition */
}

  /* Remove scrollbar arrows for Webkit browsers (Chrome, Safari, Edge) */
.sidebar-body::-webkit-scrollbar-button {
    display: none; /* Hides the up/down arrows */
  }
  
  /* Scrollbar background (track) */
  .sidebar-body::-webkit-scrollbar {
    width: 10px; /* Set the width of the scrollbar */
  }
  
  /* Make scrollbar track and thumb the same color */
  .sidebar-body::-webkit-scrollbar-track {
    background: black; /* Same color for the track */
  }
  
  .sidebar-body::-webkit-scrollbar-thumb {
    background-color: #8ba7fc; /* Same color for the thumb */
    border-radius: 10px; /* Rounded scrollbar */
    border: none; /* No border to blend thumb with track */
  }
  
  /* Remove hover effects, so it always stays the same */
  .sidebar-body::-webkit-scrollbar-thumb:hover {
    background-color: #8ba7fc; /* No color change on hover */
  }
  
  /* Firefox scrollbar styling */
  .sidebar-body {
    scrollbar-width: thin; /* Thin scrollbar */
    scrollbar-color: #8ba7fc #0078D4; /* Both thumb and track same color */
  }
  
  /* Optional: Ensure smooth scrolling */
  .sidebar-body {
    overflow-y: auto;
    scroll-behavior: smooth;
  }
  
  .nav-sidebar {
    list-style: none;
    padding: 5px;
    margin: 0;
    border-right: 1px black;
  }

  .nav-sidebar .nav-item {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: flex-start;
    width: 100%;
  }

  .nav-item .nav-link,
  .nav-item .sub-link {
    display: flex;
    justify-content: flex-start;
    padding: 10px;
    color: #8ba7fc;
    text-decoration: none;
    width: 100%;
    font-size: large;
    gap: 15px;
    font-weight: bold;
  }

  .nav-sub {
    display: none; /* Hide sub-menu by default */
    padding-left: 20px; /* Indent sub-menu */
    list-style: none; /* Remove bullet points */
    margin: 0; /* Remove default margin */
    width: 100%; /* Ensure full width */
  }

  .nav-item.expanded .nav-sub,
  .nav-item.show .nav-sub {
    display: block; /* Show sub-menu when parent is expanded */
  }

  .sidebar {
    background-color: #0078D4;
    color: #8ba7fc;
    height: 100vh;
    position: fixed;
    transition: width 0.3s ease;
    overflow: hidden;
    padding: 0;
    left: 0;
  }

  .sidebar-body {
    height: calc(100vh); /* Adjust height minus any header or footer height */
    overflow-y: auto; /* Allow vertical scrolling */
    overflow-x: hidden;

}
.sidebar::-webkit-scrollbar-thumb, .container::-webkit-scrollbar-thumb {
    background-color: #888; /* Scrollbar thumb color */
    border-radius: 4px; /* Rounded edges */
}
.sidebar.minimized .sidebar-body {
    overflow-y: hidden; /* Hide sidebar body when minimized */
   
}

.sidebar.minimized .nav-sub{

  display: none;
}

  hr {
    color: #8ba7fc;
  }

  .sidebar-header {
    background-color: #0078D4 ;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .left-header {
    display: flex;
    align-items: center;
  }
  
  .menu-icon {
    margin-left: auto;
  }

  #contentMenu {
    display: flex;
    justify-content: center; /* Centers the content horizontally */
    align-items: center; /* Centers the content vertically */
    width: 50px; /* Adjust to make it square */
    height: 50px; /* Same as width for square shape */
    background-color: black; /* Half-black background */
    margin: 0 auto; /* Centers the entire element in its container */
    border-radius: 8px; /* Optional: adds slight rounding for the square */
    
}

.content {
  transition: margin-left 0.5s ease; /* Smooth transition for content margin */
  margin-left: 250px; /* Default margin for expanded sidebar */
}

.sidebar.minimized #contentMenu{

  width: 35px; /* Adjust to make it square */
  height: 35px; /* Same as width for square shape */
  margin-left: 2px;

}

.sidebar.minimized .sidebar-logo-text{

  display: none;
}

#contentMenu svg {
    width: 80%; /* SVG size relative to the container */
    height: 80%; /* SVG height relative to the container */
    fill: white; /* Ensures the icon stays white */
}

#welcome-header{
    align-items: start;
    position: absolute;
    opacity: 10%;
    left:2%;
    top: 1%;

}
  .nav-icon {
    width: 24px;
    height: 24px;
    margin-right: 5px;
  }

  .sidebar.minimized .nav-item span {
    display: none; /* Hide text when minimized */
  }

  .sidebar.minimized .nav-link span {
    display: none; /* Hide text when minimized */
  }

  .sidebar.minimized .nav-icon {
    display: block; /* Show icons when minimized */
  }

  .sidebar.minimized {
    width: 3vw; /* Width when minimized */
    transition: width 0.5s ease; /* Ensure smooth transition */
}


  .sidebar:not(.minimized) {
    width: 17vw; /* Width when expanded */
  }

  .sidebar.minimized .nav-item {
    align-items: center;
    justify-content: center; /* Center items when minimized */
   
  }

  .sidebar.minimized .nav-link {
    justify-content: center; /* Center link content */
  }

  .sidebar.minimized .nav-icon {
    margin: 0; /* Remove margin to center properly */
      }

  .sidebar.minimized + .content {
    margin-left: 3vw;
    width: 97vw;
  }

  .sidebar:not(.minimized) + .content {
    margin-left: 17vw;
    width: 83vw
  }

  .sidebar.minimized hr {
    display: none; /* Hide the hr element when minimized */
  }

  .sidebar.minimized .sidebar-header {
    background-color: #0078D4!important;

  }
  .sidebar.minimized .menu-icon{

    display: none;
  }

  .sidebar.minimized .nav-sidebar .nav-link,
  .sidebar.minimized .nav-sidebar .nav-item .sub-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    color: #8ba7fc;
    text-decoration: none;
    flex-grow: 1;
  }

  /* CSS for tabs and profile */

  /* Individual tab styles */
#tabs ul li {
    margin: 0; /* Remove margin */
    padding: 0; /* Remove padding */
}
  #tabs ul {
    display: flex;
    list-style-type: none;
    padding: 0;
    margin: 0;
    align-items: center;
  }


  #tab1,
  #tab2,
  #tab3,
  #tab4,
  #tab5,
  #tab6,
  #add-tab{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 170px;
    height: 65px;
    font-size: 15px;
    padding: 0;
    box-sizing: border-box;
    background-color: white;
    color: #8f98a1;
    text-decoration: none;
    border: none;
    font-weight: 550;
    margin: 0;
  }

  .blue-border {
    width: 12%;                /* Set width to 25% of the parent */
    height: 2px;              /* Height of the border */
    background-color: #0078D4;
    margin-bottom: 15px;   /* Blue color for the border */
         
}
  /* Remove margin for the last tab before the button */
  #tab6 {
    margin-right: 0;
  }
  .ui-tabs .ui-tabs-nav li.ui-tabs-active {
    background-color: #ebf1fb;
    border-style: none;
    color: #535a62;
  }

  #tabs ul li a.active {
    background-color: #ebf1fb;
    border-style: none;
    color: #535a62;
  }
  /* Specific hover styles for all tabs */
  #tab1:hover,
  #tab2:hover,
  #tab3:hover,
  #tab4:hover,
  #tab5:hover,
  #tab6:hover {
    background-color: #e0e0e0;
  }

  #add-tab {
    font-size: 20px;
    color: #fcdada;
    cursor: pointer;
    display: flex;
    height: 30px;
    width: 30px;
    margin: 10px;
    margin-left: 15px;
    align-items: center;
    justify-content: center;
    background-color: #f46a6a;
    box-sizing: border-box;
    border: none;
    font-weight: normal;
  }
  #tab1:active,
  #tab2:active,
  #tab3:active,
  #tab4:active,
  #tab5:active,
  #tab6:active {
    background-color: #ebf1fb;
    border-style: none;
    color: #2c2c2c;
  }

  /* Set specific margin and padding for the nav bar */
  #tabs {
    margin: 0; /* or any specific value if needed */
    padding: 0; /* adjust as necessary */
  }

  /* Additionally, for the ul in the nav bar */
  #tabs ul {
    margin: 0; /* Remove margin */
    padding: 0; /* Remove padding */
  }

  /* If there's a parent container, make sure it has no margin */
  #tabs-container {
    /* or any parent container you might have */
    margin: 0;
    padding: 0;
  }
 


/*my profile code*/
 /* Flexbox layout for rows */
.task-container {
  display: flex;
  align-items: center; /* Vertically align items */
  justify-content: space-between; /* Distribute space between columns */
  padding: 20px;
  background-color: #ebf1fb;
  margin: 10px;
  flex: 1; /* Allow this column to grow and take up available space */
  color:  #495057;
 
}

/* Flexbox for header */
.task-container.header { 
  margin-right: 100px;
  margin-bottom: 20px; /* Add spacing for the header */
  background-color: white;
  text-align: left; /* Ensure text is aligned to the left */
  font-size: medium;
  font-weight: bolder;
}

.col1, .col2, .col3 {
  display: flex;
  align-items: center;
  text-align: left; /* Vertically center content in columns */
 

}
#profile_outer_left{

  background-color: white;
  padding:0;
  margin:0;
  border:none;
  padding-bottom: 38px; /* Adds space between rows */
}
.profile_container{

  color:  #495057;  
}
#profile_outer_right{

  background-color: white;
  padding:0;
  margin:0;
  border:none;
}
.col1 {
  flex: 0 0 50px; /* Set a fixed width for the checkbox column */
}

.col2 {
    flex: 1;
    color: #495057;
    font-weight: 510;
    margin-left: 90px;
}

.col3 input{

  color: #495057;
  border: #495057 1px solid;

}
.task-container header{

  flex: 1; /* Allow this column to grow and take up available space */
  color:  #495057; 

}

.col3 input {
  width: 200px; /* Set a width for the email input fields */
  padding: 5px; /* Padding inside the email inputs */
}

/* Add some spacing for profile checkmarks */
.profile_container input {
  margin-right: 5px;
}

.clickable_container {
  display: flex;
  align-items: center;       /* Vertically centers the content */
  justify-content: center;    /* Horizontally centers the content */
  cursor: pointer;
  text-align: center;
  padding: 5px;
  width: 200px;
  height: 40px;              /* Fixed height for the container */
  line-height: 40px;         /* Make line height equal to the container's height */
  transition: background-color 0.3s;
  background-color: #ebf1fb;
  color:  #495057; 
}

.clickable_container:hover {
  background-color: #f0f0f0;
}

.container_switch {
  display: flex;
  width: 100%;
}
#container_reliance{

font-size: medium;
color: #445dd6;

}
}