.help_content_videos, .faq_question_answer { display:flex; flex-direction:column; justify-content:start; align-items:flex-start; font-size:1em; }
.help_content_videos {margin:0px auto 40px auto;  width:90%; }

/* ── Bloc question/réponse ──────────────────────────── */
.faq_question_answer { width:700px; margin-top:15px;
  border: 1px solid #c8d6ea;
  border-radius: 10px;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 51, 102, 0.07);
  transition: box-shadow 0.2s ease;
  background-color: #fff;
}
.faq_question_answer:hover {
  box-shadow: 0 4px 16px rgba(0, 51, 102, 0.14);
}
.faq_info { padding:15px 20px; }
/* ── Sous-sections de réponse (option A : barre gauche) ── */
.faq_answer .answerSubsection {
  font-weight: 600;
  color: #003366;
  border-left: 3px solid #1a6fd4;
  border-radius: 0;
  padding: 2px 0 2px 10px;
  margin: 14px 0 4px 0;
  display: block;
}
.faq_answer .answerSubsection:not(:first-child) {
  margin-top: 32px;
}
.faq_answer figcaption {
  font-size: 0.85em;
  color: #1a5ea8;
  font-style: italic;
  text-align: center;
  margin-top: 5px;
}
/* ── Figures avec légende ───────────────────────────── */
.faq_answer figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 25px auto;
}

.faq_answer figcaption {
  font-size: 0.85em;
  color: #1a5ea8;
  font-style: italic;
  text-align: center;
  margin-top: 6px;
}

.divHelpFaq fieldset legend { font-size: 1em; }
.divHelpFaq fieldset legend { border-radius:10px 0 0 0; }
  
/* ── Question (en-tête cliquable) ───────────────────── */
.faq_question {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9em;
  color: #003366;
  /* background-color: #f0f5fc; */
  padding: 13px 18px;
  cursor: pointer;
  margin: 0;
  /* border-bottom: 1px solid transparent; */
  transition: background-color 0.18s ease, border-color 0.18s ease;
  width:100%;
}
.faq_question:hover { background-color: #ddeaf8; }
.faq_question .lineImageUploadImage { margin-left:0; }

.imgPeppol { height:16px; vertical-align:center; }

@media screen and (max-width:500px) {
	.faq_question { padding: 5px; }
}

/* Quand la réponse est ouverte, séparer visuellement */
.faq_question_answer .faq_answer:not([style*="display: none"]) ~ .faq_question,
.faq_question_answer:has(.faq_answer[style*="display: inline"]) .faq_question {
  border-bottom-color: #c8d6ea;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.faq_answer { margin-bottom:25px; }
.help_video_description { margin : 5px; }
.help_video_title, .faq_question { font-size:1.1em; font-weight:bold; }
.help_video_title .main_nav_logo { display:inline-block; }
.help_video_subtext { font-style:italic; color:#1a5ea8; text-align:center; }
.website_micro { font-size:0.9em; }
.help_video_iframe { width:560px; height:315px; }
#selectVideos { margin-bottom:30px; }
.divHelpFaq { margin-bottom:50px; }
.faq_question { cursor:pointer; }
.faq_question:hover { text-decoration:underline; }
.faq_answer { display:none; padding:0 15px; }
.faq_answer p:not(.faq_answer_section), .faq_answer li { padding-top:3px; }

/* ── Paragraphes dans la réponse ────────────────────── */
.faq_answer_section {  padding-top:15px; }

.faq_answer li, .faq_example { margin-left:25px; }
.faq_answer .pWithImg { display:flex; flex-direction:row; justify-content:center; margin:15px auto; width:auto;  }
.pWithImg img { max-width:100%; }
figure, figure img { max-width:100%; }
figure { margin-top:20px; }
figure img { border:1px solid #003366; }
.faq_answer .helpFaqInfoImg { width:20px; margin:auto 5px; }

/* ── Exemples ───────────────────────────────────────── */
.faq_example {
	font-style: italic;
	color: #1a5ea8;
	padding: 2px 0 2px 18px;
	border-left: 3px solid #c8d6ea;
	margin: 0 0 0 10px;
}

.faq_answer table tr:not(.no_border) th, .faq_answer table tr:not(.no_border) td { padding:5px; border:1px solid #003366; }
.faq_answer table td { text-align:right;}

.faq_answer ol li { padding-top:15px; }


/* ── Liens internes ─────────────────────────────────── */
.internalLink { font-style:italic; }
.faq_answer .internalLink { color: #1a6fd4; text-decoration: underline; }
.faq_answer .internalLink:hover { color: #003366; }

.highlightedQuestion { background-color:#D5E3FE; text-decoration:underline; }

.displayNone { display:none; }

.liHelpTitle { margin-top:10px; font-weight:bold; }
#spanFilterQuestions { display:flex; flex-direction:row; justify-content:start; align-items:center; }
#spanTopHelpFaq { cursor:pointer; display:flex; flex-direction:row; justify-content:space-between; width:90%; margin:20px 0 5px 0; }

/* ── Séparation par catégorie (titre de section) ────── */
#spanTopHelpFaq {
  /* display: block; */
  text-align: center;
  font-size: 1.25em;
  font-weight: bold;
  color: #003366;
  padding-bottom: 12px;
}

#helpPrint:hover svg { border-radius:5px; background-color:#D5E3FE; }

#tableImagesStyleExamples { margin-top:20px; }
#tableImagesStyleExamples td { padding:2px; }
#tableImagesStyleExamples img { width:350px; }

body.bodyHelpFaq { visibility: hidden; } /* Masqué jusqu'au chargement du Table of Content */
#faqTOC {
  border: 1px solid #c8d6ea;
  border-radius: 10px;
  background-color: #f0f5fc;
  padding: 16px 24px;
  margin-bottom: 32px;
  width: fit-content;
  max-width: 100%;
}

#faqTOCTitle {
  font-weight: 700;
  font-size: 1.05em;
  color: #003366;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

#faqTOC ul {
  list-style: none;
  counter-reset: toc-section;
  padding: 0;
  margin: 0;
}

#faqTOC li {
  counter-increment: toc-section;
  padding: 3px 0;
}

#faqTOC li::before {
  content: counter(toc-section) ". ";
  color: #003366;
  font-weight: 600;
}

#faqTOC a {
  color: #1a6fd4;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.faqTocIconVisible { display:inline-flex; align-items:center; }
.faqTocIconVisible svg { width:16px; height:16px; vertical-align:middle; }

.faq_question_answer .span_svg_25 { vertical-align:middle; margin-left:3px; }
.faq_question_answer .span_svg_25 svg { width:16px; height:16px; }

#faqTOC a:hover {
  text-decoration: underline;
  color: #003366;
}

/* ── Barre de recherche ─────────────────────────────── */
#faqSearchWrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
#faqSearchWrapper {
  flex: 1;
  margin-bottom: 0; /* était 24px, inutile dans ce contexte row */
}

#faqSearchInput {
  width:70%;
  /* max-width: 100%; */
  font-size: 0.8em;
  padding: 9px 14px;
  border: 1.5px solid #c8d6ea;
  border-radius: 20px; /* pilule */
  color: #003366;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
#faqSearchInput:focus {
  border-color: #1a6fd4;
  box-shadow: 0 0 0 3px rgba(26,111,212,0.12);
  outline: none;
}

#faqSearchCounter {
  font-size: 0.75em;
  color: #1a6fd4;
  font-style: italic;
  white-space: nowrap;
}

.eInvoicingOauthStep { font-weight:bold; padding-right:5px; }
.helpComingSoon { color:red; font-weight:bold; font-size:1.1em; }

/* ── Highlight des résultats ────────────────────────── */
mark.faqHighlight {
  background-color: #fff176;
  color: #003366;
  border-radius: 3px;
  padding: 0 2px;
  font-style: normal;
  display: inline;
  letter-spacing: normal;
  word-spacing: normal;
}

@media print {
  #faqSearchWrapper { display: none; }
}


.span_svg_25 { padding-right:5px; }
#img_filter { height:16px; width:auto; margin-right:10px; }
@media screen and (max-width:500px) {
	#img_filter { margin-left:10px; margin-right:5px; }
	#helpPrint {  margin-left:5px; margin-right:10px; }
}

@media screen and (max-width:750px) {
	.divHelpFaq { font-size:0.9em; }
	.help_video_iframe { width:512px; height:288px; }
	.faq_question_answer { width:90%; margin-top:10px; }
	fieldset { width:90%; }
	.faq_question { font-size:1em; line-height:150%; }
	#tableImagesStyleExamples img { width:300px; }
	fieldset { margin-top:20px; }
}
@media screen and (max-width: 700px) {
	.help_content_videos, .faq_question_answer { font-size:0.9em; }
	.span_svg_25 { padding-right:2px; }
}
@media screen and (max-width:600px) { .help_video_iframe { width:448px; height:252px; } }
@media screen and (max-width:550px) { .help_video_iframe { width:426px; height:240px; } }
@media screen and (max-width:500px) {
	.help_video_iframe { width:384px; height:216px; }
	.divHelpFaq { font-size:0.8em; }
	.faq_question_answer { margin-top:7px; }
}
@media screen and (max-width:430px) { .help_video_iframe { width:352px; height:198px; } }
@media screen and (max-width:390px) { .help_video_iframe { width:95%; height:auto; } }

@media print {
	#faqTOC { display: none; }
	#spanTopHelpFaq { display:none; visibility:hidden; }
	#bloc_content { margin-left:0px; }
	.faq_answer { display:inline; }
	header:not(#website_header) { display:flex; background-color:white; }
	header:not(#website_header) .onadevis_text { color:#003366; background-color:white; }
	.unicodeHex { display:none; }
	legend { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
}