/*
Jaune secondaire (EC Yellow) : #FFD617 – (compatible charte EU)
Ce jaune est utilisé pour attirer l'attention sur certains éléments ou appels à l'action.
#cfdbf5 : bleu EU
#f2f5fc : bleu leger EU idem #f0f4f9;
background-color: #f5f5f5; : fond gris leger
*/


html, body {
    height: 100%;
	min-height: 100vh; /* Prend toute la hauteur de la fenêtre */
	margin: 0;
	margin-top: 10px;
	font-weight:300;
	color: #404040;
	line-height: 1.6;
	overflow-y: auto;
	justify-content: center; 
}

.wrapper {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.content {
	flex: 1;
}

/*-------------
 Spécifiques
-------------*/

.bloc { 
	text-align: center;
	padding-left: 20px;
	padding-right: 20px;
	}

.importance {  
	font-weight: 500;
}

.liquid {  
	font-weight: 500;
	font-size: 18px;
}

.logoLiquid { 
	margin-bottom:3px;
}

.loupe {  
	width:30px;
	margin-bottom:8px;
}

.pagination {  
	justify-content: right;
}

.baseline {
	color:#4690d6; 
	font-size:14px;
	text-align:center;
	margin:10px 0 0 0;
}

.vies-invalid {
	color: red;
}

.statut {
	margin-top:15px;
}

.loading { 
	margin-top:20px;
	}
	
.adresse { 
	margin-bottom:12px;
	}

.colonne {
	text-align: right;
	font-weight: 500;
}

.logos {
	text-align: center;
}
.map {
	height: 300px;
	width: 500px;
	margin: auto;
}

/*-------------
 Table
-------------*/
/* Styles généraux pour le tableau */
.table-container {
    overflow-x: auto; /* Ajoute une barre de défilement horizontal si nécessaire */
}

/* Styles généraux pour les tables */
#tbilans, #tactes, #info-etbs {
    width: 100%;
    border-collapse: collapse;
}

#tbilans th, #tbilans td, #tactes th, #tactes td, #info-etbs th, #info-etbs td {
    padding: 8px;
    text-align: left;
    border: 1px solid #ddd;
}

#tbilans th.colonne, #tactes th.colonne, #info-etbs th.colonne {
    white-space: nowrap;
}

/* Styles pour petits écrans */
@media (max-width: 600px) {
    #tbilans th, #tbilans td, 
	#tactes th, #tactes td, 
	#info-etbs th, #info-etbs td, 
	#tlist th, #tlist td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    #tbilans tr, 
	#tactes tr, 
	#info-etbs tr,
	#tlist tr {
        margin-bottom: 10px;
    }

    #tbilans th.colonne, 
	#tactes th.colonne, 
	#info-etbs th.colonne,
	#tlist th.colonne {
        background-color: #f0f0f0;
    }
	
	#generatePDF, #downLoadBtn {
        display: none;
    }
}

table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
	margin: 20px 0;
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
	border-radius: 10px;
	overflow: hidden;
	font-size:14px; 
}

th, td {
	padding: 1px 20px;
	text-align: left;
	font-size:12px;
}

thead {
	background-color: #e0e0e0; /* ou #f2f2f2 pour un gris plus clair */
    color: #333;
    padding: 10px;
}

tbody tr:nth-child(even) {
	background-color: #f9f9f9;
}

th {
	background-color: #e0e0e0; /* ou #f2f2f2 pour un gris plus clair */
	border-bottom: 2px solid #dddddd;
	font-weight: 600;
}

td {
	border-bottom: 1px solid #dddddd;
}

a {
	position: relative;
	text-decoration: none;
}

/* Style par défaut du lien */
a.simple-link {
    text-decoration: none; /* Pas de soulignement par défaut */
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease; /* Transition douce pour le changement */
    }


a:hover {
    text-decoration: underline; /* Soulignement au survol */
    }

a.simple-link:hover {
    text-decoration: underline; /* Soulignement au survol */
    }

a.simple-link:active {
    text-decoration: underline;
    }
  
h1 {
	text-align: center;
    font-size: 32px;
	font-weight : 500;
    color: #404040;
	margin: 25px;
	}
     
h2 {
	margin-top: 20px;
	font-size: 18px;
    }

h3 {
	margin-top: 15px;
	font-size: 16px;
	}

p {
    margin-bottom: 15px;
    }

blockquote {
	padding: 5px;
	border-left: 4px solid #4690d6;
	font-style: italic;
	color: #555;
}


.overall-container {
	max-width: 95%;
	margin: 0 auto;
	padding: 0px 0 20px 0;
}

.highlight {
    background-color: yellow; /* Couleur du surlignage */
	font-size: 16px;
	display: inline; 
}

img.displayed {
	width:50px;
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.displayedin {
	width:30px;
	display: block;
	margin-left: auto;
	margin-right: auto;
	}
	
.success-message {
	background-color: #d4edda;  /* Vert doux */
	color: #155724;  /* Texte vert foncé */
	border: 1px solid #c3e6cb;  /* Bordure verte claire */
	border-radius: 5px;
	margin-top:20px;
	padding: 15px;
	font-size: 16px;
	display: flex;
	align-items: center;
	}

.success-message-text {
	flex-grow: 1;
	}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
	margin-top:20px;
    padding: 15px;
	font-size: 16px;
    display: flex;
    align-items: center;
    }
	
.error-message-icon {
    margin-right: 10px;
    font-size: 24px;
    }

.error-message-text {
    flex-grow: 1;
    }

/*-------------
Form Search
-------------*/
.search-container {
    position: relative;
    width: 350px;
    margin: 0 auto;
}

form {
   /* display: flex;*/
    align-items: center;
    width: 100%;
}   

.search-bar {
    width: 100%;
/*	font-family: 'Open Sans', sans-serif; */
    font-size: 16px;
	color:#404040;
	border: 1px solid #ccc; /* Bordure légère et grise */
	border-radius: 5px;
	padding: 14px 16px;
    outline: none;
    transition: all 0.3s ease;
    /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}   
    
.search-bar:focus {
    border-color: #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
    
.search-btn {
    position: absolute;
	margin-left: 10px;
    right: 20px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 34px;
    color: #ccc;
    outline: none;
    padding: 0; 
}
/*
.search-btn:hover {
    color: #ccc;
}*/

/*-------------
 Bouton
-------------*/
.button-container {
    margin-top: 3px;
	margin-bottom: 3px;
	text-align: center;
}

.btn {
    display: inline-flex;
	width: 150px;
    align-items: center;
    padding: 10px 20px;
    font-size: 14px;
    text-decoration: none;
    color: #fff;
    background-color: #0056b3;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: rgb(19, 137, 255);
	color: #fff;
}

.btn-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

/*-------------
 FAQ
-------------*/

.faq-title {
	text-align: center;
	font-size: 24px;
	font-weight: bold;
	margin-top: 0px;
	margin-bottom: 20px;
	color: #333;
}

.faq {
	background-color: #fff;
	border-radius: 10px;
	margin-bottom: 10px;
	overflow: hidden;
	transition: all 0.3s ease;
}

.faq-question {
	padding: 15px 20px;
	cursor: pointer;
	background-color: #f2f2f2;
	color: #333;
	font-size: 18px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.faq-question:hover {
	background-color: #e0e0e0;
}

.faq-answer {
	padding: 20px;
	display: none;
	background-color: #f9f9f9;
	color: #333;
	font-size: 16px;
	border-top: 1px solid #ddd;
}

.faq.active .faq-answer {
	display: block;
}

.faq-icon {
	font-size: 24px;
	transition: transform 0.3s;
}

.faq.active .faq-icon {
	transform: rotate(45deg);
}

/*-----------------
 Liste déroulante
-----------------*/
/* Conteneur principal du sélecteur */
.custom-select {
	position: relative;
	width: 100%;
	max-width: 350px; /* Largeur similaire à celle du site */
	margin: 20px auto;
}

/* Zone sélectionnée */
.select-selected {
	background-color: white;
	border: 1px solid #ccc; /* Bordure légère et grise */
	border-radius: 5px;
	padding: 12px 16px;
	font-size: 16px;
	color: #404040;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Légère ombre */
}

/* Flèche pour la zone sélectionnée */
.select-selected::after {
	content: "▼";
	color: #ccc;
	font-size: 12px;
	margin-left: 10px;
}

/* Liste des options - cachée par défaut */
.select-items {
	display: none;
	position: absolute;
	background-color: white;
	border: 1px solid #ccc; /* Bordure similaire à la sélection */
	border-radius: 5px;
	width: 100%;
	z-index: 99;
	max-height: 200px; /* Limite la hauteur de la liste déroulante */
	overflow-y: auto; /* Ajoute une barre de défilement si nécessaire */
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Options dans la liste */
.select-items div {
	padding: 2px;
	cursor: pointer;
	display: flex;
	align-items: center;
	font-size: 14px;
}

/* Icônes drapeaux */
.select-items div img {
	margin-right: 10px;
}

/* Effet de hover sur les options */
.select-items div:hover {
	background-color: #f1f1f1;
}

/* Afficher la liste déroulante */
.select-selected.select-arrow-active + .select-items {
	display: block;
}

/* Styliser la sélection active */
.select-items .same-as-selected {
	background-color: #e9e9e9;
}

/*-----------------
 Suggestions
-----------------*/
.suggestions {
	margin-top:10px;
	border: none;
	border-top:none;
	font-weight:200;
    max-height: 500px;
    overflow-y: auto;
    background: #fff;
    width: 350px;
	position: absolute;
    z-index: 1000; /* Assure que l'élément est au premier plan */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Ajoute une ombre pour un effet de superposition */
    border-radius: 4px; /* Coins arrondis pour un aspect plus moderne */
}

.suggestions.active {
    border: 2px solid #ccc; /* Bordure complète */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Ajoute une ombre */
    display: block; /* Affiche l'élément */
}

.suggestion-item {
	padding: 8px;
	font-size: 14px;
	cursor: pointer;
}
.suggestion-item:hover {
	background-color: #f0f0f0;
}

.reset-btn:hover {
    color: #000; /* Change la couleur au survol */
}

#data-container {
	margin-top: 20px;
	display: flex;
	flex-wrap: wrap; /* Permet de passer à une nouvelle ligne si nécessaire */
	gap: 15px; /* Espacement entre les boîtes */
	justify-content: center; /* Centrage des boîtes dans le conteneur */
	padding: 20px;
	background-color: #f9f9f9; /* Fond gris clair pour tout le conteneur */
	border: 1px solid #ddd; /* Bordure subtile pour le conteneur */
	border-radius: 10px; /* Coins arrondis pour le conteneur */
  }
  
  .data-box {
	width: 150px; /* Largeur des boîtes */
	height: 40px; /* Hauteur des boîtes */
	background-color: #f5f5f5; /* Fond par défaut */
	color: #333; /* Texte gris foncé */
	font-family: 'Arial', sans-serif; /* Police moderne et professionnelle */
	font-size: 14px; /* Taille de texte modérée */
	font-weight: 400; /* Texte en gras pour les symboles */
	border: 1px solid #ccc; /* Bordure subtile pour les boîtes */
	border-radius: 8px; /* Coins arrondis */
	display: flex; /* Centrage horizontal et vertical */
	justify-content: center;
	align-items: center;
	text-align: center;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1); /* Légère ombre pour l'effet 3D */
	transition: background-color 0.5s ease; /* Transition fluide pour les couleurs */
  }
  
  
  /* Style de base pour le bouton */
.button {
	display: inline-block; /* Rendu en ligne */
	padding: 12px 24px; /* Espacement interne */
	font-size: 16px; /* Taille du texte */
	font-weight: 400; /* Texte légèrement gras */
	color: #ffffff; /* Couleur du texte */
	background-color: #007bff; /* Couleur principale (bleu) */
	border: none; /* Pas de bordure */
	border-radius: 8px; /* Coins arrondis */
	cursor: pointer; /* Curseur de clic */
	text-align: center; /* Centrage du texte */
	text-decoration: none; /* Supprime le soulignement pour les liens */
	transition: all 0.3s ease; /* Transition fluide pour les interactions */
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Ombre subtile */
  }
  
  /* Couleur de survol */
  .button:hover {
	background-color: #0056b3; /* Bleu plus foncé */
	box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); /* Ombre plus prononcée */
  }
  
  /* Effet au clic */
  .button:active {
	background-color: #004494; /* Bleu encore plus foncé */
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Ombre réduite */
	transform: translateY(0); /* Réinitialisation de la levée */
  }
  
  /* Bouton désactivé */
  .button:disabled {
	background-color: #cccccc; /* Gris clair */
	color: #666666; /* Texte gris */
	cursor: not-allowed; /* Indicateur non cliquable */
	box-shadow: none; /* Supprime l'ombre */
  }
  

  /* Conteneur principal */
.contact-form-container {
	max-width: 600px;
	margin: 50px auto;
	padding: 20px;
	background-color: #ffffff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	font-family: Arial, sans-serif;
  }
  
  /* Titre */
  .contact-form-container h2 {
	text-align: center;
	color: #333333;
	margin-bottom: 20px;
  }
  
  /* Formulaire */
  .form-group {
	margin-bottom: 15px;
  }
  
  .form-group label {
	display: block;
	font-weight: bold;
	margin-bottom: 5px;
	color: #555555;
  }
  
  .form-group input,
  .form-group textarea {
	width: 100%;
	padding: 10px;
	border: 1px solid #cccccc;
	border-radius: 4px;
	font-size: 16px;
	color: #333333;
  }
  
  .form-group input:focus,
  .form-group textarea:focus {
	border-color: #007bff;
	outline: none;
	box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
  }
  
  /* Bouton */
  .btn-submit {
	width: 100%;
	padding: 12px;
	background-color: #007bff;
	color: #ffffff;
	border: none;
	border-radius: 4px;
	font-size: 18px;
	font-weight: bold;
	cursor: pointer;
	transition: background-color 0.3s ease;
  }
  
  .btn-submit:hover {
	background-color: #0056b3;
  }
  

  /* Style pour le bouton de partage */
#share-button {
    margin: 0 auto; /* Centré dans son conteneur */
    padding: 10px 20px; /* Espacement interne */
    font-size: 16px; /* Taille du texte */
    font-weight: 500; /* Texte légèrement gras */
    color: #ffffff; /* Texte blanc */
    background-color: #007bff; /* Bleu professionnel */
    border: none; /* Pas de bordure */
    border-radius: 8px; /* Coins arrondis */
    cursor: pointer; /* Curseur clic */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Ombre subtile */
    transition: all 0.3s ease; /* Animation douce pour le hover */
    text-align: center; /* Centrage du contenu */
}

#share-button:hover {
    background-color: #0056b3; /* Bleu foncé au survol */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); /* Ombre plus prononcée */
}

#share-button:active {
    background-color: #004494; /* Bleu encore plus foncé */
    transform: translateY(2px); /* Effet de clic */
}

/* Style pour l'intégration dans le footer */
footer .button {
    flex: 1; /* Prend de la place restante dans le footer */
    text-align: center; /* Centrage horizontal */
}

/* Responsive pour les petits écrans */
@media (max-width: 768px) {
    #share-button {
        margin-top: 10px; /* Ajoute de l'espace au-dessus pour éviter l'encombrement */
        width: 90%; /* Prend presque toute la largeur de l'écran */
    }

    footer {
        flex-direction: column; /* Les éléments s'empilent verticalement */
        align-items: center; /* Centrage vertical */
    }
}

/* Flux actus */
.grid-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
  }
  
  .grid-item {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	padding: 20px;
  }
  
  .grid-item h2 {
	font-size: 1.5em;
	color: #007bff;
	border-bottom: 2px solid #007bff;
	padding-bottom: 10px;
	margin-bottom: 15px;
  }
  