* {
  box-sizing: border-box;
}

body {
  font-family: Arial;
  font-size: 1em;
  padding: 10px;
  background: #b1afaf;
}

/* Header */
header {
  padding: 3px 15px 3px 3px;  
  background: #f1f1f1;
  
}
/*menu*/
.topnav {
  overflow: hidden;
  background-color: #fff;
}

.topnav a {
  float: left;
  display: block;
  color: #000000;
  text-align: center;
  padding: 12px 14px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #0066ff;
  color: white;  
  border-radius: 10px;
}

.topnav a.active {
  background-color: #0066ff;
  color: white;
}

.topnav .icon {
  display: none;
}
/* Float the dropdown button to the left */
.dropdown {
  float: left;
  overflow: hidden;
}

/* Style the dropdown button */
.dropdown .dropbtn {
  font-size: 17px;  
  border: none;
  outline: none;
  color: black;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

/* Add a background color to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #0066ff;
  color: white;
}

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

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

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Responsive design: make the navigation menu stack on smaller screens */
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child), .dropdown .dropbtn {
      display: none;
  }
  .topnav a.icon {
      float: right;
      display: block;
  }
}

/* Show the links in the dropdown on click */
@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;
  }
}


/* Create two unequal columns that floats next to each other */
/* Left column */
.leftcolumn {   
  float: left;
  width: 70%;
  }

/* Right column */
.rightcolumn {
  float: left;
  width: 30%;
 
  padding-left: 20px;
}

/* Fake image */
.fakeimg {
    width: 100%;  
}

/* Add a card effect for articles */
.card {
  background-color: white;
  padding: 20px;
  margin-top: 20px;
  overflow:auto;
  height: 500px;
}

/* Clear floats after the columns */
.row::after {
  content: "";
  display: table;
  clear: both;
}
@media screen and (max-width: 600px) {
  .leftcolumn, .rightcolumn {   
    width: 100%;
    padding: 0;
  }
}

/* Footer */
footer {
  padding: 20px;
  text-align: center;
  background: #ddd;
  margin-top: 20px;
}
/*les includes*/
.container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}
.container h1 {
  font-size:  4 em;
  color: #2b6ab3;
  font-family: 'Montserrat', sans-serif;
}
@media screen and (max-width: 600px) {
  .container {
    display: flex;
    flex-direction: column;    
    justify-content: space-between;
    text-align: center;
  }
  #cible {
    display: none;
  }
}

main {
    /*padding: 20px;*/
    color: black;
}

h1 {
  font-size: 2.5em;
  color: #2b2fb3;
  font-family: 'Montserrat', sans-serif;
}
.prevent-select {
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}
.accueil-introduction {
  display: flex;
  flex-direction: row;
  width: 80%;
  align-items: center;
  margin: auto;
}
.accueil-introduction h1 {
  font-size: 2em;
  color: #2b6ab3;
  font-family: 'Montserrat', sans-serif;
}
@media screen and (max-width: 300px) {
  .accueil-introduction {
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    width: auto;
  }  
}
.lien-icone:hover {
  opacity: 0.7;
}
.lien-doc {
  color: #0f3d72; 
 
  font-weight: bold
}
.lien-doc:hover {
    color: #f70a0a;
}
/* MESSAGE */
.message_box
{
	background:bottom right no-repeat;
	min-height:200px;
  
}
.information
{
	background-image: url('information.png');
}
.warning
{
	background-image: url('warning.png');
}
.alert
{
	background-image: url('alert.png');
}

/*.wym_panel
{
	font-size:1.5em;
}*/

/*table annuaire, adhérents*/
.adherent {
  border-collapse: collapse;  
  width: 100%;
  overflow: auto;
  background-color: #f1f1f1;        
  }
.adherent th {
  background-color: #5398da;
  color: white;
  }
.adherent th, td {
  text-align: left;
  padding: 8px;
  }

.adherent tr:nth-child(even) {background-color: #84bef3;}
.adherent tr.noir {
  color: black !important ;
}
.adherent tr.gris {
  color: grey !important ;
}

/*formulaire inscription*/
.inscription {  
  box-sizing: border-box; 
  height: 500px; 
  margin: auto;   
  margin-top: 15px;
  overflow: auto; 
}  
.inscription input[type=text], input[type=password], input[type=tel], input[type=email], input[type=date],  input[type=file]{
  width:100%;
  border: 1px solid #ccc;
  border-radius: 10px;
  margin: auto;
  padding: 5px 20px;
  background-color: #f1f1f1;
}
.inscription textarea {
  width: 100%;
  height: 150px;
  padding: 5px 20px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 14px;
  resize: none;
    
  background-color: #f1f1f1;
}

.inscription button {
  background-color: #0066ff;
  color: white;
  padding: 15px 100px;
  margin: auto;
  border: none;
  border-radius: 25px;
  cursor: pointer;

      
}
.inscription legend {
  color: #0066ff;
}

.inscription button:hover {
  opacity: 0.5;
  color: black;
}

.cancelbtn {
  background-color: #0a7de9;
  color: black;
  padding: 14px 20px;
  margin: auto;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}
.cancelbtn:hover {
  opacity: 0.7;
}
/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
  span.psw {
     display: block;
     float: none;
  }
  .cancelbtn {
     width: 100%;
  }
}
/* Style d'affichage des documents */
.containerdoc {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.document {
border-collapse: collapse;
width: 100%;
}
.document td, th {  
border: 1px solid #b1afaf;
text-align: left;
padding: 15px;

margin: auto;
}

.icon {
width: 40px;
height: 40px;
}
  /* Style du conteneur principal */
  .containerart {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Style des articles */
.article {
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
}

.article:last-child {
    border-bottom: none; /* Supprimer la bordure inférieure pour le dernier article */
}

/* Style du titre de l'article */
.article h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

/* Style du contenu de l'article */
.article p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Style de l'image de l'article */
.article-logo {
    max-width: 15%;
    height: 15%;
    display: block;
    margin-bottom: 10px;
}

/* Style des liens dans l'article */
.article a {
    color: #007bff;
    text-decoration: none;
}

.article a:hover {
    text-decoration: underline;
}
.cta {
  display: inline-block;
  background-color: #0066ff;
  color: white;
  border-radius: 50px;
  padding: 10px 50px;
  text-decoration: none;

}
.cta:hover {
  opacity: 0.5;
  color: black;
}
/* affichage mot de passe*/
.password-container {
  position: relative;
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
  background-image: url('../images/eye.png'); 
  background-size: cover;
  width: 20px;
  height: 20px;
}

.hide-password {
  background-image: url('../images/hide.png'); 
}

.exporter {
  background-color: #0066ff;
  color: white;
  padding: 15px 100px;
  margin: auto;
  border: none;
  border-radius: 25px;
  cursor: pointer; 
}

.bleu {
  color: #000080;
}