@layer theme-v15 {
  /* ---------------- Styles crée pour la migration html 5 ------------------------- */
  /* mise en page = border,cellpadding, cellspacing = 0 */
  table.miseEnPage {
    border-spacing: 0;
    border-collapse: collapse;
    border: none;
  }

  table.fixedLayout {
    table-layout: fixed;
  }

  .miseEnPage > tr > th,
  .miseEnPage > tr > td:not(.separateur),
  .miseEnPage > tbody > tr > td:not(.separateur),
  .miseEnPage > tbody > tr > th {
    padding: 0;
  }

  /* gestion des alignements: text align pour les element inline, margin pour les contenu de type block */
  .centered {
    text-align: center;
  }

  .centered > * {
    margin: auto auto;
    text-align: left;
  }

  .centered > e-popin {
    margin: inherit;
    text-align: inherit;
  }

  .rightAligned {
    text-align: right;
  }

  .rightAligned > * {
    margin-right: 0;
    margin-left: auto;
    text-align: right;
  }

  .leftAligned {
    text-align: left;
  }

  .leftAligned > * {
    margin-left: 0;
    margin-right: auto;
    text-align: left;
  }

  /* padding pour les td zéro, on spéciliase le selecteur afin d'eviter tout heritage du padding dans le cas de tableau imbriqué */
  .cellPaddingZero > tr > th,
  .cellPaddingZero > tr > td,
  .cellPaddingZero > tbody > tr > td,
  .cellPaddingZero > tbody > tr > th,
  .miseEnPage > tr > th,
  .miseEnPage > tr > td,
  .miseEnPage > tbody > tr > td,
  .miseEnPage > tbody > tr > th {
    padding: 0;
  }

  /* ------------------------------------------------------------------------------- */

  /* -------------------------------- Balises HTML --------------------------------- */
  html:not(.popup) {
    background-color: #e8e8e8;
    overflow: hidden auto;
    width: 100vw;
    height: 100%;
    min-height: 100dvh;
  }

  body {
    height: max-content;
    overflow: visible;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: black;
    background-color: white;
    position: relative;
    margin: 0 auto;
    width: 995px;
    --ombre-popin: 0 5px 20px -5px #000;
    --border-radius: 4px;
  }

  body > * {
    -ms-overflow-style: auto;
  }

  body.correction-curseur *:not(.rattachement) {
    cursor: default !important;
  }

  table {
    border-collapse: separate;
    border-spacing: 2px 2px;
  }

  a:link {
    color: black;
  }

  a:visited {
    color: black;
    text-decoration: none;
  }

  a:hover {
    color: #3a3a3a;
    text-decoration: none;
  }

  td {
    font-size: 12px;
  }

  img {
    border-width: 0;
    text-indent: 0;
  }
  /* ------------------------------------------------------------------------------- */

  /* ----------------------------- Bandeau du haut --------------------------------- */
  .bandeau {
    background-color: #81abd1;
  }

  .bandeauSessionSecondaire {
    background-color: #ff6500;
  }

  a.lienPrincipalBandeau:link {
    color: #000000;
    text-decoration: none;
  }

  a.lienPrincipalBandeau:visited {
    color: #000000;
    text-decoration: none;
  }

  a.lienPrincipalBandeau:hover {
    color: #ffffff;
    text-decoration: none;
  }

  /* Menus de premier niveau */
  .menuBandeau1 {
    background-color: #b1c9e1;
  }

  /* Menus de deuxième niveau (sous-menus des menus de premier niveau) */
  .menuBandeau2 {
    background-color: #b1c9e1;
  }

  a.lienMenuBandeau:link {
    text-decoration: none;
  }

  a.lienMenuBandeau:visited {
    text-decoration: none;
  }

  a.lienMenuBandeau:not(.lien-desactive):hover {
    color: #ffffff;
    text-decoration: none !important;
    background-color: var(--couleur-haut-principal-fonce);
  }
  /* ------------------------------------------------------------------------------- */

  /* ------------------------------ Chemin de fer ---------------------------------- */
  .cheminFer {
    background-color: #696969;
  }

  #cheminDeFer {
    color: #fff;
  }

  a.ecran:link {
    color: white;
    text-decoration: none;
    text-indent: 5pt;
  }

  a.ecran:visited {
    color: white;
    text-decoration: none;
    text-indent: 5pt;
  }

  a.ecran:hover {
    color: #c2c2c2;
    text-decoration: none;
    text-indent: 5pt;
  }

  #cheminDeFer td:not(:last-child)::after {
    content: '>';
    padding-left: 10px;
    color: var(--couleur-blanc);
  }

  .ecranCourant {
    color: #b7b7b7;
  }
  /* ------------------------------------------------------------------------------- */

  /* --------------------------- Bandeau des erreurs-------------------------------- */
  .bandeauInformations > .iconeBandeau {
    background-repeat: no-repeat;
    display: block;
    width: 28px;
    height: 28px;
    margin: 0 10px;
  }

  .bandeauInformations > *:not(:first-child) {
    grid-column-start: 2;
    align-self: center;
    margin: 0;
  }

  .titreErreurs {
    font-size: 12px;
    font-weight: bold;
    padding-left: 5px !important;
  }

  .messageErreur {
    font-size: 12px;
    padding-left: 25px !important;
    margin: 4px 0;
  }

  .bandeauInformations .blocMessages ul:last-of-type {
    margin-bottom: 0;
  }

  div[id^='erreur'] .photo {
    display: none;
  }

  div#erreursClientPopup,
  div#erreursServeurPopup {
    margin-top: 17px;
  }

  .fa-exclamation-yellow {
    background: url('../images/general/fa_exclamation_yellow.png');
  }

  .fa-warning-red {
    background: url('../images/general/fa_warning_red.png');
  }

  .fa-check-green {
    background-image: url('../images/general/fa_check_green.png');
  }

  div[id^='erreurs'] div.bandeauInformations {
    --icone-taille: 30px;

    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    padding: 10px;

    &:last-of-type {
      margin-bottom: 15px;
    }

    &.bloquant {
      background: var(--couleur-erreur-1);
      color: var(--couleur-erreur-2);
    }

    &.avertissement {
      background: var(--couleur-avertissement-1);
      color: var(--couleur-avertissement-2);
    }

    &.succes {
      background: var(--couleur-succes-1);
      color: var(--couleur-succes-2);
    }

    &.instruction {
      background: var(--couleur-blanc);
      color: var(--couleur-principale-4);
    }
  }

  div[id^='erreurs'] div.bandeauInformations .blocMessages {
    grid-column-start: 2;
    align-self: center;
  }

  div[id^='erreurs'] div.bandeauInformations .blocMessages .titreMessages,
  div[id^='erreurs'] div.bandeauInformations p {
    font-weight: bold;
    padding-left: 5px !important;
  }

  div[id^='erreurs'] div.bandeauInformations .blocMessages ul {
    padding-left: 25px;
    margin: 4px 0;
    white-space: break-spaces;
  }

  div[id^='erreurs'] div.bandeauInformations ul:last-of-type {
    margin-bottom: 0;
  }

  div[id^='erreurs'] div.bandeauInformations .blocMessages .titreMessages,
  div[id^='erreurs'] div.bandeauInformations .blocMessages ul li {
    color: inherit;
    font-size: 12px;
    white-space: break-spaces;
  }

  div[id^='erreurs'] div.bandeauInformations .blocMessages.composite .blocMessages:not(:first-of-type) {
    margin-top: 5px;
  }

  /* ---------------------------- Tableau principal -------------------------------- */
  table.fiche {
    background-color: #c3d6e8;
    width: 995px;
  }

  table.fondDefaut {
    background-color: white;
  }

  table.ssonglet {
    background-color: white;
    width: 995px;
  }

  div.fiche {
    width: 995px;
  }

  .separateur {
    background-color: white;
    padding: 0;
  }

  .ligneBas {
    background-color: #81abd1;
    height: 12px;
  }

  a.rattachement:link {
    font-weight: bold;
    text-decoration: underline;
  }

  a.rattachementnongras:link {
    font-weight: normal;
    text-decoration: underline;
  }

  a.rattachement:visited {
    font-weight: bold;
    text-decoration: underline;
  }

  a.rattachementnongras:visited {
    font-weight: normal;
    text-decoration: underline;
  }

  a.rattachement:hover {
    font-weight: bold;
    text-decoration: none;
  }

  a.rattachementnongras:hover {
    font-weight: normal;
    text-decoration: none;
  }

  a.action:link {
    font-weight: normal;
    text-indent: 5pt;
    text-decoration: none;
    color: #ffffff;
  }

  a.action:visited {
    font-weight: normal;
    text-decoration: none;
    color: #ffffff;
    text-indent: 5pt;
  }

  .data-table .lienPiedTableau a.action:visited {
    color: #33769f;
  }

  a.action:hover {
    font-weight: normal;
    text-indent: 5pt;
    text-decoration: none;
    color: #c2c2c2;
  }

  a.double-chevron {
    --taille-icone-chevron-lien: 12px;

    display: inline-flex;
    align-items: center;
  }

  a.double-chevron > div.double-chevron {
    position: relative;
    display: inline-block;
    width: calc(var(--taille-icone-chevron-lien) + 6px);
    height: var(--taille-icone-chevron-lien);
  }

  a.double-chevron > div.double-chevron > e-icone-chevron-bas-bleu {
    position: absolute;
    width: var(--taille-icone-chevron-lien);
    height: var(--taille-icone-chevron-lien);
    transform: rotate(-90deg);
  }

  a.double-chevron > div.double-chevron > e-icone-chevron-bas-bleu + e-icone-chevron-bas-bleu {
    left: 6px;
  }

  /* ------------------------------------------------------------------------------- */

  /* ----------------------------------- Listes ------------------------------------ */

  .titreListe {
    font-size: 12px;
    font-weight: bold;
    color: white;
    background-color: #405669;
    padding: 0;
  }

  .fondListe {
    background-color: white;
  }

  .titreColonne {
    text-indent: 4px;
    font: var(--tableau-entete-police);
    background-color: var(--tableau-entete-fond);
    color: var(--tableau-entete-couleur-texte);
    height: var(--tableau-entete-hauteur);
  }

  .fondTitreColonne {
    background-color: var(--tableau-entete-fond);
    height: var(--tableau-entete-hauteur);
  }

  .sous-table,
  .titreColonne.sous-table,
  .titreColonne.sous-table > .fondTitreColonne {
    background-color: var(--tableau-entete-sous-table-fond);
    color: var(--tableau-entete-sous-table-couleur-texte);
    font-weight: bold;
    text-indent: 4px;
  }

  .titreColonne > td > a {
    color: white;
    font-weight: bold;
    padding-top: 3px;
    padding-bottom: 3px;
  }

  div.data-table > table > tbody > tr > td.titreColonne.rightAligned {
    padding-right: 5px;
  }

  .titreColonne > table {
    background-color: inherit;
  }

  .titreColonne a {
    color: white;
    display: inline-block;
  }

  table td.paveGaucheListe:nth-child(1) {
    display: none;
  }

  table > tbody > tr > td.ligne1,
  table > tr > td.ligne1 {
    background-color: var(--tableau-lignes-impaires-fond);
    height: var(--tableau-lignes-hauteur);
    padding-left: 4px;
    padding-right: 4px;
    font: var(--tableau-lignes-police);
    color: var(--tableau-lignes-couleur-texte);
  }

  table > tbody > tr > td.ligne2,
  table > tr > td.ligne2 {
    background-color: var(--tableau-lignes-paires-fond);
    height: var(--tableau-lignes-hauteur);
    padding-left: 4px;
    padding-right: 4px;
    font: var(--tableau-lignes-police);
    color: var(--tableau-lignes-couleur-texte);
  }

  table > tbody > tr.ligne1,
  table > tr.ligne1 {
    background-color: var(--tableau-lignes-impaires-fond);
    height: var(--tableau-lignes-hauteur);
    padding-left: 5px;
    padding-right: 5px;
  }

  table > tbody > tr.ligne2,
  table > tr.ligne2 {
    background-color: var(--tableau-lignes-paires-fond);
    height: var(--tableau-lignes-hauteur);
    padding-left: 5px;
    padding-right: 5px;
  }

  /* ----- CSS spécifiques aux sous-lignes d'un tableau ----- */
  table > tbody > tr > td > span[data-id],
  table > tr > td > span[data-id],
  table > tbody > tr > td > span[data-id],
  table > tr > td > span[data-id] {
    margin-right: 3px;
    cursor: pointer;
  }

  table > tbody > tr > td > span[data-id]:before,
  table > tr > td > span[data-id]:before,
  table > tbody > tr > td > span[data-id]:before,
  table > tr > td > span[data-id]:before {
    content: '(+)';
  }

  table > tbody > tr > td > span[data-id].afficher:before,
  table > tr > td > span[data-id].afficher:before,
  table > tbody > tr > td > span[data-id].afficher:before,
  table > tr > td > span[data-id].afficher:before {
    content: '(-)';
  }

  table > tbody > tr > td.sous-ligne,
  table > tr > td.sous-ligne {
    height: 17px;
    padding-left: 4px;
    padding-right: 4px;
  }

  tr[data-sous-liste] td:first-of-type {
    padding-left: 19px;
  }

  table > tbody > tr[data-sous-liste]:not(.afficher),
  table > tr[data-sous-liste]:not(.afficher) {
    display: none;
  }
  /* ----- FIN : CSS spécifiques aux sous-lignes d'un tableau ----- */

  a.zoom:link {
    text-decoration: underline;
  }

  a.zoom:visited {
    text-decoration: underline;
  }

  a.zoom:hover {
    text-decoration: none;
  }

  td.bordureFinListe {
    background-color: #405669;
    height: 2px;
    padding: 0;
  }

  table tr > td.ouvertureListe {
    width: 14px;
    text-indent: 0;
    vertical-align: bottom;
  }

  table tr > td.ouvertureListe > a {
    --taille-icone-ouverture-tableau: 12px;

    position: relative;
    display: inline-block;
    width: calc(var(--taille-icone-ouverture-tableau) + 4px);
    height: calc(var(--taille-icone-ouverture-tableau) + 6px);
  }

  table tr > td.ouvertureListe e-icone-chevron-bas-bleu {
    position: absolute;
    bottom: 0;
    width: var(--taille-icone-ouverture-tableau);
    height: var(--taille-icone-ouverture-tableau);
    margin: 0 2px;
  }

  table tr > td.ouvertureListe e-icone-chevron-bas-bleu + e-icone-chevron-bas-bleu {
    bottom: 6px;
  }

  a.indexPage:link {
    font-weight: bold;
    color: #81abd1;
    text-decoration: none;
    padding: 0 3px;
  }

  a.indexPage:visited {
    font-weight: bold;
    color: #81abd1;
    text-decoration: none;
  }

  a.indexPage:hover {
    font-weight: bold;
    color: #696969;
    text-decoration: none;
  }

  td.indexPageCourante {
    font-weight: bold;
    color: #000000;
    padding: 0 3px;
    text-align: center;
  }

  /* bouton outils */
  .data-table .lienPiedTableau {
    position: absolute;
    right: 10px;
    margin-top: -23px;
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .data-table .lienPiedTableau e-icone-parametres {
    --taille-icone-outil-tableau: 14px;

    width: var(--taille-icone-outil-tableau);
    height: var(--taille-icone-outil-tableau);
  }

  .data-table .lienPiedTableau a.action:link {
    display: inline-block;
    vertical-align: top;
    margin-top: 1px;
    padding: 0 0;
    background-color: inherit;
    color: var(--couleur-principale-5);
    font: 700 12px var(--font-family);
  }

  /* zone blanc avant les tableaux */

  div.data-table > table > tbody > tr > td.titreColonne {
    padding: 1px 0 0;
  }

  /* bordure gauche des tableau */
  .data-table {
    border-left: 32px solid var(--couleur-blanc);
  }

  .data-table.sans-colonne-gauche {
    border-left: none;
    margin-left: -1px;
  }

  .resultat-recherche-root + table .data-table,
  .resultat-recherche-root + .data-table,
  .resultat-recherche-root ~ .data-table,
  .resultat-recherche-root ~ table .data-table {
    border-left: 0;
  }

  .data-table > table {
    width: 100% !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
  }

  .data-table > table > tbody > tr > td,
  .data-table > table > tbody > tr > th {
    border: 1px solid white;
    font: var(--tableau-lignes-police);
  }

  .data-table > table > tbody > tr:first-child > td,
  .data-table > table > tbody > tr:first-child > th {
    border-top: 0;
  }

  /* ------------------------------------------------------------------------------ */

  .fondFiche + table {
    width: 100%;
    background-color: #3376a0;
  }

  .fondFiche + table tbody {
    width: 100%;
    padding: 0 10px;
    display: inline-block;
  }

  /* ------------------------------------------------------------------------------ */

  /* ----------------------------- Popups de rôles -------------------------------- */
  .popupRole {
    background-color: #fff;
    padding: 3px 10px;
    border-radius: 3px;
    border-collapse: separate !important;
    box-shadow: 0 0 5px #000;
  }

  a.lienPopupRole:link {
    text-decoration: none;
    line-height: 17px;
    color: var(--couleur-principale-4);
  }

  a.lienPopupRole:visited {
    text-decoration: none;
    line-height: 17px;
    color: var(--couleur-principale-4);
  }

  a.lienPopupRole:hover {
    text-decoration: underline;
    line-height: 17px;
  }
  /* ------------------------------------------------------------------------------ */

  .txtClair {
    font-size: 12px;
    color: white;
    text-indent: 12px;
  }

  .sstitre {
    font-size: 12px;
    font-weight: bold;
    color: white;
    background-color: #405669;
  }

  .sstitre2 {
    font-size: 12px;
    font-weight: bold;
    color: black;
    background-color: white;
  }

  table > tbody > tr > td.formTextOK,
  table > tr > td.formTextOK {
    font-size: 12px;
    color: #282828;
    background-color: #c7c7c7;
    height: 12px;
    padding-left: 1px;
    padding-right: 7px;
    border: solid 1px #7c7c7c;
  }

  .noIndent {
    text-indent: 0;
  }

  /* ----------------------------- ligne consultee --------------------------------- */
  .ligneConsultee {
    --tableau-lignes-couleur-texte: gray;
  }

  .ligneConsultee td:is(.ligne1, .ligne2) {
    --tableau-lignes-couleur-texte: gray;
  }

  .ligneConsultee input {
    color: gray;
  }

  .ligneConsultee a:link {
    color: gray;
    text-decoration: underline;
  }

  .ligneConsultee a:visited {
    color: gray;
    text-decoration: underline;
  }

  .ligneConsultee a:hover {
    color: gray;
    text-decoration: none;
  }
  /* ------------------------------------------------------------------------------- */

  /* -------------------- classe de padding spécifiques  --------------------------- */
  .cellPadding5 > tr > th,
  .cellPadding5 > tr > td,
  .cellPadding5 > tbody > tr > td,
  .cellPadding5 > tbody > tr > th {
    padding: 5px;
  }
  /* ------------------------------------------------------------------------------- */

  /* ------------------------- migration vers doctype ------------------------------ */

  /* utilisation du box model herité du quirk mode: w|h=border+padding+w|h */
  * {
    box-sizing: border-box;
  }

  /* https://developer.mozilla.org/fr/docs/Comportement_du_mode_quirks_de_Mozilla */
  /* La stratégie de rendu de base des tableaux ignore le padding en mode quirks. */
  table > tbody > tr > td > input,
  table > tr > td > input {
    padding: 1px 4px;
    vertical-align: top;
  }

  .etiquette {
    vertical-align: middle;
  }

  td.etiquetteTextArea {
    vertical-align: top;
    padding-top: 4px !important;
  }

  .rattachement:before {
    display: inline;
  }

  /* correction des problèmes des images  https://www.cs.tut.fi/~jkorpela/quirks-mode.html */
  img {
    vertical-align: middle;
  }

  /* alignement par défaut des input checkbox et marge horizontal */
  input[type='checkbox'] {
    vertical-align: middle;
    margin: 0 3px;
  }

  input[type='checkbox'] {
    margin-right: 2px;
  }

  /* 0 margin sur les images */
  input[type='image'] {
    margin: 0;
  }

  /* ------------------------------------------------------------------------------- */

  /* ------------------------------------------------------------------------------- */
  /* ----------------- Styles pour transition migration - 21/03/2016 --------------- */
  /* ------------------------------ pour la phase 2 -------------------------------- */
  /* ------------------------------------------------------------------------------- */

  /* -------------------------------- Balises HTML --------------------------------- */

  /* titre de page */
  h1 {
    color: #33769f;
    font-size: 22px;
    font-weight: normal;
    padding: 2px 12px;
  }

  h1.titre-page-bandeau {
    font-size: 22px;
    margin: 0;
    height: 49px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    border-top: 6px solid #e8e8e8;
    border-bottom: 6px solid #e8e8e8;
    background-color: #e8e8e8;
    color: #3e3e3e;
    font-weight: bold;
    gap: 10px;
  }

  h1.titre-page-bandeau span#titrePage::first-letter {
    text-transform: capitalize;
  }

  span#titrePage {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    flex: 1;
  }

  span.icone-titre {
    display: none;
  }

  h1.titre-page-bandeau:has(span#titrePage:not([class=''])) span.icone-titre {
    display: inline-block;
  }

  span.icone-titre::before {
    content: var(--icone-titre-url);
  }

  h1.titre-page-bandeau > img {
    max-width: 30px;
    max-height: 30px;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  /* fin titre de page */

  iframe + iframe {
    padding-bottom: 15px;
  }

  html:not(.popup) body:not(.menuGeneral) form[name='theForm'] {
    padding-top: 12px;
  }

  /* ------------------------------- DIVERS ---------------------------------------- */

  table.miseEnPage[style='width:496px;'] {
    width: 100% !important;
  }

  /* ----------------------------------- # ----------------------------------------- */
  #courbeHaut {
    display: none;
  }

  /* ----------------------------- Bandeau du haut --------------------------------- */

  body.bandeau-haut,
  body.menuGeneral {
    --couleur-haut-principal: #3376a0;
    --couleur-haut-principal-fonce: #306d99;
    --couleur-haut-principal-clair: #4097cc;
  }

  body.bandeau-haut.red,
  body.menuGeneral.red {
    --couleur-haut-principal: #a50000;
    --couleur-haut-principal-fonce: #820000;
    --couleur-haut-principal-clair: #c61111;
  }

  body.bandeau-haut.pink,
  body.menuGeneral.pink {
    --couleur-haut-principal: #980045;
    --couleur-haut-principal-fonce: #7b0038;
    --couleur-haut-principal-clair: #ba0c5b;
  }

  body.bandeau-haut.purple,
  body.menuGeneral.purple {
    --couleur-haut-principal: #780096;
    --couleur-haut-principal-fonce: #600078;
    --couleur-haut-principal-clair: #9c00c2;
  }

  body.bandeau-haut.orange,
  body.menuGeneral.orange {
    --couleur-haut-principal: #a35400;
    --couleur-haut-principal-fonce: #804100;
    --couleur-haut-principal-clair: #c46d12;
  }

  body.bandeau-haut.green,
  body.menuGeneral.green {
    --couleur-haut-principal: #007300;
    --couleur-haut-principal-fonce: #005500;
    --couleur-haut-principal-clair: #118c11;
  }

  body.bandeau-haut.navy,
  body.menuGeneral.navy {
    --couleur-haut-principal: #000080;
    --couleur-haut-principal-fonce: #000062;
    --couleur-haut-principal-clair: #00009f;
  }

  body.bandeau-haut.grey,
  body.menuGeneral.grey {
    --couleur-haut-principal: #424242;
    --couleur-haut-principal-fonce: #000000;
    --couleur-haut-principal-clair: #767676;
  }

  body.bandeau-haut.black,
  body.menuGeneral.black {
    --couleur-haut-principal: #000;
    --couleur-haut-principal-fonce: #000;
    --couleur-haut-principal-clair: #464646;
  }

  body.bandeau-haut.serin .bandeau,
  body.bandeau-haut.serin .cheminFer {
    background-color: #192542;
    background-image: linear-gradient(45deg, #eed634 25%, transparent 25%, transparent 75%, #eed634 75%), linear-gradient(45deg, #eed634 25%, transparent 25%, transparent 75%, #eed634 75%);
    background-size: 20px 20px;
    background-position:
      0 0,
      10px 10px;
  }

  .bandeau {
    background-color: var(--couleur-haut-principal);
  }
  .bandeau img {
    margin-right: 5px;
    vertical-align: middle;
  }

  table.cheminFer {
    height: 25px;
    border-spacing: 0;
    border-collapse: collapse;
    width: 100%;
    background-color: var(--couleur-haut-principal);
    border-top: 3px solid var(--couleur-haut-principal-fonce);
    padding-left: 5px;
  }

  table.cheminFer > tbody > tr > td > table {
    margin-left: 5px;
    background: none;
  }

  table.cheminFer tr td {
    padding: 0 5px;
  }

  #accueilLogo img {
    margin: 10px 0;
  }

  a.lienMenuBandeau:link,
  a.lienMenuBandeau:hover,
  a.lienMenuBandeau:visited {
    color: #fff;
    padding: 0 10px;
    height: 100%;
    display: inline-flex;
    align-items: center;
  }
  a.lienMenuBandeau:hover {
    text-decoration: underline;
  }

  span.info {
    color: #fff;
    float: left;
    margin-left: 10px;
    text-align: left;
  }

  /* ------------------------------ Chemin de fer ---------------------------------- */
  .ecranCourant {
    color: #fff;
    text-indent: 0;
  }
  .ecranCourant:last-child {
    color: #c2c2c2;
  }

  /* --------------------------- Bandeau des erreurs-------------------------------- */
  .bandeauErreurs {
    background-color: #ffe1e1;
  }
  .bandeauErreurs img {
    display: none;
  }
  .titreErreurs td,
  .messageErreur td {
    color: #ac4849;
    padding-left: 5px !important;
  }

  /* ---------------------------- Tableau principal -------------------------------- */
  table.fiche {
    background-color: var(--couleur-blanc);
    padding: 10px;
  }

  a.rattachement:link,
  a.rattachement:visited {
    color: var(--couleur-principale-4);
    font-weight: normal;
    word-break: break-all;
  }

  img + a.rattachement:is(:link, :visited) {
    word-break: unset;
  }

  input:not([type='hidden']) + a.rattachement:link {
    margin-left: 10px;
  }

  input + img + a.rattachement:link {
    margin-left: 3px;
  }

  .separateur {
    background-color: transparent;
  }
  img[src$='actionCoin.gif'],
  img[src$='stFinBlanc.gif'] {
    display: none;
  }
  a.action:link {
    background: #4aace7;
    border-radius: 3px;
    color: #ffffff;
    font-size: 0.9em;
    font-weight: bold;
    padding: 0 3px;
    text-indent: 0;
  }

  table.tableActions td {
    padding: 15px 0 !important;
  }

  /* ----------------------------------- Listes ------------------------------------ */

  /* ----------------------------------- Popups ----------------------------------- */

  /*----- Nouvelles classes et classes modifiées pour phase 2 ---- */
  /* BANDEAU DU HAUT */
  .barreDuHaut {
    display: flex;
    background-color: #000;
    color: #fff;
    padding: 5px;
  }

  .infoUtilisateur {
    width: auto;
  }

  .menuDuHaut {
    flex: 1;
    text-align: right;
  }

  a.lienPrincipalBandeau:link,
  a.lienPrincipalBandeau:visited {
    color: #fff;
    text-decoration: none;
  }

  .menuDuHaut #Popup1 {
    border: none;
    z-index: 1000;
  }

  .menuDuHaut #Popup1 table {
    padding: 0;
    border-collapse: collapse !important; /* TODO: nettoyer important quand popupRole n'aura plus important */
    text-align: left;
  }

  .menuDuHaut #Popup1 table tbody {
    display: table-row-group;
    background-color: #000;
  }

  .menuDuHaut #Popup1 table tbody tr td {
    padding: 2px 0 !important; /* TODO: important nécessaire pour le moment car .miseEnPage>tbody>tr>td:not(.separateur) prend le dessus */
  }

  .menuDuHaut #Popup1 table tbody tr td a.lienPopupRole {
    font-weight: normal;
    color: #fff;
  }

  .bandeauPrincipal {
    display: flex;
    align-items: center;
    height: 50px;
  }

  .logoEfluid {
    padding: 0 0 0 15px;
  }

  .logoEfluid #accueilLogo img,
  .logoEfluid img {
    max-width: 190px;
    max-height: 40px;
    margin: 0;
  }

  .logoEfluidTypeEnv {
    padding: 0 0 0 15px;
    text-align: end;
    font-size: 12px;
    color: var(--couleur-blanc);
  }

  .logoEfluidTypeEnv #accueilLogo img,
  .logoEfluidTypeEnv img {
    max-width: 190px;
    max-height: 30px;
    margin: 0;
    display: table-row;
  }

  .menu-et-infos-dev {
    flex: 1;
    text-align: left;
    margin: 0 20px;
    height: 100%;
    display: flex;
    position: relative;
  }

  .menuBandeau {
    display: flex;
    align-items: center;
    width: 100%;
  }

  .menuDuHaut a.lienPrincipalBandeau.lien-desactive,
  .menuBandeau a.lienMenuBandeau.lien-desactive,
  #cheminDeFer td.lien-desactive {
    color: #c6c6c6;
    text-decoration: none;
    cursor: default;
  }

  .menuBandeau a#menuGeneral {
    margin-left: auto;
  }

  div#toPrint {
    width: 0;
    height: 0;
    position: absolute;
  }

  object.printAuto {
    width: 0;
    height: 0;
  }

  /* popup-role */
  .popup-role {
    position: absolute;
    background-color: #fff;
    box-shadow: 0 0 5px #000;
    border-radius: 4px;
    padding: 5px 10px;
    z-index: 4;
  }

  .popup-role .lienPopupRole {
    display: block;
  }

  /* ----- Correction de la hauteur des tableaux pour l'alignement du bouton "rechercher" ----- */
  .fiche table[style*='height'] {
    height: auto !important;
  }

  .unit-baseline-align {
    text-align: right;
    vertical-align: baseline;
  }

  /* ----- Liens désactivés ----- */
  a[disabled=''].rattachement,
  a[disabled=''] {
    color: #707070 !important;
    cursor: default;
    text-decoration: none;
    pointer-events: none;
  }

  span.lienInactif {
    font-weight: normal;
    color: #707070;
  }

  /* ----- Image d'accueil ----- */
  .image-accueil > img {
    max-width: 995px;
    max-height: 546px;
  }

  /* ----- Surbrillance lignes des tableaux ----- */
  div.data-table > table:not(.miseEnPage) > tbody > tr:not(.titreColonne):hover [class*='ligne']:not(.titreColonne) {
    background-color: var(--couleur-principale-1);
  }

  /* ----- Animation de chargement ----- */
  @keyframes circle {
    0% {
      transform: rotate(0);
      visibility: visible;
    }
    100% {
      transform: rotate(720deg);
    }
  }

  .progress-circle {
    width: 17px;
    height: 17px;
    visibility: hidden;
    margin: 0 20px;
    border: 1px solid #c6c6c6;
    border-top-color: #3376a0;
    border-radius: 50em;
    animation: circle 2s infinite;
    animation-delay: 1s;
    order: 3;
    display: none;
  }

  @keyframes barre-attente {
    0% {
      left: -35%;
      right: 100%;
      visibility: visible;
    }
    100% {
      left: 110%;
      right: -45%;
    }
  }

  .progress-bar {
    position: absolute;
    height: 3px;
    display: block;
    width: 100%;
    background-color: var(--couleur-haut-principal-fonce);
    border-radius: 2px;
    overflow: hidden;
    visibility: hidden;
  }

  .progress-bar .indeterminate {
    background-color: var(--couleur-haut-principal-clair);
  }

  .progress-bar .indeterminate::before {
    content: '';
    position: absolute;
    background-color: inherit;
    top: 0;
    left: 0;
    bottom: 0;
    animation: barre-attente 6s linear infinite;
    animation-delay: 1s;
  }

  /* ----- CSS pour les tableaux du requêteur ----- */
  td div.requeteur-valeur-critere {
    display: flex;
    align-items: center;
  }

  td div.requeteur-valeur-critere input:not([class*='date']):not([class*='delta']):not([type='radio']),
  td div.requeteur-valeur-critere select {
    flex: 1;
  }

  td div.requeteur-valeur-critere input + a.rattachement {
    margin: 0 2px 0 4px;
  }

  table#tbl_clauseWhere select[name^='comparateur'] {
    min-width: 100%;
  }

  /* ----- CSS pour les séparateurs ----- */
  div.separationHorizontale {
    height: 3px;
    background-color: #e8e8e8;
    margin: 17px 0;
  }

  input.delta {
    width: 25px;
    text-align: right;
  }

  /* ----- CSS pour les composants JS ----- */

  e-bulle {
    --taille-icone-bulle: 18px;
    --couleur-icone-bulle: var(--couleur-principale-5);
    vertical-align: top;
  }

  textarea + e-bulle {
    margin-left: 10px;
  }

  e-contenu-bulle {
    font-size: 12px;
  }

  e-liste-deroulante {
    --padding-options-liste-deroulante: 15px;
    --liste-deroulante-height: 18px;
    --padding-champ: 2px 14px 2px 4px;

    min-width: initial;
    vertical-align: middle;
    margin-block: 1px;
  }

  e-liste-deroulante[lecture-seule] {
    --padding-champ: 2px 4px;
  }

  e-options-liste-deroulante {
    --margin-input-case-a-cocher: 3px;
  }

  ::-ms-reveal {
    display: none;
  }

  e-champ-telephone {
    --padding-champ: 1px 4px;
    --largeur-champ: calc(20ch + var(--largeur-selecteur-indicatif));
    --font-texte-italique: italic 12px var(--font-family);

    margin-block: 1px;
  }

  td[class^='ligne'] > e-champ-telephone {
    --champ-background-color-lecture-seule: transparent;
    --champ-border-color-lecture-seule: transparent;
  }
}