/* **************************************MOBILE******************************************* */
/* Add a black background color to the top navigation */
.topnav {
  background-color: #444444; /* style perso */
  overflow: hidden;
  z-index: 1;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 10px 5px;
  text-decoration: none;
  font-size: 17px;
}

/* Add an active class to highlight the current page */
.active {
  background-color: #4CAF50;
  color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}

/* Dropdown container - needed to position the dropdown content */
.dropdown {
  float: left;
  overflow: hidden;
}

/* Style the dropdown button to fit inside the topnav */
.dropdown .dropbtn {
  font-size: 17px; 
  border: none;
  outline: none;
  color: white;
  padding: 10px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

/* Style the dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 150px;
  border-radius: 0px 0px 4px 4px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 100;
}

/* Style the links inside the dropdown */
.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a dark background on topnav links and the dropdown button on hover */
.topnav a:hover, .dropdown:hover .dropbtn {
  background-color: #555555;
  color: white;
          border-radius: 0px 0px 4px 4px;
}

/* Add a grey background to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #dddddd;
  color: black;
}

/* Show the dropdown menu when the user moves the mouse over the dropdown button */
.dropdown:hover .dropdown-content {
  display: block;
}
/* *********************************
/* The dropdown container */

/* Dropdown button */

/* Add a red background color to navbar links on hover */

/* Dropdown content (hidden by default) */
.dropdown2-content {
  display: none;
  position: absolute;
  background-color: #111111;
  width: auto;
  left: ;
  font-size: 14px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 100;
  
}

/* Mega Menu header, if needed (resumé) */
.dropdown2-content .header {
  background-color: #555555;
  padding: 10px;
  color: white;
  font-size: 17px;
  text-align: center;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown2-content {
  display: block;
  background-color: #dddddd;
}

/* Create three equal columns that floats next to each other (texte titre) */
.column {
  float: left;
  width: 25%;
  padding: 5px;
  background-color: white;
  height: 160px;
  font-size: 12px;
  text-align: center;
}

/* Style links inside the columns (texte lien)*/
.column a {
  float: none;
  color: black;
  padding: 5px;
  text-decoration: none;
  display: block;
  font-size: 12px;
  text-align: center;
}

/* Add a background color on hover */
.column a:hover {
  color: black;
  background-color: #dddddd;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}


/* **************************************PC******************************************* */
/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 1150px) {
  .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }

  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;

    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content  {position: relative;}
  .topnav.responsive .dropdown2-content {position: relative; left: ;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
  .dropdown2-content {
  width: 100%;
  left: 0px;
}
}