
/** BANDEAU DROITE **/
#BandRight {
  position: fixed;
  top: 0;
  right: 0;
  width: 20em;
  height: 100vh;
  z-index: 9999;
  pointer-events: none;
}

#BandRight-input {
  display: none;
}

#BandRight-bloc {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  border-left: 1px solid #ccc;
  transform: translateX(100%);
  transition: transform 0.5s ease;
  pointer-events: auto;
}

#BandRight-input:checked ~ #BandRight-bloc {
  transform: translateX(0);
}

/* Label icône burger */
#BandRight-icon {
  position: absolute;
  top: 15em;
  right: 100%;
  width: 3em;
  height: 5em;
  background: #fff;
  border: 1px solid #ccc;
  border-right: none;
  border-radius: .5em 0 0 .5em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

#BandRight-icon .icon {
  font-size: 1.5em;
  color: #888;
}

/* Label flèche */
#BandRight-arrow {
  position: absolute;
  top: 11em;
  right: 100%;
  width: 3em;
  height: 3em;
  background: #fff;
  border: 1px solid #ccc;
  border-right: none;
  border-radius: .5em 0 0 .5em;
  cursor: pointer;
}

#BandRight-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1em;
  height: 1em;
  border: .5em solid currentColor;
  border-width: .5em .5em 0 0;
  transform: translate(-50%, -50%) rotate(-135deg);
  transition: transform 0.5s ease;
  color: #888;
}

#BandRight-input:checked ~ #BandRight-bloc #BandRight-arrow::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

#BandRight-content {
  padding: 1em;
  overflow-y: auto;
  height: 100%;
}

/** BANDEAU GAUCHE **/
#BandLeft {
  z-index: 9999;                  /* pour être au dessus des autres éléments */
  position: fixed;                /* ne suit pas le scroll de la page et sert de réfèrent */
  top: 0;                         /* position en haut */
  left: 0;                        /* à gauche */
  width: 20em;                    /* valeur de largeur pour tout le contenu */
  min-height: 100vh;              /* occupe toute la hauteur du viewport */
  transform: translateX(-100%);   /* on déplace à gauche pour ne pas interférer avec le document */
}
#BandLeft-input {
  position: absolute;           /* pour sortir l'élément du flux */
  left: -999em;                 /* position hors de la fenêtre */
}
#BandLeft-bloc {
  /*-- positions et dimensions --*/
  z-index: 0;
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  /*-- visuel --*/
  border-right: 1px solid #CCC;
  background: #FFF;
  transition: transform .5s;    /* pour animation du panneau */
}
#BandLeft-label {
  /*-- positions et dimensions --*/
  z-index: 1;                   /* on le met au dessus */
  position: absolute;           /* pour sortir l'élément du flux, il va bouger */
  top: 5em;                    /* on décolle légèrement du haut */
  left: 100%;                   /* alignement sur le bord droit du parent */
  width: 3em;                   /* dimensions respectables */
  height: 5em;
  /*-- visuel --*/
  border: 1px solid #CCC;
  border-width: 1px 1px 1px 0;
  border-radius: 0 .5em .5em 0;
  font-size: inherit;
  background: #FFF;
  transition: all .5s;          /* pour animation éventuelle */
  cursor: pointer;
}
#BandLeft-content {
  padding: .5em;                /* on décolle le contenu du bord */
  overflow: auto;               /* rien ne doit déborder */
  max-height: 100%;             /* pas plus haut que son parent */
  box-sizing: border-box;       /* modèle de boîte, plus simple à gérer */
}
#BandLeft-input:checked ~ #BandLeft-bloc {
  transform: translateX(100%);  /* translation vers la droite de 100% */
}
#BandLeft-label:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  box-sizing: border-box;
  width: 1em;
  height: 1em;
  border: .5em solid currentColor;
  border-width: .5em .5em 0 0;
  color: #888;
  transition: all .5s;
  transform: translate(-50%, -50%) rotate(45deg);
}
#BandLeft-input:checked ~ #BandLeft-bloc #BandLeft-label:before {
  transform: translate(-50%, -50%) rotate(-135deg);
}

/* Label icône burger */
#BandLeft-icon {
  position: absolute;
  top: 15em;
  right: 100%;
  width: 3em;
  height: 5em;
  background: #fff;
  border: 1px solid #ccc;
  border-right: none;
  border-radius: .5em 0 0 .5em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

#BandLeft-icon .icon {
  font-size: 1.5em;
  color: #888;
}

/* Label flèche */
#BandLeft-arrow {
  position: absolute;
  top: 11em;
  right: 100%;
  width: 3em;
  height: 3em;
  background: #fff;
  border: 1px solid #ccc;
  border-right: none;
  border-radius: .5em 0 0 .5em;
  cursor: pointer;
}

#BandLeft-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1em;
  height: 1em;
  border: .5em solid currentColor;
  border-width: .5em .5em 0 0;
  transform: translate(-50%, -50%) rotate(-135deg);
  transition: transform 0.5s ease;
  color: #888;
}

#BandLeft-input:checked ~ #BandLeft-bloc #BandLeft-arrow::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

#BandLeft-content ul, #BandLeft-content ol, #BandRight-content ul, #BandRight-content ol {
  margin:0;
  padding:10px;
}