﻿/*----------------------Commun aux pages----------------------------*/
/*bouton type imput*/



/* bandeau d'icones*/

.icon-bar {
 width: 100%; /* Full-width */
  background-color: white; /* Dark-grey background */
  overflow: hidden; /* Overflow due to float */
 
}

.icon-bar a {
  float: left; /* Float links side by side */
  text-align: center; /* Center-align text */
  width: 16%/*20%*/; /* Equal width (5 icons with 20% width each = 100%) */
  padding: 12px ; /* Some top and bottom padding */
  transition: all 0.3s ease; /* Add transition for hover effects */
  color: white; /* White text color */
  font-size: 36px; /* Increased font size */
}

.icon-bar a:hover {
  background-color: white;/*#000; /* Add a hover color */
  transform: scale(1.04);
}
.icon-bar img {
  height: 108px;
}

.icon-active {
  background-color: #4CAF50; /* Add an active/current color */
}


/* Menu haut de page Reponsive et drop down*/


body {margin:0;
font-family:inherit;}
 /* Add a black background color to the top navigation */
.topnav {
  overflow: hidden;
  background-color: #1694ab;
  /*
  Pour rendre la topnavbar fixe, mais ça pose plein de pb
  position: fixed;
  top: 0;
  width: 100%;
	*/
}
/* 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: 15px;
}
/* Add an active class to highlight the current page */
.active {
  background-color: #fc9005;
  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: 15px;    
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  /*font-family: Arial;*/
  font-family:inherit;
  margin: 0;
}
/* Style the dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}
/* 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: #555;
  color: white;
}
/* Add a grey background to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
  color: black;
}
/* Show the dropdown menu when the user moves the mouse over the dropdown button */
.dropdown:hover .dropdown-content {
  display: block;
}





@media screen and (max-width: 600px) {
  .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
.icon-bar img {
  height: 40px;
}
}
@media screen and (max-width: 400px) {
.icon-bar img {
  height: 30px;
}
.icon-bar a {
  padding: 5px;
}
}



@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .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 .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }

}

