/* */
fieldset {
  border: solid 1px #ddd;
  margin: 10px 0;
  padding: 20px;
  border-radius: 5px
}

/* Helix U */
#sp-main-body {
  padding-top: 30px;
  padding-bottom: 30px;

}

legend {
  font-weight: bold;
  background: #fff;
  padding: 5px 10px
}

/* edit profile */
#users-profile-core dt,
#users-profile-custom dt,
.dl-horizontal dt {
  display: block;
  font-weight: 500;
  float: initial;
  width: auto;
  clear: left;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  /* ... if text overflows*/
  white-space: nowrap;
  background-color: gainsboro;
  border-bottom: solid;
  border-width: 1px;

}

#users-profile-core dd,
#users-profile-custom dd,
.dl-horizontal dd {
  font-style: oblique;
  margin-left: 5%;
  border: 0;
}

/* social media top bar*/
#sp-top1 {
  width: fit-content;
  left: 0px;
}

/* language switcher */

/* top switcher near smart medias */
#sp-top2 {
  width: fit-content;
  position: relative;
  right: 0px;
}

.lang-inline a {
  color: grey;
}

.lang-inline a:hover {
  color: red;
}


/*
#wrapper-1{
	position: fixed; 
  	top: 0;
  	width: 100%;
}

#wrapper{
	margin-top: 90px;
  	width: 100%;
}*/

/*
#wrapper-1column2 {
  overflow: hidden;
  background-color: #333;
  position: fixed;
  top: 0;
  width: 100%;
}*/

/* full width footer */
#footer1 {
  width: 100%;
}

/* Fixed top menu (only for large screens) */
@media screen and (min-width: 700px) {
  #footer1 {
    position: fixed;
    bottom: 0;
  }
}


.responsive-video {
  position: relative;
  /*padding-bottom: 56.25%;
    padding-top: 30px; 
  	height: 100%; 
  	overflow: hidden;*/
}

.responsive-video iframe,
.responsive-video object,
.responsive-video embed {
  /*position: absolute;*/
  top: 0;
  left: 0;
  width: 100%;
  /* height: 1000px;*/
}



/* responsive video
.responsive-video {
    display: block;
    width: 100%;
    height: 0;
    position: relative;
    padding-bottom: 56.25%;
    max-width: 100%;
    box-sizing: border-box;
}
.responsive-video iframe {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}
*/

/*WISEXT TABLES FOR ACTIVATION INFO*/
table[id="wisext_table"] {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

td[id="wisext_td"],
th[id="wisext_th"] {
  border: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
}

tr[id="wisext_tr"]:nth-child(even) {
  background-color: #dddddd;
}

/*WISEXT SUBSCRIPTION*/

.wisext_form_label {
  display: block;
  width: 275px;
  float: left;
}

.wisext_button {
  background-color: #d95d3b;
  border: none;
  color: #ffffff;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: block;
  font-size: 16px;
  margin: 4px auto;
  cursor: pointer;
}

.wisext_to_hide {
  /*display:none;*/
  color: aqua;
}

/*End of subscription*/



/* USER FIEDS */
.wisext_list_field {
  width: 300px;
}


#jform_params_editor-lbl {
  color: green;
}

/* USERNAME */
#username,
#jform_username {
  background-color: yellow;
}



/* Tooltips (e.g. in profile edition) */
.popover {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1060;
  display: none;
  max-width: 276px;
  padding: 1px;
  text-align: left;
  background-color: #fff;
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding;
  background-clip: padding-box;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, 0.2);
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  white-space: normal;
}

.popover.top {
  margin-top: -10px;
}

.popover.right {
  margin-left: 10px;
}

.popover.bottom {
  margin-top: 10px;
}

.popover.left {
  margin-left: -10px;
}

.popover-title {
  margin: 0;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: normal;
  line-height: 18px;
  background-color: #f7f7f7;
  border-bottom: 1px solid #ebebeb;
  -webkit-border-radius: 5px 5px 0 0;
  -moz-border-radius: 5px 5px 0 0;
  border-radius: 5px 5px 0 0;
}

.popover-title:empty {
  display: none;
}

.popover-content {
  padding: 9px 14px;
}

.popover .arrow,
.popover .arrow:after {
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
}

.popover .arrow {
  border-width: 11px;
}

.popover .arrow:after {
  border-width: 10px;
  content: "";
}

.popover.top .arrow {
  left: 50%;
  margin-left: -11px;
  border-bottom-width: 0;
  border-top-color: #999;
  border-top-color: rgba(0, 0, 0, 0.25);
  bottom: -11px;
}

.popover.top .arrow:after {
  bottom: 1px;
  margin-left: -10px;
  border-bottom-width: 0;
  border-top-color: #fff;
}

.popover.right .arrow {
  top: 50%;
  left: -11px;
  margin-top: -11px;
  border-left-width: 0;
  border-right-color: #999;
  border-right-color: rgba(0, 0, 0, 0.25);
}

.popover.right .arrow:after {
  left: 1px;
  bottom: -10px;
  border-left-width: 0;
  border-right-color: #fff;
}

.popover.bottom .arrow {
  left: 50%;
  margin-left: -11px;
  border-top-width: 0;
  border-bottom-color: #999;
  border-bottom-color: rgba(0, 0, 0, 0.25);
  top: -11px;
}

.popover.bottom .arrow:after {
  top: 1px;
  margin-left: -10px;
  border-top-width: 0;
  border-bottom-color: #fff;
}

.popover.left .arrow {
  top: 50%;
  right: -11px;
  margin-top: -11px;
  border-right-width: 0;
  border-left-color: #999;
  border-left-color: rgba(0, 0, 0, 0.25);
}

.popover.left .arrow:after {
  right: 1px;
  border-right-width: 0;
  border-left-color: #fff;
  bottom: -10px;
}

/* hyperlinks in footer */
#footerinfos1 a {
  color: #888888;
}

.iframeHtml {
  display: block;
  width: 100%;
  height: 100vh;
  border: none;
  overflow-y: auto;
  overflow-x: hidden;
}

/* shift + F5 to reload css
.login :is(#secretkey, #secretkey-lbl, .optional) {
  display:none;
}
*/

/* Make login dropdown in side menu, accessible in front of the menu*/
div.offcanvas-menu ul.sp-profile-dropdown {
  z-index: 9999;
  right: auto;
  background-color: #f7f7f7;
}

/* banner */
.marquee {
  color: white !important;
  background-color: #681e1e;
  min-height: 40px;
  display: flex;
  /* display:none; */
  align-items: center;
  justify-content: center;
  /* Optionnel, pour centrer horizontalement */
  /* width: 100%;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box; */
}

.marquee a {
 /* La couleur des liens sera prioritaire */
  color: white !important;
  /* Supprime la décoration par défaut des liens */
  text-decoration: none;
}

/* .marquee span {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 10s linear infinite;
}
.marquee span:after {
  content: attr(data-text);
  padding-left: 100%;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
} */

/* justify menu to left */
#sp-menu>.sp-column,
#sp-menu .sp-megamenu-wrapper {
  justify-content: flex-start !important;
}


.support-company-banner {
  background-color: white;
  min-height: 40px;
  /* display: flex;
  align-items: center;
  justify-content: center; Optionnel, pour centrer horizontalement */
  /* width: 100%;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box; */
}


/* home banner */

.banner-wisext {
  position: relative;
  text-align: center;
  color: white;
  background-color: #333;
  /* Couleur de fond du bandeau */
  padding: 20px 0;
  /* Espacement vertical */
}

.banner-wisext img {
  width: 100%;
  height: auto;
}

.banner-wisext-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  /* Effet d'ombre */
}

/*Licence table*/
#licence-table table {
  table-layout: fixed;
  width: 100%;
}

#licence-table th,
#licence-table td {
  vertical-align: top;
  text-align: center;
  width: 14.28%; /* 7 colonnes */
}

/*Module wisext clients*/
.wisext-clients {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 10px 0;
  align-items: center;
}
.wisext-clients img {
  height: 50px;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.wisext-clients img:hover {
  transform: scale(1.1);
}

/* client banner for any language */
#sp-clients-banner{
  background-color: red;
}




/* ===========================
   EPB DOCUMENTATION STYLES
   =========================== */
.epb-content {
  counter-reset: h2counter; /* numérotation */
}

.epb-content h1 {
  font-size: 2em;
  margin-bottom: 0.6em;
}

.epb-content h2 {
  margin-top: 1.8em;
  margin-bottom: 0.6em;
  border-bottom: 2px solid #ddd;
  padding-bottom: 4px;
  counter-reset: h3counter;
}

.epb-content h3 {
  margin-top: 1.4em;
  margin-bottom: 0.4em;
  counter-reset: h4counter;
}

.epb-content h4 {
  margin-top: 1em;
  margin-bottom: 0.4em;
  font-size: 1.1em;
}

/* ===========================
   NUMÉROTATION AUTOMATIQUE
   =========================== */

/* H2 */
.epb-content h2::before {
  counter-increment: h2counter;
  content: counter(h2counter) ". ";
  color: #555;
  font-weight: 600;
}

/* H3 */
.epb-content h3::before {
  counter-increment: h3counter;
  content: counter(h2counter) "." counter(h3counter) " ";
  color: #777;
}

/* H4 */
.epb-content h4::before {
  counter-increment: h4counter;
  content: counter(h2counter) "." counter(h3counter) "." counter(h4counter) " ";
  color: #999;
}

/* ===========================
   LISTES & PARAGRAPHES
   =========================== */
.epb-content p,
.epb-content ul {
  margin-bottom: 1em;
  line-height: 1.55;
}

.epb-content ul {
  padding-left: 1.2em;
}

/* ===========================
   IMAGES
   =========================== */
.epb-content img {
  display: block;
  margin: 0.6em auto;
  max-width: 95%;
  height: auto;
  border: 1px solid #ccc;
  padding: 4px;
  background: #fafafa;
  box-shadow: 0 0 4px rgba(0,0,0,0.12);
}

/* Petites icônes dans les phrases */
.epb-icon {
  display: inline-block !important;
  margin: 0 4px !important;
  vertical-align: middle;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  background: transparent !important;
  max-width: 32px;
  height: auto;
}
/* ===========================
   SOMMAIRE — STYLE DISCRET
   =========================== */

/* Conteneur TOC */
.toc {
  border-left: 3px solid #ccc;
  padding: 0.2rem 0 0.5rem 0.8rem;
  margin-bottom: 1.8rem;
}

/* Titre Sommaire comme H2 visuellement */
.toc h5 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 0.6rem 0;
  color: #444;
}

/* Liste */
.toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Lignes */
.toc li {
  margin: 4px 0;
}

/* Liens */
.toc a {
  text-decoration: none;
  color: #555;
  font-size: 0.92rem;
}

.toc a:hover {
  color: #000;
  text-decoration: underline;
}

/* Indentation par niveau */
.toc li.h2 a { font-weight: 600; }
.toc li.h3 a { margin-left: 0.7rem; font-weight: 500; }
.toc li.h4 a { margin-left: 1.4rem; font-weight: 400; }

/* ===========================
   NUMÉROTATION AUTOMATIQUE
   =========================== */

.epb-content {
  counter-reset: h2counter;
}

.epb-content h2 {
  border-bottom: 2px solid #ddd;
  padding-bottom: 4px;
  counter-reset: h3counter;
}

.epb-content h2::before {
  counter-increment: h2counter;
  content: counter(h2counter) ". ";
  color: #555;
  font-weight: 600;
}

.epb-content h3 {
  counter-reset: h4counter;
}

.epb-content h3::before {
  counter-increment: h3counter;
  content: counter(h2counter) "." counter(h3counter) " ";
  color: #777;
}

.epb-content h4::before {
  counter-increment: h4counter;
  content: counter(h2counter) "." counter(h3counter) "." counter(h4counter) " ";
  color: #999;
}

/* ===========================
   NUMÉROTATION DANS LE TOC
   =========================== */

/* Les numéros seront ajoutés via JS dans <span class="toc-num"> */
.toc-num {
  color: #777;
  margin-right: 4px;
}


/* Belgian flag in menu */
.belgian-flag  {
  border-right: 5px solid transparent; /* couleur noire, ajustable */
}

/* EPB arrow in menu */
.epb-menu-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding-right: 12px; /* espace pour la flèche */
    text-decoration: none;
    color: white; /* texte blanc sur flèche verte */
    font-weight: bold;
}

/* Flèche verte type label énergétique */
.epb-menu-link .image-title {
    position: relative;
    padding: 6px 14px 6px 10px; /* espace interne du texte */
    z-index: 2; /* au-dessus de la flèche */
}

/* Pseudo-élément créant la flèche */
.epb-menu-link .image-title::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: -12px; /* pointe de la flèche */
    width: 0;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    border-left: 12px solid #46c046; /* couleur verte flèche */
}

.epb-menu-link .image-title {
    color: white; /* texte blanc sur flèche verte */
    background-color: #46c046; /* corps de la flèche */
    border-radius: 3px 0 0 3px;
}

/* Version plus simple, sans pseudo-élément, pour une flèche plus basique */
.epb-arrow {
    --arrow-color: #46c046;
    --arrow-depth: 22px; /* longueur de la pointe */

    display: inline-flex;
    align-items: center;
    padding: 8px 30px 8px 14px;
    background: var(--arrow-color);
    color: white;
    font-weight: bold;
    border-radius: 4px 0 0 4px;

    /* ✅ flèche parfaite, toujours continue */
    clip-path: polygon(
        0 0,
        calc(100% - var(--arrow-depth)) 0,
        100% 50%,
        calc(100% - var(--arrow-depth)) 100%,
        0 100%
    );
}


.epb-arrow a {
    color: inherit;          /* reprend la couleur du <p> */
    text-decoration: none;   /* enlève le soulignement */
    font: inherit;           /* reprend police, taille, poids */
}
