
/* The side navigation menu */

.sidenav {

    height: 100%; /* 100% Full-height */

    width: 0; /* 0 width - change this with JavaScript */

    position: fixed; /* Stay in place */

    z-index: 11; /* Stay on top */

    top: 0;

    left: 0;

    background-color: #f6f6f6; /* Black*/

    overflow-x: hidden; /* Disable horizontal scroll */

    padding-top: 60px; /* Place content 60px from the top */

    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */

}

/* The navigation menu links */

.sidenav a {

    padding: 8px 8px 8px 32px;

    text-decoration: none;

    font-size: 25px;

    color: #818181;

    display: block;

    transition: 0.3s

}

/* When you mouse over the navigation links, change their color */

.sidenav a:hover, .offcanvas a:focus{

    color: #f1f1f1;

}

/* Position and style the close button (top right corner) */

.sidenav .closebtn {

    position: absolute;

    top: 0;

    right: 25px;

    font-size: 36px;

    margin-left: 50px;

}



/* Add a black background color to the top navigation */

.topnav {

    /* background-color: #333; */

    display: none;

    overflow: hidden;

}

/* Style the links inside the navigation bar */

.topnav a {

    float: left;

    display: block;

    color: #f2f2f2;

    text-align: center;

    padding: 14px 16px;

    text-decoration: none;

    font-size: 17px;

}

/* Change the color of links on hover */

.topnav a:hover {

    background-color: #ddd;

    color: black;

}

/* Add a color to the active/current link */

.topnav a.active {

    background-color: #4CAF50;

    color: white;

}

.logo-header img{
  /* display: flex; */
  /* position: absolute;
  left: 50%;
  transform: translateX(-50%);*/
  width: 150px; 
  padding-top: 10px;
}

.favico {
    width: auto; /* Ajustez la taille selon vos besoins */
    height: 64px; /* Ajustez la taille selon vos besoins */
}



@media (max-width: 1024px) {

    .sidenav {
      padding-top: 15px;
    }
    
    .sidenav a {font-size: 18px;}
    
    .topnav {
      position: absolute;
      display: block;
      margin-top: 30px;
      margin-bottom: 30px;
    }

    .sidenav a {

        padding: 8px 8px 8px 15px;

        text-decoration: none;

        font-size: 1rem;

        line-height: 2rem;

        color: black;

        display: block;

        transition: 0.3s;
    }
    .danslaside{
      height: 100%;
      padding-top: 70px;
    }

    .danslaside a:hover{
      color: orange;
    }

    .logo-header img{
      display: block;
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      width: 150px;
      margin-top: -110px;
      z-index: 10;
    }

}



#ico{

  display: none;

}
