/* The sidebar menu */
.sidebar {
  min-height: 100vh; /* 100% Full-height */
  width: 290px; /* 0 width - change this with JavaScript */
  background-color: #ffffff; /* Blanc*/
  overflow-x: hidden; /* Disable horizontal scroll */
  transition: 0.1s; /* 0.5 second transition effect to slide in the sidebar */
  position: fixed; /* Stay in place */
  z-index: 2000;
}

.sidebarclosed {
  min-height: 100vh; /* 100% Full-height */
  width: 0px; /* 0 width - change this with JavaScript */
  position: fixed; /* Stay in place */
  z-index: 1500; /* Stay on top */
  background-color: #ffffff; /* Blanc*/
  overflow-x: hidden; /* Disable horizontal scroll */
  transition: 0.1s; /* 0.5 second transition effect to slide in the sidebar */
}

.no-sidebar #mySidebar {
  /*display: none;*/
  width: 0px;
}

.no-sidebar #mySidebarclosed {
  /*display: block;*/
  width: 100px;
}

.no-sidebar #page {
  width: calc(100% - 100px);
}

#wrapper-gen{
  display: flex;
  width: 100%
}

#page{
  width: calc(100% - 290px);
  position: absolute;
  right: 0
}

/* The sidebar links */
.sidebar a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  -font-size: 25px;
  color: black;
  display: block;
  transition: 0.3s;
}

/* When you mouse over the navigation links, change their color */
.sidebar a:hover {
  color: black;
}

/* Position and style the close button (top right corner) */
.sidebar .closebtn {
  background-color: #68CBB7;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 40px;
  font-size: 25px;
  padding: 8px 20px 7px 20px;
  box-shadow: none;
  margin-left: 110px;
  margin-top: 50px;
}

.sidebarclosed .closebtn {
  background-color: #68CBB7;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 40px;
  font-size: 25px;
  padding: 8px 20px 7px 20px;
  box-shadow: none;
  position: fixed;
  bottom: 50vh;
  left: 1vw;
}

/* The button used to open the sidebar */
.openbtn {
  cursor: pointer;
  background-color: black;
  color: white;
  border: none;
  margin-right:10px;
}

.openbtn:hover {
  background-color: #444;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
  transition: margin-left .5s; /* If you want a transition effect */
  padding: 20px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
  .sidebar {padding-top: 15px;}
  .sidebar a {font-size: 18px;}
}

.sidebar ul{
  list-style: none;
  font-weight: bold;
}

.menu-vertical{
  padding-left: 0;
}

.active-menu-suivi{
  color: #68CBB7;
  font-style: italic;
  font-weight: bolder;
}
.active-menu-gerer{
  color: #FF7043;
  font-style: italic;
  font-weight: bolder;
}
.active-menu-defaut{
  color: #68CBB7;
  font-style: italic;
  font-weight: bolder;
}

.sous-menu-hidden{
  display: none;
}

